.home__experts-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-secondary-200);
}

.experts-in__bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 11px;
    margin-bottom: 88px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: all ease-out 0.5s;
}

.experts-in__bar.experts-in__bar--shown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.experts-in__bar > div {
    width: 105px;
    height: 9px;
    background-color: var(--color-primary-300);
}

.experts-in__bar > p {
    font: 18px/24px font-primary;
    text-transform: uppercase;
    color: var(--color-primary-300);
    margin: 0;
}

.experts-in__sections {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
    width: 100%;
}

.experts-in__sections section {
    height: min-content;
}

.experts-in__section-container {
    display: flex;
    flex-direction: column;
}

.experts-in__section-container > a {
    align-self: center;
    width: auto;
    cursor: pointer;
    visibility: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: all ease-out 0.5s;
}

.experts-in__section--shown .experts-in__section-container > a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.experts-in__section--hidden .experts-in__section-container > a {
    transform: translateY(-60px);
}

.experts-in__section-container > a:focus {
    outline: 0;
}

.experts-in__sections__image {
    margin-bottom: 53px;
    position: relative;
    display: flex;
    justify-content: center;
    align-self: center;
}

.experts-in__sections__image > svg {
    position: absolute;
    bottom: 0;
    left: auto;
    right: auto;
    transition: transform 0.25s;
}

.experts-in__sections__image > svg:first-child {
    z-index: 1;
}

.experts-in__sections__image > svg:last-child {
    opacity: 0.4;
    z-index: 0;
}

.experts-in__section-container > a:focus .experts-in__sections__image > svg:first-child,
.experts-in__sections__image:hover > svg:first-child {
    transform: scale(1.76);
}

.experts-in__section-container > a:focus .experts-in__sections__image > svg:last-child,
.experts-in__sections__image:hover > svg:last-child {
    transform: scale(0.82);
}

.experts-in__section__description {
    z-index: 1;
    align-self: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(60px);
    transition: all ease-out 0.5s;
}

