/* style.css */

/* museomoderno-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'MuseoModerno';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/museomoderno-v29-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* museomoderno-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'MuseoModerno';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/museomoderno-v29-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* museomoderno-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'MuseoModerno';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/museomoderno-v29-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html,
body,
header,
footer,
main,
div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'MuseoModerno', Arial, sans-serif;
    line-height: 1.3;
    color: #111;
}

h1 {
    line-height: 1em;
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}
h2 {
    font-size: clamp(1.5rem, 1rem + 1vw, 2rem);
}
h3 {
    font-size: clamp(1.25rem, 0.825rem + 0.825vw, 1.75rem);
}
p {
    font-size: clamp(1rem, 0.75rem + 0.75vw, 1.5rem);
}
.small {
    font-size: clamp(0.9rem, 0.6rem + 0.6vw, 1.1rem);
}

.wrap {
    display: flex;
    padding: calc(1rem + 1vw) 4vw;
    gap: 2vw;
    justify-content: space-between;
    max-width: 1024px;
    margin: auto;

    @media (max-width: 600px) {
        flex-direction: column;
    }
}
.wrap:has(iframe) {
    justify-content: space-evenly;
    @media (max-width: 8s00px) {
        flex-direction: column;
    }
}

header {
    background: linear-gradient(315deg, #7c3aed 0%, orange 100%);
}

main {
    background-color: bisque;
}

footer {
    background: linear-gradient(135deg, #7c3aed 0%, orange 100%);
}

header,
footer {
    * {
        margin: 0.2em 0;
    }
}

.logo {
    height: 120px;
    aspect-ratio: 1;
}
.icon {
    display: inline-block;
    padding: 0.5vw;
    height: 32px;
    width: 32px;
}

header .wrap {
    align-items: center;
    justify-content: flex-start;
}

li h3 {
    margin-bottom: 5px;
}

iframe {
    border: 1px solid #999 !important;
    border-radius: 12px;
    max-width: 100%;
}

.gallery-contain {
    overflow-x: hidden;
    position: relative;
    padding: 0;
    max-width: 100%;

    /* Scrollbar (not supported in FF) */
    /* width */
    ::-webkit-scrollbar {
        width: 12px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        border-radius: 6px;
        background: #7c3aed;
    }
    
    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: orange;
        border-radius: 6px;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: orange;
    }
}
.gallery {
    display: flex;
    width: fit-content;
    overflow-x: scroll;
    position: relative;
    -webkit-overflow-scrolling: touch;

    img {
        margin-right: 2vw;
        height: 400px;
    }
}
