/* figtree-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/figtree-v8-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/fonts/figtree-v8-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* literata-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/literata-v39-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/fonts/literata-v39-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}



:root {
    --bg: black; 
    --fg: white; 
    --theme: #a9e2bb; 
    --theme2: #4c6353;
    --neutral: lightgrey; 
    --darkneutral: #222; 

    display: block;
    padding: 0px;
    margin: 0px;

    background: var(--bg, black);
    color: var(--fg, white);

    font-family: "Figtree", sans-serif;
    font-optical-sizing: auto;
    font-weight: regular;
    font-style: normal;

    & a {
        color: var(--theme, lightgreen);
    }
}

.sr-only {
    display: none;
}

.search-form {
    position: relative;
    background: var(--bg, black);
    display: flex;
    flex-direction: column;
    z-index: 2;

}

input {
    background: var(--bg, black);
    cursor: pointer;
    border: 1px var(--neutral, lightgray) solid;
    border-radius: 32px;
    padding: 4px 16px;
    color: var(--fg, white);
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
}

.search-form::before {
    position: absolute;
    ;
    content: '🔍';
    top: .5rem;
    z-index: 1;
    right: 1rem;
}

.hero-h1 {
    background: linear-gradient(to bottom, var(--fg, white), var(--theme, lightgreen));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.biiig {
    font-size: 3rem;
    margin: 24px auto;

}

.hero-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 40px;

    & button {
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 1.1rem;
        background: var(--darkneutral, #222);
        color: var(--fg, white);
        border: none;
        cursor: pointer;
    }
}

.footer {
    margin: 0px auto;
    & a {
        color: var(--fg, white) !important;
    }
}

.hero-flort {
    max-width: 300px;
    max-height: 300px;
    margin: auto;
}

.landing {
    min-height: 100vh;
    display: grid;
    grid-column: 1;

    align-items: center;
    justify-content: center;
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.results {
    display: flex;
    flex-direction: column;
    max-width: 654px;
    margin: auto;
}

.result {
    padding: 4px 8px;
    margin: 16px 0px;
    background: var(--bg, black);

    & h2 {
        font-size: 1.5rem;
    }
}

.chapterSummary {
    white-space: pre-line;
    font-family: "Literata", serif;
    font-optical-sizing: auto;
    font-weight: regular;
    font-style: normal;
    padding: 8px 0px;
}


.sr-only {
    display: none;
}

.container {
    max-width: 1100px;
}

.logo {
    margin: 12px auto;

    & a {
        text-decoration: none;
    }
}

.header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--darkneutral, #111);
    padding-bottom: 16px;
}

.header {
    border-bottom: 1px var(--theme2, darkgreen) solid;

}

.header-form {
    display: flex;
    flex-direction: row;
    align-items: center;

    & form {
        background: var(--bg, black);
        border: 1px lightgray solid;
        border-radius: 32px;
        padding: 4px 16px;
        color: var(--fg, white);

        & input {
            background: var(--bg, black);
            color: var(--fg, white);
            border: none;
            cursor: pointer;
        }
    }
}

@media only screen and (min-width: 600px) {
    .results {
        margin-top: 3rem;
    }

    .logo {
        margin: 0px;
        padding-right: 16px;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        margin: 8px 0px;
        padding-bottom: 0px;

    }

    .header {
        display: grid;
        grid-template-columns: minmax(0px, 200px) 654px 1fr;
        background: var(--darkneutral, #111);
        padding: 16px 32px;

        & form {
            color: white;

            & input {
                background: var(--bg, black);
                color: white;
                cursor: pointer;
                border: 1px var(--neutral, lightgray) solid;
                border-radius: 32px;
                padding: 4px 16px;

            }
        }
    }

    .header-container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }


}