@font-face {
    font-family: "Raleway";
    src: url(../assets/fonts/Raleway-VariableFont_wght.ttf);
}

html {
    background-color: black;
    scroll-behavior: smooth;
}

body {
    font-family: "Raleway", sans-serif;
    color: white;
    letter-spacing: 0.15em;
    padding-left: 10px;
    padding-right: 10px;
}

a {
    text-decoration: none;
    color: yellow;
}

h2 {
    font-weight: 900;
    font-size: 4em;
    letter-spacing: 0.05em;
}

h3 {
    font-weight: 100;
    font-size: 3em;
    letter-spacing: 0.3em;
}

@keyframes mask-fade {
    0% {
        display: block;
        background-color: black;
    }
    100% {
        background-color: rgba(0, 0, 0, 0);
    }
}

.fade-out {
    animation: mask-fade 2000ms;
}

#mask {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 666;
    pointer-events: none;
    background-color: black;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding-top: 260px;
}

#hero {
    padding-top: 3em;
    display: block;
    transition: 800ms;
    position: absolute;
    top: 0;
}

#hero nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: -0.75em;
}

#hero-bar {
    display: flex;
    justify-content: space-between;
    transition: 0.4s;
    position: fixed;
    top: -400px;
    background-color: black;
    max-width: 1200px;
    width: 100%;
    padding: 1em;
}

#hero-bar nav {
    padding-top: 0.5em;
    width: 25%;
    display: flex;
    justify-content: space-between;
}

#hero-bar a {
    align-self: center;
}

nav a {
    color: yellow;
}

img.main-image {
    display: block;
}

main {
    margin-bottom: 2em;
}

main hr {
    margin-top: 2em;
    margin-bottom: 1em;
}

section {
    width: 75%;
    margin: auto;
}

section p.scroll-hack {
    position: relative;
    top: -120px;
}

section p {
    margin-bottom: 1em;
}

section img {
    display: inline;
    max-width: 25%;
}

form {
    margin-top: 1em;
}

label {
    display: none;
}

input,
textarea {
    margin-bottom: 1em;
    background-color: black;
    color: white;
    border: 1px solid white;
    width: 30em;
    outline: none;
    display: block;
    padding-left: 0.5em;
}

button {
    background-color: cyan;
    border: 0;
    cursor: pointer;
    font-size: 1.25em;
}

button:disabled {
    cursor: default;
}

input:disabled,
textarea:disabled {
    background: #222;
}

footer {
    margin-top: 0.5em;
    margin-bottom: 1em;
    color: white;
    font-size: 0.75em;
}

footer p {
    margin-left: 1em;
}

footer a {
    color: yellow;
}
