@font-face {
    font-family: ABCDiatypeCondensedBoldTrial;
    font-style: normal;
    src: url(../fonts/ABCDiatypeCondensed-Bold-Trial.otf);
}

@font-face {
    font-family: ABCDiatypeCondensedRegularTrial;
    font-style: normal;
    src: url(../fonts/ABCDiatypeCondensed-Regular-Trial.otf);
}

@font-face {
    font-family: ManukaMedium;
    font-style: normal;
    src: url(../fonts/Manuka-Medium.otf);
}

html,
body {
    background-color: #D0C6B5;
    min-height: 100vh;
    margin: 0;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

div.main {
    scroll-snap-type: y mandatory;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}


/* FOOTER */

section.footer {
    background: #D0C6B5;
    position: relative;
    height: 40vh;
    margin: 0;
    border: 0;
    padding: 0;
    padding-top: 5vh;
    scroll-snap-align: end;
}

div.footer-loop {
    display: none !important;
    background: #D0C6B5;
    height: 59%;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    position: relative;
    overflow-x: hidden;
    mask-image: linear-gradient( to right, hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 10%, hsl(0 0% 0% / 1) 90%, hsl(0 0% 0% / 0));
    block-size: var(--marquee-item-height);
    --marquee-item-width: 166px;
    --marquee-item-height: 100px;
    --marquee-duration: 32s;
    --marquee-items: 4;
    margin-top: 0px;
    margin-bottom: 5vh;
}

.marquee__item {
    --marquee-item-offset: max( calc(var(--marquee-item-width) * var(--marquee-items)), calc(100% + var(--marquee-item-width)));
    --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
    position: absolute;
    inset-inline-start: var(--marquee-item-offset);
    transform: translateX(-50%);
    animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

.marquee__item:nth-child(4n) {
    border-top-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 1) {
    border-bottom-right-radius: 1rem;
}

.marquee__item:nth-child(4n + 2) {
    border-bottom-left-radius: 1rem;
}

.marquee__item:nth-child(4n + 3) {
    border-top-left-radius: 1rem;
}

.marquee--4 .marquee__item:nth-of-type(1) {
    --marquee-item-index: 1;
}

.marquee--4 .marquee__item:nth-of-type(2) {
    --marquee-item-index: 2;
}

.marquee--4 .marquee__item:nth-of-type(3) {
    --marquee-item-index: 3;
}

.marquee--4 .marquee__item:nth-of-type(4) {
    --marquee-item-index: 4;
}

@keyframes go {
    to {
        inset-inline-start: calc(var(--marquee-item-width) * -1);
    }
}

div.footer-contacts {
    border-top: 1px solid rgb(0, 0, 0);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-top: 20px;
    height: 35%;
    align-content: flex-start;
    display: flex;
}

div.footer-contacts-1 {
    flex: 0.5;
    align-self: center;
}

div.footer-contacts-terms {
    flex: 0.5;
    align-self: flex-start;
    margin-left: 20px;
    cursor: pointer;
}

div.footer-contacts-copyright {
    flex: 0.5;
    align-self: flex-start;
    margin-left: 20px;
}

div.footer-contacts-top {
    flex: 1.5;
    text-align: center;
    height: fit-content;
    cursor: pointer;
    margin-left: 20px;
}

div.footer-contacts-media {
    flex: 0.3;
    align-content: flex-start;
    display: flex;
}

h5.footer {
    font-family: ABCDiatypeCondensedBoldTrial;
    font-weight: normal;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

h6.footer {
    font-family: ABCDiatypeCondensedRegularTrial;
    font-weight: normal;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    text-decoration: underline;
    -webkit-text-decoration: underline;
}

div.footer-whatsapp {
    flex: 1;
    align-content: center;
    background: url(../img/Icon_Whatsapp.svg) no-repeat center center;
    margin-right: 5px;
    cursor: pointer;
}

div.footer-instagram {
    flex: 1;
    align-content: center;
    background: url(../img/Site_Circulo_Elementos-29.svg) no-repeat center center;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

div.footer-facebook {
    flex: 1;
    align-content: center;
    background: url(../img/Site_Circulo_Elementos-30.svg) no-repeat center center;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

div.footer-linkedin {
    flex: 1;
    align-content: center;
    background: url(../img/Site_Circulo_Elementos-31.svg) no-repeat center center;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

div.footer-tiktok {
    flex: 1;
    align-content: center;
    background: url(../img/Site_Circulo_Elementos-XX.svg) no-repeat center center;
    margin-left: 5px;
    cursor: pointer;
}

h5.footer {
    font-size: 2vh;
}

h6.footer {
    font-size: 2vh;
}

@media screen and (min-width: 1000px) {
    div.footer-desktop {
        display: flex;
        width: 100%;
    }
    div.footer-mobile {
        display: none;
    }
    div.media-icons {
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 999px) {
    section.footer {
        height: 55vh;
    }
    div.footer-loop {
        margin-bottom: 0;
    }
    div.footer-desktop {
        display: none;
    }
    div.footer-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    h5.footer {
        font-family: ABCDiatypeCondensedRegularTrial;
        font-size: 2vh;
    }
    h6.footer {
        font-family: ABCDiatypeCondensedRegularTrial;
        font-size: 1.5vh;
        margin-bottom: 5px;
        width: max-content;
    }
    h6.footer-copyr-mobile {
        font-size: 1.2vh;
    }
    div.media-icons {
        width: 26px;
        height: 26px;
    }
    div.mobile-row-1 {
        margin-bottom: 10px;
        display: flex;
        justify-content: space-between;
    }
    div.mobile-row-2 {
        border-top: 1px solid rgb(0, 0, 0);
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
    }
    div.footer-contacts-terms {
        flex: 1;
        margin-left: 0;
    }
    h5.footer-top-mobile {
        text-align: right;
    }
}