/* abel-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: 'Abel';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/abel-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: Helvetica, Verdana, Arial, sans-serif;
    font-size: 1.2rem;
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}
a:hover {
    color: var(--secondary);
}

h1, h2, h3, h4, h5 {
    font-family: 'Abel', 'Times New Roman', serif;
}

.invert-color {
    background-color: var(--primary);
    color: var(--background);
}
.invert-color h1, .invert-color h2, .invert-color h3, .invert-color h4, .invert-color h5 {
    color: var(--background);
}

.button {
    background-color: var(--background);
    border: 2.5px solid var(--secondary);
    border-radius: 12px;
    color: var(--secondary);
    cursor: pointer;
    display: inline-block;
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0.5em 0.5em;
    padding: 1em 2em;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    width: fit-content;
}
.button:hover {
    background-color: var(--secondary);
    border-color: var(--highlight);
    color: var(--background);
}
.glyphic {
    align-items: center;
    display: flex;
    gap: 1em;
    justify-content: space-around;
}
.glyphic > img {
    background-color: var(--secondary);
    border: 5px solid var(--secondary);
    border-radius: 100%;
    height: 1em;
    transition: all 0.25s ease-in-out;
    width: 1em;
}
.glyphic:hover > img {
    transform: rotate(45deg);
}
@media screen and (max-width: 960px){
    .button {
        padding: 1em;
    }
}

@media screen and (min-width: 961px){
    .mobile-only {
        display: none;
    }
}
@media screen and (max-width: 960px){
    .mobile-hide {
        display: none;
    }
}

.center {
    text-align: center;
}
.flex-center {
    align-items: center;
    justify-content: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-gap {
    gap: 20px;
}
.flex-row {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}

@media screen and (max-width: 960px) {
    .center-mobile {
        text-align: center;
    }
}

.padded-sides {
    padding-left: 5vw;
    padding-right: 5vw;
}
.padded-up {
    padding-top: 5vh;
}
.padded-down {
    padding-bottom: 5vh;
}

.text-column {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    max-width: 800px;
    padding: 2em 1em;
}

.pretitle {
    color: var(--secondary);
    display: block;
    font-family: 'Abel', sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    margin: 1em 0em;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 3rem;
}
@media screen and (max-width: 960px) {
    .grid-3 {
        grid-template-columns: 100%;
    }
}
.grid-3 > div {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 30px 0 rgba(28, 26, 51, 0.10);
    color: var(--text);
    padding: 10%;
    position: relative;
}
.grid-3 h3 {
    color: var(--text);
    margin: 0;
}

.side-by-side {
    overflow: hidden;
    padding: 0;
    position: relative;
    text-align: center;
}
.side-by-side > div {
    max-width: 50%;
    min-height: 400px;
    order: 1;
    width: 100%;
}
.side-by-side .side-text {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2em 0em;
}
.side-by-side .side-text p, .side-by-side .side-text ul {
    align-self: flex-start;
    padding: 0 5vw;
    text-align: left;
}
.side-by-side .side-image {
    line-height: 0;
    min-height: unset;
}
.side-by-side .side-image img {
    width: 100%;
}
@media screen and (max-width: 960px) {
    .side-by-side>div {
        max-width: 100%;
    }

    .side-by-side .side-image {
        order: 0;
    }
}

.flex-row.pair-view {
    align-items: center;
    gap: 2em;
    justify-content: center;
}
.flex-row.pair-view > div {
    display: flex;
}
.pair-view .flex-column {
    align-items: center;
    justify-content: center;
}
.pair-view .flex-column .flex-column {
    background-color: #fbfef6;
    box-shadow: 2px 2px 5px #383635;
    padding: 1em;
}
.pair-view p, .pair-view ul {
    max-width: calc(400px + 10vw);
}
.pair-view img {
    border-radius: 40px;
    filter: drop-shadow(2px 4px 6px black);
    width: 100%;
}
@media screen and (max-width: 960px){
    .flex-row.pair-view {
        gap: 0em;
    }
    .pair-view img {
        border-radius: 0;
        filter: unset;
    }
}

/* Accordion checkboxes */
.tab {
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    position: relative;
}
.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
.tab_content {
    border-bottom: 2px solid var(--primary);
    max-height: 0;
    overflow: hidden;
    transition: none;
}
.tab input:checked ~ .tab_content {
    max-height: 200vh;
    transition: all 0.35s ease-in-out;
}

