@import '../../../root/css/root.css';

/* ___ABOUT-SECTION___ */
.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 180px 0;
}

.about-main_wrapper {
    display: flex;
    flex-direction: column;
    align-self: center;
    max-width: 1810px;
}

.about-to-home-link_wrapper {
    margin: 0 0 50px var(--main-indent);
}

.about-content_wrapper {
    display: flex;
    flex-direction: row;
}

/* ___text___ */
.about-text_wrapper {
    margin: 0 0 0 var(--main-indent);
}

.about-text_wrapper .h2-title {
    margin: 0 0 50px 0;
}

.about-first-paragraph_wrapper, .about-second-paragraph_wrapper, .about-third-paragraph_wrapper, .about-fourth-paragraph_wrapper {
    width: 88.2%;
}

.about-first-paragraph_wrapper, .about-second-paragraph_wrapper, .about-third-paragraph_wrapper {
    margin: 0 0 50px 0;
}

/* ___image___ */
.about-image_wrapper {
    margin: 0 var(--main-indent) 0 0;
}

.about-image {
    width: 802px;
    height: 663px;
    object-fit: cover;
    object-position: center;
}

/* ___DIRECTIONS-SECTION___ */
.direction-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 90px 0;
}

.directions-main_wrapper {
    display: flex;
    flex-direction: column;
    align-self: center;
    max-width: 1644px;
}

.directions-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media all and (max-width: 1644px) {
    .directions-items {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

/* ___title___ */
.directions-title_wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.directions-title-image {
    position: absolute;
    z-index: -1;
    top: -45px;
}

/* ___columns___ */
.directions-left-column {
    margin: 0 var(--main-indent) 0 var(--main-indent);
}

.directions-right-column {
    margin: 0 var(--main-indent) 0 0;
}

/* ___text___ */
.directions-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 60px var(--main-indent) 60px var(--main-indent);
    width: 655px;
}

.directions-item-text {
    font-family: Inter-Regular, sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: var(--light-text-color);
    margin: 0 0 0 40px;
}

/* ___image___ */
.directions-item-image_wrapper {
    width: 135px;
    height: 135px;
}

.directions-item-image {
    width: 135px;
    height: 135px;
}

/* ___ORGANIZATION-SECTION___ */
.organization-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 110px 0;
}

.organization-main_wrapper {
    display: flex;
    flex-direction: column;
    align-self: center;
    max-width: 1644px;
    width: 100%;
}

.organization-content_wrapper {
    display: flex;
    flex-direction: column;
}

/* ___cochairs___ */
.cochairs_wrapper {
    margin: 0 0 110px 0;
}

