* {
    box-sizing: border-box;
}
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-weight: 900;
    font-size: 1.125em;
}

nav ul li {
    margin-left: 1em;
}

nav {
    display: inline-block;
}

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

#hero {
    width: 100vw;
    min-height: 80vh;

    position: relative;
    padding: 0px;
    margin: 0px;
    overflow: hidden;    

    background: hsla(39, 100, 71);

    
    
    background: -moz-linear-gradient(90deg, hsla(39, 100, 71, 1) 0%, hsla(216, 100, 62, 1) 100%);
    
    background: -webkit-linear-gradient(90deg, #ffcb6b 0%, #3d8bff 100%);

    background: linear-gradient(90deg, #ffcb6b 0%, #3d8bff 100%);
    
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#FFCB6B", endColorstr="#3D8BFF", GradientType=1 );
}

header {
    position: fixed;
    z-index: 1;
    padding: 0.5em;
    width: 100vw;
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: 0.1s background-color;
}

header.scrolled {
    background-color: #ffcb6b;
}
header h1 {
    margin: 0;
    display: inline-block;
}

#hero h2 {
    font-size: 72px;
    text-align: center;
}

nav ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    display: inline-block;
}

nav li {
    display: inline-block;
}

#hero-img {
    width: 100vw;
    position: absolute;

    transform: scale(1.25);
    transition: transform 100ms;
    bottom: 0px;
}
#hero-over {
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(1.25);
    opacity: 0.5;
}
#hero-info {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    color: #fcfcfc;
    align-items: center;
    justify-content: center;
}

#hero-cta {
    color: #fcfcfc;
    font-weight: 400;
    letter-spacing: 1px;
    background: #AF9B46;
    border: 0;
    font-size: 1.125em;
    padding: 0.5em;
    border-radius: 2em;
}

#hero-cta a {
    text-decoration: none;
    color: inherit;
}

.subtitle {
    font-weight: 700;
    font-style: italic;
}

section {
    padding: 0.75em;
    padding-left: 1em;
}
section h2 {
    position: relative;
    left: -0.25em;
}


@media only screen and (min-width: 600px) {
    section {
        margin-left: 15vw;
        margin-right: 15vw;
    }
}