.special-section {
    background-color: #121212;
    color: #fff;
    padding: 15px;
    margin-top: 100px;
    border-radius: 10px;
    box-sizing: border-box;
    scroll-margin-top: 100px;
    height: 40dvh;
    min-height: 210px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.special-section::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0%;
    left: 0%;
    margin-top: -4px;
    margin-left: -4px;
    translate: -50%, -50%;
    z-index: -1;
    padding: 4px;
    border-radius: 10px;
    background-image: conic-gradient(from var(--angle), var(--primary),color-mix(in srgb, var(--primary) 40%, #121212 60%),var(--primary),color-mix(in srgb, var(--primary) 40%, #121212 60%), var(--primary));
    animation: 3s spin linear infinite;
}
.special-section img {
    float: left;
    margin-right: 15px;
    border-radius: 10px;
    object-fit: cover;
    width: auto;
    height: 100%;
}
.bio-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    line-height: clamp(1.2rem, 2vw, 1.2rem);
    font-size: clamp(0.85rem, 2vw, 1.5rem);
    text-align: center;
}
.bio-text p:nth-child(1) {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: bolder;
    border-top: var(--primary) solid 4px;
    border-bottom: var(--secondary) solid 4px;
    outline-offset: 10px;
    text-wrap: balance;
    clip-path: shape(
        from 0% 5px,
        line to 40% 5px,
        line to 40% 0%,
        line to 100% 0%,
        line to 100% calc(100% - 5px),
        line to 65% calc(100% - 5px),
        line to 65% 100%,
        line to 0% 100%,
        line to 0% 0%,
        close
    );
    padding-left: 20px;
    padding-right: 25px;
}
.bio-text p:nth-child(2) {
    margin-top: -15px;
}

section {
    /* background-color: transparent !important; */
}
.section-content {
    display: block;
    align-items: center;
    margin-top: -15px;
    margin-bottom: 15px;
    background-color: #fff;

    flex: 1 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 15px;
    object-fit: cover;
}
section.dark-mode .slides-container, section.dark-mode .slide, section.dark-mode .section-content {
    background-color: #333;
    color:#fff;
}
section.dark-mode a {
    color: var(--fourth);
}
section.dark-mode .slide-content {
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
}
section img {
    object-fit: none;
    border: none;
    width: 50%;
    height: auto;
    object-fit: contain;
}
section.active .section-content {
    max-height: 67.5dvh;
}
section.active .button-circle {
    background-color: #fff;
}
section.active .slider {
    padding-top: 0dvh;
}
section.active .slider-nav {
    display: flex;
}
section ::-webkit-scrollbar {
    display: none;
}

/* h1 {
    height: 7.5dvh;
    min-height: 50px;
    align-content: center;
    cursor: pointer;
    color: var(--primary);
}
h1:hover {
    color: var(--secondary);
}
h1.active {
    color: var(--secondary)
} */

.slide-content {
    flex: 1 0 100%;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    gap: 15px;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
}
.slide-content a {
    background-color: var(--primary);
    color: var(--fourth);
    font-size: large;
    border-radius: 10px;
    padding: 2px;
    padding-left: 6px;
    padding-right: 6px;
    text-decoration: none;
}
.slide-content a:hover {
    background-color: var(--secondary);
    text-decoration: underline;
}

video {
    top: -5dvh;
    left: 0;
    width: auto;
    height: auto;
    max-height: 55dvh;
    max-width: 100%;
    object-fit: cover;  /* fills the slide, crops edges */
    z-index: 0;
    border: black 4px solid;
    border-radius: 10px;
    box-sizing: border-box;

    background-color: #333;
    object-fit: fill;
}

.left, .right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
}
.left img, .right img {
    margin: 15px;
    width: 50%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    max-height: 35dvh;
    border-radius: 10px;
    animation: fade-in linear;
    animation-timeline: view(90% 0px);
}
.top-text {
    font-size: clamp(1.5rem, calc(1.5vw + 1.5vh), 4rem);
    text-align: center;
    margin-top: 10vh;
}
.left .bottom-text, .right .bottom-text {
    font-size: calc(1vw + 1vh);
    text-align: center;
}
.left .top-text, .right .top-text {
    margin-top: 0;
}

