body{
    --heading-1:  clamp(30px, 128px, 3.6vw);
    --heading-2: clamp(12px, 56px, 2vw);
    --heading-3:  clamp(10px, 48px, 1.6vw);
    --text-1: clamp(8px, 42px, 1.25vw);
}
#news{
    display: none;
}
section{
    display: flex;
    flex-direction: column;
    font-size: var(--text-1);
    padding: 4em 5em 0;
}
.content{
    height: 50%;
    display: flex;
    justify-content: space-between;
}
.text-block{
    width: 43%;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}
.text-block h1{
    font-size: var(--heading-1);
    margin: initial;
    width: initial;
}
.partner-logo{
    width: 15vw;
}
.partner-logo.tinkoff{
    width: 11vw;
    max-width: 160px;
}
#signup{
    display: flex;
    align-items: center;
}
 .partners{
        display: flex;
    }
section .button.sign-up{
    border-radius: 4em;
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 0.7em 3.2em;
    font-weight: 500;
    font-size: var(--heading-3);
    cursor: pointer;
}
.button.sign-up{
      transition: all 0.2s ease-out;
}
.button.sign-up:hover{
    font-weight: bold;
}
#logo{
    height: clamp(100px, 1000px, min(40vw, 80vh));
    position: relative;
    right: 1vw;
}
h1, h2{
    font-size: var(--heading-2);
}
@supports (-moz-appearance: none) {
    .cards, #values .container{
         position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    }
}
#images img{
    border-radius: 1em;
    aspect-ratio: 14/9;
    object-fit: cover;
}
/*news*/

#news .card{
        display: flex;
    flex-direction: column;
    justify-content: space-between;
        align-items: center;
        width: 22vw;
    height: 22vw;
}
#news .button.sign-up{
    color: white;
    background: var(--primary);
    width: 100%;
    padding: 0.4em;
}
.card .country{
    text-align: center;
    margin-top: 0;
}
.card .info div{
    display: flex;
    align-items: center;
}
.info{
        display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
.info-icon{
    width: 2vw;
    display: block !important;
}
.card .info p{
    margin: 0.3em;
}
.price p{
    margin: 0;
}
.cards{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    font-size: var(--heading-3);
}
.card{
    background: white;
    font-size:  clamp(6px, 42px, 1.4vw);
    color: var(--primary);
    border-radius: 1.75em;
    width: 17vw;
    height: 17vw;
    padding: 0.75em;
    margin: 10px 0 1em;
}
.card .icon{
    width: 35%;
}
.container{
    display: flex;
    width: 100%;
    justify-content: space-between;

}
.box{
    width: 45%;
    border: 3px white solid;
    border-radius: 1.75em;
    padding: 0 1em;
    display: flex;
    align-items: center;
    font-size: clamp(6px, 42px, 1.35vw);
    justify-content: space-evenly;
}
.box .icon{
    margin: 0 2vw 0 1vw;
}
.box .icon svg{
    width: 3em;
}
#curriculum{
    align-items: center;
}
    #curriculum h1 {
        font-size: var(--heading-1);
    }
    #curriculum h2 {
        width: 80%;
    }
    .column {
        width: 49%;
        margin-top: -3%;
        display: flex;
        flex-direction: column;
    }
    .item {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    .dot {
        width: 1vw;
        height: 1vw;
        background-color: #ffffff;
        border-radius: 50%;
        margin-right: 1vw;
    }
    .column p {
        margin: 0;
    }
    #curriculum .button.sign-up {
        margin-top: 1em;
    }
.mentor-card{
    width: 15em;
    height: 15em;
    background: white;
    border-radius: 3em;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    padding: 1.5em;
}
.mentor-card img{
    border-radius: 50%;
    width: 6em;
    height: 6em;
    object-fit: cover;
    aspect-ratio: 1/1;
}
.mentor-card .mentor-name{
    font-weight: 700;
    font-size: var(--text-1);
    margin-top: 10px;
}
.mentor-card p{
    margin: 0.4em;
    font-size: clamp(5px, 24px, 0.75vw);
}
.glide__slides{
    /*height: 16em;*/
}
.glide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.glide__arrow{
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: var(--heading-1);
    width: 4.1vw;
    height: 4.1vw;
    border: none;
}
.glide__arrow--left {
    left: calc((100% - 86%) / 2 * -1);
}
.glide__arrow--right {
    right: calc((100% - 86%) / 2 * -1);
}
footer{
    height: 10vh;
    border-top: 3px solid white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size:1vw;
    padding: 1em 5em;
    margin-top: 10vh;
}
footer p{
    margin: 5px;
}
footer .logo{
    height: 10vh;
}
.reviews{
    display: flex;
}
.review{
    border: 1px solid;
    border-radius: 2em;
    display: flex;
    flex-direction: column;
    padding: 1em 2em;
    margin: 10px;
    background: white;
    align-items: flex-start;
    color: var(--primary);
}
/*mobile*/
@media (max-width: 700px) {
    section{
        align-items: center;
    }
    #logo{
        position: absolute;
        z-index: 10;
    }
    .text-block{
        width: 60%;
    }
    .partner-logo{
        width: 24vw;
    }
    .partners{
        display: flex;
    }
    #process h1, #values h1, #mentors h1{
        width: auto;
    }
    #images{
        display: none;
    }
    .cards {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(2, 1fr); /* Create two columns of equal width */
    grid-template-rows: repeat(2, 1fr); /* Create two rows of equal height */
    max-width: 90%; /* Set a max-width for the container if needed */
    margin: auto; /* Center the grid container */
    }
    .card {
        padding: 1em;
        width: auto !important;
        height: auto !important;
        aspect-ratio: 1/1;
        margin: 10px 10px 1em;
    }
    .container{
        width: 100%;
    }
    .box{
        width: 40%;
        flex-direction: column;
        padding: 1em;
        align-items: flex-start;
        justify-content: center;
    }
    .column li p {
        position: initial;
    }
    .glide__arrow{
    font-size: 8px;
    width: auto;
    height: auto;
    aspect-ratio: 1/1;
    }
    .glide__arrow--left {
        left: calc((100% - 84%) / 2 * -1);
    }
    .glide__arrow--right {
        right: calc((100% - 84%) / 2 * -1);
    }
    .mentor-card{
    width: 25vw;
    height: 25vw;
    }
    .mentor-name{
    font-size:  var(--heading-3);
    }
    .glide__slides{
    /*height: 26em;*/
}
    .reviews{
        flex-direction: column;
    }
    footer{
        font-size: 12px;
    }
    html{
        overflow-x: hidden;
    }
    .camp {
        width: 60%;
        margin: 10px;
    }
    .camp .button.sign-up{
            border-radius: 0 0 0.5em 0;
            border: solid var(--primary);
    }
    .card-container{
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 440px) {
    .mentor-card{
    width: 30vw;
    height: 30vw;
    }
    .glide{
        width: 85% !important;
    }
    .glide__arrow--left {
        left: calc((100% - 65%) / 2 * -1);
    }
    .glide__arrow--right {
        right: calc((100% - 65%) / 2 * -1);
    }
}
