*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 62.5%;
    --font-size-small: 1.1rem;
    --font-size-1: 1.3rem;
    --font-size-product-text: 1.4rem;
    --font-size-2: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
    --font-size-3: clamp(1.7rem, 1.1667rem + 1.8667vw, 2.8rem);
    --font-size-logo: clamp(4rem, 10vw, 8rem);
    --clr-bg: black;
    --clr-text: white;
    --footer-height: 5rem;
}

@font-face {
    font-family: "Garamond";
    src: url('/assets/fonts/EBGaramond-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: "SelektionSerif";
    src: url('/assets/fonts/day-roman.regular.ttf') format('truetype');
}

img,picture,video, iframe {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

h2,
h3 {
    font-weight: inherit;
}

button {
    color: var(--clr-text);
}


body {
    font-family: "Garamond";
    background-color: var(--clr-bg);
    color: var(--clr-text);
    margin-inline: 1rem;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000000;
    background-color: var(--clr-bg);
}

.header .logo {
    padding-block: 1rem;
}

.header > .logo img {
    width: 35vw;
    min-width: 400px;
    filter: blur(0.25px);
}
@media screen and (width < 500px) {
    .header > .logo img {
        min-width: 100%;
        width: 100%;
        filter: blur(0px);
    }
}

.nav-wrapper {
    min-width: 960px;
    border-bottom: 1px solid var(--clr-text);
    padding-bottom: 1rem;
}
@media screen and (width < 960px) {
    .nav-wrapper {
        width: 100%;
        min-width: 100%;
    }
}

.header > .nav-wrapper > nav ul {
    display: flex;
    gap: 0.5rem 1rem;
    font-size: var(--font-size-2);
    padding-block: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.header > .nav-wrapper > nav > ul > li.active {
    font-style: italic;
}

.socials_button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.socials_nav {
    display: none;
}
.socials_nav.visible {
    display: flex;
    justify-content: center;
}

/* Main */

.main {
    padding-block: 4rem;
    /* min-height: calc(100vh - var(--header-height)); */
    margin-bottom: calc(var(--footer-height) + 1rem);
}

/* Footer */

.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: var(--footer-height);
    font-size: var(--font-size-1);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: black;
    padding-inline: 1rem;
}

.social-links {
    grid-column: 2;
    justify-self: center;
    align-self: center;
    display: flex;
    gap: 1rem;
}
@media screen and (width < 500px) {
    .social-links {
        grid-column: 1;
        justify-self: start;
    }
}
.social-links img {
    width: 2.8rem;
}

.footer-nav {
    grid-column: 3;
    justify-self: end;
    align-self: center;
}

.footer-nav ul {
    display: flex;
    gap: 1rem;
}

/* ERROR */

.main-error {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-3);
}

/* BANNER */

#gdpr-global-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    padding: 8px 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 999999;
    font-family: "Garamond";
    font-size: var(--font-size-1);
}

#gdpr-global-banner .gdpr-text {
    line-height: 1.4;
}

#gdpr-accept-btn {
    color: white;
    background-color: black;
    text-decoration: underline;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
    font-family: "Garamond";
}
