@font-face {
    font-family: 'Spicy Rice';
    src: url('fonts/SpicyRice-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes animatedBorder {
    0% { border-color: #ff69b4; }
    25% { border-color: #ff8c00; }
    50% { border-color: #32cd32; }
    75% { border-color: #1e90ff; }
    100% { border-color: #ff69b4; }
}
/* Mobile Styles */

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('bg-2.gif') no-repeat center center fixed;
    background-size: cover; /* Ensure the GIF covers the whole page */
    height: 100vh; /* Make sure the body takes the full viewport height */
    overflow: hidden; /* Prevent scrolling if the GIF is larger than the viewport */
}

#daniGif {
    position: fixed;
    top: 10px;
    right: 15px;
    animation: spin 4s linear infinite;
    width: 15%;
    height: auto;
}
#courageGif {
    position: fixed;
    top: 10px;
    left: 10px;
    animation: spin 4s linear infinite;
    width: 15%;
    height: auto;
}

#rotatingGif {
    position: fixed;
    bottom: 10px;
    right: 10px;
    animation: spin 4s linear infinite;
    width: 15%;
    height: auto;
}


#catDogGif {
    position: fixed;
    bottom: 10px;
    left: 10px;
    animation: spin 4s linear infinite;
    width: 15%;
    height: auto;
}
#audioPlayer {
    text-align: center;
    margin-top: 20px;
}

#audioPlayer button {
    background-color: #ff69b4; /* Pink background */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

#audioPlayer button:hover {
    background-color: #ff8c00; /* Orange background on hover */
    transform: scale(1.05); /* Slightly increase size on hover */
}

#audioPlayer button:active {
    transform: scale(0.95); /* Slightly decrease size when clicked */
}

#audioPlayer button:focus {
    outline: none; /* Removes outline on focus for a cleaner look */
}



#navbar {
    text-align: center;
    background: #ff69b4; /* Pink background */
    padding: 10px 0;
    margin-bottom: 20px; /* Space below navbar */
    font-family: 'Spicy Rice', serif
}

#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#navbar ul li {
    display: inline; /* Horizontal list */
    margin-right: 10px; /* Space between items */
}

#navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 5px 10px;
    border: 2px solid white; /* Border around each link */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
}

#navbar ul li a:hover {
    background-color: white;
    color: #ff69b4;
    cursor: pointer;
}

/* ... rest of your styles ... */


@keyframes chromaticEffect {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

#container {
    width: 800px;
    margin: 15% auto;
    text-align: center;
    background: linear-gradient(45deg, rgba(255, 0, 150, 0.7), rgba(0, 255, 255, 0.7), rgba(0, 255, 0, 0.7));
    border: 5px double #ff00ff;
    padding: 20px;
    box-shadow: 5px 5px 10px #888888;
    animation: chromaticEffect 5s linear infinite;
}

h1 {
    color: #ff69b4;
    font-size: 40px;
    text-shadow: 2px 2px #ff00ff;
    font-family: 'Spicy Rice', cursive;
}

#message {
    background-color: rgba(255, 255, 255, 0.7); /* Slightly transparent white background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    text-align: center;
}

#birthdayMessage {
    color: #ff69b4; /* Vibrant pink color */
    font-family: 'Helvetica', cursive; /* Assuming you're using the Spicy Rice font */
    font-size: 24px;
    text-shadow: 2px 2px 2px #ff8c00; /* Orange shadow for depth */
    animation: pulse 2s infinite alternate; /* A gentle pulsing effect */
}

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 0.8;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}


@media only screen and (max-width:800px) {
    #container {
        width: 75%; /* Full width on mobile */
        margin: 100px auto; /* Adjust margin */
        height: 450px;
    }

    /* Hide two of the GIFs on mobile */


    /* Adjust the size and positioning of the visible GIFs */
    #rotatingGif, #daniGif, #catDogGif, #courageGif {
        width: 25%; /* Larger size for mobile */
        z-index:  9999;
    }

    /* Adjust the font size and layout for mobile */
    h1 {
        font-size: 24px; /* Smaller font size for mobile */
    }

    #birthdayMessage {
        font-size: 18px; /* Adjust font size for readability */
    }
    #audioPlayer button {
        font-family: 'Spicy Rice', cursive;
        padding: 15px 25px; /* Larger padding for easier touch */
        font-size: 100%; /* Larger font size for better readability */
        margin: 5px; /* Adjust margin for spacing */
        width: 150px /* Minimum width for better touch area */
    }

    /* Optional: Adjust layout for smaller screens */
    #audioPlayer {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        align-items: center;
    }

    #audioPlayer button {
        margin-bottom: 10px; /* Space between buttons when stacked */
    }


    /* Other mobile-specific styles... */
}