.experts-in__section--shown .experts-in__section__description {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.experts-in__section--hidden .experts-in__section__description {
    transform: translateY(-60px);
}

.experts-in__section__description p, .experts-in__section__description a {
    width: 158px;
    font: 14px/30px font-primary;
    color: var(--color-tertiary-400);
    margin-top: 0;
    margin-bottom: 16px;
}

.experts-in__section__description a {
    display: block;
    font: 21px/33px font-primary;
    font-weight: 600;
    color: var(--color-primary-600);
    text-transform: uppercase;
    margin-bottom: 45px;
    cursor: pointer;
    transition: color 0.25s, background-color 0.25s;
}

.experts-in__section__description a:hover {
    color: var(--color-secondary-100);
    background-color: var(--color-primary-600);
}

.experts-in__section__description a:active {
    color: var(--color-primary-600);
    background-color: transparent;
}

.experts-in__section__description p:last-child {
    margin-bottom: 0;
}

.experts-in__sections > section:nth-child(1) .experts-in__sections__image {
    height: 304px;
    width: 218px;
}

.experts-in__sections > section:nth-child(2) .experts-in__sections__image {
    height: 244px;
    width: 360px;
}

.experts-in__sections > section:nth-child(3) .experts-in__sections__image {
    height: 166px;
    width: 308px;
}

.experts-in__sections > section:nth-child(4) .experts-in__sections__image {
    height: 242px;
    width: 304px;
}

.experts-in__sections section:nth-child(odd) .experts-in__section__description {
    border-left: 2px dotted var(--color-primary-300);
    padding-left: 17px;
}

.experts-in__sections section:nth-child(odd) p, .experts-in__sections section:nth-child(odd) a {
    text-align: left;
}

.experts-in__sections section:nth-child(even) .experts-in__section__description {
    border-right: 2px dotted var(--color-primary-300);
    padding-right: 17px;
}

.experts-in__sections section:nth-child(even) p, .experts-in__sections section:nth-child(even) a {
    text-align: right;
}

@media screen and (min-width: 768px) {
    .experts-in__bar {
        gap: 12px;
        margin-bottom: 110px;
        transform: translateY(120px);
    }

    .experts-in__bar > div {
        width: 110px;
        height: 11px;
    }

    .experts-in__bar > p {
        font: normal normal 600 20px/27px font-primary;
    }
    
    .experts-in__section-container {
        width: 1266px;
    }

    .experts-in__section-container > a {
        transform: translateY(120px);
    }

    .experts-in__section--hidden .experts-in__section-container > a {
        transform: translateY(-120px);
    }

    .experts-in__sections__image {
        margin-bottom: 92px;
    }

    .experts-in__section__description {
        width: 614px;
        transform: translateY(120px);
    }

    .experts-in__section--hidden .experts-in__section__description {
        transform: translateY(-120px);
    }
    
    .experts-in__section__description p, .experts-in__section__description a {
        max-width: calc(50vw - 24px);
        font: 20px/27px font-primary;
        margin-bottom: 20px;
        width: auto;
    }
    
    .experts-in__section__description a {
        font: normal normal bold 30px/40px font-primary;
        margin-bottom: 69px;
    }
    
    .experts-in__sections section:nth-child(odd) .experts-in__section__description {
        align-self: flex-end;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .experts-in__sections section:nth-child(even) .experts-in__section__description {
        align-self: flex-start;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .experts-in__sections > section:nth-child(1) .experts-in__sections__image {
        height: 307px;
        width: 220px;
    }
    
    .experts-in__sections > section:nth-child(2) .experts-in__sections__image {
        height: 336px;
        width: 521px;
    }
    
    .experts-in__sections > section:nth-child(3) .experts-in__sections__image {
        height: 199px;
        width: 368px;
    }
    
    .experts-in__sections > section:nth-child(4) .experts-in__sections__image {
        height: 257px;
        width: 324px;
    }
}

@media screen and (min-width: 912px) {
    .experts-in__bar {
        gap: 9px;
        margin-bottom: 0;
    }

    .experts-in__bar > div {
        width: 95px;
        height: 9px;
    }

    .experts-in__bar > p {
        font: normal normal 600 16px/21px font-primary;
        letter-spacing: 0.8px;
    }

    .experts-in__sections {
        margin-bottom: 0;
    }
    
    .experts-in__sections__image {
        margin-bottom: 67px;
    }
    
    .experts-in__section__description p, .experts-in__section__description a {
        font: 18px/24px font-primary;
    }
    
    .experts-in__section__description a {
        font: normal normal 600 26px/35px font-primary;
        margin-bottom: 59px;
    }

    .experts-in__sections > section:nth-child(1) .experts-in__sections__image {
        height: 186px;
        width: 143px;
    }
    
    .experts-in__sections > section:nth-child(2) .experts-in__sections__image {
        height: 202px;
        width: 372px;
    }
    
    .experts-in__sections > section:nth-child(3) .experts-in__sections__image {
        height: 144px;
        width: 267px;
    }
    
    .experts-in__sections > section:nth-child(4) .experts-in__sections__image {
        height: 157px;
        width: 248px;
    }

    .experts-in__sections section:nth-child(odd) .experts-in__section__description {
        padding-left: 20px;
    }
    
    .experts-in__sections section:nth-child(even) .experts-in__section__description {
        padding-right: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .experts-in__bar {
        gap: 12px;
    }

    .experts-in__bar > div {
        width: 116px;
        height: 11px;
    }

    .experts-in__bar > p {
        font: normal normal 600 20px/27px font-primary;
        letter-spacing: 1px;
    }

    .experts-in__sections__image {
        margin-bottom: 89px;
    }
    
    .experts-in__section__description p, .experts-in__section__description a {
        font: 20px/27px font-primary;
    }
    
    .experts-in__section__description a {
        font: normal normal 600 30px/40px font-primary;
        margin-bottom: 69px;
    }

    .experts-in__sections > section:nth-child(1) .experts-in__sections__image {
        height: 229px;
        width: 176px;
    }
    
    .experts-in__sections > section:nth-child(2) .experts-in__sections__image {
        height: 248px;
        width: 458px;
    }
    
    .experts-in__sections > section:nth-child(3) .experts-in__sections__image {
        height: 199px;
        width: 368px;
    }
    
    .experts-in__sections > section:nth-child(4) .experts-in__sections__image {
        height: 193px;
        width: 304px;
    }
}

@media screen and (min-width: 1400px) {
    .experts-in__bar {
        gap: 19px;
        transform: translateY(200px);
    }

    .experts-in__bar > div {
        width: 184px;
        height: 17px;
    }

    .experts-in__bar > p {
        font: normal normal 600 26px/35px font-primary;
    }

    .experts-in__section-container > a {
        transform: translateY(200px);
    }

    .experts-in__section--hidden .experts-in__section-container > a {
        transform: translateY(-200px);
    }

    .experts-in__sections__image {
        margin-bottom: 141px;
    }

    .experts-in__section__description {
        transform: translateY(200px);
    }

    .experts-in__section--hidden .experts-in__section__description {
        transform: translateY(-200px);
    }
    
    .experts-in__section__description p, .experts-in__section__description a {
        font: 26px/40px font-primary;
    }
    
    .experts-in__section__description a {
        font: normal normal 600 50px/66px font-primary;
        margin-bottom: 105px;
    }

    .experts-in__sections > section:nth-child(1) .experts-in__sections__image {
        height: 390px;
        width: 279px;
    }
    
    .experts-in__sections > section:nth-child(2) .experts-in__sections__image {
        height: 470px;
        width: 725px;
    }
    
    .experts-in__sections > section:nth-child(3) .experts-in__sections__image {
        height: 277px;
        width: 514px;
    }
    
    .experts-in__sections > section:nth-child(4) .experts-in__sections__image {
        height: 385px;
        width: 482px;
    }

    .experts-in__sections section:nth-child(odd) .experts-in__section__description {
        padding-left: 40px;
    }
    
    .experts-in__sections section:nth-child(even) .experts-in__section__description {
        padding-right: 40px;
    }
}