* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font.otf') format('otf');

}

/* @font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Bold.woff2') format('woff2'),
        url('./fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
} */

body {

    font-family: 'Montserrat', sans-serif;


    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f0f2f5;
    /* Light background */
    color: #1a2a47;
    /* Dark text color */
    text-align: center;
}

.container {
    /* padding: 20px; */
    height: fit-content;
}

.main-title {
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 50px;
}

.countdown-card {
    background: linear-gradient(to bottom, #660000, #fd4747);
    border-radius: 15px;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 20px;
    box-sizing: border-box;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow items to wrap on smaller screens */
}

.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px 8%;
}

.logo .logo-text {
    font-size: 0.9em;
    font-weight: 600;
    position: relative;
    top: -10px;
}

.logo img {
    width: 150px;
    height: auto;
    margin-bottom: 50px;
    margin-top: 20px;
    filter: blur(4px);
}

.logo-text-1 {
    color: #007537;
    font-weight: 900;
}

.time-value {
    font-size: 4.5em;
    /* Large size for the numbers */
    font-weight: 700;
    color: #ffffff;
    /* Orange color for the countdown numbers */
    line-height: 1;
    margin-bottom: 5px;
    padding: 0 10px;
}

.time-label {
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffafaf;
}

.footer {
    position: relative;
    top: -350px;

}

.sub-title {
    margin-top: 70px;
    font-size: 1.5em;
    font-weight: 800;
    color: rgb(128, 128, 128)
}

.separator {
    font-size: 4.5em;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    margin: 0 10px;
}

.social-links {
    margin-top: 20px;
}

.gif {
    position: relative;
    top: -260px;
}

.gif img {
    margin-top: 20px;
    width: 100%;
    height: auto;
}

.road {
    position: relative;
    top: -120px;
    height: 30px;
    width: 100%;
    background-color: #471a1ae3;
}

.social-links {
    position: relative;
    top: -360px;
}

.social-links img {
    width: 40px;
    height: 40px;
    margin: 0 5px;
}



.footer p {
    font-size: 0.9em;
    color: #888;
}

/* --- Mobile Responsiveness --- */

/* For screens smaller than 768px (e.g., tablets and large phones) */
@media (max-width: 768px) {


    .main-title {
        font-size: 2.5em;
        margin-bottom: 40px;
    }

    .countdown-card {
        padding: 30px 40px;
    }

    .time-value,
    .separator {
        font-size: 3.5em;
        padding: 0 8px;
    }

    .timer-segment {
        margin: 0 3px;
    }
}

/* For screens smaller than 480px (e.g., mobile phones) */
@media (max-width: 480px) {
    .footer {
        position: relative;
        top: 0px;

    }

    .logo img {
        width: 80px;
        height: auto;
        margin-bottom: 50px;
        margin-top: 20px;
    }


    .logo .logo-text {
        font-size: 0.5em;
        font-weight: 600;
        position: relative;
        top: -10px;
    }

    .gif {
        position: relative;
        top: -130px;
    }

    .road {
        position: relative;
        top: -40px;
        height: 15px;
        width: 100%;
        background-color: #471a1ae3;
    }

    .main-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .countdown-card {
        padding: 20px 25px;
        width: 90%;
        /* Take up more width on smaller screens */
    }

    .time-value,
    .separator {
        font-size: 2.5em;
        padding: 0 5px;
    }

    .time-label {
        font-size: 0.7em;
    }

    .timer-segment {
        margin: 0 2px;
        flex-basis: 45%;
        /* Allow segments to wrap more easily */
        margin-bottom: 15px;
        /* Add space between wrapped segments */
    }

    .separator {
        display: none;
        /* Hide separators on very small screens if segments wrap */
    }

    .countdown-timer .timer-segment:last-child .separator {
        display: none;
        /* Ensure no separator after the last segment */
    }
}