* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body {
    background: url('back.jpg') no-repeat center center/cover;
    color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(1px);
    z-index: -1;
}

.container {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(5, 80, 49, 0.212);
    padding: 20px;
    border-radius: 10px;

    animation: enterAnimation 1.5s ease-in-out 0s 1 forwards;

    color: white; /* Text color for readability */
    box-shadow: 4px 8px 15px rgb(0, 0, 0); /* Green shadow for theme */
    z-index: 1; /* Ensure content is above overlay */
    overflow: hidden;

    backdrop-filter: blur(5px);
}

@keyframes enterAnimation {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.container:hover{
    animation: flip 1.5s ease-in-out 0s 1 reverse forwards;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}


.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url()  ;
    filter: blur(1px); /* Apply blur to the background only */
    z-index: -1;
}

h1 {
    font-size: 2em;
    margin-bottom: 1em;
    text-align: center;
    color: rgb(10, 39, 18);
}
h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
    text-align: center;
    color: rgb(10, 39, 18);
}
span {
    font-size: xx-large;
    gap: 4px;
}
p{
    font-size: 50px;
    font-style: italic;
    color: black;
    text-align: center;
}
.head{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background-color: rgba(127, 255, 212, 0.493);
    padding: 20px;
    border-radius: 11px;
    width: 100%;
    max-width: 1000px;
}

.main{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#countdown {
    display: flex;
    justify-content: space-around;
    gap: 4px;
}

#countdown div {
    padding:25px;
    background-color: rgba(177, 230, 175, 0.829);
    border-radius: 5px;
    font-size: 20px;
    color: rgb(14, 46, 23);
    display: flex;
    flex-direction: row;
    text-align: center;
    margin-bottom: 1em;
}

#progress-containerr {
    background-color: rgba(245, 245, 220, 0.493);
    width: 100%;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 1em;
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(26, 75, 40);;
}

#progress-bar {
    background: rgb(26, 75, 40);;
    color: rgba(255, 255, 255, 0);
    width: 50%;
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow here */
}
