html {
    scroll-behavior: smooth;
}
body {
    display: block;
    margin: 0;
    background-color: #08182E;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight:600;
    font-size: 18px;
    color: #78AED6; /*so I can see which I forgot to color*/
}
p {
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
	line-height: 1.6;
    margin-top: 40px;
    margin-bottom: 30px;
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #1B2A3E;
}

::-webkit-scrollbar-thumb {
    background-color: #778188;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #ADB7B8;
}
@keyframes slideInTop {
    0% {
        transform: translateY(-50%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInBottom {
    0% {
        transform: translateY(50%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    0% {
        transform: translateX(50%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*navigation bar*/
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(26, 28, 30, 0.8);
    padding: 15px 0;
    max-height: 50px;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, padding 0.3s ease;
    z-index: 99;
    /*border-radius: 0 0 40px 40px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    max-height: 40px;
}
@media only screen and (min-width: 750px) {
    .container {
        width: 95%;
        margin: auto;
    }
}

/*animation stuff starts here*/
.navbar a {
    font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
    color: #78AED6;
    text-transform: uppercase;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #78AED6;
    transition: color 0.3s ease;
}
.icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background-color: #78AED6;
    -webkit-mask: url("images/icons/logo.svg") no-repeat center; /*SVG gets inserted here because other options wouldn't work for me :| */
    mask: url("images/icons/logo.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}
.logo:hover .icon {
    background-color: #7AD6C2;
}
.logo a{
    padding-top: 3px;
    padding-right: 20px;
}
.logo:hover a {
    color: #7AD6C2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: clamp(15px, 3vw, 60px);
    margin: 0;
    padding: 0;
    padding-left: 20px;
}

.nav-links li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

/*all individual text gets colored if hovered over*/
.navbar a:hover {
    color: #7AD6C2;
}
/*creates content that serves as underline from center outwards, changes color too*/
/*not respective page because it already has underlining and it would look weird*/
.nav-links li a:not(.underlined)::after,.nav-overlay a:not(.underlined)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2.5px;
    width: 100%;
    height: 2px;
    background-color: #78AED6;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-links li a:hover::after, .nav-overlay a:hover::after {
    transform: scaleX(1);
    background-color: #7AD6C2;
}
/*underline because we are on respective page*/
.underlined::after {
    content: '';
    position: absolute;
    bottom: -2.5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #78AED6;
    transition: background-color 0.3s ease;
}
/*color change of underlining*/
.underlined:hover::after {
    background-color: #7AD6C2;
}

/*drop down overlay menu starts here*/
/*hide checkbox*/
.menu-toggle {
    display: none;
}
/*hamburger icon hidden by default*/
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    padding-right: 10px;
    z-index: 101;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #78AED6;
    border-radius: 5px;
    transition: all 0.5s ease;
}
/*responsive styles*/
@media (max-width: 750px) {
    .hamburger {
        display: flex;
    }
    .hamburger:hover  span{
        background: #7AD6C2;
    }
    .navbar .nav-links{
        display: none;
    }
    .icon, .logo {
        z-index: 101;
    }
    /*animate hamburger into X*/
    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: translate(0, 9px) rotate(45deg);
    }
    .menu-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: translate(0, -9px) rotate(-45deg);
    }
    /*show overlay when menu toggled*/
    .menu-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
    }
    .menu-toggle:not(:checked) ~ .nav-overlay {
    opacity: 0;
    }
}
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(49, 53, 56, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    gap: 40px;
}

.nav-overlay a {
    color: #78AED6;
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-30px);
    animation-fill-mode: forwards;
    animation-duration: 0.3s;
    animation-timing-function: ease;
}
/* staggered animation of overlay links */
.menu-toggle:checked ~ .nav-overlay a:nth-child(1) {
    animation-name: slideIn;
    animation-delay: 0.1s;
}
.menu-toggle:checked ~ .nav-overlay a:nth-child(2) {
    animation-name: slideIn;
    animation-delay: 0.25s;
}
.menu-toggle:checked ~ .nav-overlay a:nth-child(3) {
    animation-name: slideIn;
    animation-delay: 0.4s;
}
.menu-toggle:checked ~ .nav-overlay a:nth-child(4) {
    animation-name: slideIn;
    animation-delay: 0.55s;
}
/* keyframes for slide in animation */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*hero with lightbox rectangle*/
.hero-start, .hero-port, .hero-port-work, .hero-blog, .hero-kont {
    max-width: 100vw;
    min-width: 100vw;
    margin: 0 ;
    left: 0;
    right: 0;
    position: relative;
    display: flex;
    box-shadow: 
        inset 0 175px 125px -150px rgba(0, 0, 0, 0.5),
        inset 0 -175px 125px -150px rgba(0, 0, 0, 0.5);
}
.hero-start {
    min-height: clamp(750px, 80vw, 975px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
@media (max-width: 600px) {
    .hero-start {
        min-height: clamp(500px, 111vw, 750px);
    }
}
.hero-port, .hero-blog {
    padding-top: 70px;
    min-height: clamp(150px, 25vw, 400px);
    margin-bottom: clamp(30px, 5.2vw, 50px);
    align-items: center;
    justify-content: center;
}
.hero-port-work {
    min-height: clamp(750px, 80vw, 975px);
    margin-bottom: clamp(30px, 5.2vw, 50px);
    align-items: center;
}
.hero-kont {
    padding-top: 70px;
    min-height: clamp(1150px, 205.5vw, 1500px);
    position: relative;
    align-items: center;
    justify-content: center;
}

/*text lighting*/
.hero-start h1, .hero-port h1, .hero-port-work h1, .hero-blog h1, .hero-kont h1 {
    font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
    display: flex;
    margin-top: 0;
    margin-bottom: 0;
    gap: 0;
    padding: 0 20px 0 20px;
}
.hero-start h1 {
    font-weight: 100;
    font-size: clamp(55px, 5vw, 90px);
    text-align: center;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
}
@media (max-width: 750px) {
    .hero-start h1 {
        font-size: clamp(25px, 8.6vw, 55px);
        margin-top: 50px;
        margin-bottom: 50px;
    }
}
.hero-port h1, .hero-blog h1, .hero-kont h1 {
    font-weight: 500;
    font-size: clamp(45px, 9vw, 120px);
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    justify-content: center;
}
.hero-port-work h1 {
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
}
.hero-kont h1 {
    font-size: clamp(45px, 9vw, 120px);
    margin-bottom: 50px;
}
#spotlight span {
    color: #78AED6;
    white-space: nowrap;
    transition: color 3s ease;
}
.hero-start #spotlight span {
    padding: 0 clamp(1px, 1.2vw, 10px);
}
.hero-port #spotlight span, .hero-blog #spotlight span, .hero-kont #spotlight span {
    padding: 0 clamp(5px, 1.5vw, 15px);
}
@media (min-width: 751px) {
    #spotlight span:hover {
        color: #7AD6C2;
        transition: color 0.3s ease-in-out;
    }
}
/*this moves when hovering over certain elements*/
#light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 1000px; /*light-sphere size*/
    height: 1000px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4, 25, 33, 0.93) 0%, transparent 70%);
    mix-blend-mode: screen;
    transition: left 0.5s ease, top 0.5s ease;
    transition-delay: 0.05s;
    z-index: 0;
}
/*as soon as width <= 750px light moves to top left corner*/
@media (max-width: 750px) {
    #light {
    position: fixed;
    top: 10%;
    left: 0;
  }
}
/*exists so light doesn't make overflows*/
.light-wrapper {
    position: absolute;
    mix-blend-mode: screen;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
/*move light based on hovered element
everything only applies for desktop*/
/*for start*/
@media (min-width: 751px) {
    @media (min-width: 938px) {
        .hero-start:has(.word-1:hover) #light {
            top: 45%;
            left: 22%;
        }
        .hero-start:has(.word-2:hover) #light {
            top: 45%;
            left: 28%;
        }
        .hero-start:has(.word-3:hover) #light {
            top: 45%;
            left: 38%;
        }
        .hero-start:has(.word-4:hover) #light {
            top: 45%;
            left: 50%;
        }
        .hero-start:has(.word-5:hover) #light {
            top: 45%;
            left: 68%;
        }
        .hero-start:has(p:hover) #light {
            top: 65%;
            left: 50%;
        }
        .hero-start:has(div div a:hover) #light {
            top: 70%;
            left: 35%;
        }
    }
    /*span moves a line down so light needs adjusting*/
    @media (max-width: 937px) {
        .hero-start:has(.word-1:hover) #light {
            top: 37%;
            left: 25%;
        }
        .hero-start:has(.word-2:hover) #light {
            top: 37%;
            left: 40%;
        }
        .hero-start:has(.word-3:hover) #light {
            top: 37%;
            left: 55%;
        }
        .hero-start:has(.word-4:hover) #light {
            top: 37%;
            left: 70%;
        }
        .hero-start:has(.word-5:hover) #light {
            top: 50%;
            left: 50%;
        }
        .hero-start:has(p:hover) #light {
            top: 75%;
            left: 50%;
        }
        .hero-start:has(div div a:hover) #light {
            top: 80%;
            left: 15%;
        }
    }
    /*for portfolio*/
    .hero-port:has(span:nth-child(1):hover) #light {
        top: 60%;
        left: 28%;
    }
    .hero-port:has(span:nth-child(2):hover) #light {
        top: 60%;
        left: 33%;
    }
    .hero-port:has(span:nth-child(3):hover) #light {
        top: 60%;
        left: 40%;
    }
    .hero-port:has(span:nth-child(4):hover) #light {
        top: 60%;
        left: 45%;
    }
    .hero-port:has(span:nth-child(5):hover) #light {
        top: 60%;
        left: 50%;
    }
    .hero-port:has(span:nth-child(6):hover) #light {
        top: 60%;
        left: 55%;
    }
    .hero-port:has(span:nth-child(7):hover) #light {
        top: 60%;
        left: 60%;
    }
    .hero-port:has(span:nth-child(8):hover) #light {
        top: 60%;
        left: 65%;
    }
    .hero-port:has(span:nth-child(9):hover) #light {
        top: 60%;
        left: 72%;
    }
    /*for portfolio works*/
    .hero-port-work:has(.word-1:hover) #light {
        top: 50%;
        left: 0;
    }
    .hero-port-work:has(.backtoport:hover) #light {
        top: 50%;
        left: 100%;
    }
    @media (max-width: 1400px) {
        .hero-port-work:has(.backtoport:hover) #light {
            top: 100%;
            left: 50%;
        }   
    }
    /*for blog*/
    .hero-blog:has(span:nth-child(1):hover) #light {
        top: 60%;
        left: 45%;
    }
    .hero-blog:has(span:nth-child(2):hover) #light {
        top: 60%;
        left: 48%;
    }
    .hero-blog:has(span:nth-child(3):hover) #light {
        top: 60%;
        left: 52%;
    }
    .hero-blog:has(span:nth-child(4):hover) #light {
        top: 60%;
        left: 55%;
    }
    /*for kontakt*/
    .hero-kont #light {
        top: 12.5%;
        left: 50%;
    }
    .hero-kont:has(span:nth-child(1):hover) #light {
        top: 8%;
        left: 25%;
    }
    .hero-kont:has(span:nth-child(2):hover) #light {
        top: 8%;
        left: 30%;
    }
    .hero-kont:has(span:nth-child(3):hover) #light {
        top: 8%;
        left: 35%;
    }
    .hero-kont:has(span:nth-child(4):hover) #light {
        top: 8%;
        left: 40%;
    }
    .hero-kont:has(span:nth-child(5):hover) #light {
        top: 8%;
        left: 45%;
    }
    .hero-kont:has(span:nth-child(6):hover) #light {
        top: 8%;
        left: 50%;
    }
    .hero-kont:has(span:nth-child(7):hover) #light {
        top: 8%;
        left: 55%;
    }
    .hero-kont:has(#email-button:hover) #light {
        top: 550px;
        left: 33%;
    }
    .hero-kont:has(.social-icons:hover) #light {
        top: 750px;
        left: 33%;
    }
}
/*when hovering over select text glow box appears*/
.glow-box {
    border-top: solid transparent 2px;
    border-radius: 16px;
    margin: 0 auto;
    transition: all 0.3s;
}
.glow-box:hover {
    border-top: solid rgba(255, 255, 255, 0.1) 2px;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 10px -6px rgba(0, 0, 0, 0.25);
}



