@import url("variables.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Oswald:wght@300;400;600;700&display=swap');

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--body-font);
    background: var(--black);
    color: white;
    overflow-x: hidden;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow:hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3 {
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1;
}

h1 {
    font-size: var(--hero);
}

h1.hero-title {
    text-transform:none
}

h2 {
    font-size: var(--h2);
    margin-bottom: 2rem;
}

h3 {
    margin-bottom: 1rem;
}

p {
    font-size: var(--body);
    color: var(--off-white);
    max-width: 700px;
    margin-bottom: 16px;
    text-wrap: pretty;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    display: block;
    width: 100%;
}

/* LAYOUT */
.container {
    width: min(90%, var(--container));
    margin: auto;
    /* min-height: 100vh; */
}

section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding) 0;
    scroll-snap-align: start;
    overflow: hidden;
}

/* PARALLAX BACKGROUNDS */
.parallax {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media (max-width:900px) {
    .parallax {
        background-attachment: scroll;
    }
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 5;
}

/* TEXT */
.eyebrow {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: .9rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--yellow);
}