:root {
    --color-copper-100: #584B46;
    --color-copper-90: #75645D;
    --color-beige: #FDFBF7;
    --color-white: #FFFFFF;

    --font-body: "Public Sans";
}

html {
    background-color: var(--color-beige);
}

body {
    margin: 0;
    padding: 0;
    max-height: 100vh;
    overflow: hidden;
    font-family: var(--font-body), sans-serif;

    @media (max-width: 768px) {
        //overflow: auto;
    }
}

h1,h2,strong {
    font-family: 'amandine';
}

ul li {
    list-style-type: none;
}

.button {
    font-size: 0.938rem;
    background: var(--color-white);
    color: var(--color-copper-90);
    padding-block: 14px 13px;
    padding-inline-start: 24px;
    padding-inline-end: 24px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-radius: 25px;
    border: 1px solid var(--color-copper-90);
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.6px;

    @media (max-width: 768px) {
    }

    > img {
        margin-bottom: 14px;
    }

    em {
        font-style: normal;
        overflow: hidden;
        width: max-content;
    }
}

.button.border-white {
    background-color: rgb(from var(--color-copper-90) r g b / 0.3);
    color: var(--color-white);
    border-color: var(--color-white);
}

.button span {
    position: relative;
    transition: all 0.25s ease-in-out;
    display: inline-block;
}

.button span:after {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.25s ease-in-out;
    transform: translateY(20px);
}

.button:hover span {
    transform: translateY(-20px);
}

.button:hover span:after {
    transform: translateY(20px);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 95px;
//background: rgb(from var(--color-copper-90) r g b / 0.25);
    z-index: 99;

    &::before,
    &::after {
        content: "";
        background: rgb(from var(--color-copper-90) r g b / 0.25);
        position: absolute;
        height: 100%;
        width: calc(50% - 78px);
        top: 0;
        left: 0
    }
    &::after {
        right: 0;
        left: unset;
    }

    @media (max-width: 768px) {
        height: 80px;

        &::before,
        &::after {
            width: calc(50% - 48px);
        }
    }

    .wrapper {
        z-index: 1;
        position: relative;
    }
}

header .header__container {
    display: flex;
    justify-content: end;
}

header nav {
    display: flex;
    align-items: center;
    height: 95px;

    @media (max-width: 768px) {
        height: 80px;
    }

    ul {
        display: flex;
        align-items: center;
        gap: 16px;
    }
}

header .header__logo {
    width: 156px;
    height: 144px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    background: rgb(from var(--color-copper-100) r g b / 0.5);

    @media (max-width: 768px) {
        width: 96px;
        height: 96px;

        img {
            width: 74px;
        }
    }
}

.lang-switch {
    position: relative;
    width: 100%;
    z-index: 12;

    * {
        z-index: 12;
    }
}
.lang-switch.active ul {
    opacity: 1;
    display: flex;
}
.lang-switch .lang-switch-container {
    margin: 0 40px;
    background: var(--color-copper-90);
    border: 1px solid var(--color-white);
    border-radius: 50%;
//padding: 18px 13px;
    text-transform: uppercase;
    cursor: pointer;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;

    @media (max-width: 768px) {
        margin: 0 20px;
    }

}
.lang-switch .lang-switch-container button {
    display: inline-block;
    position: relative;
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-white);
    font-size: 0.938rem;
    cursor: pointer;
    text-transform: uppercase;
}
.lang-switch ul {
    background: var(--color-copper-90);
    border: 1px solid var(--color-white);
    border-radius: 50%;
    text-transform: uppercase;
    cursor: pointer;
    position: absolute;
    top: 92%;
    right: 40px;
    background-color: #3E3939;
    transition: all 0.3s ease-out;
    opacity: 0;
    display: none;
    background: var(--color-beige);
    border-color: var(--color-copper-90);
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;

    @media (max-width: 768px) {
        right: 20px;
    }

    li a {
        color: var(--color-copper-90);
        text-decoration: none;
    }
}

.hero {
    position: relative;
}

.hero__item {
    position: relative;

    &:has(img) {
        &:after {
            background: rgb(from var(--color-beige) r g b / 0.35);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            content: '';
            z-index: 1;
        }
    }

    strong {
        color: var(--color-beige);
        font-size: 11rem;
        line-height: 0.9318181818;
        transition: color .2s ease-in;
        overflow-wrap: break-word;
        hyphens: manual;
    }

    &.swiper-slide-active {
        strong {
        //color: var(--color-copper-100);
        }
    }
    &.swiper-slide-next {
        text-align: left;
    }
    &.swiper-slide-prev {
        text-align: right;
    }

    img {
        width: 100%;
        height: 100%;
        max-height: 80vh;
        min-height: 80vh;
        object-fit: cover;
    }
}

.hero .js-hero-text-slider {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 4;
    background: transparent;

    .swiper-slide{
        width: fit-content;
    }

    .swiper-wrapper {
        display: flex;
        align-items: center;
        padding: 30px 0;
        //transition-timing-function: cubic-bezier(1, 0, .2, 1) !important;
    }
}

footer {
    background-color: var(--color-beige);
    //min-height: 25vh;
    position: relative;
    z-index: 10;

    @media (max-width: 768px) {
        //min-height: 25dvh;
        height: 200px;
    }
}

footer .footer__container {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
    top: -70px;
    margin: 0 20px;

    > p {
        font-size: 0.938rem;
        text-transform: uppercase;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        color: #584B46;
        letter-spacing: 1px;

        &:first-of-type {
            margin-top: 46px;
        }
    }

    @media (max-width: 992px) {
        top: -60px;
    }
}

footer .footer__items {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;

    @media (max-width: 768px) {
    //flex-direction: column;
        gap: 20px;

        .footer__item {
            flex: 1;
        }
    }
}

footer .footer__item a {
    padding: 25px 50px;
    border-radius: 64px;
    display: flex;
    flex-direction: column;

    @media (max-width: 992px) {
        padding: 15px 30px;
    }

    img {
        @media (max-width: 768px) {
            width: 40px;
        }
    }
}

@media (max-width: 1300px) {
    .hero .hero__item strong {
        font-size: 5.25rem;
        line-height: 1;
    }
}

@media (max-width: 992px) {
    header nav ul {
        display: none;
    }
    .hero .hero__item img {
        /*max-height: 72dvh;*/
        /*min-height: 72dvh;*/
        max-height: unset;
        min-height: unset;
        height: calc(100dvh - 200px);
    }
}

@media (max-width: 480px) {
    .hero .hero__item strong {
        display: block;
        margin-top: 50px;
    }
}