/*styles for index.html content*/
.hero-start h1 span {
    opacity: 0;
}
.hero-start span:nth-child(1) {
    animation: slideInTop 0.6s ease;
    animation-fill-mode: forwards;
}
.hero-start span:nth-child(2) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.hero-start span:nth-child(3) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.hero-start span:nth-child(4) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.hero-start span:nth-child(5) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
}
.intro {
    margin: 0 auto;
    padding: 10px 20px;
    opacity: 0;
    animation: slideInBottom 0.6s ease;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}
.intro p {
    margin: 0;
    max-width: 1000px;
    display: inline-block;
    line-height: 2;
    color: #778188;
    text-align: justify;
    font-size:  20px;
}
@media (max-width: 750px) {
    .intro p {
        font-size: clamp(16px, 2.9vw, 20px);
    }
}
.intro em  {
    color: #ADB7B8;
    font-style: normal;
}
.intro-text a {
    color: #ADB7B8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.intro-text a:hover {
    color: #7AD6C2;
}
.intro div a {
    position: relative;
    display: inline-block;
    color: #5D676D;
    text-decoration: none;
    font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
    font-size: clamp(22px, 3vh, 24px);
    font-weight: 400;
    transition: color 0.3s ease;
    margin-top: 1em;
}
.intro div a:hover {
    color: #7AD6C2;
    font-weight: 900;
}
/*about styles*/
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 100px auto;
    padding: 20px;
    flex-wrap: wrap; 
    opacity: 0;
    animation: slideInLeft 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.about-img {
    position: relative;
    margin: 20px 20px 0 20px;
    width: 250px;
    height: 250px;
    flex-shrink: 0;
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}
.circle-bg {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 280px;
    height: 280px;
    background-color: #78AED6; 
    border-radius: 50%;
    z-index: 1;
    transition: background-color 0.3s ease;
}
.about-img:hover .circle-bg {
    background-color: #7AD6C2;
}
.about-text {
    flex: 1 1 60%;
    text-align: justify;
    margin: 0 10px 50 10px;
}
.about-text h2 {
    margin: 0;
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 1.6;
    text-align: justify;
    color: #D68B52;
}
.about-text p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    color: #ADB7B8;
}
@media (max-width: 750px) {
    .about {
        flex-direction: column;
        align-items: center;
    }
    .about-text {
        flex: 1 1 100%;
        padding-top: 20px;
        text-align: left;
    }
    .about-text p {
        font-size: clamp(14px, 2.9vw, 20px);
    }
}



