/* CSS Resets */

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* Typography */

h1, p {
    text-align: center;
}

h1 {
    font-family: "Neonderthaw";
    font-weight: 400;
    font-size: 15vw;
    line-height: 100%;
}

p {
    font-family: "Tilt Neon";
    font-size: 20px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Layout */

header, main, section, footer {
    margin: 0;
}

header, section {
    width: 100%;
    height: 100vh;
}

h1 {
    margin: 0;
    position: relative;
    top: 50%;
    transform: translate(0, -80%);
}

#scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    width: 100%;
}

footer p {
    margin: 0;
    padding: 2em 0;
}

section {
    display: grid;
    place-content: center;
}

/* Color */

body {
    background-image: url(images/noise-texture.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

header, main, section, footer {
    mix-blend-mode: hard-light;
}

header {
    background-color: #101040;
}

#section1 {
    background-color: #1C1040;
}

#section2 {
    background-color: #281040;
}

#section3 {
    background-color: #341040;
}

#section4 {
    background-color: #401040;
}

footer {
    background-color: hsl(315, 60%, 16%);
}

h1, p {
    color: #fff;
}

h1 {
    text-shadow: 0 0 20px hsl(330, 100%, 50%);
}

section div {
    border: 1px solid white;
    box-shadow: 0 0 20px hsl(330, 100%, 50%);
}

a {
    color: hsl(330, 100%, 75%);
}


/* Animations */

h1 {
    animation: floating 5s ease-in-out 0s infinite alternate;
}

@keyframes floating {
    0% {
        transform: translateY(-80%);
    }
    50% {
        transform: translateY(-90%);
    }
    100% {
        transform: translateY(-80%);
    }
}