body {
	background-color: rgb(60, 47, 36);
	color: rgb(230, 222, 207);
	font-family: "Comic Sans MS", "Comic Sans";
}

main {
	margin: 0 auto;
	width: 55rem;
}

h1 {
    display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 50px 0;
	user-select: none;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
}

.image-container span {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.text-26 {
    top: 10%;
    left: 15%;
    transform: rotate(30deg);
    color: rgb(211, 136, 190) !important;
}

.text-proud {
    top: 20%;
    left: 60%;
    transform: rotate(45deg);
}

.text-cutest {
    top: 75%;
    left: 65%;
    transform: rotate(-30deg);
    color: rgb(211, 136, 190) !important;
    animation: spinAndMove 2s infinite alternate ease-in-out
}

.text-strong {
    top: 90%;
    left: 20%;
    transform: rotate(-5deg);
    animation: glow 1s infinite alternate;
}

.text-cool {
    top: 45%;
    left: 90%;
    transform: rotate(15deg);
    color: aqua !important;
    font-size: small !important;
}

.text-pumpkin {
    top: 55%;
    left: 5%;
    transform: rotate(-36deg);
    color: rgb(255, 153, 0) !important;
    animation: flicker 0.5s infinite alternate;
}

.text-yam {
    top: 2%;
    left: 85%;
    color: aqua !important;
    animation: spin 0.5s infinite;
}

@keyframes spinAndMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, 10px) rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px white, 0 0 10px white; }
    100% { text-shadow: 0 0 10px cyan, 0 0 20px blue; }
}

@keyframes flicker {
    0% {
        text-shadow:
            0 0 5px rgba(255, 0, 0, 0.5), 
            0 0 10px rgba(255, 0, 0, 0.6), 
            0 0 15px rgba(255, 0, 0, 0.7),
            0 0 20px rgba(255, 0, 0, 0.8),
            0 0 25px rgba(255, 0, 0, 1), 
            0 0 30px rgba(255, 0, 0, 1), 
            0 0 35px rgba(255, 0, 0, 1);
    }
    50% {
        text-shadow:
            0 0 5px rgba(255, 0, 0, 0.2), 
            0 0 10px rgba(255, 0, 0, 0.3), 
            0 0 15px rgba(255, 0, 0, 0.4),
            0 0 20px rgba(255, 0, 0, 0.5),
            0 0 25px rgba(255, 0, 0, 0.6), 
            0 0 30px rgba(255, 0, 0, 0.7), 
            0 0 35px rgba(255, 0, 0, 0.8);
    }
    100% {
        text-shadow:
            0 0 5px rgba(255, 0, 0, 0.1), 
            0 0 10px rgba(255, 0, 0, 0.2), 
            0 0 15px rgba(255, 0, 0, 0.3),
            0 0 20px rgba(255, 0, 0, 0.4),
            0 0 25px rgba(255, 0, 0, 0.5), 
            0 0 30px rgba(255, 0, 0, 0.6), 
            0 0 35px rgba(255, 0, 0, 0.7);
    }
}

.cover {
    width: 100%;
    height: auto;
    top: 50px;
    left: 100px;
}

.slideshow-container {
    margin: 80px auto;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slideshow-title {
    color: #075a9a;
    margin-bottom: 10px;
}

.slideshow-content {
    border-radius: 10px;
    height: 60vh;
    max-width: 100%;
    width: auto;
    display: block;
    margin: auto;
    object-fit: contain;
}

.caption {
    color: #075a9a;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    padding: 15px 5px;
}

#caption-text {
    font-size: xx-large;
}

#caption-date {
    color: #208adb;
    font-style: italic;
    font-size: large;
}

button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

.separator {
    padding: 20px 0;
}

.valentine {
    font-size: 24px;
    font-weight: bold;
    color: black;
    background: linear-gradient(45deg, red, pink, hotpink);
    padding: 10px 20px;
    border-radius: 50px;
    border: 3px dashed white;
    box-shadow: 0 0 15px pink;
    animation: heartbeat 1s infinite alternate, sparkle 2s infinite;
    width: 80%;
    margin: 0px auto 80px auto;
    text-align: center;
}

@keyframes heartbeat {
    from { transform: scale(1) rotate(-5deg); }
    to { transform: scale(1.1) rotate(-5deg); }
}

@keyframes sparkle {
    0%, 100% { text-shadow: 2px 2px 5px red, 0 0 10px pink, 0 0 15px white; }
    50% { text-shadow: 4px 4px 10px red, 0 0 20px hotpink, 0 0 25px white; }
}

.gr10 {
    max-width: 100%;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #D52B1E, #007A3D);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.academia {
    max-width: 100%;
    padding: 30px;
    border-radius: 16px;
    background: rgb(102, 82, 54);
    color: rgb(230, 222, 207);
    text-align: center;
    font-family: "EB Garamond", Georgia, serif;
    box-sizing: border-box;
}

@media only screen and (min-width: 1000px) {
    main {
        width: 40rem;
    }
    .valentine {
        font-family: cursive;
        width: 100%;
    }
    #slideshow-content { 
        height: 80vh;
    }
    #caption-text {
        font-size: larger;
    }
    #caption-date {
        font-size: large
    }
}