* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #111;
    color: white;
    font-family: sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    align-items: center;
    padding: 0.8rem 2rem;
    transition: background 200ms ease;
    z-index: 1000;
    background: transparent;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 5vh;
    width: auto;
    cursor: pointer;
    border: 2px solid black;
    border-radius: 100%;
}

.logo:hover {
    border-color: white;
}

.nav-links a {
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 150ms ease;
    color: #fff;
}

.header-right {
    font-weight: bold;
    color: #fff;
}

.nav-links a:hover {
    color: rgba(255, 200, 0, 1);
}

.spacer {
    height: 70px;
}



/* FOOTER */
footer {
    width: 100%;
    background: #111;
    color: #fff;
    padding: 20px 40px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 80px;
}

.credit {
    justify-self: start;
    white-space: nowrap;
}

.icons {
    display: flex;
    gap: 15px;
    justify-self: center;
}

.icons img {
    width: 40px;
    cursor: pointer;
    transform: scale(1);
}

.icons a img:hover {
    width: 40px;
    cursor: pointer;
    transform: scale(1.15);
    transition: opacity 0.25s ease;
}

#toTop {
    justify-self: end;
    cursor: pointer;
}

#toTop:hover {
    text-decoration: underline;
    color: #fff;
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        gap: 15px;
    }

    .icons {
        order: -1;
    }
}