/*styles for portfolio.html content*/
/*animated hero spans*/
.hero-port h1 span {
    opacity: 0;
}
.hero-port span:nth-child(1) {
    animation: slideInTop 0.6s ease;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(2) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(3) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(4) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(5) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.4s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(6) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(7) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(8) {
    animation: slideInTop 0.6s ease;
    animation-delay: 0.1s;
    animation-fill-mode: forwards;
}
.hero-port span:nth-child(9) {
    animation: slideInTop 0.6s ease;
    animation-fill-mode: forwards;
}
/*image collections*/
#digital, #traditional {
    margin-bottom: 100px;
    max-width: 1240px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideInBottom 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}

.titles {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    margin-top: 10px;
    padding: 0 20px 0 20px;
}
.titles h2 {
    margin: 0;
    color: #D68B52;
    font-size: 40px;
    font-weight: 600;
}
.titles p {
    color: #778188;
    font-size: 18px;
    max-width: 1220px;
    text-align: justify;
    margin: 20px 0 20px;
    line-height: 1.5;
}
@media (max-width: 750px) {
    .titles p {
        font-size: clamp(16px, 2.9vw, 18px);
    }
}
/*wrapper, else the scroll arrow would stick to the section instead of staying at the right*/
.p-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.p-container {
    margin: 0 auto;
    height: 320px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border:solid #1B2A3E 20px;
    background-color: #1B2A3E;
    box-sizing: border-box;
    scroll-behavior: smooth;
    position: relative;
}
/*scrollbar styles explicitly for containers*/
.p-container::-webkit-scrollbar {
    height: 8px;
}
.p-container::-webkit-scrollbar-track {
    background-color: #2E3C4E;
}
.p-container::-webkit-scrollbar-thumb {
    background-color: #D68B52;
    border-radius: 4px;
}
.p-container::-webkit-scrollbar-thumb:hover {
    background-color: #f2a75b;
}

