:root {
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-size: 16px;
    font-family: 'Lato', 'Helvetica', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #fefdfc;
    overflow-x: hidden;
}

header {
    position: absolute;
    z-index: 100;
}

header a {
    color: #000000;
    text-decoration: none;
}

section {
    margin: 0;
    height: 100%;
    min-height: 600px;
    background-image: url(media/light-paper-fibers.png);
}

h1 {
    font-family: 'Bitter', Optima, Times, serif;
    font-size: 2.4rem;
    padding: 0;
    margin: 0;
}


h3 {
    padding: 0;
    margin: 0;
}

p {
    padding: 0;
    margin: 0;
}

footer {
    background-color: #6fe1a8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#loader-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    row-gap: 2em;
    color: #000000;
    align-items: center;
    justify-content: center;
    background-color: #6fe1a8;
    overflow: hidden;
    position: absolute;
    z-index: 1000;
}

#custom-loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, #000000 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, #000000);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: s3 1s infinite linear;
}

@keyframes s3 {
    100% {
        transform: rotate(1turn)
    }
}

#hamburger-icon {
    margin: 20px;
    position: relative;
    z-index: 1000;
    cursor: pointer;
}

#hamburger-icon .bar {
    width: 35px;
    height: 3px;
    background-color: #000000;
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 2px;
}


.open #bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.open #bar2 {
    opacity: 0;
}

.open #bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}

.open .header-menu {
    transform: scaleX(1);
}

#header-nav {
    display: block;
}

.header-menu {
    display: flex;
    transform: scaleX(0);
    transform-origin: left;
    flex-direction: column;
    row-gap: 20px;
    position: fixed;
    width: 100%;
    background-color: #fefdfc;
    transition: 0.4s;
    top: 0;
    right: 0;
    height: 100%;
    padding: calc(60px + 1em) 1em 1em 2em;
    z-index: 100;
    align-items: center;
}

#header-pages {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    text-align: center;
}

#header-pages a {
    scale: 1;
    transition: 0.2s;
}

#header-pages a:hover {
    scale: 1.05;
    transition: 0.2s;
}

.no-display {
    display: none;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.5s;
    -webkit-animation: fadeIn 0.5s;
    -moz-animation: fadeIn 0.5s;
    -o-animation: fadeIn 0.5s;
    -ms-animation: fadeIn 0.5s;
}

.fade-out {
    animation: fadeOut 0.5s;
    -webkit-animation: fadeOut 0.5s;
    -moz-animation: fadeOut 0.5s;
    -o-animation: fadeOut 0.5s;
    -ms-animation: fadeOut 0.5s;
}

.background-map {
    width: min(40%, 300px);
}

.background-text-arrow-button {
    display: flex;
    flex-direction: row;
    background: none;
    border: none;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    font-size: 1rem;
    cursor: pointer;
}

.background-text-arrow-button p {
    text-decoration: none;
}

.disabled {
    cursor: not-allowed;
}

.disabled p {
    text-decoration: underline;
}

.native-reason {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 36px;
    align-items: center;
    justify-content: center;
    max-width: max(24vw, 200px);
}

.native-reason i {
    font-size: 6rem;
}

.invasive-reason {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 20px;
    align-items: center;
    justify-content: center;
    max-width: max(20vw, 200px);
}

.invasive-reason i {
    font-size: 6rem;
}

.main-carousel {
    height: max-content;
    width: 80%;
}

.carousel-cell {
    height: max-content;
    width: 100%;
    margin-right: 20px;
}

.invasive-cell {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
    column-gap: 60px;
    height: max-content;
    padding-bottom: 20px;
}

.invasive-cell img {
    max-width: 35%;
}

.invasive-cell-text {
    max-width: 50%;
    height: max-content;
}

.search-category {
    padding: 0;
    margin: 0;
}

.search-category li {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.search-tag {
    padding: 2px 8px 2px 8px;
    border-radius: 1000px;
}

.native-card {
    background-color: #ffffff;
    box-shadow: 1px 2px 4px #00000040;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 20px;
    width: min(240px, 80vw);
    height: min(284px, 84vw);
}

.native-card img {
    width: 100%;
    height: 50%;
    border-radius: 6px 6px 0px 0px;
    object-fit: cover;
}

.tags {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.tags li {
    display: inline-block;
    margin: 2px;
    padding: 2px 6px 2px 6px;
    border-radius: 1000px;
}

.native-purpose {
    background-color: #fdc495;
}

.native-season {
    background-color: #c7fb87;
}

.volunteer-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 40px;
    justify-content: center;
    align-items: center;
}

.volunteer-card img {
    width: min(240px, 80vw);
}

.volunteer-card div {
    max-width: max(60vw, 300px);
}

.socials {
    list-style-type: none;
    padding: 0;
}

.socials li {
    display: inline-block;
    margin-right: 20px;
}

.socials li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
    color: #000000;
    text-decoration: none;
}

