/* itim-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Itim';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/itim-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
  

a,
a:visited {
    color: unset;
}

a {
    text-decoration: none;
}

body {
    margin: 0;
/*     font-family: 'Jua'; */
    font-family: 'Itim';
    color: #111;
    background-image: url(../media/assets/background.webp);
}

@media screen and (min-width: 1100px) {
    body {
        font-size: 1.1em;
    }
}

@media screen and (min-width: 1400px) {
    body {
        font-size: 1.2em;
    }
}

.button-container {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
}

.background-button {
    display: inline-block;
    margin: 5px;
    padding: 2px;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 14px;
    width: max-content;
    height: max-content;
}

.background-button:hover {
    background-color: #f0f0f0;
}

/* Video */

#video {
    width: 100%;
    display: flex;
}

#video video {
    width: 100%;
}

/* Content */

#content {
    padding: 1em;
}

@media screen and (min-width: 800px) {
    #content {
        padding: 1em 2em;
    }
}

/* Header */

header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

header .claim {
    display: none;
}

header .logo {
    text-align: center;
}

header .cta {
    display: none;
}

header img {
    width: 250px;
    height: 100%;
}


/* Text */

#text {
    margin: 2em auto;
    text-align: justify;
}

#text span {
    font-weight: 800;
}

#text-2 {
    margin: 4em auto;
}

@media screen and (min-width: 800px) {
    header {
        flex-direction: row;
    }

    header .claim {
        display: block;
        width: 25%;
        font-family: 'Itim';
    }

    header .claim span {
        color: #ff5b3b;
    }

    header .logo {
        width: 50%;
    }

    header .cta {
        display: block;
        width: 25%;
        text-align: right;
        font-size: 1.2em;
    }

    header .cta img {
        width: 80px;
    }

    #text,
    #text-2 {
        width: 40%;
    }
}

/*Gallery*/

#gallery {
    display: flex;
}

#switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: max-content;
    position: sticky;
    top: 40%;
    width: 20%;
    padding: 50% 0 0 0;
}

#switcher .buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

#switcher .buttons button {
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

button#warm {
    background-image: url(../media/assets/warm-off.webp);
}

button#warm.active {
    background-image: url(../media/assets/warm-on.webp);
}

button#cold {
    background-image: url(../media/assets/cold-off.webp);
}

button#cold.active {
    background-image: url(../media/assets/cold-on.webp);
}

#grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 80%;
    margin-left: auto;
}

#grid .img {
    flex: 1 1 100%;
    position: relative;
}

#grid .img img {
    width: 100%;
    transition: opacity 0.8s ease;
}

#grid .img img.cold {
    position: absolute;
    top: 0;
    left: 0;
}

#grid .img img.hidden {
    opacity: 0;
    transition: opacity 1s ease;
}

#grid .img img.cu {
    display: none;
}

@media screen and (min-width: 500px) {
    #switcher {
        padding: 20% 0 10% 0;
    }
    #switcher .buttons button {
        height: 100px;
    }
}

@media screen and (min-width: 1000px) {

    #switcher {
        width: 10%;
        padding: 0 0 10% 0;
    }

    #switcher .buttons button {
        height: 120px;
    }

    #grid {
        width: 90%;
    }
    #grid .img {
        flex: 0 1 50%;
    }
}

@media screen and (min-width: 1300px) {
    #grid .img {
        flex: 1 1 33%;
    }
}


/*Lightbox*/

.slbWrapOuter {
    width: 100vw;
    height: 100vh;
}

.slbArrows {
    width: 100vw;
    position: unset !important;
}

.slbImageWrap::after {
    background-color: transparent !important;
    box-shadow: none !important;
}

/*Contact form*/

#contact {
    text-align: center;
    margin: 6em auto;
}

#contact h3 {
    font-size: 1.5em;
}

#contact .interest {
    margin: 4em 0;
}

#contact form {
    display: flex;
    flex-direction: column;
    margin: 4em auto;
    max-width: 500px;
    text-align: left;
}

#contact form input,
#contact form textarea {
    width: 100%;
    margin: 0.5em 0 2em;
    min-height: 2em;
    background: #fffff9;
    border: 4px solid;
}

#contact form textarea {
    height: 300px;
}

#contact form button {
    width: max-content;
    margin: auto;
    padding: 0.5em 1em;
    background-color: #fffff9;
    border: 4px solid;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
  	color: #111;
}


footer {
    text-align: center;
    font-size: 0.8em;
}

footer #certificates {
    display: flex;
    gap: 10px;
    justify-content: center;
}

footer #certificates img {
    height: 40px;
}