*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: rgb(39, 28, 49);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container{
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
}
.text-container{
    gap: 10px;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
}
.text-container h1{
    font-size: 48px;
}
.text-container p{
    width: 90%;
    font-weight: bold;
    opacity: 0.7;
}
.text_benefit{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}
.text_benefit span{
    opacity: 0.7;
}
.email_container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 85%;
    margin-top: 15px;
}
.labels{
    display: flex;
    justify-content: space-between;
}
.labels span{
    color: red;
    font-weight: 900;
    display: block;
}
.email_container label{
    font-weight: bold;
}
.email_container input{
    cursor: pointer;
}
.email_container input{
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.404);
}
.input_error{
    border: 1px solid red;
    background-color: #fff0f0;
    color: #333;
}
.email_container button{
    cursor: pointer;
    background-color: rgb(39, 28, 49);
    padding: 10px;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    transition: all 10ms ease;
}
.email_container button:active{
    background-color: rgba(255, 69, 22, 0.829);
    color: white;
    opacity: .8;
}
.email_container button:hover{
    background-color: rgb(255, 68, 22);
    color: white;
}
/*Confirmation Popup */
.confirmation_container{
    background-color: white;
    display: none;
    flex-direction: column;
    width: 30%;
    padding: 30px;
    border-radius: 20px;
    gap: 10px;
}
.thanks_text{
    font-weight: 900;
    font-size: 22px;
}
.dismiss_btn button{
    width: 95%;
    background-color: rgb(39, 28, 49);
    color: white;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 5ms ease-in;
}
.dismiss_btn button:hover{
    background-color: rgb(255, 68, 22);
    color: white;
}
.dismiss_btn button:active{
    background-color: rgb(255, 68, 22);
    color: white;
    opacity: .8;
}

.text_details span{
    font-weight: 700;
}
.popUp{
    display: flex;
}
@media screen and (max-width:767px) {
    .container{
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }
    .text-container{
        padding-left: 0;
        width: 100%;
    }
    .text-container h1{
        font-size: 40px;
    }
    .image-container{
        width: 100%;
    }
    .image-container img{
        background: url(./assets/images/illustration-sign-up-mobile.svg);
    }
    .email_container{
        width: 100%;
    }
    .confirmation_container{
        display: none;
        justify-content: left;
        width: 100%;
        height: 100%;
        border-radius: 0px;
    }
    .image-confirmation{
        display: flex ;
        justify-content: start;
        align-items: center;
    }
    .dismiss_btn{
        margin-top: 80%;
        width: 100%;
    }
}
@media (min-width:768px) and (max-width:1023px) {
    .confirmation_container{
        width: 40%;
    }
}
