@font-face {
    font-family: 'Cloudbuster';
    src: url('fonts/cloudbuster_1-webfont.woff2') format('woff2'),
         url('fonts/cloudbuster_1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-white: #FFFFFF;
    --color-offwhite: #D4D3D3;
    --color-green: #465242;
    --color-green-dark: #3c4738;
}

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

.bg-green-dark {
    background-color: var(--color-green-dark);
}

html,
body {
    padding:0;
    margin:0;
    background-color: var(--color-green);
    color: var(--color-offwhite);
    -webkit-font-smoothing: antialiased;
    font-family: "countach", serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.6;
    position:relative;
}

* {
    box-sizing:border-box;
}

a {
    color: inherit;
}

h1,h2,h3,h4,h5 {
    font-family: "Cloudbuster", serif;
    font-weight:normal;
    font-size: 40px;
    line-height: 1.2;
    color: var(--color-white);
    margin: 24px 0;
}

p {
    margin: 24px 0;
}

.links {
    display:flex;
    flex-wrap:wrap;
    gap: 8px;
}

.button {
    text-decoration:none;
    border-radius:80px;
    padding: 12px 24px;
    font-size: 14px;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    gap: 8px;
    color: var(--color-white);
    transition: all 200ms ease-out;
}

.button:hover,
.button:focus {
    background: var(--color-white);
    color: var(--color-green-dark);
}

.section :first-child {
    margin-top: 0;
}

.section :last-child {
    margin-bottom: 0;
}

.hero {
    position:relative;
    padding:40px;
    width:100%;
    height: 440px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background-color:black;
}

.hero-bg {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    animation: heroFadeIn 3s cubic-bezier(0.425, 0.005, 0.190, 1.000) 0s 1 both;
}

.hero-scroll-icon {
    position:absolute;
    left: 50%;
    bottom: 48px;
    z-index:3;
    animation: homeBannerScrollIcon 3s linear 0s infinite;
    display:none;
}


@keyframes homeBannerScrollIcon {
    0% { transform:translate(-50%,0px); opacity:1; animation-timing-function: ease-in; }
    50% { transform:translate(-50%,0px); opacity:1; animation-timing-function: ease-in; }
    75% { transform:translate(-50%,24px); opacity:0; animation-timing-function: ease-out; }
    75.1% { transform:translate(-50%,-24px); opacity:0; animation-timing-function: ease-out; }
    100% { transform:translate(-50%,0px); opacity:1; animation-timing-function: ease-in; }
}

@keyframes heroFadeIn {
    from { opacity:0; transform:scale(1.1); filter: blur(4px); }
    to   { opacity:1; transform:scale(1); filter: blur(0); }
}

.hero-logo {
    position:relative;
    z-index:1;
    animation: heroFadeIn 2s cubic-bezier(0.425, 0.005, 0.190, 1.000) 1s 1 both;
    max-width: 100%;
    height:auto;
}

.section {
    padding: 40px 0;
    display:flex;
    flex-direction:column;
    width:100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer {
    padding: 24px 0;
    border-top: 1px solid var(--color-green-dark);
    font-weight: 400;
    font-size: 16px;
    position:relative;
    z-index:5;
}

.footer-inner {
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    justify-content: space-between;
}

@media screen and (min-width: 1024px){

    html,
    body {
        font-size: 18px;
    }

    h1,h2,h3,h4,h5 {
        font-size: 64px;
        margin: 40px 0;
    }

    p {
        margin: 40px 0;
    }

    .hero {
        height: 100vh;
    }

    .section {
        padding: 80px 0;
        flex-direction:row;
        justify-content: space-between;
    }

    .sticky {
        position:sticky;
        top:0;
        min-height:100vh;
        display:grid;
        place-items:center;
    }

    .section h2 {
        max-width: 360px;
    }

    .section content {
        width: 50%;
    }

    .hero-scroll-icon {
        display:block;
    }
}