/*
    © 2023 Caedmon Jost
*/

.navbar {
    background-color: white;
    height: 2.75rem;
    padding: 0px !important;
}

body {
    background-color: black !important;
    font-family: 'Jost', sans-serif !important;
    color: white !important;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

.start {
    background: radial-gradient(132.67% 104.21% at 1.88% 7.57%, #58AA6A 0%, #4F988B 55.31%, #45748E 88.54%);
    position: relative;
    z-index: 1;
}
.start::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    z-index: -1;
    background: url(/res/img/noise.png), lightgray 0% 0% / 119.65116262435913px 119.65116262435913px repeat;
    image-rendering: pixelated;
    mix-blend-mode: soft-light;
}

.start-content {
    max-width: 50rem;
}

h1 {
    color: #FFF;
    text-shadow: 0px 4px 24px rgba(0, 0, 0, 0.30);
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 5.59375rem; /* 159.821% */
}

#swapper {
    color: #FFF;
    font-family: Quantico;
    font-size: 4.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 4.25rem;
    letter-spacing: -0.118rem;
    display: block;
    width: 100vw;
}

h1 .sub {
    color: #FFF;
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 3rem;
    line-height: 3.3rem;
    margin-left: 4rem;
}

.start-content p {
    color: #FFF;
    text-shadow: 0px 2.9777777194976807px 17.866666793823242px rgba(0, 0, 0, 0.30);
    font-family: Jost;
    font-size: 1.3rem;
    font-style: normal;
    font-weight: 300 !important;
    line-height: normal;
}

.btn.btn-start {
    color: #FFF;
    text-shadow: 0px 2.9777777194976807px 17.866666793823242px rgba(0, 0, 0, 1) !important;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.btn.btn-start > span {
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}
.btn.btn-start:hover > span, .btn.btn-start:focus > span {
    transform: translateY(-0.2rem);
}

.material-symbols-outlined.me-2 {
    transform: translateY(0.3rem);
}

.navbar-brand {
    color: #000;
    font-family: Jost;
    font-size: 1.55913rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.47819rem; /* 94.809% */
}

.brand-dot {
    color: #2178FA;
}

.start-fade {
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    0% {
        opacity: 0;
        transform: translateY(1rem);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.bouncy-shapes {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -3;
    transition: opacity 0.2s ease-in-out;
}

.bouncy-shapes svg:nth-child(1) {
    position: absolute;
    left: 7.5%;
    top: 20%;
    animation: fade 0.5s ease-in-out;
}

.bouncy-shapes svg:nth-child(2) {
    position: absolute;
    left: 12%;
    top: 70%;
    animation: fade 0.5s ease-in-out;
    animation-delay: 0.15s;
    animation-fill-mode: backwards;
}

.bouncy-shapes svg:nth-child(3) {
    position: absolute;
    left: 80%;
    top: 20%;
    animation: fade 0.5s ease-in-out;
    animation-delay: 0.3s;
    animation-fill-mode: backwards;
}

.bouncy-shapes svg:nth-child(4) {
    position: absolute;
    left: 70%;
    top: 70%;
    animation: fade 0.5s ease-in-out;
    animation-delay: 0.45s;
    animation-fill-mode: backwards;
}

.bouncy-shapes svg.bounce {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1rem);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    .bouncy-shapes {
        opacity: 0.2;
    }
}



h2 {
    color: #FFF;
    text-shadow: 0px 4px 24px rgba(0, 0, 0, 0.30);
    font-family: Montserrat;
    font-size: 3.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 5.59375rem; /* 159.821% */
}

h3 {
    color: #FFF;
    text-shadow: 0px 2.9777777194976807px 17.866666793823242px rgba(0, 0, 0, 0.30);
    font-family: Montserrat;
    font-size: 1.5875rem !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

p {
    white-space: pre-line;
}

:root {
    --items-per-row: 6;
    --gap: 4px;
    --down: -38px;
    --margin: 66px;

    @media (max-width: 800px) {
        --items-per-row: 5;
    }
    @media (max-width: 700px) {
        --items-per-row: 4;
    }
    @media (max-width: 600px) {
        --items-per-row: 3;
    }
    @media (max-width: 500px) {
        --items-per-row: 2;
    }
}

#about {
    position: relative;
}

#hex-list {

    /* position: absolute;*/
    left: 0px;
    right: 0px;
    display: grid;
    grid-template-columns: repeat(var(--items-per-row), 0fr);
    justify-content: center;
    grid-gap: var(--gap);
    transform: translateX(-5%);
    margin-bottom: 100px;

}

.item-container {
    margin-bottom: var(--down);
    transform: translateX(calc(1 - var(--margin)));
    position: relative;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
}

.item-container svg, .item-container img {
    transition: transform 0.1s ease-in-out;
}

.item-container img {
    position: absolute;
    --size: 85px;
    left: 20px;
    top: 30px;
    width: var(--size);
    height: var(--size);
    border-radius: 10px;
}

.item-container:hover, .item-container:active {
    opacity: 1;
}
.item-container:hover svg {
    transform: scale(1.05);
}
.item-container:hover img {
    transform: scale(0.9);
}
.item-container:active svg {
    transform: scale(0.95);
}
.item-container:active img {
    transform: scale(0.8);
}

@media (min-width: 801px) {
    .item-container:nth-child(12n + 1), .item-container:nth-child(12n + 2), .item-container:nth-child(12n + 3), .item-container:nth-child(12n + 4), .item-container:nth-child(12n + 5), .item-container:nth-child(12n + 6) {
        transform: translateX(var(--margin))
    }
}
@media (max-width: 800px) and (min-width:701px) {
    .item-container:nth-child(10n + 1), .item-container:nth-child(10n + 2), .item-container:nth-child(10n + 3), .item-container:nth-child(10n + 4), .item-container:nth-child(10n + 5) {
        transform: translateX(var(--margin))
    }
}
@media (max-width: 700px) and (min-width:601px) {
    .item-container:nth-child(8n + 1), .item-container:nth-child(8n + 2), .item-container:nth-child(8n + 3), .item-container:nth-child(8n + 4) {
        transform: translateX(var(--margin))
    }
}
@media (max-width: 600px) and (min-width:501px) {
    .item-container:nth-child(6n + 1), .item-container:nth-child(6n + 2), .item-container:nth-child(6n + 3) {
        transform: translateX(var(--margin))
    }
}
@media (max-width: 500px) {
    .item-container:nth-child(4n + 1), .item-container:nth-child(4n + 2) {
        transform: translateX(var(--margin))
    }
}


.modal-header {
    color: black;
}
.modal-body {
    background-color: #2a2a2a;
}