:root{
    --clr-primary-1: #8FD3D8;
    --clr-secondary-2:rgba(255, 123, 156, 0.5);
    --clr-third-3: #B1B2FF;
    --clr-white-1: #ffff;
    --clr-error: red;
    --clr-font-1: #060047;
    --clr-effect:#FF8E9E;
    --ff-primary:'Open Sans', sans-serif;
    --ff-seconday:'Open Sans', sans-serif;
}

/* GENEARL STYLES */
body{
    height: 100vh;
    width: 100vw;
    margin: 0;
    box-sizing: border-box;
    background-color: var(--clr-primary-1);
    font-family: var(--ff-seconday);
}

h1, h2{
    font-family: 'Pacifico', cursive;
    color: var(--clr-secondary-2);
    margin-bottom: 0;
}
main{
    border-radius: 50px ;
    background-color: var(--clr-white-1);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    width: 100%;
    max-width: 1000px;
    margin: auto auto;
    display: flex;
    height: 50vh;
    top: 25vh;
    transform: translateY(25vh);
    border-collapse: separate;
    border-radius: 30px;
}
.image-container{
    width: 50%;
    background-position-y: center;
}
img{
 height: 100%;
 width: 100%;
 border-radius: 30px 0 0 30px


}
input{
    height: 4rem;
    width: 20rem;
    border-radius: 20px;
    border: solid 2px var(--clr-primary-1);
    padding: 0 15px;
    font-size: 1.2rem;
}



/* MODAL STYLES */

.modal-overlay{
    background-color: var(--clr-secondary-2);
    position:fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    display: grid;
    align-items: center;
    justify-items: center;
}
.modal-container{
    text-align: center;
    background-color: var(--clr-white-1);
    height: 50%;
    width: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}
.modal-title{
    font-size: 3.5rem;
    margin-bottom: 0;
    color: var(--clr-primary-1)
}
.message{
    margin: 0;
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;

}
.error{
    color: var(--clr-error);
}
.hide{
    visibility: hidden;
    z-index: -10;
}
button{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    margin-top: 20px;
    height: 4rem;
    width: 15rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-family: inherit;
    border: none;
    background-color: var(--clr-secondary-2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
button:hover{
    background-color: var(--clr-effect)
}
/* COUNTDOWN TIMER STYLES */
.countdown-container{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    text-align: center;
    display: flex;
    justify-items: center;
    flex-direction: column;
}
.timer-container{
    display: flex;
    justify-content: space-around;
}

.text-container{
    font-size: 1.5rem;
    padding: 0 50px;
    margin-bottom: 0;
}
.desc{
    /* padding: 0 50px; */
    font-size: 1rem;
    width: 400px;
    margin: auto;
}
.block{
    background-color: var(--clr-secondary-2);
    width: 100px;
    margin-top: 20px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 10px;
    background-color: var(--clr-secondary-2);
    color: var(--clr-font-1)
}
.data{
    font-size: 3rem;
    margin: 0;
}

@media screen and (max-width: 1500px){

    .image-container{
        visibility: hidden;
        width: 0;
    }
    main, .modal-container{
        width: 85vw;
    }
    .countdown-container{
        width: 100%;
        border-radius: 30px;
        margin-top: 0;
    }


}
@media screen and (max-width: 749px){
    main{
        transform: translateY(5vh);
        height: 100%;
        overflow: visible;
        margin-bottom: 10vh;
    }
    .timer-container{
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .block{
       height: 17vh;
       width: 50vw;
    }
    h1{
        font-size: 2rem;
    }
    .countdown-container{
        padding: 0;
        height: 70%;
    }
    .text-container{
        padding: 0;
    }
    .text-container p{
        font-size: 1rem;
    }
    .data{
        font-size: 5rem;
    }

    .block:last-child{
        margin-bottom: 150px;
    }
    .modal-title{
        font-size: 2rem;
    }
    input{
        width: 90%;
        height: 2rem;
    }
    .message{
        font-size: 0.8rem;
    }
    button{
        height: 2rem;
    }
    .modal-container{
        height: 70%;
    }
}
