/*==========================================================================================================================================================================*/
/* Подключение шрифтов */
@font-face {
    font-family: "Bounded";
    src: url("fonts/Bounded-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: bold;
}

@font-face {
    font-family: "Onest";
    src: url("fonts/Onest-ExtraBold.ttf") format("truetype");
    font-weight: 800;

}
@font-face {
    font-family: "Onest";
    src: url("fonts/Onest-Regular.ttf") format("truetype");
    font-weight: 400;

}





/*==========================================================================================================================================================================*/
/* Обнуление */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


nav,
footer,
header,
aside {
    display: block;
}

input,
button,
textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

input::-ms-clear {
    display: none;
}

a,
button {
    color: inherit;
    cursor: pointer;
    border: none;
}

button {
    background-color: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

:focus,
:active,
a:focus,
a:active {
    outline: none;
}

a,
a:visited,
a:hover {
    text-decoration: none;
}



/*==========================================================================================================================================================================*/
/* Общие стили */
body {
    background-color: #02091b;
}

.kras_wrap {
    margin: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    background-color: #02091b;
    color: white;
    font-family: Onest;
    flex-flow: column;
    display: flex;
    align-items: center;
    margin-top: 120px;
}




.kras_head {
    min-width: 827px;
    width: 100%;
    
    height: 823px;
    background-position: center;
    background-repeat: no-repeat;
    /* background-image: url(img/kras_head_bg.webp); */
    display: flex;
    flex-flow: column;
    margin-bottom: 20px;
}


h1.kras_head_text{

    margin: 0 auto;
    margin-top: -121px;
    max-width: 740px;

    font-family: Bounded;
    font-weight: 700;
    font-style: Bold;
    font-size: 30px;
    line-height: 120%;
    text-align: center;
    z-index: 1;;

    /* color: white; */
}
.kras_block{
    width: 827px;
    height: 370px;
    border-radius: 40px;
    background: #0A1225;
    box-shadow: 0px 0px 5px 0px #72C2FF4D inset;

    display: flex;;
    padding: 38px 50px 50px 50px;
    gap: 20px;
    margin-bottom: 50px;


}
.kras_block_left{
    display: flex;;
    flex-flow: column;
}
.kras_block_digit{
    font-family: Bounded;
    font-weight: 700;
    font-style: Bold;
    font-size: 60px;
    line-height: 120%;

}
.kras_block_head{
    font-family: Bounded;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 17px;
}
.kras_block_text{
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 120%;
}
.kras_block_right{
    width: 406px;
    height: 271px;
    border-radius: 35px;
    outline: 1.5px solid #FFFFFF;
    box-shadow: 0px 0px 28px 0px #72C2FF33;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
}

.kras_video{
    width: 100%;    /* Растянуть по ширине контейнера */
    height: auto;   /* Сохранить пропорции */
    display: flex; /* Убрать лишние отступы */
    justify-content: center;
}
.kras_video_mob{
    display: none;
}


@media only screen and (max-width: 1220px) {
    .kras_video{
        display: none;
    }
    .kras_video_mob{
        width: 100%;    /* Растянуть по ширине контейнера */
        height: auto;   /* Сохранить пропорции */
        display: flex; /* Убрать лишние отступы */
        justify-content: center;
    }
    .kras_video_mob video {
      width: 100%;    /* Растянуть по ширине контейнера */
      height: auto;   /* Сохранить пропорции */
      display: block; /* Убрать лишние отступы */
    }


    .kras_head {
        min-width: initial;
        width: 100%;

        background-size: contain;

        height: calc(100vw / 1.5);
        background-position: center;
        background-repeat: no-repeat;
        /* background-image: url(img/kras_head_bg_mob.jpg); */
        display: flex;
        flex-flow: column;
        margin-bottom: 20px;
        /* justify-content: flex-end; */
    }
    h1.kras_head_text {
        margin-top: initial;
        width: 75vw;
        margin-top: -80px;
    }


}

@media only screen and (max-width: 960px) {
    .kras_wrap {
        
        margin-top: 96px;
    }

    .kras_block {
        width: calc(100vw - 40px);
        height: auto;
        box-shadow: 0px 0px 5px 0px #72C2FF4D inset;
        flex-flow: column;
        padding: 20px 20px 20px 20px;
        margin-bottom: 20px;
        margin-left: 20px;
        margin-right: 20px;;

    }
    .kras_block_right{
        width: 78vw;
        height: auto;
        border-radius: 35px;
        outline: 1.5px solid #FFFFFF;
        box-shadow: 0px 0px 28px 0px #72C2FF33;
        margin-top: 12px;
        margin-left: auto;
        margin-right: auto;


    }
    h1.kras_head_text {
        
        font-size: 28px;
    }
    .kras_block_right {
        border-radius: 25px;
    }


}

@media only screen and (max-width: 620px) {
    h1.kras_head_text {
        
        font-size: 24px;;
        margin-top: -30px;
    }
    .kras_head {
        margin-bottom: 115px;
    }

    .wrap.rules_block {
        padding: 0;
    }



}

