*{
    box-sizing: border-box;
    --main-font: "Nunito", sans-serif;
    --white: #ffffff;
    --black: #000000;
    --lightpurple: #7F4972;
    --purple: #2A1D3D;
    --darkpurple: #12051E;
    --beige: #FDDC94;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, p{
    margin: 0;
    padding: 0;
}

/* ::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background: #12051E;
}
  
::-webkit-scrollbar-thumb {
    background: #7F4972;
}

::-webkit-scrollbar-thumb:hover {
    background: #2A1D3D;
} */

body{
    background: var(--darkpurple);
    font-family: var(--main-font);
    margin: 0;
    min-height: 100vh;
}

.grid-static{
    position: fixed;
    scale: 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 5%;
}

.grid {
    position: fixed;
    scale: 100%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0%;
    transition: opacity 0.3s ease;
    mask: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 30%
    ); /* Initial mask */
    -webkit-mask: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 30%
    ); /* For Safari */
}

.grid.hovered {
    opacity: 50%;
}

.glow {
    position: fixed;
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, hsl(264, 36%, 18%, 0.9), rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    z-index: -1;
}


.desktop{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0;
    position: fixed;
}

.logo{
    width: 200px;
    text-decoration: none;
    color: var(--beige);
    font-weight: 800;
    font-size: 1.7em;
    display: flex;
    flex-direction: column;
}

.subtitle{
    font-size: 0.7em;
}

/* Blinking cursor animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--beige);
    animation: blink 1s infinite;
}

.logo img{
    width: 100%;
}

.nav-desktop{
    display: flex;
    gap: 35px;
    height: 62px;
    align-items: center;
}

.nav-desktop a{
    text-decoration: none;
    color: var(--beige);
    font-weight: 800;
    font-size: 1.1rem;
}

.nav-desktop a:hover{
    text-decoration: underline;
}

.social-links{
    display: flex;
    gap: 20px;
    width: 200px;
    justify-content: flex-end;
}

.social-links a{
    color: #FDDC94;
    text-decoration: none;
    font-size: 1.6em;
}

/* MOBILE HEADER */

.mobile{
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 40px 0;
    padding: 0 5%;
    position: fixed;
    z-index: 100;
}

@media (max-width: 1400px){
    .grid-static{
        scale: 150%;
    }

    .grid{
        scale: 150%;
    }
}

@media (max-width: 900px){
    .grid-static{
        scale: 250%;
    }

    .grid{
        scale: 250%;
    }

    .desktop{
        display: none;
    }

    .mobile{
        display: flex;
    }

    .social-links a{
        font-size: 2em;
    }
}

@media (max-width: 500px){
    .grid-static{
        scale: 400%;
        opacity: 10%;
    }

    .grid{
        scale: 400%;
    }
}