


.main-section {
    width: 100%;
    height: 125vw;
    padding-top: 10vw;
    position: relative;
}

.title {
    font-size: 2.8vw;
    margin-left: 2.5vw;
    line-height: 1.1;
    color: #212778;
    font-family: 'MultiroundPro';
}

.title-description {
    margin-top: 1.5vw;
    margin-left: 2.5vw;
    font-size: 1.7vw;
    font-family: 'Involve-Regular';
}

.chosen-block {
    margin-top: 1.5vw;
    background: linear-gradient(149deg, rgba(252,223,135,1) 0%, rgba(248,146,140,1) 15%, rgba(239,1,149,1) 36%, rgba(155,8,115,1) 76%, rgba(16,19,58,1) 100%);
    width: 100%;
    height: 40vw;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}

.wave1 {
    position: absolute;
    left: 0;
    top: 10%;
    width: 10vw;
}

.wave2 {
    position: absolute;
    right: 0;
    bottom: 10%;
    width: 20vw;
}

.wave3 {
    position: absolute;
    bottom: 0%;
    width: 110%;
    transform: rotate(-8deg);
    overflow: hidden;
    height: 100%;


}

.blocks-description {
    color: white;
    font-family: 'Involve-SemiBold';
    font-size: 1.2vw;
    margin: 1.8vw 11vw;
    line-height: 1.2;
}

.blocks {
    width: 65%;
    height: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.block {
    position: relative;
    width: 28%;
    height: 100%;
    cursor: pointer;
}

.block img {
    position: absolute;
    border-radius: 2vw;
    width: 100%;
    z-index: 2;
    transform: translateY(3vw);
    transition: transform 0.5s ease-in-out;
}

.text {
    position: absolute;
    bottom: 0;
    background-color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 27%;
    border-radius: 2vw;
    transform: translateY(-5vw);
    transition: transform 0.5s ease-in-out;
}

.text p {
    color: #212778;
    font-family: 'Involve-Regular';
    font-size: 1.3vw;
    text-align: center;
    margin-top: 2.5vw;
}

.block img:hover {
    transform: translateY(0);
}

.block img:hover + .text, .text:hover {
    transform: translateY(0);
}

.block:hover img, .block:hover .text {
    transform: translateY(0);
}

.newses-title {
    margin: 2vw;
    font-family: 'MultiroundPro';
    color: #212778;
    font-size: 3vw;
}

.news-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    height: 31vw;
    margin-left: 5vw;
    margin-right: 5vw;


}

.news {
    width: 24%;
    border-radius: 2vw;
    transition: box-shadow 0.4s ease;
    cursor: pointer;
}

.news:hover {
    -webkit-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);

}

.news-title {
    margin-top: 1vw;
    font-size: 1.2vw;
    margin-right: 2vw;
    font-family: 'Involve-Regular';
    color: #212778;
    margin-left: 0.3vw;
}

.news-type {
    font-family: 'Involve-Regular';
    font-size: 0.9vw;
    margin-top: 0.3vw;
    color: #8E8E8E;
    margin-left: 0.3vw;
}

.news-date {
    font-family: 'Involve-Regular';
    font-size: 1vw;
    margin-top: 0.8vw;
    margin-left: 0.3vw;
}

.news-image {
    border-radius: 2vw;
    width: 100%;
}

.modal {

    display: flex;
    position: fixed;
    width: 80%;
    height: 70%;
    background-color: white;
    top: -150%;
    left: 10%;
    z-index: 6;
    border-radius: 2vw;
    transition: top 0.5s ease-in-out;

}

.modal.active {
    top: 15%;
}


.modal-image {
    width: 15vw;
    float: right;
    border-radius: 2vw;
    margin-right: 2vw;
    margin-top: 2vw;
}

.modal-content {
    width: 90%;
    height: 90%;

}

#modal-text {
    font-family: 'Involve-Regular';
    font-size: 1.2vw;
    margin: 2vw;
}

.dark-window{

    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #10133A;
    opacity: 0.65;
    z-index: 5;
    top: -100%;
    transition: top 0.3s ease-in-out;
}

.dark-window.active {
    top: 0;
}


@media(max-width: 1150px) {

    .main-section {
        width: 100%;
        height: 210vw;
        padding-top: 10vw;
        position: relative;
    }

    .modal-image {
        width: 25vw;
        float: right;
        border-radius: 2vw;
        margin-right: 2vw;
        margin-top: 2vw;
    }

    .modal-content {
        width: 90%;
        height: 90%;

    }

    #modal-text {
        font-family: 'Involve-Regular';
        font-size: 1.55vw;
        margin: 2vw;
    }

    .news-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
    height: 31vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 5vw;


    }

    .news {
        width: 45%;
        border-radius: 2vw;
        transition: box-shadow 0.4s ease;
        cursor: pointer;
        margin-left: 3vw;
        margin-bottom: 3vw;
    }

    .news:hover {
        -webkit-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
        box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);

    }

    .news-title {
        margin-top: 1vw;
        font-size: 1.8vw;
        margin-right: 2vw;
        font-family: 'Involve-Regular';
        color: #212778;
        margin-left: 0.3vw;
    }

    .news-type {
        font-family: 'Involve-Regular';
        font-size: 1.4vw;
        margin-top: 0.3vw;
        color: #8E8E8E;
        margin-left: 0.3vw;
    }

    .news-date {
        font-family: 'Involve-Regular';
        font-size: 1.5vw;
        margin-top: 0.8vw;
        margin-left: 0.3vw;
    }

    .news-image {
        border-radius: 2vw;
        width: 100%;
    }



}

