

*{
    box-sizing: border-box;
}

body{
    background-image: url(../images/back.svg);
    background-size: 40%;
    background-position: bottom right;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    font-family: "Inter", sans-serif;
}

.container{
    width: 100%;
    max-width: 1132px;
    display: flex;
    gap: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 0;
    height: 100%;
}

.col{
    width: 60%;
}

h1{
    color: #780000;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 400;
    line-height: 1,2;
    text-align: left;
}

h2{
    color: #003049;
    margin: 0 0 16px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    
}

h3{
    margin: 0 0 24px 0;
    color: #001825;
    font-size: 16px;
    font-weight: 700;
    line-height: 1,2;
    text-align: left;
    width: 100%;
}

p{
    color: #001825;
    margin: 0 0 40px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;

}


form{
    max-width: 635px;
    column-gap: 24px;
    position: relative;
    background: #F6F6F6;
    padding: 32px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0 0 50px 0;
}

form>div{
    flex-grow: 1;
    position: relative;
}

input{
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    width: 100%;
    outline: none;
    padding: 0 20px;
    height: 48px;
}

.error{
    border: 1px solid rgba(255, 0, 0, 1);
}

#emailError{
    font-size: 12px;
    font-weight: 400;
    line-height: 14.1px;
    position: absolute;
    top: 100%;
}

input::placeholder{
    color: rgba(146, 146, 146, 1);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

button{
    border: 1px solid #C1121F;
    color: #fff;
    font-style: normal;
    padding: 0 24px;
    max-width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s;
    background: #C1121F;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    border-radius: 0 0 16px 0;
}

button:hover{
    color: #fff;
    background:#720a11;
    border: 1px solid #720a11;
}


.down{
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 8px;
}

.down p{
    margin: 0;
}
.down p a{
    color: #001825;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
}

.down p:first-child, .down p:last-child{
    width: 100%;
}

.popup{
    display:none; 
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.popup__inner{
    background-color: rgba(255, 255, 255, 1);
    padding: 48px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #272727;
    width: 600px;
    max-width: 95%;
    border-radius: 0 0 50px 0;
}
.popup__inner>img{
    position: absolute;
    cursor: pointer;
    right: 24px;
    top: 24px;
    z-index: 1;
}

.popup__inner span{
    font-weight: 700;
    color: #001825;
    font-size: 40px;
}
.popup__inner p{
    text-align: center;
}


@media (max-width: 768px){
    body{
        padding: 0 15px;
        background-position: bottom center;
        background-size: auto;
        background-image: none;
    }

    .container{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .col{
        width: 100%;
    }

    h2{
        font-size: 30px;
        margin: 0 0 15px 0px;
        line-height: 33px;
    }


    h3{
        margin: 0;
    }

    hr{
        width: 80%;
        margin: 15px auto;
    }

    form{
        align-items: stretch;
        justify-content: center;
        flex-direction: column;
        gap:20px;
        padding: 32px 20px;
    }

    button{
        width: 100%;
        min-width: 100%;
    }

    .popup__inner {
        padding: 87px 15px;
        margin: 15px;
    }

    #emailError{
        font-size: 12px;
        font-weight: 400;
        line-height: 14.1px;
        position: absolute;
    }
}







