* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Urbanist', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow:  hidden;
}

body {
    background: rgb(27, 27, 27);
    transition: all 500ms ease;
}

/* Main Container */    
.main-c { 
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.7;
    font-weight: 250;
    min-height: 100vh;
}

/* Music Container */    
#music-c {
    position: absolute;
    opacity: 0;
    bottom: 0;
    right: 0;
    margin: 10px;
    
}

/* Music Container (styling for a) */    
#music-c a{
    text-decoration: none;
    color: white;
    min-width: 320px;
    font-size: clamp(0.1rem, 5vw, 0.75rem);
}

/* Unused - Need to Remake */
.nav-c {
    margin: 0;
    padding: 0;
    opacity: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Unused - Need to Remake */
nav a {
    color: white;
    text-decoration: none;
    -webkit-animation-clip: text;
    white-space: nowrap;
    font-size: clamp(0.5rem, 25vmin, 1rem);
    transition: font-size 0.45s;
}

/* Unused - Need to Remake */
nav a:hover {
    font-size: clamp(1.25rem, 25vmin, 1.5rem);
    transition: font-size 0.45s;
}


h1, h2, h3, h4, h5, p, a, small {
    transition: all 400ms ease;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1#home {
    position: relative;
    margin: auto;
    opacity: 0;
    --bg-size: 400%;
    --color-one: hsl(150, 65%, 55%);
    --color-two: hsl(170, 65%, 55%);
    --color-three: hsl(195, 65%, 55%);
    --color-four: hsl(230, 65%, 55%);
    background: linear-gradient(90deg, var(--color-one),var(--color-two),var(--color-three),var(--color-four),var(--color-one)) 0 0 / var(--bg-size);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(1rem, 10vw, 4.5rem);
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 2px;
    cursor: default;
}

h1#aboutus {
    position: relative;
    margin: auto;
    opacity: 0;
    --bg-size: 400%;
    --color-one: hsl(150, 65%, 55%);
    --color-two: hsl(170, 65%, 55%);
    --color-three: hsl(195, 65%, 55%);
    --color-four: hsl(230, 65%, 55%);
    background: linear-gradient(90deg, var(--color-one),var(--color-two),var(--color-three),var(--color-four),var(--color-one)) 0 0 / var(--bg-size);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(1rem, 10vw, 4rem);
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 2px;
    cursor: default;
}

h1#projects {
    position: relative;
    margin: auto;
    opacity: 0;
    --bg-size: 400%;
    --color-one: hsl(150, 65%, 55%);
    --color-two: hsl(170, 65%, 55%);
    --color-three: hsl(195, 65%, 55%);
    --color-four: hsl(230, 65%, 55%);
    background: linear-gradient(90deg, var(--color-one),var(--color-two),var(--color-three),var(--color-four),var(--color-one)) 0 0 / var(--bg-size);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(1rem, 10vw, 4rem);
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 2px;
    cursor: default;
}

@keyframes fadeEffect {
    from {
        width: 0;
    }
    to {
        width: 600px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    h1#home {
        animation:fadeEffect 0.8s steps(11) normal, animtext 8s linear infinite, opacity 0.8s ease-in;
        animation-timing-function: linear;
        animation-fill-mode: none, none, both;
    }
    h1#aboutus {
        animation:fadeEffect 0.8s steps(8) normal, animtext 8s linear infinite, opacity 0.8s ease-in;
        animation-timing-function: linear;
        animation-fill-mode: none, none, both;
    }
    h1#projects {
        animation:fadeEffect 0.8s steps(7) normal, animtext 8s linear infinite, opacity 0.8s ease-in;
        animation-timing-function: linear;
        animation-fill-mode: none, none, both;
    }
    .music-c-anim {
        animation: opacity 1.25s ease-in;
        animation-delay: 1s;
        animation-fill-mode: forwards;
    }
    @keyframes opacity {
        to {
            opacity: 1;
        }
    }
    @keyframes animtext {
        to {
            background-position: var(--bg-size) 0;
        }
    }
  }