.preview {
    display: flex;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    border-radius: 10px;
}

.preview a {
    margin-right: -60px;
    position: relative;
    width: 480px; /*320px+2*80px slope*/
    height: 100%;
    display: block;
    align-items: stretch;
    z-index: auto;
    flex: 0 0 auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    background-color: #313538;
}
.preview a:last-of-type {
    margin-right: 0; /*no margin so it doesn't scroll past the end*/
}

.preview-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #FCF2ED;
    font-size: 30px;
    font-weight: 100;
    text-align: center;
    padding: 10px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 2px 6px #000;
}
.preview a:hover .preview-title {
    opacity: 1;
}
.preview a.trapezoid {
    overflow: hidden; /*when hovering over last ensures you can't scroll further because of larger image scale*/
    contain: layout paint;
}

.trapezoid.first, .trapezoid.last1, .trapezoid.last2 {
    width: 400px; /*320px+80px slope*/
}
/*trapezoids: first is always the same, then middle1 & middle2 will alternate*/
.trapezoid.first {
    clip-path: polygon(0 0, calc(100% - 80px) 0, 100% 100%, 0 100%);
}
.trapezoid.middle1 {
    clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 80px 100%);
}
.trapezoid.middle2 {
    clip-path: polygon(80px 0, 0 100%, 100% 100%, calc(100% - 80px) 0);
}
/*if middle2 is second-to-last then choose last1*/
/*if middle1 is second-to-last then choose last2*/
.trapezoid.last1 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 80px 100%);
}
.trapezoid.last2 {
    clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}

.trapezoid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: inherit;
    transition: transform 0.3s ease, filter 0s linear;
}
/*orange & scale image when hover*/
.trapezoid img:hover {
    filter: brightness(100%) saturate(100%) sepia(100%) hue-rotate(345deg) saturate(300%) brightness(70%);
    transform: scale(1.10);
}

.scroll-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 272px;
    background: linear-gradient(to left, #08182E, transparent);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}
.p-wrapper:hover .scroll-indicator {
    opacity: 1;
}
/*arrow animated*/
.arrow {
    position: absolute;
    right: -40px;
    width: 30px;
    height: 50px;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 40"><path d="M0,0 L10,20 L0,40 L5,40 L15,20 L5,0 Z" fill=\'white\'/></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 40"><path d="M0,0 L10,20 L0,40 L5,40 L15,20 L5,0 Z" fill=\'white\'/></svg>') no-repeat center / contain;
    background-color: #78AED6;
    animation: arrow-wiggle 1.5s ease-in-out infinite;
}
@keyframes arrow-wiggle {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8px);
    }
}



