body { 
    background-color: #F6F0ED;
    background-image: url('../img/nnnoise.svg');
    color: #0E0915;
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

logo {
    font-family: "Jacquard 12", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
    text-align: center;
}

logo p {
    margin: 0px;
}

yakemy {
    font-family: "Audiowide";
    font-weight: 400;
    font-style: normal;
    font-size: 70px;
    text-align: center;
}

main {
    width: 80%;
    margin: 0 auto;
}

h1 {
    font-family: "Rubik 80s Fade", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 45px;
    margin-top: 70px;
}

h3 {
    font-family: "Rubik Glitch", system-ui;
    font-weight: 400;
    font-style: normal;
}

f1 {
    font-family: "Megrim", system-ui;
    font-weight: 800;
    font-style: normal;
    font-size: 20px;
}

/* LINKS */
a {
    font-weight: 800;
    color: #0E0915;
}

a:visited {
    color: #0E0915;
}

a:hover {
    color: #FE5F55;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 10px;
}

/* GRID */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-box {
    border: 1px solid #0E0915;
    padding: 1.5rem;
}

.project-box h3 {
    font-size: 1.5rem;
    margin-top: 0;
}

.project-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.preloader.fade-out {
    opacity: 0;
}

#spiral {
    width: 400px;
    height: 400px;
}

#spiral circle {
    fill: #fff;
    opacity: 0.6;
}

/* Hide content until loaded */
body.loading {
    overflow: hidden; /* Prevent scrolling during load */
}
body.loading main,
body.loading footer {
    visibility: hidden;
    opacity: 0;
}

/* Show content after loading */
main, footer {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* Streaming Icons */
.streaming-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin: 3rem 0;
    padding: 1rem;
}

.streaming-icons a {
    display: inline-block;
    color: #ccc; /* Default icon color */
    transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.streaming-icons svg {
    width: 48px;
    height: 48px;
    fill: currentColor; /* Inherits color from the <a> tag */
}

.streaming-icons a:hover,
.streaming-icons a:focus {
    transform: scale(1.2);
    outline: none;
}

/* Brand colors and glow effect on hover/focus */
.streaming-icons a.apple-music:hover,
.streaming-icons a.apple-music:focus {
    color: #FA243C;
}

.streaming-icons a.deezer:hover,
.streaming-icons a.deezer:focus {
    color: #A238FF;
}

.streaming-icons a.spotify:hover,
.streaming-icons a.spotify:focus {
    color: #1ED760;
}

.streaming-icons a.youtube:hover,
.streaming-icons a.youtube:focus {
    color: #FF0000;
}

.streaming-icons a.bluesky:hover,
.streaming-icons a.bluesky:focus {
    color: #1185FE;
}

.streaming-icons a.bandcamp:hover,
.streaming-icons a.bandcamp:focus {
    color: #408294;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    logo {
        font-size: 60px;
    }

    nav {
        margin-bottom: 20px;
    }

    main {
        width: 90%;
    }

    footer {
        font-size: 10px;
    }
    .streaming-icons svg {
        width: 30px;
        height: 30px;
    }
    .streaming-icons {
        gap: 1.5rem;
    }
    yakemy {
        font-size: 30px;
    }

}

/* FONTS */
/* jacquard-12-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: 'Jacquard 12';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/jacquard-12-v8-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* major-mono-display-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: 'Major Mono Display';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/major-mono-display-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-mono-100 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/roboto-mono-v31-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-100italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/roboto-mono-v31-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-200 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/roboto-mono-v31-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-200italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/roboto-mono-v31-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-300 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-mono-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-300italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-mono-v31-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-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: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-mono-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-mono-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-500 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-mono-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-500italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-mono-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-600 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto-mono-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-600italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/roboto-mono-v31-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-700 - 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: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-mono-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-mono-700italic - 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: 'Roboto Mono';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-mono-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* megrim-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: 'Megrim';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/megrim-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-80s-fade-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: 'Rubik 80s Fade';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rubik-80s-fade-v2-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* rubik-glitch-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: 'Rubik Glitch';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rubik-glitch-v2-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* audiowide-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: 'Audiowide';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/audiowide-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}