.floater-container {
     background-attachment: fixed;
    background-color: var(--background);
    background-image: url("../images/canal_map_bg.webp");
    padding: 6em 0em 4em 0em;

    background-repeat: repeat-x; /* or repeat-y */
    animation: map-animation 45s linear infinite;
}
@media screen and (max-width: 960px){
    .floater-container {
        animation: none;
        background-size: cover;
        padding-top: 0em;
    }
}

@keyframes map-animation {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: 55% 15%;
  }
  40% {
    background-position: 75% 40%;
  }
  60% {
    background-position: 45% 65%;
  }
  80% {
    background-position: 15% 35%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.floater-splash {
    align-items: center;
    display: flex;
    justify-content: right;
    margin: 0em 10% 0em 10%;
    min-height: 80vh;
    position: relative;
}
.floater-splash > img {
    aspect-ratio: 2 / 3;
    border-radius: 8%;
    filter: drop-shadow(0px 2px 4px #222);
    max-height: 80vh;
    max-width: 600px;
    width: 100%;
}
.floater {
    align-items: center;
    display: flex;
    height: 100%;
    max-width: 100%;
    padding-top: 3em;
    position: absolute;
    width: 100%;
}
.floater > div {
    background: #FFFFFF;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 0px 0px 6px #FFFFFFAA;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 640px;
    padding: 0em 2em;
    z-index: 1;
}
.floater > div > * {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
@media screen and (max-width: 960px){
    .floater-splash {
        margin: 2em 0%;
    }
    .floater-splash > img {
        border-radius: 0px 0px 48px 48px;
    }
    .floater > div > * {
        text-align: center;
    }
}

.tidbit-section {
    padding: 2em 10vw;
}

.banner-section {
    background-image: url('../images/hamedtaha-1_K74KTKke8-unsplash.webp');
    background-position: bottom;
    background-size: cover;
    text-align: center;
}
.banner-section > div {
    background: #FFFFFF;
    background: linear-gradient(0deg,rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: 0px 0px 6px #FFFFFFAA;
    padding: 10vh 10vw;
}

@property --miles {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
@property --acres {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
@property --acrefeet {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}
@property --minerinches {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.statistics-section {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    margin-top: 48px;
}
.statistics-section > div {
    aspect-ratio: 1 / 1;
    background-color: var(--secondary);
    border-radius: 10px;
    color: var(--background);
    max-width: 20vw;
    min-width: 300px;
    padding: 24px;
    position: relative;
}
.statistics-section > div > span:first-of-type {
    display: block;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 300%;
    left: 50%;
    position: absolute;
    font-weight: bold;
    text-align: center;
    top: 45%;
    transform: translate(-50%, -50%);
}
.statistics-section > div > span:last-of-type {
    bottom: 10%;
    display: block;
    font-weight: bold;
    position: absolute;
    text-align: center;
    width: calc(100% - 48px);
}
.miles > span:first-of-type {
    animation-name: numCounter_miles;
    counter-reset: num var(--miles);
}
.miles > span:first-of-type::after {
    content: counter(num);
}
.acres > span:first-of-type {
    animation-name: numCounter_acres;
    counter-reset: num var(--acres);
}
.acres > span:first-of-type::after {
    content: counter(num);
}
.acrefeet > span:first-of-type {
    animation-name: numCounter_acrefeet;
    counter-reset: num var(--acrefeet);
}
.acrefeet > span:first-of-type::after {
    content: counter(num);
}
.minerinches > span:first-of-type {
    animation-name: numCounter_minerinches;
    counter-reset: num var(--minerinches);
}
.minerinches > span:first-of-type::after {
    content: counter(num);
}

.numCounter.activate {
    animation-delay: 0.1s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    will-change: contents;
}
@keyframes numCounter_miles {
  0% {
    --miles: 0;
  }
  100% {
    --miles: 115;
        }
}
@keyframes numCounter_acres {
  0% {
    --acres: 0;
  }
  100% {
    --acres: 13187;
        }
}
@keyframes numCounter_acrefeet {
  0% {
    --acrefeet: 0;
  }
  100% {
    --acrefeet: 18343;
        }
}
@keyframes numCounter_minerinches {
  0% {
    --minerinches: 0;
  }
  100% {
    --minerinches: 9322;
        }
}
@media screen and (max-width: 1440px){
    .statistics-section {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 960px){
    .statistics-section {
        grid-template-columns: repeat(1, 1fr);
    }
}

.writing-section .side-text span {
    color: var(--primary);
    font-weight: bold;
}
@media screen and (max-width: 960px){
    .writing-section .side-text:first-of-type {
        border-bottom: 3px solid var(--secondary);
    }
}

.parallax-section {
    max-height:100vh;
    padding: 0;
    position: sticky;
    text-align: center;
    top: 0;
    z-index: -1;
}

.action-section {
    padding: 4em 0em 10vh 0em;
}
.action-section .flex-column .flex-column {
    background-color: var(--background);
    box-shadow: 2px 2px 5px #383635;
    padding: 1em;
}
.action-section p {
    max-width: calc(400px + 10vw);
}
@media screen and (max-width: 960px){
    .action-section {
        padding: 4em 0em 0em 0em;
    }
    .action-section .flex-row.pair-view {
        gap: 0em;
    }
}