/* MAIN HERO */

.main-hero {
    flex-direction: column;
    background-image: url(/img/bg-hero-block.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding-top: 300px;
    padding-bottom: 140px;
}

.main-h1 {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 250px;
    line-height: 1em;
    text-transform: uppercase;
    margin: 0;
}

.main-hero-content-subtitle {
    font-family: "Kodchasan", sans-serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1em;
    text-transform: uppercase;
    text-align: end;
    color: #F5F5EF;
    padding-right: 140px;
}

/* HERO */

.hero {
    background: url(/img/bg-hero-block.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    padding-top: 560px;
    padding-bottom: 300px;
    margin-top: 0;
}

.hero-h1 {
    color: #F9F6EE;
    font-weight: 400;
}

/* HERO finish */

/* BLOCK 2 */
.main-block-2 {
    flex-direction: row;
    align-items: flex-end;
    gap: 20px;
    padding-top: 180px;
    padding-bottom: 280px;
}

.main-block-2_text-1 {
    max-width: 58%;
}

.main-big_text {
    font-family: "Epilogue", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 60px;
    line-height: 1.1em;
}

.main-block-2_text-2 {
    max-width: 400px;
    margin: 0
}

.block-2 {
    padding-top: 180px;
    padding-bottom: 280px;
}

.block-2_text-1 {
    max-width: 62%;
}

.block-2_text-2 {
    padding: 0 25%;
    margin-top: 100px;
}

/* BLOCK 2 finish */

/* BLOCK services */
.main-block-services {
    background: url(/img/bg-pink.webp) center center/cover no-repeat;
}

.main-block-services-content {
    display: flex;
    justify-content: space-between;
}

.main-block-services-content img {
    max-width: 100%;
}

.main-block-services-content-slider {
    width: 48%;
}

.main-block-services-content-list {
    width: 48%;
}

.main-block-services-content-list li {
    color: #F9F6EE;
    padding: 24px;
    border-bottom: #333333 4px solid;
    padding-left: 80px;
}

/* SLIDER MAIN */

.slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    cursor: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #111; */
}

.slider__images {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider__slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    aspect-ratio: 1.4;
    overflow: visible;
    will-change: transform, filter, opacity;
    contain: layout style;
    pointer-events: none;
    user-select: none;
}

.slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.slider__slide-title {
    position: absolute;
    bottom: -80px;
    left: -40px;
    z-index: 5;
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
    text-transform: uppercase;
    height: 70px;
    overflow: visible;
    pointer-events: none;
}

.slider__slide-title span {
    display: inline-block;
    will-change: transform;
    font-family: "Kodchasan", sans-serif !important;
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {

    .slider__slide,
    .slider__slide-title span {
        will-change: auto;
    }
}

/* BLOCK services finish */


/* BLOCK PORTFOLIO */

.main-portfolio {
    display: flex;
    flex-direction: column;
    background-image: url(/img/bg-body.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom: 0;
    margin-bottom: 0;
}

.portfolio {
    display: flex;
    flex-direction: column;
    background-image: url(/img/bg-body.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.portfolio-card {
    background: #F9F6EE;
    margin-top: 140px;
    margin-bottom: 60px;
    padding: 80px 200px 200px;
}

.portfolio-card-content {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.portfolio-card-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 50%;
}

.portfolio-card-description {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10%;
}

.main-portfolio-card {
    background: #F9F6EE;
    margin-top: 140px;
    margin-bottom: 0;
    padding: 80px 200px 100px 220px;
}

.main-portfolio-card-content {
    display: flex;
    justify-content: space-between;
    gap: 100px;
    /* padding-bottom: 100px; */
}

.main-portfolio-card-list li {
    padding: 18px 0 12px;
    border-bottom: #EF4062 solid 2px;
}

.main-portfolio-bottom_text {
    margin: 0;
    padding: 100px 400px 80px;
}


/* SLIDER SMALL */

.slider-small {
    /* max-width: 512px;
    height: 512px; */
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

.slider-train {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    aspect-ratio: 1.1;
}

.slider-train img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySlides {
    min-width: 100%;
    display: block;
}

.slider-small-button {
    border: none;
    display: inline-block;
    height: 100%;
    background: none;
    padding: 20px;
    font-family: "Kodchasan", sans-serif;
    font-size: 4em;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.slider-small-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.prev-btn {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(-0%, -50%)
}

.next-btn {
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%)
}

/* SLIDER SMALL finish */

/* CONTACTS */

.contacts-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contacts-blok-links {
    display: flex;
    gap: 40px;
}

.contacts-blok-links li {
    margin-bottom: 20px;
}

.contacts-blok-links .tooltip-text {
    bottom: 10%;
    left: 110%;
}