html {
    scroll-behavior: smooth;
}

body {
    background: black;
    color: white;
    font-family: raleway, sans-serif;
    font-weight: lighter;

    & h1 {
        text-transform: uppercase;
        font-kerning: auto;
        letter-spacing: normal;
        line-height: 90px;
        font-family: "Oswald", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }

    & a {
        text-decoration: none;
        color: inherit;
    }

    & p {
        line-height: 28px;
    }
}

header {
    min-width: 1000px;
    margin: 10px;

    & h1 {
        margin: 10px;
        line-height: inherit;
    }

    & img {
        width: 140px;
    }

    & hr {
        margin: 10px;
    }

    & ul {
        padding: 0;
        margin: 10px 0;
        display: inline-block;
        min-width: 700px;
        width: 100%;
        justify-content: space-between;
    }

    & li {
        margin: 10px;
        list-style: none;
        float: left;
        display: inline-block;
    }

    .right {
        float: right;
    }
}

main {
    & h2 {
        text-align: center;
    }

    & h1 {
        text-align: center;
        color: rgb(255, 192, 58);

    }
}

.section {
    display: flex;

    .subsection {
        margin: 0 auto;
        min-width: 300px;
        width: 400px;

        & h1 {
            font-size: 30px;
        }

        & h2 {
            font-size: 24px;
        }
    }
}

footer {
    margin: 80px 20px;
}

.hero-image {
    background-image: url("images/hero.jpg");

    /* Set a specific height */
    height: 50%;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.hero-text {
    min-width: 400px;
    max-width: 600px;
    width: 50%;
    margin: 10px auto;
    padding: 100px 200px;
    line-height: 24px;
    background: rgba(0, 0, 0, 0.5);

    & h1 {
        font-size: 72px;
    }
}
