:root {
    --black: #1D1D1E;
    --white: #F1F1F2;
    --purple-dark: #662C91;
    --purple-light: #A62E92;
    --purple-gradient: linear-gradient(var(--purple-dark), var(--purple-light));
    --red-light: #EF4036;
    --red-dark: #DA1C5B;
    --red-gradient: linear-gradient(var(--red-light), var(--red-dark));
}

body {
    background-color: var(--white);
    background-size: cover;
    background-repeat: no-repeat;
    font-family: "Nunito", sans-serif;
    font-size: 20px;
}

header {
    background-color: var(--white);
    padding: 20px;
    text-align: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo {
    height: 300px;
}

nav {
    height: 80px;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--black);
}

nav a {
    color: var(--white);
    width: 8em;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bolder;
}

nav a:hover {
    background-image: var(--red-gradient);
    background-clip: text;
    color: transparent;
    transform: scale(1.1);
    transition: 0.2s;
}

#nav-logo {
    height: 60px;
    position: absolute;
    left: 20px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

nav.sticking #nav-logo {
    opacity: 1;
}

.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 580px);
    padding: 80px 15% 80px 15%;
}

.content {
    width: 100%;
    height: 100%;
    max-width: 1800px;
    display: flex;
    align-items: center;
}

.content div {
    width: 100%;
    height: 100%;
    margin: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.purple-bg {
    background-image: var(--purple-gradient);
    color: var(--white);
}

.black-bg {
    background-color: var(--black);
    color: var(--white);
}

@media only screen and (max-width: 768px) {
    header {
        height: 180px;
    }

    #logo {
        height: 180px;
    }

    #nav-logo {
        display: none;
    }
}