@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    margin-top: 50px;
    margin-bottom: 50px;
    font-family: 'Lora', serif;
    background-color: #ffffff;
    color: #333333;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;  /* Ensure body is at least the height of the viewport */
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;  /* Explicitly enable vertical scrolling */
}

/* Fix for content container */
.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Ensures the content doesn't overflow horizontally */
    text-align: center;
    margin-bottom: 50px;
    margin-top: 20px;
}

/* Add this to help mobile browsers handle height correctly */
html, body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto; /* Make sure the body is scrollable on mobile */
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}

/* Particle Background Styling */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* White background */
    z-index: -1; /* Behind content */
    top: 0;
    left: 0;
}

/* Typography for headings */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #B8860B; /* Gold */
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
    transition: color 0.3s ease;
    background: none; /* Removed background */
}

.heading {
    font-family: "Parisienne", cursive;
    font-size: 1.5rem;
}

.heading2 {
    font-family: "Parisienne", cursive;
    font-size: 2rem;
    padding-bottom: 2rem;
}

/* Styling for the big 80 */
.big-80 {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    color: #DAA520; /* Gold */
    margin-bottom: 20px;
    text-shadow: 1px 1px 8px rgba(218, 165, 32, 2); /* Subtle shadow */
}

/* List Styling */
ul {
    list-style-type: none;
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
}

li {
    padding: 5px;
}


/* Button styling */
#confirm-button {
    font-size: 1.4rem;
    background-color: #DAA520; /* Gold */
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    border-radius: 8px;
    letter-spacing: 1px;
    box-shadow: 1px 1px 8px rgba(218, 165, 32, 2); /* Subtle shadow */
}

#confirm-button:hover{
    background-color: #a88221; /* Gold */
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 2px 2px 10px rgba(218, 165, 32, 2); /* Subtle shadow */
}

/* Countdown styling */
.countdown {
    font-size: 1.1rem;
    color: #DAA520; /* Gold */
    margin-top: 15px;
    font-family: 'Open Sans', sans-serif;
}



/* Responsive styles for medium screens */
@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }

    .heading {
        font-size: 1.5rem;
    }

    .big-80 {
        font-size: 7rem;
    }

    ul {
        font-size: 1.4rem;
        padding: 5px;
    }

    #confirm-button {
        font-size: 1.2rem;
        padding: 12px 30px;
    }

    .countdown {
        font-size: 1rem;
    }
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with transparency */
}

.modal-content {
    background-color: #ffffff;
    font-family: 'Arial', sans-serif;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 0px;
}

.modal-content button {
    font-size: 1.2rem;
    margin: 10px;
    padding: 10px 20px;
    background-color: #DAA520;
    color: #ffffff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.modal-content button:hover {
    background-color: #a88221;
    transition: background-color 0.3s ease;
}


/* Responsive styles for mobile screens */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .heading {
        font-size: 1.5rem;
    }

    .big-80 {
        font-size: 6rem;
    }

    ul {
        font-size: 1.2rem;
        padding: 5px;
    }

    p {
        font-size: 1rem;
        padding: 10px 20px;
        margin-bottom: 20px;
    }

    #confirm-button {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .countdown {
        font-size: 1rem;
    }
}

/* Responsive styles for smaller mobile screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .big-80 {
        font-size: 7rem;
    }

    ul {
        font-size: 1.2rem;
    }

    ul li {
        padding: 5px;
    }

    p {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    #confirm-button {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .countdown {
        font-size: 0.9rem;
    }
}
