:root{
    --grey: #7C859D;
    --soft-blue: #4F91DA;
    --light-blue: #005CC3;
    --blue: #004899;
    --light: #ffffff;
    --dark: #333333;
    --great-transition: all 200ms ease;
}
.btn{
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 10px 32px;
    min-height: 60px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    line-height: 1.75;
    text-decoration: none;
    box-sizing: border-box;
}
.btn--blue{
    background-color: #387BFF;
    color: var(--light);
    transition: var(--great-transition);
    &:hover{
        color: var(--light);
        background-color: #2850A8;
    }
}
.od-section{
    margin: 80px 0;
}
.section-title{
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.1;
}
/*===============================================================================================*/
@media screen and (max-width: 1199px){
    .section-title{
        font-size: 35px;
    }
}
@media screen and (max-width: 665px){
    .section-title{
        font-size: 30px;
    }
}
@media screen and (max-width: 600px){

    .od-section {
        margin: 60px 0;
    }
}
@media screen and (max-width: 400px){
    .section-title{
        font-size: 25px;
    }
}
/**********************************************************************************************/
/*open-doors-hall*/
/**********************************************************************************************/


.open-doors-hall{
    position: relative;
    padding: 100px 0;
    background-image: url(../images/open-doors-hall.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    .img-link-box{
        margin-bottom: 20px;
    }
    .open-doors-hall-breadcrumbs{
        margin-bottom: 25px;
    }
    h1{
        font-size: 40px;
        font-weight: 600;
        color: var(--light);
        line-height: 124%;
    }
    p{
        margin: 20px 0;
        font-size: 18px;
        line-height: 1.4;
        font-weight: 500;
        color: var(--light)
    }
    .btn{
        margin-top: 40px;
    }
}
.open-doors-hall__planet{
    position: absolute;
    top: 51%;
    left: 48.2%;
    max-width: 915px;
    width: 60%;
    height: auto;
    transform: translateY(-50%);
}
.open-doors-hall__content{
    max-width: 595px;
    width: 55%;
}
.open-doors-hall-breadcrumbs{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
    li{
        display: flex;
        align-items: center;
        gap: 10px;
        &:not(:last-child){
            &::after{
                content: '';
                flex-shrink: 0;
                position: relative;
                top: 1px;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background-color: var(--soft-blue);
            }
        }
        a, span{
            font-size: 13px;
            font-weight: 400;
            color: var(--grey);
            text-decoration: none;
        }
        a:hover{
            text-decoration: underline;
        }
    }
}

.img-link-box{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/*=================================================================================================*/
@media screen and (max-width: 1199px){
    .open-doors-hall h1 {
        font-size: 35px;
    }
}
@media screen and (max-width: 665px){
    .open-doors-hall h1 {
        font-size: 30px;
    }
    .open-doors-hall p{
        font-size: 16px;
    }
}
@media screen and (max-width: 650px){
    .open-doors-hall{
        padding: 80px 0;
    }
    .open-doors-hall__planet{
        display: none;
    }
    .open-doors-hall__content{
        width: 100%;
        max-width: 100%;
    }
}
@media screen and (max-width: 400px){
    .open-doors-hall h1 {
        font-size: 25px;
    }
}

/**********************************************************************************************/
/*anchor-section*/
/**********************************************************************************************/

.anchor-section{
    margin-top: 40px;
}
.anchor-list{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
    li{
        a{
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--light);
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 13px;
            line-height: 1.2;
            font-weight: 500;
            color: var(--dark);
            text-decoration: none;
            box-sizing: border-box;
            transition: var(--great-transition);
            &:hover{
                background-color: #387BFF;
                color: var(--light);
            }
        }
    }
}

/**********************************************************************************************/
/*about-olympics*/
/**********************************************************************************************/
.about-olympics{
    position: relative;
    overflow: hidden;
    p{
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
        font-weight: 500;
        color: var(--dark);
    }
}
.about-olympics .section-title{
    margin-bottom: 20px;
}
.about-olympics__columns{
    display: flex;
    gap: 10%;
    align-items: center;
}
.about-olympics__description{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;

}
.about-olympics__nota{
    position: relative;
    max-width: 366px;
    &::before{
        content: '';
        position: absolute;
        top: 49%;
        left: 46%;
        width: 170%;
        height: 170%;
        background-image: url(../images/opendoors/circled.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        transform: translate(-50%, -50%);
    }

    p{
        position: relative;
        font-size: 15px;
        z-index: 1;
    }
}

.anchor-section-features{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 41px;
    border-radius: 20px;
    overflow: hidden;
}
.anchor-section-features-item{
    background-color: var(--light);
    padding: 28px 30px;
    box-sizing: border-box;
    .anchor-section-features-item__head{
        display: flex;
        align-items: flex-end;
        gap: 9px;
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.4;
        font-weight: 500;
        color: var(--light-blue);
        font-family: Noto Serif;
    }
    .anchor-section-features-item__int{
        font-size: 40px;
        line-height: 1.1;
    }
    sup{
        position: relative;
        font-size: 34px;
        align-self: flex-start;
        top: 14px;
        left: -3px;

    }
    p{
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        color: var(--dark);
    }
}
/*======================================================================*/
@media screen and (max-width: 1280px){
    .about-olympics__nota {
        right: 30px;
    }
}
@media screen and (max-width: 1110px){
    .anchor-section-features-item {
        .anchor-section-features-item__int {
            font-size: 35px;
        }
    }
}
@media screen and (max-width: 950px){
    .about-olympics__columns {
        gap: 80px;
        flex-direction: column;
    }
    .anchor-section-features {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 90px;
    }
    .about-olympics__nota {
        right: 0;
    }
    .about-olympics__nota::before {
        top: 49%;
        left: 50%;
        width: 169%;
        height: 170%;
    }
}
@media screen and (max-width: 500px){
    .anchor-section-features {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 486px){
    .about-olympics__nota {
        max-width: 100%;
        padding: 20px;
        background-color: var(--light);
        border-radius: 10px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .anchor-section-features-item {
        padding:  20px;
    }
    .anchor-section-features {
        margin-top: 40px;
    }
    .about-olympics__description {
        gap: 20px;
    }
    .about-olympics__nota::before{
        display: none;
    }
    .about-olympics__columns {
        gap: 30px;
        flex-direction: column;
    }
    .anchor-section-features-item {
        .anchor-section-features-item__head {
            margin-bottom: 15px;
            font-size: 20px;
        }
    }
}
/**********************************************************************************************/
/*trophies-section*/
/**********************************************************************************************/
.trophies-section{
    .section-title{
        margin-bottom: 30px;
        text-align: center;
    }
}

.od-trophies-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}
.od-trophy{
    background-color: var(--light);
    border-radius: 20px;
    padding: 40px;
}
.od-trophy__title{
    display: block;
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.2;
    color: var(--dark);
    font-weight: 600;
}
.checked-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    li{
        display: flex;
        gap: 6px;
        align-items: flex-start;
        font-size: 15px;
        font-weight: 500;
        color: var(--dark);
        &::before{
            content: '';
            flex-shrink: 0;
            position: relative;
            display: block;
            width: 20px;
            height: 20px;
            -webkit-mask-image: url("../images/opendoors/check-icon.svg");
            mask-image: url("../images/opendoors/check-icon.svg");
            -webkit-mask-size: contain;
            mask-size: contain;
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
            background-color: var(--soft-blue);
        }
    }
}

/*=================================================================================*/

@media screen and (max-width: 999px){
    .od-trophies-box {
        grid-gap: 10px;
    }
}
@media screen and (max-width: 750px){
    .od-trophies-box {
        grid-template-columns:1fr;
    }
}
@media screen and (max-width: 486px){
    .od-trophy {
        padding: 20px;
    }
}

/**********************************************************************************************/
/*stages-olympiad*/
/**********************************************************************************************/
.stages-olympiad{
    padding: 80px 0;
    background-image: url("../images/opendoors/stages-olympiad-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    .section-title{
        margin-bottom: 30px;
        color: var(--light);
    }
}
.olympiad-levels-box{
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.olympiad-levels{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 20px;
    box-sizing: border-box;
}
.olympiad-levels-cell:first-child{
    margin-right: 10px;
}
.olympiad-levels-cell p{
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark);
}
.olympiad-levels__title{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}
.olympiad-levels-cell__caption{
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--blue);
}

/*============================================================================================*/

@media screen and (max-width: 850px){
    .olympiad-levels {
        padding: 20px;
    }
}
@media screen and (max-width: 730px){
    .olympiad-levels {
        grid-template-columns: 1fr;
        grid-gap: 20px;
        padding: 30px  20px;
    }
}
@media screen and (max-width: 600px){
    .stages-olympiad{
        padding: 60px 0;
    }
}
/**********************************************************************************************/
/**********************************************************************************************/