@import 'base.css';

#localeListMobile .active {
    color: #202020;
    border-bottom: 1px solid #202020;
}
input,
textarea,
select {
    border-radius: 0; /* Убираем скругления */
}
.thumbnail div {
    transition: max-width 0.2s;
}

.header {
    z-index: 101;
}

@layer utilities {
    .a-container {
        padding-left: .625rem;
        padding-right: .625rem;
    }

    .modal {
        visibility: hidden;
        transform: translateY(100%);
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .modal-active {
        visibility: visible;
        transform: translateY(0);
        opacity: 1;
    }

    .thumbnail--active div {
        max-width: 190px !important;
    }

    .mobile-nav {
        transform: translateX(-100%);
        opacity: 0;
        transition: 0.25s ease-in-out;
    }

    .mobile-nav--active {
        transform: translateX(0);
        opacity: 1;
    }
}

.hover-box {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.hover-box.dimmed {
    opacity: 0.3;
}

.job-stage {
    img {
        object-fit: cover;
    }

    img:nth-child(1) {
        height: 300px;
    }

    img:nth-child(2) {
        height: 340px;
    }

    img:nth-child(3) {
        height: 260px;
    }

    img:nth-child(4) {
        height: 300px;
    }
}

#worksTable tbody td {
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #B9B9B9;
    line-height: 20px;
}

#worksTable tbody tr:last-child td {
    border-bottom: 1px solid #B9B9B9;
}

#cursor {
    position: absolute;
    cursor: none;
    z-index: 100;
    padding: 10px 20px;
    min-width: 160px;
    overflow: hidden;
}

#cursorProject {
    position: fixed;
    cursor: none;
    z-index: 30;
    padding: 10px 20px;
    min-width: 160px;
    overflow: hidden;
    color: #FFF;
}

.toggle-container {
    height: 24px;
    overflow: hidden;
}

.toggle-container .toggle {
    display: block;
    height: 100%;
    text-align: left;
    transition: 0.3s ease-in-out;
}

.locale {
    max-width: 0;
    overflow: hidden;
    transition: 0.3s ease .1s;
    text-transform: uppercase;
    color: #B9B9B9;
}

.locale li {
    transition: .3s ease;
    border-bottom: 1px solid transparent;
    line-height: 18px;
}

.locale li:hover {
    color: #202020;
    border-bottom: 1px solid #202020;
}

.locale--active {
    max-width: 100px;
    margin-left: 10px;
}

.about-toggle-btn {
    border-bottom: 1px solid #202020;
    margin-top: 16px;
    font-size: 14px;
    line-height: 15px;
}

@media screen and (max-width: 576px) {
    .about-wrapper {
        transition: 0.25s ease-in-out;
    }
}


.swiper-container {
    overflow: hidden;
    width: 100%;

    @media (min-width: 480px) {
        min-height: 320px;
    }

    & -wrapper {
        display: flex;
        flex-flow: column nowrap;
        @media (min-width: 480px) {
            flex-flow: row nowrap;
        }
        /*height: 100vh;*/
        width: 100vw;
    }
}

.gallery-top .swiper-slide {
    transition: 0.3s ease;
}

.gallery-top .swiper-slide:hover {
    transform: scale(1.1);

}

.swiper-slide {
    width: 100%;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

.gallery-top {
    position: relative;
    width: 100%;
    height: 75vh;
    @media screen and (min-width: 1280px) {
        height: 80vh;
    }
}

.gallery-thumbs {
    width: 100%;
    height: 75vh;
    @media screen and (min-width: 1280px) {
        height: 80vh;
    }

    .swiper-slide {
        height: 100%;
        opacity: 0.3;
        cursor: pointer;

    }

    .swiper-slide-active {
        opacity: 1;
    }
}

.gallery-thumbs .swiper-slide {
    @media screen and (min-width: 768px) {
        width: 53px;
        height: 35px;
    }

    @media screen and (min-width: 992px) {
        width: 72px;
        height: 48px;
    }

    @media screen and (min-width: 1280px) {
        width: 96px;
        height: 65px;
    }

    @media screen and (min-width: 1440px) {
        width: 109px;
        height: 73px;
    }

    @media screen and (min-width: 1600px) {
        width: 123px;
        height: 83px;
    }

    @media screen and (min-width: 1920px) {
        width: 149px;
        height: 101px;
    }
}

#projectInfo {
    ::-webkit-scrollbar {
        width: 0;
    }
}

.section-title {
    @media screen and (max-width: 576px) {
        font-size: 24px;
        line-height: 21px;
    }
    @media screen and (min-width: 577px) {
        font-size: 23px;
        line-height: 21px;
    }
    @media screen and (min-width: 769px) {
        font-size: 30px;
        line-height: 28px;
    }
    @media screen and (min-width: 993px) {
        font-size: 36px;
        line-height: 32px;
    }
    @media screen and (min-width: 1281px) {
        font-size: 41px;
        line-height: 39px;
    }
    @media screen and (min-width: 1601px) {
        font-size: 51px;
        line-height: 46px;
    }
}

.section-title, .section-title span {
    /*@media screen and (min-width: 577px) {*/
    /*    max-width: calc(516px + 25 * 100vw / 100);*/
    /*}*/
    @media screen and (min-width: 577px) {
        max-width: calc(600px + 25 * 100vw / 100);
    }
    @media screen and (min-width: 993px) {
        max-width: calc(894px + 25 * 100vw / 100);
    }
    @media screen and (min-width: 1281px) {
        max-width: calc(1024px + 25 * 100vw / 100);

    }
    @media screen and (min-width: 1601px) {
        max-width: calc(1250px + 25 * 100vw / 100);
    }
}

.header {
    top: -100px;
    left: 0;
    width: 100%;
    transition: top .3s linear;
}

.header.active {
    position: fixed;
    top: 0;
}


.about-image {
    object-fit: cover;
    height: 590px;
}

.about-title {
    font-size: 29px;
    line-height: 32px;
}

.about-subtitle {
    font-size: 18px;
    line-height: 20px;
}

.stage-img {
    object-fit: cover;
}

@media screen and (max-width: 576px){
    .about-title {
        font-size: 20px;
        line-height: 22px;
    }

    .about-subtitle {
        font-size: 14px;
        line-height: 15px;
    }
}

@media screen and (min-width: 768px) {
    .about-image {
        height: 226px;
    }

    .about-title {
        font-size: 16px;
        line-height: 17px;
    }

    .about-subtitle {
        font-size: 10px;
        line-height: 11px;
    }

    .stage-img {
        height: 130px;
    }
}

@media screen and (min-width: 992px) {
    .about-image {
        height: 296px;
    }

    .about-title {
        font-size: 19px;
        line-height: 21px;
    }

    .about-subtitle {
        font-size: 12px;
        line-height: 13px;
    }

    .stage-img {
        height: 250px;
    }
}

@media screen and (min-width: 1280px) {
    .about-image {
        height: 386px;
    }

    .about-title {
        font-size: 22px;
        line-height: 24px;
    }

    .about-subtitle {
        font-size: 14px;
        line-height: 15px;
    }

    .stage-img {
        height: 360px;
    }
}

@media screen and (min-width: 1440px) {
    .about-image {
        height: 438px;
    }

    .about-title {
        font-size: 26px;
        line-height: 28px;
    }

    .about-subtitle {
        font-size: 16px;
        line-height: 17px;
    }
}

@media screen and (min-width: 1600px) {
    .about-image {
        height: 488px;
    }

    .stage-img {
        height: 500px;
    }
}
