:root {
    --background: #ffffeb;
    --foreground: #d0ba9b;
    --accent: #7d5331;
    --accent-2: #badcea;
    --text-white: white;
    --text-black: black;
}

html {
    font-family: "Darker Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 1rem;

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "IM Fell English", serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 10px;
}

h1 {
    font-family: "Manufacturing Consent", system-ui;
    /* font-weight: 900; */
    font-style: normal;
    font-size: 5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.7rem;
}

p {
    /* TODO: Find a better font for body text. */
    font-family: "Darker Grotesque", sans-serif;
    font-size: 1.35rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: color-mix(in srgb, var(--accent) 70%, white 30%);
    text-decoration: underline;
}

hr {
    border: solid var(--text-black) 1px;
    margin: 1rem;
    margin-bottom: 1.75rem;
}

/* Main Content */
/* Above the Fold */
.main-content {
    /* Placeholder Height */
    min-height: 100vh;

    padding-bottom: 50px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hero Banner */
.hero-banner-bg {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    overflow: hidden;
}

.hero-banner-bg-img {
    min-width: 1024px;
    max-width: 1280px;
}

.main-heading {
    margin: 50px;
    width: 100%;
    max-width: 1280px;

    position: absolute;
    top: 0;
    text-align: center;
}

.hero-banner-content {
    position: absolute;
    width: 90%;
    max-width: 1280px;
    padding: 50px;
    padding-top: 100px;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
}

.hero-tagline {
    margin-top: 50px;
    margin-bottom: 20px;
    height: 2.5rem;
    overflow: hidden;
}

.tagline {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
}

.tagline.active {
    opacity: 1;
    transform: translateY(0);
}

.tagline.exit {
    opacity: 0;
    transform: translateY(-20px);
}

.hero-banner-phone-prototype {
    margin: 10px;
    min-width: 400px;
    width: 25%;
    max-width: 400px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: row;
    margin: 20px auto;
    gap: 10px;
}

.hero-button {
    font-size: 1.5rem;
    background-color: transparent;
    padding: 20px 50px;
    border-radius: 5px;
    border: 1px solid var(--text-black);
    transition: 100ms ease-in-out;
}

.hero-button.download {
    background-color: var(--accent);
    color: var(--text-white);
}

.hero-button:hover {
    border: 1px solid black;
    border-radius: 10px;
}

.hero-button.download:hover {
    background-color: color-mix(in srgb, var(--accent) 90%, black 10%);
}

/* Below the Fold */
/* Slideshow */
.slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Carousel container */
.carousel-container {
    width: 100%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

/* Caption text */
.text {
    color: var(--text-white);
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: var(--text-white);
    background-color: #00000080;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--accent-2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: color-mix(in srgb, var(--accent-2) 60%, var(--text-black) 40%);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.content-section {
    background-color: var(--foreground);
    max-width: 1280px;

    display: flex;
    flex-direction: column;

    margin: 2rem auto;
    padding: 2rem;

    border-radius: 20px;
}

/* Mision Statement */
.mission-statement-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    margin: 0 auto;
    padding: 2rem;

    width: 100%;
    max-width: 1280px;

    box-sizing: border-box;

    border-radius: 20px;

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

    text-align: center;
}

.mission-statement {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    text-align: left;
}

.mission-statement-text {
    line-height: 2rem;
}

.quote-start,
.quote-end {
    font-size: 10rem;
    color: var(--accent);
}

.quote-start {
    position: relative;
    left: 10px;
    top: -50px;
}

.quote-end {
    position: relative;
    right: 10px;
    bottom: -50px;
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 50px;
    background-color: var(--foreground);
}

.footer-container {
    width: 100%;
    max-width: 1280px;

    display: flex;
    flex-direction: column;
    gap: 30px 10px;
}

/* Remove weird underline below image */
.social-link:hover {
    text-decoration: none;
}