@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');

*{
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    font-family: 'Rubik';
}

.container_sotka{
    display:none;
    width: 100%;
    height:100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #015b1b5e;
    padding: 50px 0;
    overflow: auto;
}

.wrap_sotka{
    max-width: 552px;
    width: 100%;
    margin: auto;
    box-shadow: 0px 0px 88px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
}

.form_sotka{
    position: relative;
    background: url(../images/sotka_night/sotka.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
    border-radius: 30px;
}

.close_sotka{
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.wrap_content_sotka{
    display: flex;
    flex-direction: column;
    max-width: 325px;
    padding: 66px 0 50px 35px;
    box-sizing: border-box;
}

.wrap_content_sotka > h2{
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.wrap_content_sotka > h4{
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 36px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.wrap_content_sotka > h4 span{
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    background: #00BA20;
    border-radius: 35px;
    padding: 11px;
    box-sizing: border-box;
}

.wrap_content_sotka > h3{
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-top: 20px;
}

.wrap_content_sotka input[type = text]{
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    background: none;
    padding: 17px 0 17px 14px;
    box-sizing: border-box;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.61);
    margin-top: 40px;
}

.btn_sotka{
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    padding: 13px 0;
    text-align: center;
    background: #FFCD00;
    border-radius: 10px;
    margin-top: 23px;
}

.container_night{
    display: none;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #015b1b5e;
    padding: 50px 0;
    overflow: auto;
}

.wrap_night{
    max-width: 636px;
    width: 100%;
    margin: auto;
    box-shadow: 0px 0px 88px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
}

.form_night{
    background: #FFFFFF;
    border-radius: 30px;
}

.close_night{
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;

}

.form_night{
    position: relative;
    padding: 69px 53px 54px;
    box-sizing: border-box;
    text-align: center;
}

.form_night > h2{
    font-style: normal;
    font-weight: 600;
    font-size: 60px;
    line-height: 71px;
    text-transform: uppercase;
    color: #4F4F4F;
}

.form_night > h3{
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 43px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #4F4F4F;
}

.form_night > h3 span{
    font-style: normal;
    font-weight: 600;
    font-size: 54px;
    line-height: 64px;
    text-align: center;
    text-transform: uppercase;
    color: #379D35;
}

.form_night > h4{
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 33px;
    text-align: center;
    color: #4F4F4F;
}

.form_night > h5{
    font-style: normal;
    font-weight: 600;
    font-size: 54px;
    line-height: 64px;
    text-align: center;
    text-transform: uppercase;
    color: #379D35;
}

.form_night > h5 span{
    color: #E30C13;
    font-size: 80px;
    line-height: 100px;
}

.wrap_btn_inp_night{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 421px;
    margin: auto;
}

.wrap_btn_inp_night input[type=text]{
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: #9B9B9B;
    text-align: center;
    padding: 22px 0;
    margin-top: 145px;
}

.wrap_btn_inp_night .btn_night{
    background: #FFCD00;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    padding: 22px 0;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
    color: #000000;
    margin-top: 12px;
}

.wrap_img_absolute_night{
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100%;
    width: 100%;
}

.wrap_img_absolute_night img{
    width: 100%;
    display: block;
}

@media (max-width:1750px) {
    .wrap_night {
        max-width: 500px;
    }
    
    .form_night > h2 {
        font-size: 46px;
        line-height: 55px;
    }

    .form_night > h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .form_night > h3 span {
        font-size: 40px;
        line-height: 52px;
    }

    .form_night > h4 {
        font-size: 22px;
        line-height: 26px;
    }

    .form_night > h5 {
        font-size: 40px;
    }

    .form_night > h5 span {
        font-size: 60px;
        line-height: 80px;
    }

    .wrap_btn_inp_night input[type=text]{
        margin-top: 80px;
    }

    .wrap_btn_inp_night input[type=text],
    .wrap_btn_inp_night .btn_night{
        font-size: 20px;
        line-height: 24px;
        padding: 16px 0;
    }
}

@media (max-width:1399px) {
    .wrap_sotka {
        max-width: 420px;
    }    

    .wrap_content_sotka > h2{
        font-size: 30px;
        line-height: 34px;
    }

    .wrap_content_sotka > h4{
        font-size: 16px;
        line-height: 30px;
    }

    .wrap_content_sotka > h4 span{
        font-size: 26px;
        line-height: 26px;
        padding: 7px;
    }

    .wrap_content_sotka > h3{
        font-size: 20px;
        line-height: 24px;
        margin-top: 10px;
    }

    .wrap_content_sotka {
        max-width: 270px;
        padding: 40px 0 30px 20px;
    }

    .wrap_content_sotka input[type = text] {
        padding: 14px 0 14px 10px;
        font-size: 16px;
        line-height: 16px;
        margin-top: 25px;
    }

    .btn_sotka {
        font-size: 16px;
        line-height: 20px;
        padding: 10px 0;
        margin-top: 20px;
    }

    .wrap_night {
        max-width: 420px;
    }

    .form_night {
        padding: 50px 30px 35px;
    }

    .form_night > h2 {
        font-size: 40px;
        line-height: 46px;
    }

    .form_night > h3 span {
        font-size: 32px;
        line-height: 45px;
    }

    .form_night > h4 {
        font-size: 18px;
        line-height: 22px;
    }

    .form_night > h5 {
        font-size: 32px;
    }

    .form_night > h5 span {
        font-size: 52px;
        line-height: 70px;
    }

    .wrap_btn_inp_night input[type=text], .wrap_btn_inp_night .btn_night {
        font-size: 16px;
        line-height: 20px;
        padding: 15px 0;
    }

    .wrap_btn_inp_night {
        max-width: 285px;
    }
}

@media (max-width:600px) {
    .wrap_sotka{
        max-width: 90%;
    }

    .form_sotka{
        background-position: center;
    }

    .wrap_night{
        max-width: 300px;
    }

    .form_night > h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .form_night > h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .form_night > h3 span {
        font-size: 25px;
        line-height: 35px;
    }

    .form_night > h5 {
        font-size: 25px;
    }

    .form_night > h5 span {
        font-size: 42px;
        line-height: 54px;
    }

    .wrap_btn_inp_night input[type=text] {
        margin-top: 70px;
    }

    .wrap_btn_inp_night input[type=text], .wrap_btn_inp_night .btn_night {
        font-size: 14px;
        line-height: 18px;
        padding: 10px 0;
    }

    .wrap_btn_inp_night {
        max-width: 200px;
    }

    .form_night {
        padding: 40px 15px 10px;
    }
}