:root {
    --clr-dark: #070a13;
    --clr-light: #f1f5f9;
    --clr-slate100: #f1f5f9;
    --clr-slate200: #e2e8f0;
    --clr-slate300: #cbd5e1;
    --clr-slate400: #94a3b8;
    --clr-slate500: #64748b;
    --clr-slate600: #475569;
    --clr-slate700: #334155;
    --clr-slate800: #1e293b;
    --clr-slate900: #020617;
    --clr-indigo-600: #4f46e5;
    --clr-purple-600: #9333ea;
    --clr-rose-600: #e11d48;
    --clr-artic-lime: #d0ff14;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    background-color: var(--clr-dark);
    color: var(--clr-light);
    transition: background-color 0.5s;
}

header {
    height: 5rem;
    width: 100vw;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-left: 5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px 0 var(--clr-artic-lime);
}

nav h1 {
    font-size: 3rem;
    font-family: "Nabla", sans-serif;
    color: var(--clr-light);
    margin-bottom: 0.25rem;
    letter-spacing: 0.5rem;
}

main {
    height: calc(100vh - 5rem - 3rem);
    display: grid;
    place-content: center;
}

main span {
    cursor: pointer;
}

.hidden {
    display: none;
}

footer {
    height: 3rem;
    width: 100vw;
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}


footer a {
    font-size: 1rem;
    font-family: Source Code Pro, arial;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

footer a:hover {
    color: var(--clr-light);
}

::selection {
    background-color: var(--clr-purple-600);
}

/* Spin Animation */

.spin {
    animation: spin 0.5s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(720deg);
    }
}

/* Responsiveness */

@media screen and (max-width: 777px) {

    nav h1 {
        letter-spacing: 0rem;
    }
}