/*styles for respective work htmls*/
.work-content {
    display: flex;
    padding: 0 clamp(100px, 7.1vw, 150px);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
    z-index: 1;
}
.hero-port-work h1 .word-1 {
    position: absolute;
    margin: 0 auto;
    padding: 0;
    left: 2.5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(70px, 5.1vw, 100px);
    writing-mode: sideways-lr;
    word-spacing: 0.2em;
    z-index: 2;
}
/*general styles for image*/
.work-image {
    flex: 1;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 800px;
    max-height: 800px;
}
.work-image img {
    max-width: 100%;
    max-height: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.work-image p {
    font-family: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
    color: #ADB7B8;
    font-weight: 900;
    font-size: 20px;
    margin: 10px 0 0;
    text-align: center;
}
/*clickable image to zoom in*/
@media (min-width: 1401px) {
    /*baseline styles*/
    .digital-work .zoom-toggle, .traditional-work .zoom-toggle:not(.metamo .zoom-toggle) {
        display: none;
    }
    .digital-work .zoom-wrapper, .traditional-work .zoom-wrapper:not(.metamo .zoom-wrapper) {
        position: relative;
        display: inline-block;
        cursor: zoom-in;
    }
    .digital-work .zoom-wrapper img, .traditional-work .zoom-wrapper img:not(.metamo .zoom-wrapper img) {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }
    .digital-work .hover-text, .traditional-work .hover-text:not(.metamo .hover-text) {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(2px);
        color: #D68B52;
        padding: 6px 10px;
        font-size: 20px;
        border-radius: 6px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .digital-work .zoom-wrapper:hover .hover-text, .traditional-work .zoom-wrapper:not(.metamo .zoom-wrapper):hover .hover-text {
        opacity: 1;
    }
    /*overlay styling*/
    .digital-work .zoom-overlay, .traditional-work .zoom-overlay:not(.metamo .zoom-overlay) {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    .digital-work .zoom-overlay img, .traditional-work .zoom-overlay img:not(.metamo .zoom-overlay img) {
        margin-top: 40px;
        object-fit: contain;
        border-radius: 0;
    }
    .digital-work .close-button, .traditional-work .close-button:not(.metamo .close-button) {
        position: absolute;
        top: 140px;
        right: 50px;
        font-size: 54px;
        color: #78AED6;
        cursor: pointer;
        z-index: 1000;
        transition: 0.2s ease;
    }
    .digital-work .close-button:hover, .traditional-work .close-button:not(.metamo .close-button):hover {
        color: #7AD6C2;
    }
    /*show overlay when checkbox checked*/
    .digital-work .zoom-toggle:checked ~ .zoom-overlay, .traditional-work .zoom-toggle:not(.metamo .zoom-toggle):checked ~ .zoom-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    @media (min-width: 1601px) {
        .digital-work .close-button, .traditional-work .close-button:not(.metamo .close-button) {
            right: 100px;
        }
        .mstudy .close-button {
            right: 300px;
        }
        .scifi .close-button, .figure .close-button, .comic .close-button {
            right: 200px;
        }
        @media (min-width: 1801px) {
            .digital-work .close-button, .traditional-work .close-button:not(.metamo .close-button) {
                right: 250px;
            }
            .mstudy .close-button {
                right: 400px;
            }
            .scifi .close-button, .figure .close-button, .comic .close-button {
                right: 250px;
            }
        }
    }
    .mstudy .close-button, .scifi .close-button, .figure .close-button, .comic .close-button {
        top: 80px;
    }
}
@media (max-width: 1400px) {
    .digital-work .zoom-toggle, .digital-work .zoom-overlay, .digital-work .work-image .hover-text, 
    .traditional-work .zoom-toggle:not(.metamo .zoom-toggle), .traditional-work .zoom-overlay:not(.metamo .zoom-overlay), 
    .traditional-work .work-image .hover-text:not(.metamo .work-image .hover-text) {
        display: none;
    }
    .digital-work .zoom-wrapper, .traditional-work .zoom-wrapper:not(.metamo .zoom-wrapper) {
        pointer-events: none;
    }
}
@media (min-width: 1248px) {
    .digital-work .scroll-indicator, .traditional-work .scroll-indicator {
        display: none;
    }
}
/*general styles for text*/
.work-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.work-text p {
    font-size: 20px;
    line-height: 1.6;
    color: #778188;
    text-align: justify;
    margin:  0 0 10px;
}
.work-text p a {
    color: #ADB7B8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.work-text p a:hover {
    color: #7AD6C2;
}
@media (max-width: 750px) {
    .work-text p {
        font-size: clamp(14px, 2.9vw, 20px);
    }
}
.date {
    margin-top: 20px;
    color: #5D676D;
    font-size: 18px;
    font-style: italic;
}
/*portfolio link*/
.backtoport {
    position: absolute;
    margin: 0;
    padding: 0;
    right: 2.5%;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: sideways-lr;
    word-spacing: 0.15em;
    z-index: 2;
    font-size: clamp(50px, 3.7vw, 70px);
}
.backtoport a{
    color: #ADB7B8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.backtoport a:hover {
    color: #D68B52;
}
/*styles for smaller widths and mobile*/
@media (max-width: 1400px) {
    .work-content:not(.skull .work-content,.metamo .work-content) {
        flex-direction: column;
        margin: 150px 20px 75px 150px;
        max-width: 1200px;
        padding: 0 30px 0 20px;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
    .work-image:not(.skull .work-image,.metamo .work-image) {
        max-width: 800px;
    }
    .work-text:not(.skull .work-text,.metamo .work-text) {
        margin: 50px 20px 0 ;
    }
    .backtoport:not(.skull .backtoport,.metamo .backtoport) {
        position: relative;
        writing-mode: horizontal-tb;
        margin: 75px 0 0;
        font-size: 30px;
        justify-content: center;
        align-items: center;
    }
    @media (max-width: 750px) {
        .backtoport {
            font-size: clamp(23px, 6.1vw, 30px);
        }
    }
}
@media (max-width: 750px) {
    .work-content:not(.skull .work-content,.metamo .work-content) {
        flex-direction: column;
        margin: 150px 20px 75px 20px;
        padding: 0;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
}


/*all dedicated styles for different projects*/
/*click to read button*/
.zine-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #78AED6;
    background-color: transparent;
    border: 3px solid #778188;
    font-weight: 600px;
    font-size: 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.zine-button:hover {
    color: #1B2A3E;
    background: #7AD6C2;
    border: 3px solid transparent;
}
/*overlay for zine reading*/
.zine-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 999;
    overflow-y: auto;
    padding: 60px 15px;
    align-items: center;
    justify-content: center;
}
.zine-overlay:target {
    display: block;
}
.zine-overlay::-webkit-scrollbar-track {
    background-color: #2E3C4E;
}
.zine-overlay::-webkit-scrollbar-thumb {
    background-color: #78AED6;
}
.zine-overlay::-webkit-scrollbar-thumb:hover {
    background-color: #7AD6C2;
}
/*close button for zine reading*/
.zine .close-button-zine {
    position: sticky;
    top: 10px;
    left: 85%;
    margin: 0;
    font-size: 54px;
    color: #78AED6;
    text-decoration: none;
    cursor: pointer;
    z-index: 1000;
    transition: 0.2s ease;
}
@media (max-width: 1700px) {
    .zine .close-button-zine {
        left: 90%;
    }
}
@media (max-width: 1500px) {
    .zine .close-button-zine {
        left: 100%;
    }
}
@media (max-width: 1275px) {
    .zine .close-button-zine {
        left: 85%;
    }
}
@media (max-width: 900px) {
    .zine .close-button-zine {
        left: 100%;
    }
}
.zine .close-button-zine:hover {
    color: #7AD6C2;
}
/*zine pages*/
.zine-pages {
    max-width: 564px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 35px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
.zine-pages img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
/*double pages*/
.page-pair {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.single-page {
    width: 100%;
    height: auto;
}
/*for mobile double pages become single pages*/
@media (max-width: 1275px) {
    .page-pair {
        flex-direction: column;
        align-items: center;
    }
}

.skull .work-text {
    flex: 1;
    display: block;
    flex-direction: column;
    justify-content: center;
}
.skull .work-text img {
    float: right;
    max-width: 50%;
    height: auto;
    padding: 10px 0 10px 20px;
    margin-left: auto;
}
@media (max-width: 1100px) {
    .skull .work-content {
        flex-direction: column;
        margin: 150px 20px 75px 150px;
        max-width: 1200px;
        padding: 0 30px 0 20px;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
    .skull .work-image {
        max-width: 800px;
    }
    .skull .work-text {
        margin: 50px 20px 0 ;
    }
    .skull .work-text img {
        max-width: 30%;
    }
    .skull .backtoport {
        position: relative;
        writing-mode: horizontal-tb;
        margin: 75px 0 0;
        font-size: 30px;
        justify-content: center;
        align-items: center;
    }
    @media (max-width: 750px) {
        .skull .work-text img {
            max-width: 50%;
        }
    }
}
@media (max-width: 750px) {
    .skull .work-content {
        flex-direction: column;
        margin: 150px 20px 75px 20px;
        padding: 0;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1300px) {
    .metamo .zoom-wrapper img {
        max-height: 650px;
    }
}
@media (max-width: 1100px) {
    .metamo .work-content {
        flex-direction: column;
        margin: 150px 20px 75px 150px;
        max-width: 1200px;
        padding: 0 30px 0 20px;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
    .metamo .work-image {
        max-width: 800px;
    }
    .metamo .work-text {
        margin: 50px 20px 0 ;
    }
    .metamo .work-text img {
        max-width: 30%;
    }
    .metamo .backtoport {
        position: relative;
        writing-mode: horizontal-tb;
        margin: 75px 0 0;
        font-size: 30px;
        justify-content: center;
        align-items: center;
    }
    @media (max-width: 750px) {
        .metamo .backtoport {
            font-size: clamp(23px, 6.1vw, 30px);
        }
        .metamo .work-text img {
            max-width: 50%;
        }
    }
}
@media (max-width: 750px) {
    .metamo .work-content {
        flex-direction: column;
        margin: 150px 20px 75px 20px;
        padding: 0;
        gap: 0;
        justify-content: center;
        align-items: center;
    }
}
@media (min-width: 1101px) {
    /*baseline styles*/
    .metamo .zoom-toggle {
        display: none;
    }
    .metamo .zoom-wrapper {
        position: relative;
        display: inline-block;
        cursor: zoom-in;
    }
    .metamo .zoom-wrapper img {
        max-width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }
    .metamo .hover-text {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(2px);
        color: #D68B52;
        padding: 6px 10px;
        font-size: 20px;
        border-radius: 6px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .metamo .zoom-wrapper:hover .hover-text {
        opacity: 1;
    }
    /*overlay styling*/
    .metamo .zoom-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 999;
    }
    .metamo .zoom-overlay img {
        margin-top: 40px;
        object-fit: contain;
        border-radius: 0;
    }
    .metamo .close-button {
        position: absolute;
        top: 80px;
        right: 350px;
        font-size: 54px;
        color: #78AED6;
        cursor: pointer;
        z-index: 1000;
        transition: 0.2s ease;
    }
    .metamo .close-button:hover {
        color: #7AD6C2;
    }
    /*show overlay when checkbox checked*/
    .metamo .zoom-toggle:checked ~ .zoom-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    @media (min-width: 1601px) {
        .metamo  .close-button {
            right: 450px;
        }
        @media (min-width: 1801px) {
            .metamo  .close-button {
                right: 550px;
            }
        }
    }
}
@media (max-width: 1100px) {
    .metamo  .zoom-toggle, .metamo  .zoom-overlay, .metamo  .work-image .hover-text {
        display: none;
    }
    .metamo  .zoom-wrapper {
        pointer-events: none;
    }
}
/*more size adjusting*/
@media (min-width: 1401px) {
    .zine .hero-port-work h1 .word-1, .mstudy .hero-port-work h1 .word-1, .scifi .hero-port-work h1 .word-1 {
        font-size: clamp(80px, 4.5vw, 85px);
    }
}
@media (max-width: 1400px) {
    .mstudy .work-image img {
        max-width: 100%;
        max-height: 500px;
    }
    @media (min-width: 751px) {
        .zine .hero-port-work h1 .word-1, .mstudy .hero-port-work h1 .word-1, .scifi .hero-port-work h1 .word-1 {
            font-size: clamp(75px, 6.6vw, 85px);
        }
        .chest .hero-port-work h1 .word-1, .comic .hero-port-work h1 .word-1, .skull .hero-port-work h1 .word-1,
        .metamo .hero-port-work h1 .word-1, .figure .hero-port-work h1 .word-1 {
            font-size: clamp(90px, 5.2vw, 100px);
        }
    }
}
@media (max-width: 750px) {
    .hero-port-work h1 .word-1 {
        position: relative;
        writing-mode: horizontal-tb;
        margin: 0 auto;
        left: 0;
    }
    .zine .hero-port-work h1 .word-1, .mstudy .hero-port-work h1 .word-1, .scifi .hero-port-work h1 .word-1 {
        font-size: clamp(30px, 7.9vw, 40px);
    }
    .chest .hero-port-work h1 .word-1, .comic .hero-port-work h1 .word-1, .skull .hero-port-work h1 .word-1,
    .metamo .hero-port-work h1 .word-1, .figure .hero-port-work h1 .word-1 {
        font-size: clamp(35px, 9.3vw, 50px);
    }
}
/*subbox titles styling*/
.digital-work .titles h1, .traditional-work .titles h1 {
    color: #D68B52;
    font-size: 36px;
    word-spacing: 0.05em;
}
@media (max-width: 750px) {
    .digital-work .titles h1, .traditional-work .titles h1 {
        font-size: clamp(24px, 4.9vw, 36px);
    }
}



/*styles for blog.html content*/
/*animated hero spans*/
.hero-blog h1 span {
    opacity: 0;
}
.hero-blog span:nth-child(1) {
    animation: bigslideInLeft 1s ease;
    animation-fill-mode: forwards;
}
.hero-blog span:nth-child(2) {
    animation: slideInLeft 1s ease;
    animation-fill-mode: forwards;
}
.hero-blog span:nth-child(3) {
    animation: slideInRight 1s ease;
    animation-fill-mode: forwards;
}
.hero-blog span:nth-child(4) {
    animation: bigslideInRight 1s ease;
    animation-fill-mode: forwards;
}
@keyframes bigslideInLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes bigslideInRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.blog-intro {
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 100px;
    margin-top: 100px;
    opacity: 0;
    animation: slideInBottom 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
.blog-intro h2,
.blog-title h2 {
    padding: 0 20px;
}
.blog-intro h2 {
    text-align: justify;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ADB7B8;
}
.blog-title h2 {
    text-align: center;
    font-size: 50px;
    color: #D68B52;
    margin-bottom: 50px;
}
#blog-art1, #blog-art2 {
    opacity: 0;
    animation: slideInBottom 0.6s ease;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
#blog-art3 .blog-title h2 {
    margin-bottom: 5px;
}
/*list styles*/
.blog-intro ul {
    display: flex;
    flex-direction: column;
    align-items:flex-end;
    gap: 10px;
    list-style: none;
    padding: 0 20px;
    margin-top: 10px;
}
.blog-intro li a {
    text-decoration: none;
    color: #78AED6;
    font-size: 22px;
    transition: color 0.3s ease;
}
.blog-intro li a:hover {
    color: #7AD6C2;
}
/*img next to each other*/
.blog-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 30px;
}

.blog-img img {
    max-width: 100%;
    border-radius: 12px;
}
#blog-art1 img {
    max-height: 450px;
}
@media (min-width: 1870px) {
    #blog-art1 img {
        max-height: 350px;
    }
}
#blog-art2 img {
    max-height: 800px;
}
@media (max-width: 750px) {
    .blog-intro {
        margin-top: 30px;
    }
    .blog-img {
        flex-direction: column;
        align-items: center;
    }
    .blog-img img {
        height: auto;
    }
    .blog-title h2 {
        font-size: 30px;
    }
}
/*smaller text*/
.blog-text {
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
    padding: 50px;
    box-sizing: border-box;
    text-align: justify;
}
.blog-text p {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.7;
    color: #ADB7B8;
    box-sizing: border-box;
    text-align: justify;
}
@media (max-width: 750px) {
    .blog-text p {
        font-size: clamp(14px, 2.9vw, 20px);
    }
    #blog-art1 .glow-box:hover, #blog-art2 .glow-box:hover {
        border-top: solid transparent 2px;
        background-color: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }
}


/*styles for kontakt.html content*/
.outro {
    position: relative;
    margin-top: 100px;
    max-width: 700px;
    padding: 0 60px 0 60px;
    align-items: center;
    justify-content: center;
}
.outro p {
    color: #778188;
    top: 20px;
    margin: 0;
    text-align: justify;
    font-size: clamp(18px, 2.2vh, 20px);
}
.outro h2 {
    color:#ADB7B8;
    font-size: clamp(22px, 1.6vw, 26px);
    font-style: normal;
}
.last-words {
    margin-bottom: 60px;
}
.contact {
    margin-top: 30px;
}
.contact #email-button {
    color: #78AED6;
    background: transparent;
    border: 3px solid #778188;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600px;
    border-radius: 15px;
    -webkit-transition: ease-in-out;
    transition: 0.3s ease-in-out;
}
.contact #email-button:hover {
    color: #1B2A3E;
    background: #7AD6C2;
    border: 3px solid transparent;
}
.socials {
    margin-bottom: 60px;
}
.socials p {
    margin-bottom: 10px;
}
.social-icons {
    display: inline-flex;
    gap: 20px;
}
.social-icons a div {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background-color: #778188;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}
.social-icons a div:hover {
    background-color: #7AD6C2;
}
.instagram {
    background-color: #778188;
    -webkit-mask: url("images/icons/instagram.svg") no-repeat center; 
    mask: url("images/icons/instagram.svg") no-repeat center;
}
.newgrounds {
    background-color: #778188;
    -webkit-mask: url("images/icons/newgrounds.com.svg") no-repeat center; 
    mask: url("images/icons/newgrounds.com.svg") no-repeat center;
}
/*every feature only for desktop*/
@media (min-width: 751px) {
    /* animate h1 and show outro */
    .hero-kont #spotlight {
        animation: moveLeftThenUp 1.2s ease;
        animation-fill-mode: forwards;
    }
    @keyframes moveLeftThenUp {
        
        0% {
            transform: translate(0, 160%);
        }
        50% {
            transform: translate(-20%, 160%);
        }
        
        100% {
            transform: translate(-20%, 0);
        }
    }
    /* hidden by default */
    .last-words {
        animation: smallslideInLeft 0.6s ease;
        animation-delay: 0.6s;
        animation-fill-mode: forwards;
        opacity: 0;
    }
    .socials {
        animation: smallslideInLeft 0.6s ease;
        animation-delay: 0.9s;
        animation-fill-mode: forwards;
        opacity: 0;
    }
    #impressum {
        animation: smallslideInLeft 0.6s ease;
        animation-delay: 1.2s;
        animation-fill-mode: forwards;
        opacity: 0;
    }
    @keyframes smallslideInLeft {
        0% {
            transform: translateX(-10%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
/*every feature for mobile*/
@media (max-width: 750px) {
    .hero-kont h1 {
        position: relativ;
        top: 120px;
        margin-bottom: 50px;
    }
    .outro {
        position: relative;
        margin-top: 50px;;
        padding: 0 30px 0 30px;
        opacity: 1;
        transform: none;
        transition: none;
        pointer-events: auto;
    }
    .outro p {
        font-size: clamp(14px, 2.9vw, 20px);
    }
}
#impressum p {
    margin-bottom: 25px;
}
#impressum em {
    font-style: normal;
    font-size: 20px;
    color: #ADB7B8;
}



footer {
    background-color: #1B2A3E;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    column-gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}
footer p {
    color: #ADB7B8;
    font-size: 16px;
    font-weight: 100;
    margin: 0;
    letter-spacing: 1.6px;
}
footer .icon {
    min-width: clamp(40px, 3.2vw, 60px);
    min-height: clamp(40px, 3.2vw, 60px);
    background-color: #ADB7B8;
    -webkit-mask: url("images/icons/logo.svg") no-repeat center;
    mask: url("images/icons/logo.svg") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
}
@media (max-width: 750px) {
    footer {
        flex-direction: column;
        row-gap: 10px;
    }
    footer .icon {
        display: none;
    }
}
footer a {
    position: relative;
    color: #ADB7B8;
    font-size: 16px;
    font-weight: 100;
    margin: 0;
    letter-spacing: 1.6px;
    text-decoration: none;
}
footer div a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2.5px;
    width: 100%;
    height: 1px;
    background-color: #ADB7B8;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}
footer div a:hover::after {
    transform: scaleX(1);
}
/*if we are on kontakt this stays underlined*/
footer div.underlinedhere a::after {
    transform: scaleX(1);
    transition: none;
}

::selection {
  background: #68827C;
  color: white;
}