:root {
    --dark-brown: #672d04;
    --light-cream: #faeddb;
    --white: #ffffff;
}

* {
    border: 0;
    margin: 0;
    font: inherit;
    font-size: 100%;
    padding: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    background: var(--light-cream);
    color: var(--dark-brown);
}

h1,
h2,
h3 {
    font-family: "Pacifico", cursive;
    font-weight: 600;
    line-height: 1em;
    margin-bottom: 1.25em;
    text-rendering: optimizeLegibility;
    color: var(--dark-brown);
}

h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    line-height: 1em;
    margin-bottom: 1em;
    text-rendering: optimizeLegibility;
    color: var(--dark-brown);
}

h1 {
    font-size: 4em;
}

h2 {
    font-size: 3em;
}

h3 {
    font-size: 2.5em;
}

h4 {
    font-size: 2em;
}

h5 {
    font-size: 1.5em;
}

h6 {
    font-size: 1.2em;
}

p {
    font-family: "Raleway", sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.5em;
    margin-bottom: 1em;
    color: var(--dark-brown);
}

b {
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

a {
    color: var(--dark-brown);
    text-decoration: none;
    background-image: linear-gradient(
        to right,
        var(--dark-brown),
        var(--dark-brown)
    );
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease;
}

a:hover {
    background-size: 0% 1px;
}

a.btn {
    display: inline-block;
    background-color: var(--dark-brown);
    color: var(--white);
    padding: 0.75em 1.5em;
    border-radius: 0.5em;
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 1em;
    line-height: 1.2;
    transition: all 0.3s ease;
    cursor: pointer;
    background-size: 0;
}

a.btn:hover {
    background-color: var(--light-brown);
    color: var(--dark-brown);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(103, 45, 4, 0.3);
    background-size: 0;
}

.main-wrapper {
    width: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
}

.section-divider {
    width: 100%;

    background-repeat: repeat-x;
    background-position: top;
    background-size: 100px 20px;
    animation: waveMove 3.5s linear infinite;
}

.bottom_decoration {
    min-height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 20 50 10 T 100 10 V 0 H 0 Z' fill='%23faeddb'/%3E%3C/svg%3E");
}

.top_decoration {
    min-height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0 50 10 T 100 10 V 20 H 0 Z' fill='%23faeddb'/%3E%3C/svg%3E");
}

@keyframes waveMove {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 100px;
    }
}

.grid {
    background-color: var(--light-cream);
    padding: 8rem 6rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: center;
}

.grid.white {
    background-color: var(--white);
}

/* full width */
.col-6-6 {
    grid-column: span 6;
    width: 100%;
}

/* half */
.col-3-6 {
    grid-column: span 3;
    width: 100%;
}

/* a third */
.col-2-6 {
    grid-column: span 2;
    width: 100%;
}
/* two thirds */
.col-4-6 {
    grid-column: span 4;
    width: 100%;
}

/* two thirds */
.col-1-6 {
    grid-column: span 1;
    width: 100%;
}

/* two thirds */
.col-5-6 {
    grid-column: span 5;
    width: 100%;
}

@media only screen and (max-width: 700px) {
    img {
        max-width: 80%;
    }
    .main-wrapper {
        align-items: flex-start;
    }

    .section-divider {
        min-height: 2.5vh;
    }

    .grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
        text-align: center;
        padding: 5rem 3rem;
    }

    .col-6-6,
    .col-3-6,
    .col-2-6,
    .col-4-6,
    .col-1-6,
    .col-5-6 {
        grid-column: span 1;
    }
}
