:root {
    --font-size-h1: clamp(4rem, calc(6vw + 1rem), 8rem);
    --font-size-h2: clamp(1.5rem, calc(1.5vw + 1rem), 3rem);
    --primary-color: #fafffa;
    --bg: #151515;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--primary-color);
    font-family: "Nata Sans";
}

h1, h2, h3, h4 {
    font-family: "Nata Sans";
}

h1 {
    font-size: var(--font-size-h1);
    text-align: center;
}

h2, blockquote {
    font-size: var(--font-size-h2);
}

.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.info-section {
    text-align: center;
    position: relative;
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30vh 5rem;
}

#why-nature {
    display: flex;
    flex-direction: row;
    height: 100vh;
    margin: 0 3em;
    background-color: #1d1f1d;
    color: #b5c5a7;
    border-radius: 10px;
    /*overflow: hidden;*/
}

#why-nature .background-image {
    background-image: url(../assets/nature_pic_1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-position: center;
    object-fit: cover;
    flex: 1;
}

#why-nature-text {
    position: sticky;
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 40px;
    top: 40%;
    align-self: flex-start;
    flex: 1;
    padding: 2em;
}

#why-nature-text h2 {
    padding: 0 clamp(2em, 5%, 4em);
}

#why-nature-text p {
    padding: 0 clamp(5em, 10vw, 15em);
    margin: 0 auto;
}

.closing-section {
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}

#bubble-section {
    position: relative;
    width: 100%;
    height: 100vh;
    box-shadow: 0px 1px 1px 1px var(--primary-color);
    overflow: hidden;
}

.bubble-header {
    --text-width: 50%;
    position: absolute;
    width: var(--text-width);
    font-size: max(var(--font-size-h2), 2em);
    top: 50%;
    right: calc(50% - (var(--text-width) / 2));
    text-shadow: 2px 2px var(--bg);
    z-index: 1;
}

@media (max-width: 800px) {
    #why-nature {
        flex-direction: column;
        margin: 4em;
        gap: 0;
    }
    #why-nature-text {
        flex: 0;
        padding: 4em 5vw;
    }
}

@media (max-width: 500px) {
    #why-nature {
        margin: 1em;
    }
}
