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

* {
    box-sizing: border-box;
}

body {
    background-image: url("../images/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(38, 35, 94, 0.4);
    
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    ;
}
@media screen and (min-width: 568px) {
    body {
        height: 100vh;
    }
}
@media screen and (max-width: 567px) {
    body {
        background-image: url("../images/bg_mob.jpg");
    }
}

body::after {
    /*background-color: rgba(38,35,94,0.7);*/
}

@media screen and (max-width: 567px) {
    video {
        width: 100%;
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    /*z-index: -1; */
    pointer-events: none;
    background-size: cover;
    background-position: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0 0.7rem 0.7rem;
    position: relative;
    height: 5rem;
}

.main {
    position: sticky !important;
    z-index: 9999999;
}

.logo {
    /*position: absolute;*/
    /*left: 0;*/
}

header .logo svg {
    width: 100%;
    max-width: 200px;
    position: absolute;
    left: 6px;
    right: auto;
    top: 1px;
}

.header_text {
    background: linear-gradient(to right, #26235e, #202e6b, #1b3978);
    padding: 8px 8px;
    border-radius: 20px;
    width: 100%;
    max-width: 580px;
    text-align: center;
    position: absolute;
    left: 4rem;
    top: 1rem;
    overflow: hidden;
}

.carousel-section {
    width: 100%;
}

.header_text_p {
    color: orange;
    font-size: 1.2rem;
    /*text-transform: uppercase;*/
    font-weight: 400;
    line-height: 1.2;
}

.form_logo {
    width: 100%;
    max-width: 150px;
}

header img {
    position: absolute;
    top: 80px;
    right: 0;
    width: 130px;
}

.main {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
    margin-top: 4rem;
    padding: 0 2rem;
}

@media screen and (max-width: 567px) {
    .main {
        padding: 0 1rem;
    }
}

.top {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 40px;
}

.top_title {
    margin: 0;
    /*text-transform: uppercase;*/
    font-size: 2rem;
    font-weight: 300;
    /*color: rgb(25,25,25);*/
    color: orange;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.15;
    margin-bottom: 20px;
}

.top_info {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.info_mill {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

@media screen and (max-width: 567px) {
    .info_mill {
        flex-direction: column;
    }

}

.top_title strong {
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.top_text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;

}


.text_box {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin-top: 2rem;
}

.item {

    display: grid;
    grid-template-rows: 2fr 2fr;
    margin: 0 2rem 0 0;
}

.item img {
    width: 100%;
    max-width: 100px;
}


.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
    background-color: rgba(255, 255, 255, 1);
    padding: 1.4rem;
    border-radius: 20px;
    margin: 40px auto 20px auto;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form_title {
    text-align: center;
}

input[name="phone2"] {
    margin: 10px 0 !important;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    margin: 10px 0;
    max-width: 370px;
}

.iti {
    display: flex !important;
    justify-content: center;
}

input {
    display: flex;
    padding: 12px;
    font-size: 18px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #575555;
    margin: 10px 0 !important;
    outline: none;
}

input.chek {
    width: 30px;
}

label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.reg_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 340px;
    width: 100%;
    padding: 12px;
    background: rgb(87, 194, 244);
    background: linear-gradient(180deg, rgb(87, 194, 244) 0%, rgb(84, 54, 232) 100%);
    border: none;
    outline: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    margin-top: 20px;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    /*position: fixed;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*background-color: #fff;*/
    height: 80px;
    padding: 0.4rem 0.4rem;
    /* margin-top: 130px; */
    color: #fff;
}

.footer_logo {
    /*padding: 20px;*/
}

.mob {
    display: none;
}



.top_info_img {
    float: left;
    width: 340px;
    height: auto;
    margin: 10px 10px 10px 0;
    border-radius: 10px;
}

.mill_wr {
    float: right;
    width: 200px;
    height: auto;
    margin: 10px 10px 10px 0;
}

@media all and (max-width: 480px) {
    body {
        background-position-x: 27%;
        height: auto;
    }

    .main {
        display: flex;
        flex-direction: column-reverse;
    }

    header {
        position: absolute;
        padding: 2px;
        height: 0;
        width: 100%;
        max-width: 374px;
        -webkit-max-width: 374px;
    }

    .header_text {
        left: 6px;
        right: 6;
        top: -16px;
        width: 100%;
        position: relative;
        max-width: 400px;

    }

    .hide-mobile {
        display: none;
    }

    .text_box {
        flex-direction: column;
    }

    .top_info {
        font-size: 1.5rem;
    }

    .form {
        margin-top: 1.8rem;
        max-width: 400px;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px;
    }

    .mob {
        display: flex;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .item {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        margin: 0;
        padding: 1rem;
    }

    .top_info_img {
        float: left;
        width: 160px;
        height: auto;
        margin: 10px 10px 10px 0;
        border-radius: 10px;
    }

    .top {
        padding: 10px;
        margin-top: 0;
    }

    .top_title {
        font-size: 1.5rem;
        text-align: center;
    }

    .top_text {
        font-size: 1.65rem;
        z-index: 999;
    }

    header .logo svg {
        max-width: 150px;
    }
}