/* Variables */
:root {
    --color-1: rgb(20, 20, 20);
    --color-2: rgb(176, 189, 197);
    --color-3: rgb(248, 234, 216);
    --color-4: rgb(254, 249, 242);

    --size-title: 2em;
    --size-subtitle: 1.5em;
    --size-body: 1.2em;
    --size-quote: 1.3em;

    --content-section-padding: 80px 40px;
}

* {
    box-sizing: border-box;
}

/* General Styles */
html {
    scroll-behavior: smooth;
    /* scroll-snap-type: y mandatory; */
}
body {
    margin: 0;

    /* Fonts */
    font-family: "Prompt", sans-serif;
    font-weight: 400;
    font-style: normal;

    /* scroll-snap-type: y mandatory; */

    background-color: var(--color-2);
}

p strong, h1, h2, h3 {
    font-weight: 600;
}

.button {
    border: 2px solid var(--color-1);
    padding: 1em 2em;
    border-radius: 1em;
    color: var(--color-1);
    text-decoration: none;
}

.button-2 {
    background-color: var(--color-1);
    padding: 1em 2em;
    border-radius: 1em;
    color: var(--color-3);
    text-decoration: none;
}

.--txt-right {
    text-align: right;
}

.snappy-element {
    /* Snappy scroll */
    min-height: 100vh; /* Full viewport height */
    scroll-snap-align: start;
}

/* Banner Styles */
.banner {
    background-color: var(--color-1);
    position: relative; /* For absolute positioning of chevron */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.banner-content {
    max-width: 40em;
    text-align: center;
    color: var(--color-3);
}

.banner img[alt="Logo"] {
    max-width: 80%; /* Adjust as needed */
    height: auto;
    margin-bottom: 1em;
}

.banner h1 {
    margin-bottom: 1em;
    font-size: var(--size-title);
}

.banner .tagline {
    font-size: var(--size-subtitle);
}

.banner p {
    font-size: var(--size-body);
    margin: 0.6em 0 1.2em 0;
}

.scroll-down-icon {
    position: absolute;
    bottom: 30px;
    width: 50px;
    height: 50px;
    color: var(--color-3);
    animation: bounce 2s infinite;
}
.scroll-down-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--content-section-padding);
}

.section .content-wrapper {
    max-width: 800px;
    width: 100%;
    flex-grow: 1;
}

.section.--c1 {
    background-color: var(--color-3);
    color: var(--color-1);
}

.section.--c2 {
    background-color: var(--color-2);
    color: var(--color-1);
}

.section.--c2 h3 {
    color: var(--color-4);
}

.section.--c3 {
    background-color: var(--color-4);
    color: var(--color-1);
}

.section h2 {
    font-size: var(--size-title);
}
.section h3 {
    font-size: var(--size-subtitle);
}
.section p {
    font-size: var(--size-body);
}
.section ul li {
    font-size: var(--size-body);
}
.section ul li + li {
    margin-top: 1rem;
}

.content-block + .content-block {
    margin-top: 3em;
    padding-top: 1em;
    border-top: 5px solid rgba(255, 255, 255,0.5);
}

.content-block:nth-child(odd) {
    text-align: left;
    padding-left: 1em;
    /* border-left: 5px solid rgba(255, 255, 255,0.5); */
}

.content-block:nth-child(even) {
    text-align: right;
    padding-right: 1em;
    /* border-right: 5px solid rgba(255, 255, 255,0.5); */
}

@media (min-width: 500px) {
    .content-block:nth-child(odd) {
        padding-right: 100px;
    }
    .content-block:nth-child(even) {
        padding-left: 100px;
    }
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: 1;
}

section h3 + .grid-container {
    margin-bottom: 2rem;
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 30em;
}

.card {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 1em;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
}

.card p {
    font-size: 1em;
}

.section-with-aside {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    place-content: center;
    place-items: center;
    gap: 3rem;
}

.section-with-aside .section-content {
    max-width: 40em;
}

.section-with-aside aside {
    max-width: 20em;
}

.quote {
    color: var(--color-3);
    background-color: var(--color-1);
    font-size: var(--size-quote);
    padding: 4rem;
    margin: 20px 0;
    border-radius: 10rem 10rem 10rem 0;
    font-style: italic;
    text-align: left;
    max-width: 600px;
}
