/* toddsmom.lol CSS */

body {
    background: linear-gradient(to left bottom, lightblue, lightpink, lightblue);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
	overflow: hidden;
}

h1 {
    font-size: 35px;
	font-family: "ccbiffbamboom", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #302a17;
	margin: 0px;
}

h2 {
    font-size: 14px;
	font-family: "ccbiffbamboom", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #302a17;
}

.container {
    background-color: rgba(255,255,255,.3);
    box-shadow: 0 6px 10px rgba(0,0,0,.3);
    border-radius: 15px;
    width: 800px;
    max-width: 90vw;
    min-height: 400px;
    padding: 20px 20px 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.mrsflicka img {
    width: 600px;
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mrsflicka img:hover {
  content: url("images/mrsflicka-1.png");
}

.joke {
    font-size: 25px;
    font-weight: 500;
    margin: 40px;

    min-height: 100px;
    max-height: 200px;
    text-align: center;

    overflow-y: auto;      /* scroll when content is long */
    padding: 10px 15px;    /* space so text doesn’t touch edges */
    line-height: 1.4;      /* smoother multi-line spacing */

    /* remove flex centering that caused clipping */
    display: block;
}


.btn {
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.6);
    width: 400px;
    color: #302a17;
	font-family: "ccbiffbamboom", sans-serif;
	font-weight: 400;
}

.btn:hover {
    background-color: rgba(255,255,255,.5);
    box-shadow: 0 4px 4px rgba(0,0,0,.3);
    transition: all 300ms ease;
}

.suggestion-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    margin-top: 20px;
    align-self: flex-end;
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 0;
	z-index: 999;
}

.suggestion-icon img {
	width: 60px;
	height: 60px;
	transition: transform 0.2s ease;
}

.suggestion-icon img:hover {
	transform: scale(1.1) rotate(-2deg);
}

.suggestion-icon .tooltip {
	position: absolute;
	bottom: 0;
	right: 70px;
    background-color: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.6);
	padding: 10px 15px;
	font-size: 12px;
	color: #302a17;
	font-family: "ccbiffbamboom", sans-serif;
	font-weight: 400;
	border-radius: 50px 0px 50px 50px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	box-shadow: 0 4px 4px rgba(0,0,0,0.3);
	text-transform: uppercase;
	backdrop-filter: blur(4px);
	transform: translateY(5px); /* initial offset for animation */
}

.suggestion-icon:hover .tooltip {
	opacity: 1;
	transform: translateY(0);
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.5);
}

.modal-content {
	background: lightpink;
	margin: 10% auto;
	padding: 50px;
	border-radius: 10px;
	width: 90%;
	max-width: 400px;
	position: relative;
	box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.modal-content h2 {
    font-size: 25px;
	font-family: "ccbiffbamboom", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #302a17;
	text-align: center;
}

.modal-content textarea {
	width: 100%;
	height: 80px;
	margin-bottom: 10px;
	resize: vertical;
}

.modal-content input[type="text"] {
	width: 100%;
	margin-bottom: 10px;
	font: inherit;
}

.modal-content button[type="submit"] {
	font-size: 18px;
	font-weight: 700;
	border-radius: 5px;
	cursor: pointer;
	padding: 10px;
	background-color: rgba(255,255,255,.3);
	border-color: rgba(255,255,255,.6);
	text-transform: uppercase;
	width: 400px;
	color: black;
}

.close {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	cursor: pointer;
	color: #302a17;
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
 body {
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
}

.container {
	margin: 40px auto 0 auto; /* add top margin */
	width: 100%;
	max-width: 90%;
}
	
.mrsflicka img {
	max-width: 300px;
	height: auto;
}
}

@media screen and (max-width: 768px) {
 body {
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
}

.container {
	margin: 40px auto 0 auto; /* add top margin */
	margin: 0 auto;
	width: 100%;
	max-width: 90%;
}
	
.mrsflicka img {
	width: 300px;
}
	
h1 {
	font-size: 28px;
}

.joke {
	font-size: 18px;
	margin: 20px 0;
}

.btn {
	font-size: 16px;
	width: 90%;
}

.suggestion-icon img {
	width: 40px;
	height: 40px;
}

.modal-content {
	width: 50%;
	max-width: 200px;
	padding: 20px;
}

.modal-content button[type="submit"] {
	font-size: 12px;
	font-weight: 700;
	width: 150px;
	display: block;
	margin: 10px auto;
}

@media (max-height: 800px) {
 body {
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
}

.container {
	margin: 30px auto 0 auto; /* add top margin */
	width: 100%;
	max-width: 90%;
}
	
.mrsflicka img {
	width: 300px;
	}
}
}