.accordion {
    color: var(--primary);
    border: 2px solid;
    border-radius: 0.5rem;
    overflow: hidden;
}
.tab_label,
.tab_close {
    align-items: center;
    background: var(--primary);
    color: var(--background);
    cursor: pointer;
    display: flex;
}
.tab_label {
    justify-content: space-between;
    padding: 1rem;
}
.tab_label img {
    transform: rotate(0deg);
    transition: all 0.35s;
    width: 2em;
}
.tab input:checked + .tab_label img {
    transform: rotate(180deg);
}
.tab_content p {
    margin: 0;
    padding: 1rem !important;
}
.tab_close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}
.accordion-radio {
    --theme: var(--secondary);
}

@media screen and (max-width: 960px) {
    .tab {
        max-width: 95%;
    }
}
/* END Accordion checkboxes */


footer {
    background: var(--primary);
    color: var(--background);
    gap: 2em;
    justify-content: center;
    padding: 24px;
    position: relative;
}

footer h2 {
    font-size: 1.25em
}

footer h2,
footer a {
    color: var(--background)
}

@media screen and (max-width:1024px) {
    
}

.review-section {
    padding: 10vh 0vh;
    text-align: center;
}
.review-section .review-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.review-section blockquote {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 300px;
    text-align: center;
}
.review-section blockquote p:first-of-type {
    background-color: var(--background);
    border-radius: 12px;
    color: var(--text);
    margin-bottom: 0px;
    min-height: 12em;
    padding: 1em;
    text-align: left;
}
.review-section blockquote p:nth-of-type(2) {
    font-weight: bold;
}
.review-chat-border {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--background); /* This creates the downward pointing arrow */
}
@media screen and (max-width: 960px){
    .review-section blockquote {
        animation-delay: 0 !important;
        margin-left: 0;
        margin-right: 0;
    }
    .review-section blockquote p:first-of-type {
        min-height: unset;
    }
}


/* Animations */
/* Critical CSS contains initial delay-animation pause. */
.delay-animation.visible {
    opacity: 1;
}
.activate {
    animation-play-state: running;
}
.fadeUp.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeUp;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform;
}
@keyframes fadeUp {
  0% {}
  100% {
        transform: translateY(0px);
        opacity: 1;
        }
}

.fadeDown.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeUp;
    opacity: 0;
    transform: translateY(-20px);
    will-change: transform;
}
@keyframes fadeUp {
  0% {}
  100% {
        transform: translateY(0px);
        opacity: 1;
        }
}

.fadeLeft.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeLeft;
    opacity: 0;
    transform: translateX(20px);
    will-change: transform;
}
@keyframes fadeLeft {
  0% {}
  100% {
        transform: translateX(0px);
        opacity: 1;
        }
}

.fadeRight.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: fadeRight;
    opacity: 0;
    transform: translateX(-20px);
    will-change: transform;
}
@keyframes fadeRight {
  0% {}
  100% {
        transform: translateX(0px);
        opacity: 1;
        }
}


.expanding-divider {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    display: block;
    width: 0%;
}
.expanding-divider.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.expanding-divider.exdiv10.activate {
    animation-name: exdiv10;
}
@keyframes exdiv10 {
  0% {}
  100% {
        opacity: 1;
        width: 10%;
        }
}
.expanding-divider.exdiv25.activate {
    animation-name: exdiv25;
}
@keyframes exdiv25 {
  0% {}
  100% {
        opacity: 1;
        width: 25%;
        }
}
.expanding-divider.exdiv50.activate {
    animation-name: exdiv50;
}
@keyframes exdiv50 {
  0% {}
  100% {
        opacity: 1;
        width: 50%;
        }
}
.expanding-divider.exdiv100.activate {
    animation-name: exdiv100;
}
@keyframes exdiv100 {
  0% {}
  100% {
        opacity: 1;
        width: 100%;
        }
}


/* See Settlers Irrigation for implementing this animation */
.numCounter.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    will-change: contents;
}
@keyframes numCounter_value {
  0% {
    --value: 0;
  }
  100% {
    --value: 100;
        }
}