
@font-face {
    font-family: 'Tarsius Mono';
    src: url('fonts/TarsiusMono-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MonelliVF';
    src: url('fonts/MonelliVF.woff2') format('woff2'),
         url('fonts/MonelliVF.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

a {
    color: #111;
    text-decoration: none;
}

a:hover {
    color: #999;
    transition: color .25s;

}

body {
    font-family: 'MonelliVF', sans-serif;
    letter-spacing: 0.02em;
    font-weight: 300;
    background: #ffffff;
    color: #111;
    font-size: 20px;
}

header {
    text-align: center;
    padding: 150px 20px 30px;
    max-width: 100%;
    margin: 0 auto;
    background: #eaeae6;
}

.main-navigation {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.instagram-link {
    position: absolute;
    top: 0;
    left: 40px;
    display: flex;
}

.instagram-icon {
    width: 18px;
    height: 18px;
}

.brand-link {
    display: flex;
    align-items: center;
    font-size: 40px;
}

.nav-logo {
    width: 75px;
    height: auto;
}

.language-switch {
    font-family: "Tarsius Mono", monospace;
    font-size: 13px;
    position: absolute;
    top: 20px;
    right: 40px;
}

h1 {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 15px;
}

header h1 {
    max-width: 50%;
    margin: 0 auto;
    font-size: 20px;
}

h2 {
    font-family: 'MonelliVF', sans-serif;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 1em;
}


p {
    margin-bottom: 1em;
}
a img {
    display: block;
    border: none;
}

.boxes {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.products {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.product img {
    width: 100%;
    display: block;
}

.brand {
    font-family: "Tarsius Mono", monospace;
    font-size: 13px;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin: 10px 0 10px 0;
}

/* .title {
} */

.price {
        margin: 0 0 10px 0;
}

.product-details {
    font-family: "Tarsius Mono", monospace;
    display: inline-block;
    margin-top: 20px;
    margin-right: 10px;
    font-size: 13px;
    color: #111;
}

.product-details summary {
    font-family: "Tarsius Mono", monospace;
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    color: #111;
}

.product-details summary::-webkit-details-marker {
    display: none;
}

.product-details summary::after {
    content: " ↓";
}

.product-details[open] summary::after {
    content: " ↑";
}

.product-details p {
    margin-top: 12px;
}

.shop-button {
    font-family: "Tarsius Mono", monospace;
    font-size: 13px;
    display: inline-block;
    padding: 5px 10px;
    color: #111;
    text-decoration: none;
    transition: background 0.25s;
    border: 0px solid #111;
    background: #ccc;

}

.shop-button:hover {
    background: #dddbbb;

}

footer {
    margin-top: 100px;
    padding: 50px;
    text-align: center;
    color: #999;
}


@media (max-width: 600px) {
    .main-navigation {
        flex-direction: column;
    }

    header {
        max-width: 100%;
        padding: 150px 20px 60px;
    }

    .brand-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        font-size: 30px;
    }

    h1 {
        font-size: 30px;
    }

    header h1 {
        max-width: 90%;
        margin: 0 auto;
    }

    h2 {
        font-size: 20px;
    }

    .boxes {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 0; 
    }

    .products {
        grid-template-columns: 1fr;
        padding: 40px 40px 0 40px;
        gap: 90px 30px; 
    }

    
}
