* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-wrap: pretty;
}

body {
    background: #1d2724;
    font-size: calc(25px + 0.390625vw);
    font-family: Arial, sans-serif;
    color: #1d5545;
    text-align: center;
    padding: 100px 0px 0px 0px;
}

header {
    background-color: #1d5545;   
    text-align: center;
    padding: 30px 30px 30px 30px;
    width: 85%;
    margin: 0 auto;
    border-radius: 50px;
    box-shadow: 3px 3px 10px #000000;
    line-height: 2;
}

header img {
    border-radius: 250px;
    box-shadow: 3px 3px 10px #000000;
    width: 25%;
}

header h2 {
    color: #000000;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Lumierepolis', fantasy;
    margin-bottom: -20px;
}

h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 150px;
    font-family: 'Lumierepolis', fantasy;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.822);
}

.image-container + h3 {
    margin: 35px 0px 10px 0px;
}

.filter-container {
    padding: 75px 0px 125px 0px;
}

h4 {
    padding-top: 100px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.822);
    font-family: 'Lumierepolis', fantasy;
}

.filter-btn {
    padding: 10px;
    border-radius: 20px;
    background: #000000;
    color: #FFFFFF;
    font-size: 14px;
    margin: 5px;
    cursor: pointer;
}

.filter-btn:hover {
    animation: shake 1.25s;
    animation-iteration-count: infinite;
    filter: drop-shadow(16px 16px 20px red) invert(75%);
}

.filter-btn.active {
    filter: invert(75%);
}

.location-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    overflow-x: auto;
}

.location-btn {
    padding: 8px 12px;
    border-radius: 15px;
    background: #000000;
    color: #FFFFFF;
    font-size: 12px;
    cursor: default;
    margin: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    white-space: nowrap;
}

.location-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    flex-shrink: 0;
}

.location-icon:hover {
    animation: shake 1.25s;
    animation-iteration-count: infinite;
    filter: drop-shadow(16px 16px 20px red) invert(75%);
}

.location-btn span {
    flex: 1;
    text-align: left;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.logo:hover {
    animation: shake 1.25s;
    animation-iteration-count: infinite;
    filter: drop-shadow(16px 16px 20px red) invert(75%);
}

.logo {
    display: inline-block;
    vertical-align: middle;
    height: 30px;
    width: auto;
    margin: 0;
    object-fit: contain;
}

.main-image {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    border-radius: 100px;
    padding: 5px;
    background-clip: padding-box;
    background:
      linear-gradient(180deg,
        #2b9aa4 0%,
        #805c00 33%,
        #4e6e39 66%,
        #007f63 100%
      )
}

.hidden {
    display:none !important;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

hr {
    border-width: 3px;
    border-image-slice: 1;    
    border-image-source: linear-gradient(to left, #EB7D5B, #EBE367, #AB8AEB, #73EBCB);
    margin: 0px 0px 20px -11px;
}

a {
    color: #31695A;
    text-decoration: none;
    text-shadow: 3px 3px 5px #3b3b3b;
    font-weight: 600;
}

footer {
    display: block;
    font-family: 'Lumierepolis', fantasy;
    letter-spacing: 5px;
    font-weight: 900;
    text-align: center;
    bottom: 0%;
    max-width: 550px;
    color: #1d5545;
    margin: 100px auto auto auto;
    padding: 30px 30px 30px 30px;
}

footer a {
    margin: 0 0.5rem;
    letter-spacing: 2px;
}

@font-face { /*  Royalty free commercial use font attribution https://fontesk.com/bestermind-font/ */
    font-family: 'Lumierepolis';
    src: url('fonts/Lumierepolis.ttf');
    font-style: normal;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding: 0px;
    }

    header img {
        width: 85%;
    }

    h3 {
        padding-bottom: 25px;
    }

    .main-image {
        width: 80%;
        margin-top: 25px;
    }

    .main-image.shrink {
        max-width: 95%;
    }

    .container {
        scroll-snap-type: y mandatory;
        overflow-y: auto;
        height: 100vh;
    }

    section:has(> .content-container:empty) {
        display: none;
    }

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

    .image-links {
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 0.25rem;
        align-self: center;  
    }
    
    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .logo {
        height: 25px;
    }
    
    section {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        overflow: visible;
        gap: 0;
        top: 0;
        flex-shrink: 0;
    }

    .content-container {
        max-height: 100vh;
        align-content: center;
        justify-items: center;
        text-align: center;
    }
}