.cochairs-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media all and (max-width: 1644px) {
    .cochairs-items {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

.cochairs-title {
    font-family: Exo2-Regular, sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: var(--light-text-color);
    margin: 0 0 52px var(--main-indent);
}

.cochair-item-title {
    font-family: Inter-Medium, sans-serif;
    font-size: 25px;
    font-weight: 100;
    color: var(--dark-text-color);
    margin: 0 0 25px 0;
}

/* ___committee___ */
.committee-title {
    font-family: Exo2-Regular, sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: var(--light-text-color);
    margin: 0 0 52px var(--main-indent);
}

/* ___committee-text___ */
.committee-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media all and (max-width: 1644px) {
    .committee-items {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

@media all and (max-width: 1610px) {
    .about-to-home-link_wrapper {
        margin: 0 0 41px var(--main-indent);
    }

    .about-section {
        margin: 0 0 149px 0;
    }

    .about-text_wrapper .h2-title {
        margin: 0 0 41px 0;
    }

    .organization-section {
        margin: 0 0 91px 0;
    }

    .about-image {
        width: 665px;
        height: 550px;
    }

    .directions-item {
        width: 544px;
    }

    .directions-item-image_wrapper, .directions-item-image {
        width: 112px;
        height: 112px;
    }

    .directions-item-text {
        font-size: 20px;
        margin: 0 0 0 33px;
    }

    .cochairs_wrapper {
        margin: 0 0 91px 0;
    }

    .cochairs-title, .committee-title {
        font-size: 20px;
        margin: 0 0 43px var(--main-indent);
    }
}

@media all and (max-width: 1450px) {
    .about-to-home-link_wrapper {
        margin: 0 0 37px var(--main-indent);
    }

    .about-to-home-link_wrapper {
        margin: 0 0 37px var(--main-indent);
    }

    .about-section {
        margin: 0 0 134px 0;
    }

    .about-text_wrapper .h2-title {
        margin: 0 0 37px 0;
    }

    .organization-section {
        margin: 0 0 81px 0;
    }

    .about-image {
        width: 598px;
        height: 495px;
    }

    .directions-item {
        width: 489px;
    }

    .directions-item-image_wrapper, .directions-item-image {
        width: 101px;
        height: 101px;
    }

    .directions-item-text {
        font-size: 18px;
        margin: 0 0 0 30px;
    }

    .cochairs_wrapper {
        margin: 0 0 81px 0;
    }

    .cochairs-title, .committee-title {
        font-size: 18px;
        margin: 0 0 39px var(--main-indent);
    }
}

@media all and (max-width: 1240px) {
    .about-to-home-link_wrapper {
        margin: 0 0 31px var(--main-indent);
    }

    .about-section {
        margin: 0 0 114px 0;
    }

    .about-text_wrapper .h2-title {
        margin: 0 0 31px 0;
    }

    .organization-section {
        margin: 0 0 69px 0;
    }

    .about-image {
        width: 505px;
        height: 421px;
    }

    .directions-item {
        width: 415px;
    }

    .directions-item-image_wrapper, .directions-item-image {
        width: 85px;
        height: 85px;
    }

    .directions-item-text {
        font-size: 15px;
        margin: 0 0 0 25px;
    }

    .cochairs_wrapper {
        margin: 0 0 69px 0;
    }

    .cochairs-title, .committee-title {
        font-size: 15px;
        margin: 0 0 33px var(--main-indent);
    }
}

@media all and (max-width: 1030px) {
    .about-section {
        margin: 0 0 110px 0;
    }

    .about-content_wrapper {
        flex-direction: column;
    }

    .about-text_wrapper {
        margin: 0 var(--main-indent) 45px var(--main-indent);
    }

    .about-first-paragraph_wrapper, .about-second-paragraph_wrapper, .about-third-paragraph_wrapper, .about-fourth-paragraph_wrapper {
        width: 100%;
    }

    .about-image_wrapper {
        margin: 0 var(--main-indent) 0 var(--main-indent);
    }

    .about-image {
        width: 100%;
        object-position: top;
        height: 333px;
    }

    .directions-items, .cochairs-items, .committee-items {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .directions-item {
        margin: 35px 0 35px 0;
    }

    .directions-item:first-child {
        margin: 0 0 35px 0;
    }

    .directions-item:last-child {
        margin: 35px 0 0 0;
    }

    .cochairs-title, .committee-title {
        margin: 0 0 50px var(--main-indent);
    }

    .cochairs-items .person-item:first-child {
        margin: 0 0 35px 0;
    }

    .cochairs-items .person-item:last-child {
        margin: 35px 0 0 0;
    }

    .committee-items .person-item:first-child {
        margin: 0 0 35px 0;
    }

    .committee-items .person-item:last-child {
        margin: 35px 0 0 0;
    }
}

@media all and (max-width: 600px) {
    .about-section {
        margin: 0 0 85px 0;
    }

    .directions-items, .organization-content_wrapper {
        margin: 35px 0 0 0;
    }

    .directions-item-image_wrapper, .directions-item-image {
        width: 80px;
        height: 80px;
    }

    .directions-item-text {
        font-size: 14px;
        margin: 0 0 0 22px;
    }
}

@media all and (max-width: 505px) {
    .about-image {
        height: 310px;
    }

    .directions-item {
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .directions-item-image_wrapper {
        margin: 0 0 20px 0;
    }

    .directions-item-image_wrapper, .directions-item-image {
        width: 75px;
        height: 75px;
    }

    .directions-item-text {
        font-size: 14px;
        margin: 0 var(--main-indent) 0 var(--main-indent);
    }
}

@media all and (max-width: 440px) {
    .about-section {
        margin: 0 0 75px 0;
    }

    .about-image {
        height: 290px;
    }
}

@media all and (max-width: 390px) {
    .about-image {
        height: 280px;
    }
}

@media all and (max-width: 360px) {
    .directions-item-image_wrapper, .directions-item-image {
        width: 65px;
        height: 65px;
    }

    .directions-item-text {
         font-size: 13px;
     }

    .about-image {
        height: 270px;
    }
}