/* Add your CSS here to style your valentines day page */

h1 {
    text-align: center;
    font-size: 3rem;
    color: #c45d91;
   
}


body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ff9ecb, #ffcce5);
    cursor: url('https://cur.cursors-4u.net/symbols/sym-9/sym833.cur'), auto;
}


body::before, body::after {
    content: "❤️";
    position: fixed;
    top: -50px;
    font-size: 30px;
    user-select: none;
    z-index: 1;

    text-shadow: 
        15vw 20vh #ffb6c1, 35vw 45vh #ff69b4, 55vw 10vh #ff1493, 
        75vw 60vh #ffb6c1, 95vw 30vh #ff69b4, 25vw 80vh #ffc0cb, 25vw 80vh white;
    animation: heartRain 10s linear infinite;


}


body::after {
    content: "💖";
    left: 10vw;
    animation-duration: 15s; 
    animation-delay: -5s;
    opacity: 0.6;
    
    
}


@keyframes heartRain {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

#wrapper {
    max-width: 600px;
    max-height: 1000px auto;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    

}



section {
    background: #fff0f6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
}



main img {
    display: block;    
    margin: 30px auto; 
    border-radius: 20px; 
    box-shadow: 10px 10px 0px #ffb6c1; 
    max-width: 100%;   
    height: auto;
    width: 300px;
    
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    list-style: none;
}

nav li {
    background: #ffb6c1;  
    color: white;
    padding: 8px 20px;
    border-radius: 50px;      
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 #db7093; 
    
}

nav li:hover {
    transform: translateY(-3px); 
    background: #ff69b4;         
    box-shadow: 0 6px 0 #c71585;
}

nav li:active {
    transform: translateY(2px); 
    box-shadow: 0 2px 0 #c71585;
}

nav li, img, h1 {
    cursor: url('https://cur.cursors-4u.net/symbols/sym-9/sym832.cur'), pointer;
}

header::before {
    content: "";
    position: fixed;
    top: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: #ffffff; /* 粉紅底座 */
    border-radius: 15px;
    box-shadow: 5px 5px 0px #d63384;
    z-index: 100;
}

/* 旋轉的黑膠唱片 */
header::after {
    content: "❤️"; /* 唱片中心的愛心 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: fixed;
    top: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #333 30%, #111 31%, #333 35%, #111 40%, #333 45%, #111 50%);
    border-radius: 50%;
    border: 2px solid #555;
    z-index: 101;
    animation: rotateRecord 3s linear infinite; /* 旋轉動畫 */
}

/* 唱片旋轉動畫 */
@keyframes rotateRecord {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