.explore-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: max-content;
    row-gap: 20px;
}

.explore-location {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
    width: 100%;
}

.explore-location img {
    width: 80%;
}

.location-map {
    height: 400px;
    width: 80%;
}

#main-content {
    opacity: 0;
}

#landing {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(media/field-overlay.jpg);
    background-size: cover;
    background-color: #4b2a1f;
    position: relative;
}

#landing-text {
    padding-left: 12vw;
    padding-right: 16vw;
}

#landing-title {
    font-size: 5.6rem;
    color: #FFFFFF;
    font-style: italic;
    font-weight: var(--font-black);
    text-shadow: 0px 4px 4px #00000040;
}

#landing-subtitle {
    font-size: 2rem;
    color: #FFFFFF;
    font-weight: var(--font-semibold);
    text-shadow: 0px 4px 4px #00000040;
    text-align: left;
}

#landing-tab {
    background-image: url(media/light-paper-fibers.png);
    background-color: #fefdfc;
    width: calc(2 * max(8vw, 80px));
    height: max(8vw, 80px);
    border-radius: 50% / 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: var(--font-bold);
}

#background {
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    column-gap: 20px;
    row-gap: 20px;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
}

#background-text {
    max-width: max(50vw, 300px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 20px;
}

#background-text-arrow {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

#timer {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
}

#countdown ul {
    padding: 0;
}

#countdown li {
    display: inline-block;
    font-size: 1.5em;
    list-style-type: none;
    padding: 1em;
    text-transform: uppercase;
}

#countdown li span {
    display: block;
    font-size: 4.5rem;
}

#timer-text {
    text-align: left;
    padding-left: 10vw;
    padding-right: 10vw;
}

#why-native {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    height: max-content;
}

#why-native h1 {
    text-align: center;
}

#native-reasons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 50px;
    column-gap: 50px;
}

#native-reason-i1 {
    color: #dc5c00;
}

#native-reason-i2 {
    color: #1e8aaf;
}

#native-reason-i3 {
    color: #2e9728;
}

#native-reason-i4 {
    color: #eb3761;
}

#why-not-invasives {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    min-height: max-content;
}

#why-not-invasives h1 {
    text-align: center;
}

#invasive-reasons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 40px;
    column-gap: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
}

#invasive-reason-i1 {
    color: #750014;
}

#invasive-reason-i2 {
    color: #071c4a;
}

#invasive-reason-i3 {
    color: #0f450c;
}

#why-not-invasives-note {
    width: 80%;
}

#invasive-examples {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    height: max-content;
    row-gap: 20px;
}

#invasive-examples h1 {
    text-align: center;
}

#choose-native {
    padding: 50px;
    height: max-content;
}

#choose-native h1,
#choose-native h2 {
    text-align: center;
}

#native-search {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 20px;
    padding-top: 20px;
}

#search {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 20px;
}

#native-search-input {
    width: 100%;
    padding: 4px 8px 4px 8px;
    font-size: 1rem;
    font-family: 'Lato', 'Helvetica', Calibri, 'Trebuchet MS', sans-serif;
}

#nil-message {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    display: none;
}

#native-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    width: min(max-content, 100%);
}

#volunteer {
    padding: 50px;
    height: max-content;
}

#volunteer h1,
#volunteer h2 {
    text-align: center;
}

#volunteer-cards {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#explore-and-educate {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 40px;
    height: max-content;
}

#explore-and-educate h1,
#explore-and-educate h2 {
    text-align: center;
    margin: 0;
}

#references {
    display: flex;
    flex-direction: column;
    padding: 50px;
    height: max-content;
    text-align: left;
}

#references h1 {
    text-align: center;
}

#references-text {
    margin-top: 40px;
}

#final-quote {
    display: flex;
    flex-direction: column;
    padding: 60px;
    text-align: center;
    justify-content: center;
    align-items: center;
    row-gap: 20px;
}

#quote {
    font-size: 3.2rem;
    width: max(320px, 60vw);
    text-align: left;
}

@media screen and (max-width: 640px) {

    html,
    body {
        font-size: 12px;
    }

    #landing-text {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 860px) {
    #background-text {
        max-width: 80vw;
    }

    #background-map {
        height: 50%;
    }
}

@media only screen and (orientation: portrait) {
    #background-text {
        max-width: 80vw;
    }

    #background-map {
        height: 50%;
    }
}

@media screen and (max-height: 600px) {
    #landing {
        padding-bottom: max(8vw, 80px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-ms-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}