:root {  
    --purple: rgb(123, 31, 162);
    --violet: rgb(103, 58, 183);
    --pink: rgb(244, 143, 177);
  }
  
@keyframes background-pan {
    from {
        background-position: 0% center;
    }

    to {
        background-position: -200% center;
    }
}

body {
    height: 100vh;
    overflow: hidden;
    background-color: rgb(20, 20, 20);
    margin: 0px;
}

#menu {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.menu-item {
    color: white;
    font-size: clamp(2rem, 4vw, 4rem);
    font-family: Ibarra Real Nova, serif;
    display: block;
    text-decoration: none;
    padding: clamp(0.25rem, 0.5vw, 1rem) 0rem;
    transition: 400ms ease;
}

#menu-items{
    margin-left: clamp(2rem, 2vw, 24rem);
    margin-right: clamp(2rem, 2vw, 24rem);
    position: relative;
    z-index: 2;
}

#menu-items:hover > .menu-item {
    opacity: 0.3;
}

#menu-items:hover > .menu-item:hover {
    opacity: 1;
}


h1 {
    color: white;
    font-family: "Rubik", sans-serif;
    font-weight: 400;
    margin: 0px;
    padding: 20px;
    text-align: center;
}

h1 > .magic {
    animation: background-pan 3s linear infinite;
    background: linear-gradient(
        to right,
        var(--purple),
        var(--violet),
        var(--pink),
        var(--purple)
    );
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
