.subject-switcher {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.subject-switcher__image-container {
    width: 41.66%;
}

.subject-switcher__image-container__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.subject-switcher__content {
    width: 58.33%;
}

.subject-switcher__content__title {
    color: #393939;
    font-size: 40px;
    font-weight: 500;
    line-height: 125%;
}

.subject-switcher__content__subjects {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
    gap: 16px 8px;
}

.subject-switcher__content__subjects__button {
    color: #393939;
    font-size: 13.5px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    opacity: .5;
    transition: .2s linear;
    padding: 10px 20px;
    border-radius: 67.5px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
}

.subject-switcher__content__subjects__button.active,
.subject-switcher__content__subjects__button:hover {
    opacity: 1;
    color: #fff;
    background-color: #877D5A;
}


.subject-switcher__content__subject-title {
    color: #393939;
    font-size: 24px;
    font-weight: 500;
    line-height: 125%;
    margin-bottom: 16px;
}

.subject-switcher__content__subject-description {
    color: #1D1D1D;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 24px;
}

.subject-switcher__content__button {
    text-transform: uppercase;
}

.subject-switcher__content__title h2 {
    margin-top: 0px;
    font-weight: bold;
    font-size: 40px;
}

.subject-switcher__content__title_subjects h3 {
    margin-bottom: 0px;
    font-weight: bold;
    color: #000000;
}

.subject-switcher__content__subject-title h4 {
    font-weight: bold;
    color: #000000;
    font-size: 24px;
    margin: 0px;
}

@media (max-width: 1100px) {
    .subject-switcher {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .subject-switcher__content,
    .subject-switcher__image-container {
        width: 100%;
    }

    .subject-switcher__content__title {
        font-size: 30px;
    }

    .subject-switcher__content__subjects {
        justify-content: center;
    }

    .subject-switcher__content__subjects__button {
        font-size: 10px;
    }

    .subject-switcher__image-container__image img {
        height: auto;
        aspect-ratio: 1;
    }
}