.section-description {
    background-color: #333;
    color: white;
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
    padding: 15px;
    font-size: larger;
}

.secret-link {
    border: 4px var(--primary) solid;
    background-color: #333 !important; 
    color: var(--primary) !important;
    justify-self: center !important;
}
.secret-link:hover {
    border-color: var(--secondary);
    color: var(--secondary) !important;
}

.left-navBtn, .right-navBtn {
    font-size: 1.75rem;
    color: var(--primary);
    margin-top: -13px;
    cursor: pointer;
}
.left-navBtn:hover, .right-navBtn:hover {
    opacity: 1;
    color: var(--secondary);
}
.left-navBtn.active, .right-navBtn.active {
    visibility: hidden;
}

article p {
    font-size: max(calc(0.55vw + 0.55vh), 0.9rem);
}
hr.gamejam-seperator {
    border: 2px solid #333;
    width: 100%;
}
section.dark-mode hr.gamejam-seperator {
    border: 2px solid var(--primary);
}

.video-container {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 90%;
}
.video-container video{
    flex: 1;
    width: 25%;
    margin: 0 5px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.maps-grid {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    width: 90%; 
    margin-top: 15px; 
    gap: 15px;
    margin-bottom: 15px; 
    align-items: start; 
    justify-items: start;
}
.maps-grid img {
    width: 100%;
    min-width: 0px;
    min-height: 0px;
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    border-radius: 15px;
    animation: fade-in linear;
    animation-timeline: view(90% 0px);
}

.carousel {
    width: 95%;
    display: flex;
    overflow-x: auto;
    flex-shrink: 0;
    min-height: 7em;
    pointer-events: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.carousel-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;  
    padding-right: 1em !important;
}
.carousel-group.active {
    animation: scroll 80s linear infinite;
}
.card {
    flex: 0 0 5em;
    height: 5em;
    padding: 1em !important;
    background-color: var(--primary);
    font-size: 3rem;
    border-radius: 15px;
    text-align: center;
    align-content: center;
}
.carousel-group img {
    flex: 0 0 5em;
    height: 5em;
    font-size: 3rem;
    text-align: center;
    align-content: center;

    aspect-ratio: 1/1;
    border-radius: 15px;    
}

.assorted-gallery {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    justify-items: center;
    gap: 15px;
}
.assorted-gallery img {
    animation: fade-in linear;
    animation-timeline: view(90% 0px);
}

@media screen and (max-width: 1100px) {
    .special-section { 
      margin-top: 25px;
      margin-bottom: 100px;
    }
    .slide-content {
      flex-direction: column;
    }
}
@media screen and (max-width: 750px){
    .left {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    }
    .right {
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .left-navBtn, .right-navBtn {
    display: none;
    }

    .assorted-gallery {
    display: flex;
    flex-direction: column;
    }
    .carousel-group img {
    all: unset;
    flex: 0 0 5em;
    height: 5em;
    font-size: 3rem;
    text-align: center;
    align-content: center;

    aspect-ratio: 1/1;
    border-radius: 15px;    
    }

    .maps-grid {
    grid-template-columns: repeat(2, 1fr); 
    }

    .video-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .video-container video{
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 575px) {
    .special-section { 
      flex-direction: column;
      height: auto;
      align-items: center;
    }
    .special-section img {
      height: auto;
      width: 50%;
    }
    .slide {
        flex-direction: column;
    }
} 

@keyframes fade-in {
    from {scale: .8; opacity: 0;}
    to {scale: 1; opacity: 1;}
}
@keyframes scroll {
    from {translate: 0;}
    to {translate: -100%;}
}