:root {
    --prim: #004545;
    --sec: skyblue;
    --background: aliceblue;
    --thr: #17141d;
    --four: #2e3033;
    --acc: crimson;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.contact {
    overflow: hidden;
}

body {
    color: var(--background);
    font-family: 'Lucida Console', Times, serif;
    font-size: medium;
    text-align: center;
    width: 100%;
    max-width: 100vw;

    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

/* Background */
.linktree {
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
        url('/images/background-linktree.webp');
}

.site {
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
        url('/images/background.webp');
    /* background: radial-gradient(crimson, skyblue); */
}

h1 {
    color: var(--acc);
    font-weight: bolder;
}

/*
body.linktree h2 {
    color: var(--sec);
}*/

h2 {
    font-size: 24px;
    color: var(--background);
}

h3 {
    color: var(--background);
}


.form {
    line-height: 250%;
    max-width: 75vw;
    
    padding: 5px;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}
.contact-form {
    margin-left: 5vw;
    margin-right: 5vw;
    max-width: 80vw;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}


span {
    font-weight: bolder;
    color: var(--acc);

}

img {
    border-radius: 25px;
    position: relative;
}

.links {
    color: var(--sec);
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}


/* IFRAME */
.iframe-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
    width: 75vw;
}

.iframe-wrapper {
    flex: 1 1 48%;
    /* Flex-grow, flex-shrink, basis – ~2 nebeneinander */
    width: 75%;
    aspect-ratio: 16 / 9;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width:480px) {
    .show-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (min-width:481px) {
    .show-mobile {
        display: none;
        visibility: hidden;
    }

    .hide-mobile {
        display: block;
    }
}

.glass {
    padding: 15px 20px;
    margin: 20px 15px;
    border-radius: 16px;
    min-height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: var(--background);

}

/* Navigation Bar */
.topnav a.active {
    background-color: var(--sec);
    color: var(--acc);
    font-weight: bolder;
}

.topnav {
    background-color: var(--thr);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.topnav a {
    display: block;
    color: var(--background);
    text-align: center;
    padding: 16px;
    text-decoration: none;
    font-size: 17px;
    margin: 0;
    border-right: 1px solid var(--four);
}

.topnav .icon {
    display: none;
    font-size: 22px;
    margin: 0;
}

@media screen and (max-width: 600px) {
    .topnav {
        flex-direction: column;
        align-items: stretch;
        margin: 0;
    }

    .topnav a {
        text-align: center;
        width: 100%;
        border-top: 1px solid var(--four);
        margin: 0;
    }

    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        display: block;
        align-self: flex-end;
        margin: 0;
    }

    .topnav.responsive a {
        display: block;
        margin: 0;
    }

    .topnav.responsive {
        display: flex;
        flex-direction: column;
        margin: 0;
    }
}

/* Buttons */
.btn {
    position: relative;
    border-style: inherit;
    transition: all 0.5s;
    z-index: 1;
    cursor: pointer;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    margin: 5px;
    text-decoration: none;
    padding: 10px 15px 10px 15px;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-prim,
.btn-wide {
    border: 2px solid var(--sec);
    background-color: transparent;
    box-shadow: 0 0 5px var(--sec), 0 0 15px var(--sec);
    color: var(--foreground);
    font-weight: bolder;
}

.btn-prim:hover,
.btn-wide:hover {
    background: var(--prim);
    box-shadow:
        0 0 5px var(--sec), 0 0 15px var(--sec), 0 0 50px var(--sec), 0 0 200px var(--sec);
    transform: scale(1.05);
}

.btn-sec {
    border: 2px solid var(--prim);
    background-color: var(--background);
    color: var(--prim);

}

.btn-sec:hover {
    transform: scale(1.05);
}

.btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px;
}

.btn-wide {
    min-width: 40%;
}


/* Social-Media- Icons */
.icon-container {
    display: flex;
    width: fit-content;
    max-height: fit-content;
    
    z-index: 1000;
    border: 2px solid var(--sec);
    border-radius: 50px;
    padding: 20px;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}

@media only screen and (min-width: 601px) {
    .icon-container {
        position: fixed;
        display: flex;
        top: 50%;
        right: 80px;
        gap: 1vw;
        transform: translateY(-50%);
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .icon-container {
        position: static;
        transform: none;
        gap: 1vw;
        margin: 20px auto;
        transform: none;
        flex-direction: row;
    }
}



.svg,
.svg-patreon-wrap {
    width: 48px;
    max-width: 10vw;
    height: 48px;
    flex-shrink: 0;
    display: block;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}
.svg-patreon-wrap {
    flex-shrink: 166556;
}

.svg-patreon {
    transform: scale(7);
    transform-origin: top left;
    pointer-events: none;
}

.svg:hover,
.svg-patreon-wrap:hover {
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .svg-patreon {
        flex-shrink: 50;
    }
}

/* Credit */
.footer-credit {
    font-size: 0.8rem;
    color: #999; /* soft, not overpowering */
    text-align: center;
    margin: 2rem 0;
    font-family: "Courier New", monospace; /* gives tech vibe */
    margin-top: 7vw;
}
.credit {
    max-height: 100px;
    margin-top: -60px;
}

/* Logo-GIF */
.logoBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px;
}

.gif-container {
    position: relative;
    width: 600px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0px;
}

.gif-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 30%;
    object-fit: cover;
}

.animated,
.static {
    filter: brightness(0) invert(100%) sepia(50%) saturate(8000%) hue-rotate(170deg) brightness(100%) contrast(100%);
}

.animated {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gif-container:hover .animated {
    opacity: 1;
}

.gif-container:hover .static {
    opacity: 0;
}


/* Hero-Gallery */
.gallery {
    display: flex;
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.swiper {
    width: 75vw;
    aspect-ratio: 16/9;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}

.swiper-wrapper {
    height: 100%;
}

.swiper:hover {
    transform: scale(1.02);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Gallery */
.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.grid-item.quad {
    grid-row: span 1;
    grid-column: span 1;
    aspect-ratio: 1/1;
}

.grid-item.portrait {
    grid-column: span 1;
    grid-row: span 2;
    aspect-ratio: 3/4;
}

.grid-item.small {
    grid-row: span 1;
    grid-column: span 3;
    aspect-ratio: 16/9;
}

.grid-item.medium {
    grid-row: span 2;
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.grid-item.large {
    grid-row: span 3;
    grid-column: span 3;
    aspect-ratio: 16/9;
}

#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
    width: 75%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(5px 5px 7px rgba(0, 0, 0, 0.6));
}

#gallery-grid img:hover {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: bold;
    color: var(--foreground);
}

.grid-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    color: var(--foreground);
}



/* Card- Carousel */

.carousel-container {
    bottom: 50px;
    margin: 0 auto;
    height: 400px;
    max-width: 100%;
    width: fit-content;
    display: flex;
    flex-direction: row;
    flex-shrink: inherit;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.card {
    display: flex;
    height: 360px;
    width: 260px;
    background-color: var(--thr);
    border-radius: 10px;
    box-shadow: -1rem 0 3rem #000;
    /*   margin-left: -50px; */
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    /*opacity: 0.8;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);*/
}

.carousel-container h3 {
    color: var(--background);
    font-weight: 300;
    position: absolute;
    left: 20px;
    top: 15px;
    display: block;
}

.carousel-container p {
    color: var(--background);
    opacity: 1;
    transition: opacity 0.6s ease-out;
    position: absolute;
    bottom: 150px;
    width: 100%;
    text-align: center;
}

.carousel-circle {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 60px);
    transition: opacity 0.6s ease-out;
}

.stroke {
    stroke: var(--background);
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    transition: 0.6s ease-out;
}

.carousel-svg {
    fill: var(--thr);
    stroke-width: 2px;
}

.bar {
    position: absolute;
    top: 100px;
    left: 20px;
    right: 20px;
    height: 5px;
}

.emptybar {
    background-color: var(--four);
    width: 100%;
    height: 100%;
}

.filledbar {
    position: absolute;
    top: 0;
    z-index: 3;
    height: 100%;
    background: var(--sec);
    background: linear-gradient(90deg, rgba(0, 154, 217, 1) 0%, rgba(217, 147, 0, 1) 65%, rgba(255, 186, 0, 1) 100%);
    transition: 0.6s ease-out;
}

.card:hover .carousel-circle {
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

.card:hover .carousel-container p {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.card:hover .carousel-circle {
    animation: svgFade 0.8s forwards;
}

@keyframes svgFade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.card:not(:first-child) {
    margin-left: -50px;
}

.card:hover {
    transform: translateY(-20px);
    transition: 0.4s ease-out;
}

.card:hover~.card {
    position: relative;
    left: 60px;
    transition: 0.4s ease-out;
}

.card:hover .filledbar {
    left: 0px;
    right: 0px;
    transition: 0.4s ease-out;
}

.card:hover .stroke {
    stroke-dashoffset: 100;
    transition: 0.6s ease-out;
}


.background-video {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    justify-content: center;
    align-self: center;
}

.entry {
    display: flex;
    justify-content: space-between;
    align-items: left;
    text-align: left;
}
.entry > h3 {
    align-items: left;
}
.role {
    margin-left: 0;
    margin-top: 5px;
}