@media(max-width: 850px) {

    .main-section {
        width: 100%;
        height: 160vw;
        padding-top: 16vh;
        position: relative;
    }

    .modal-image {
        width: 25vw;
        float: right;
        border-radius: 2vw;
        margin-right: 2vw;
        margin-top: 2vw;
    }

    .modal-content {
        width: 90%;
        height: 90%;

    }

    #modal-text {
        font-family: 'Involve-Regular';
        font-size: 1.55vw;
        margin: 2vw;
    }

    .news-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
    height: 31vw;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 5vw;


    }

    .news {
        width: 45%;
        border-radius: 2vw;
        transition: box-shadow 0.4s ease;
        cursor: pointer;
        margin-left: 3vw;
        margin-bottom: 3vw;
    }

    .news:hover {
        -webkit-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
        box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);

    }

    .news-title {
        margin-top: 1vw;
        font-size: 1.8vw;
        margin-right: 2vw;
        font-family: 'Involve-Regular';
        color: #212778;
        margin-left: 0.3vw;
    }

    .news-type {
        font-family: 'Involve-Regular';
        font-size: 1.4vw;
        margin-top: 0.3vw;
        color: #8E8E8E;
        margin-left: 0.3vw;
    }

    .news-date {
        font-family: 'Involve-Regular';
        font-size: 1.5vw;
        margin-top: 0.8vw;
        margin-left: 0.3vw;
    }

    .news-image {
        border-radius: 2vw;
        width: 100%;
    }

}

@media(max-width: 849px) {

    .main-section {
        width: 100%;
        height: 560vw;
        padding-top: 16vh;
        position: relative;
    }

.title {
    font-size: 4vw;
    margin-left: 1vw;
    line-height: 1.1;
    color: #212778;
    font-family: 'MultiroundPro';
}

.title-description {
    margin-top: 2.5vw;
    margin-left: 1vw;
    font-size: 3vw;
    font-family: 'Involve-Regular';
}

.chosen-block {
    margin-top: 2.5vw;
    background: linear-gradient(149deg, rgba(252,223,135,1) 0%, rgba(248,146,140,1) 15%, rgba(239,1,149,1) 36%, rgba(155,8,115,1) 76%, rgba(16,19,58,1) 100%);
    width: 100%;
    height: 65vw;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}

.wave1 {
    position: absolute;
    left: 0;
    top: 10%;
    width: 25vw;
}

.wave2 {
    position: absolute;
    right: 0;
    bottom: 10%;
    width: 40vw;
}

.wave3 {
    position: absolute;
    bottom: 0%;
    width: 150%;
    transform: rotate(-8deg);
    overflow: hidden;
    height: 100%;


}

.blocks-description {
    color: white;
    font-family: 'Involve-SemiBold';
    font-size: 2vw;
    margin: 2vw 6vw;
    line-height: 1.2;
}

.blocks {
    width: 90%;
    height: 70%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.block {
    position: relative;
    width: 28%;
    height: 100%;
    cursor: pointer;
}

.block img {
    position: absolute;
    border-radius: 2vw;
    width: 100%;
    z-index: 2;
    transform: translateY(6vw);
    transition: transform 0.5s ease-in-out;
}

.text {
    position: absolute;
    bottom: 0;
    background-color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 35%;
    border-radius: 2vw;
    transform: translateY(-6vw);
    transition: transform 0.5s ease-in-out;
}

.text p {
    color: #212778;
    font-family: 'Involve-Regular';
    font-size: 2.5vw;
    text-align: center;
    margin-top: 2.5vw;
}

.block img:hover {
    transform: translateY(0);
}

.block img:hover + .text, .text:hover {
    transform: translateY(0);
}

.block:hover img, .block:hover .text {
    transform: translateY(0);
}

.newses-title {
    margin: 4vw;
    font-family: 'MultiroundPro';
    color: #212778;
    font-size: 3.5vw;
}

.news-block {
    all:initial;
    display: flex;
    flex-direction: column;

    align-items: center;
    width: 90%;
    height: 31vw;
    margin-left: 5vw;
    margin-right: 5vw;


}

.news {
    width: 80%;
    border-radius: 2vw;
    transition: box-shadow 0.4s ease;
    cursor: pointer;
    margin-bottom: 4vw;
}

.news:hover {
    -webkit-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 4px 11px 2px rgba(0, 0, 0, 0.5);

}

.news-title {
    margin-top: 1vw;
    font-size: 4vw;
    margin-right: 2vw;
    font-family: 'Involve-Regular';
    color: #212778;
    margin-left: 0.3vw;
}

.news-type {
    font-family: 'Involve-Regular';
    font-size: 3.5vw;
    margin-top: 0.6vw;
    color: #8E8E8E;
    margin-left: 0.3vw;
}

.news-date {
    font-family: 'Involve-Regular';
    font-size: 3.7vw;
    margin-top: 1.5vw;
    margin-left: 0.3vw;
}

.news-image {
    border-radius: 2vw;
    width: 100%;
}

.modal {

    display: flex;
    position: fixed;
    width: 80%;
    height: 70%;
    background-color: white;
    top: -150%;
    left: 10%;
    z-index: 6;
    border-radius: 2vw;
    transition: top 0.5s ease-in-out;

}

.modal.active {
    top: 15%;
}


.modal-image {
    width: 35vw;
    float: right;
    border-radius: 2vw;
    margin-right: 2vw;
    margin-top: 2vw;
}

.modal-content {
    width: 90%;
    height: 90%;

}

#modal-text {
    font-family: 'Involve-Regular';
    font-size: 2.3vw;
    margin: 2vw;
}

.dark-window{

    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #10133A;
    opacity: 0.65;
    z-index: 5;
    top: -100%;
    transition: top 0.3s ease-in-out;
}

.dark-window.active {
    top: 0;
}
}

@media(max-width: 450px) {

    .main-section {
        height: 585vw;

    }

      }