@font-face {
    font-family: 'FiraCode';
    src: url(fonts/Fira_Code/FiraCode-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'Karla';
    src: url(./fonts/Karla/Karla-VariableFont_wght.ttf);
}

:root {
    --max-width: 1440px;
    --content-offset: 96px;
    --primary-background: #1C1C1C;
    --secondary-background: #08463B;
    --gradient-background: rgba(8, 70, 59, 0.51);
    --primary-text: #fff;
    --primary-accent: #D9D9D9;
    --secondary-text: #3DCFB6;
    --secondary-text-50percent: rgba(61, 207, 182, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', 'Courier New', monospace;
    background-color: var(--primary-background);
    color: var(--primary-text);
}

h2 {
    font-family: 'FiraCode', 'Courier New', monospace;
}

h3 {
    font-family: 'FiraCode', 'Courier New', monospace;
}

h4 {
    font-family: 'FiraCode', 'Courier New', monospace;
}

.container_content_limit {
    max-width: calc(var(--max-width) - (var(--content-offset) * 2));
    margin: 120px auto;
}

a {
    text-decoration: none;
    color: var(--primary-text);
}

#hero_wrapper {
    position: relative;
    overflow: hidden;
    height: 100dvh;
    background: linear-gradient(to bottom, var(--primary-background) 0%, transparent 10%),
        linear-gradient(to left bottom, var(--secondary-background) 0%, var(--primary-background) 50%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.container {
    display: flex;
    max-width: calc(var(--max-width) - (var(--content-offset) * 2));
    margin: 0 auto;
}

#mobile_nav {
    display: none;
}

#overlay_mobile_nav {
    display: none;
}

/* #region svg logo*/

.logo-svg {
    cursor: pointer;
}


.logo-svg .logo-text,
.logo-svg .logo-icon {
    transition:
        fill 0.25s ease,
        stroke 0.25s ease;

    stroke: transparent;
}

.logo-svg .logo-text {
    fill: #FFFFFF;
    stroke-width: 1px;
}

.logo-svg .logo-icon {
    fill: #3DCFB6;
    stroke-width: 1.5px;
}

.logo-svg:hover .logo-text {
    fill: transparent;
    stroke: #FFFFFF;
}

.logo-svg:hover .logo-icon {
    fill: transparent;
    stroke: #3DCFB6;
}

/* #endregion*/



/* #region header */

#container_header {
    height: 96px;
    align-items: center;
}

/* #region language switch */
#switch_container {
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 84px;
    height: 28px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-family: sans-serif;
    transition: 0.4s;
    border: 1px solid var(--secondary-text);
}

.slider::before {
    content: "";
    position: absolute;
    height: 28px;
    width: 44px;
    left: -1px;
    bottom: -1px;
    background-color: var(--secondary-text);
    border-radius: 40px;
    transition: 0.4s;
    z-index: 1;
}

#lang-toggle-desktop:checked+.slider::before,
#lang-toggle-mobile:checked+.slider::before {
    transform: translateX(40px);
    background-color: var(--secondary-text);
}

.switch_text {
    z-index: 2;
    transition: 0.4s;
}

#lang-toggle-desktop:checked+.slider .text-en,
#lang-toggle-mobile:checked+.slider .text-en {
    color: var(--secondary-text-50percent);
}

#lang-toggle-desktop:not(:checked)+.slider .text-de,
#lang-toggle-mobile:not(:checked)+.slider .text-de {
    color: var(--secondary-text-50percent);
}

/* #endregion */

#menu_elements {
    padding-left: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#menu_list {
    list-style: none;
    display: flex;
    gap: 24px;
}

#menu_list li {
    font-size: 20px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    padding-bottom: 8px;
    display: inline-block;
    color: var(--primary-text);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-text);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-text);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* #endregion */

#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

/* #region main */

main {
    display: flex;
    flex-grow: 1;
}

h2 {
    font-size: clamp(1.375rem, 1.579vw + 1.079rem, 2.5rem);
    font-weight: 200;
    text-align: center;
}

h1 {
    font-size: clamp(3rem, 6.93vw + 1.701rem, 7.938rem);
    text-align: center;
}

.hero_btns {
    display: flex;
    gap: 48px;
}

/* #endregion */

/* #region button loop*/

.marquee-btn {
    overflow: hidden;
    position: relative;
    background: transparent;
    border: 1px solid var(--primary-text);
    border-radius: 40px;
    color: var(--primary-text);
    cursor: pointer;
}

#check_work_btn {
    width: 172px;
    height: 48px;
}

#contact_btn {
    width: 143px;
    height: 48px;
}

.marquee-inner {
    display: flex;
    width: 200%;
    position: absolute;
    left: 0;
    top: 50%;
    transition: transform 2s ease-out;
    transform: translate(0, -50%);
}

.marquee-inner span {
    width: 50%;
    flex-shrink: 0;
    text-align: center;
    font-size: 18px;
    font-family: 'Karla', 'Courier New', monospace;
}

.marquee-btn:hover .marquee-inner {
    animation: marqueeLoop 3s linear infinite;
    transition: transform 0s;
}

@keyframes marqueeLoop {
    0% {
        transform: translate(0, -50%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* #endregion */

/* #region Textbanner */

.ticker-wrapper {
    position: absolute;
    z-index: 10;
    bottom: 50px;
    left: -5%;
    width: 110%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 0;
    transform: rotate(-3deg);
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: marquee 10s linear infinite;
}

.ticker-content span {
    font-size: 32px;
    color: var(--secondary-text);
    padding: 0 8px;
    white-space: pre;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* #endregion */

/* #region left scroll indicator*/

#indicator_container {
    position: absolute;
    z-index: 1;
    bottom: 0px;
    left: calc(50% - (var(--max-width) / 2) + var(--content-offset));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

#scroll_indicator {
    border: 1px solid var(--secondary-text);
    border-radius: 20px;
    height: 48px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scroll_arrow {
    font-size: 34px;
    animation: arrowAnimation 2s ease-in-out infinite;
}

#indicator_line {
    background-color: var(--secondary-text);
    width: 1px;
    height: 240px;
}

@keyframes arrowAnimation {
    0% {
        transform: translateY(-12px);
    }

    50% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(-12px);
    }
}

/* #endregion */

/* #region socials right*/
#socials_container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: calc(50% - (var(--max-width) / 2) + var(--content-offset));
    gap: 24px;
}

#socials_line {
    width: 1px;
    height: 186px;
    background-color: var(--secondary-text);
}

#svg_container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#social_email {
    display: flex;
    justify-content: flex-start;
}

#social_email p {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 18px;
}

#mail_svg {
    display: none;
}

#social_email:hover {
    color: var(--secondary-text);
}

#svg_container a {
    position: relative;
    display: inline-block;
    line-height: 0;
}

#svg_container a::after {
    content: "";
    position: absolute;

    left: 38px;
    top: 50%;
    transform: translateY(-50%) scale(0);


    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-text);
    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#svg_container a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

#svg_container a:hover svg path {
    fill: var(--primary-text);
    transition: fill 0.25s ease;
}

/* #endregion */

/* #region about section*/

#about_me {
    margin: 80px 0;
}

#about_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 20px;
}

#portrait {
    position: relative;
    display: inline-block;
    padding-left: 40px;
}

#portrait img {
    max-width: 568px;
    width: 100%;
    max-height: 568px;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

#portrait::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0px;
    max-width: 568px;
    width: 100%;
    max-height: 568px;
    height: 100%;
    border-radius: 30px;
    z-index: 1;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 30px,
            var(--secondary-text) 30px,
            var(--secondary-text) 31px);
    opacity: 0.8;
}

#who_i_am {
    max-width: 568px;
    width: 100%;
    margin-top: 98px;
}

#who_i_am h4 {
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-family: 'Karla', 'Courier New', monospace;
    font-weight: 500;
    font-size: 24px;
}

#about_me_text {
    border: 1px solid var(--secondary-text);
    border-radius: 30px;
    padding: 32px;
    background-color: color-mix(in srgb, var(--secondary-text) 10%, transparent);
}

#about_me_text h2 {
    color: var(--secondary-text);
    text-align: left;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 64px;
}

#about_me_text p {
    font-size: 18px;
}

#details_container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 16px;
}

.detail_items {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.detail_icon {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    justify-content: center;
}

.detail_icon svg {
    height: auto;
    max-width: 32px;
}

/* #endregion */

/* #region skills */

#skills_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#skillset_wrapper {
    max-width: 520px;
    width: 100%;
}

#skillset_wrapper h4 {
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-family: 'Karla', 'Courier New', monospace;
    font-weight: 700;
    font-size: 24px;
}

#skillset {
    border: 1px solid var(--secondary-text);
    border-radius: 30px;
    padding: 40px;
    background-color: color-mix(in srgb, var(--secondary-text) 10%, transparent);
}

#skillset h2 {
    font-size: 64px;
    color: var(--secondary-text);
    text-align: left;
    margin-bottom: 32px;
    font-weight: 700;
}

#skillset_text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

#text_18 {
    font-size: 18px;
}

#text_16 {
    font-size: 16px;
}

#skillset_text h3 {
    font-size: 24px;
}

#skillset_text h3 span:last-of-type {
    color: var(--secondary-text);
}

#skillset_btn {
    background-color: transparent;
    color: var(--primary-text);
    border: 1px solid var(--primary-text);
    border-radius: 100px;
    padding: 10px 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 122px;
    height: 48px;
}

#skillset_marquee {
    display: flex;
    width: 200%;
    position: absolute;
    left: 0;
    top: 50%;
    transition: transform 2s ease-out;
    transform: translate(0, -50%);
}

#skillset_marquee span {
    width: 50%;
    flex-shrink: 0;
    text-align: center;
    font-size: 18px;
}

#skillset_btn:hover #skillset_marquee {
    animation: marqueeLoop 3s linear infinite;
    transition: transform 0s;
}

#svg_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    justify-items: center;
}

#svg_grid svg {
    width: clamp(2.5rem, 1.538vw + 2.115rem, 3.5rem);
    height: clamp(2.5rem, 1.538vw + 2.115rem, 3.5rem);
}

.svg_divs {
    max-width: 104px;
    height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.svg_divs p {
    text-align: center;
    font-size: 18px;
}

.svg_divs svg {
    transition: transform 0.2s ease-in-out;
}

.svg_divs:hover svg {
    transform: scale(1.1);
}

#growth_mindset {
    position: relative;
}

#growth_mindset:hover #mindset_overlay {
    opacity: 1;
    pointer-events: auto;
}

#growth_mindset:hover p {
    color: var(--secondary-text);
}

#mindset_overlay {
    position: absolute;
    top: -132px;
    left: -20px;
    border-radius: 20px;
    background-color: var(--primary-text);
    color: var(--secondary-text);
    width: 220px;
    padding: 6px 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease
}

#mindset_overlay::before {
    content: "";
    position: absolute;

    bottom: -10px;
    left: 33%;
    transform: translateX(-50%);

    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary-text);
}

#mindset_overlay p {
    margin-bottom: 10px;
}

#mindset_inner {
    display: flex;
    justify-content: center;
    gap: 14px;
}

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

.mindset_langs svg {
    width: 40px;
    height: 40px;
}

/* #endregion */

/* #region portfolio */

#portfolio_grid {
    display: grid;
    grid-template-columns: minmax(0, 800px) minmax(0, 300px);
    gap: 20px;
}

#present_projects h2 {
    color: var(--secondary-text);
    text-align: left;
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 64px;
}

#present_projects h4 {
    color: var(--secondary-text);
    margin-bottom: 20px;
    font-family: 'Karla', 'Courier New', monospace;
    font-weight: 700;
    font-size: 24px;
}

#present_projects p {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 400;
}

.prev_projects {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 109px;
    padding: 0 32px;
    border-bottom: 1px solid var(--secondary-text);
}

.prev_projects:first-of-type {
    border-top: 1px solid var(--secondary-text);
}

.used_langs {
    display: flex;
    gap: 8px;
}

.used_langs span+span::before {
    content: "| ";
    color: var(--secondary-text);
}

.used_langs {
    font-size: 18px;
    font-weight: 400;
}

.prev_projects:hover {
    background-color: color-mix(in srgb, var(--secondary-text) 10%, transparent);
}

.prev_projects h3::after {
    content: "\2197";
    margin-left: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.prev_projects:hover h3::after {
    opacity: 1;
    transform: translateX(0);
}

.prev_projects h3 {
    font-size: 24px;
    font-weight: 700;
}

.img_container::before {
    content: "";
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: -1;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 8px,
            var(--secondary-text) 8px,
            var(--secondary-text) 9px);
    opacity: 0.8;
}

#project_area {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev_imgs {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 30px;
    display: block;
    position: relative;
    z-index: 2;
}

.img_container.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
    pointer-events: auto;
}

.img_container {
    position: absolute;
    display: inline-block;
    z-index: 1;

    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

#img-join {
    top: 40%;
    transform-origin: top right;
}

.img_container::before {
    content: "";
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: -1;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 7px,
            var(--secondary-text) 7px,
            var(--secondary-text) 8px);
    opacity: 0.8;
}

#img-pollo {
    top: 72%;
    transform: translateY(-50%) scale(0.95);
    transform-origin: center right;
}

#img-pollo.active {
    transform: translateY(-50%) scale(1);
}

#img-bubble {
    bottom: 0;
    transform-origin: bottom right;
}

/* #endregion */

/* #region references */

#references {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial_container {
    --card-width: 632px;
    display: flex;
    gap: 64px;
    position: relative;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.quote_icon {
    position: absolute;
    left: calc(50% - (var(--card-width) / 2) + 10px);
    top: -20px;
    z-index: 20;
}


.testimonials:nth-of-type(2) {
    border-color: #3DCFB6;
    background-color: rgba(8, 70, 59, 0.3);
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.testimonials:not(:nth-of-type(2)) {
    opacity: 0.35;
    transform: scale(0.95);
}


#references h3 {
    color: var(--secondary-text);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
    font-size: 32px;
}

.testimonials {
    border: 1px solid var(--secondary-text);
    border-radius: 32px;
    flex: 0 0 var(--card-width);
    height: 274px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: color-mix(in srgb, var(--secondary-text) 10%, transparent);
}

.testimonials p {
    font-size: 20px;
}

.testimonial_author {
    display: flex;
    gap: 16px;
    align-items: center;
}

.testimonial_author span {
    font-size: 18px;
}

.horizontal_line {
    height: 1px;
    flex: 1;
    background-color: var(--secondary-text);
}

#controll_container {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.control_btns {
    border: none;
    background-color: transparent;
    color: var(--primary-text);
}

.prev_btn {
    margin-right: 20px;
}

.next_btn {
    margin-left: 20px;
}

.control_btns svg {
    width: 24px;
    height: 24px;
}

#dots_container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 20px;
    background-color: var(--primary-text);
    transition: background-color 0.3s, opacity 0.3s;
}

.dot.active {
    background-color: var(--secondary-text);
    opacity: 1;
}

.control_btns {
    cursor: pointer;
}


/* #endregion */

/* #region contact */

.contact_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work_together {
    display: flex;
    flex-direction: column;
}

.work_together h4 {
    color: var(--secondary-text);
    font-size: 24px;
}

#h4_thin {
    font-weight: 500;
    margin-bottom: 20px;
}

#h4_bold {
    font-weight: 700;
    margin-bottom: 16px;
}

.work_together h2 {
    color: var(--secondary-text);
    text-align: left;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
}

#contact_text {
    margin-bottom: 16px;
}

.work_together span:last-of-type {
    color: var(--secondary-text);
}

.form_container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 20px;
    border-bottom: 1px solid var(--secondary-text);
    padding-bottom: 30px;
    position: relative;
}

.form_container label {
    font-size: 24px;
    color: var(--secondary-text);
    font-family: 'FiraCode', 'Courier New', monospace;
    font-weight: 500;
}

input::placeholder {
    font-size: 18px;
    font-weight: 400;
}

#contact_form:first-child {
    border-top: 1px solid var(--secondary-text);
}


#privacy_btn {
    margin: 40px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    position: relative;
}

#privacy {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.privacy-link {
    color: var(--secondary-text);
}

.privacy-link:hover {
    color: var(--primary-text);
    border-bottom: 1px solid var(--secondary-text);
}

#privacy_btn label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    color: var(--primary-text);
    font-size: 18px;
    display: inline-block;
    font-size: 15px;
    font-family: 'Karla', 'Courier New', monospace;
}

#privacy_btn label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--secondary-text);
    border-radius: 4px;
    background-color: transparent;
}

#privacy_btn label:hover::before {
    background-color: color-mix(in srgb, var(--secondary-text) 20%, transparent);
}

#privacy:checked+label::after {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 1px;
    color: var(--secondary-text);
    font-size: 18px;
    font-weight: bold;
}

#contact_form {
    display: flex;
    flex-direction: column;
}

#form_btn {
    font-family: 'Karla', 'Courier New', monospace;
    align-self: center;
    margin-top: 24px;
    background-color: transparent;
    border: 1px solid var(--primary-text);
    /* padding: 14px 24px; */
    border-radius: 30px;
    color: var(--primary-text);
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
    position: relative;
    width: 160px;
    height: 52px;
}

#submit_btn {
    display: flex;
    justify-content: flex-start;
    width: 200%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}


#submit_btn span {
    width: 50%;
    flex-shrink: 0;
    text-align: center;
    font-size: 18px;
    font-family: 'Karla', 'Courier New', monospace;
}

#form_btn:hover #submit_btn {
    animation: marqueeLoop 3s linear infinite;
    transition: transform 0s;
}

#contact_form input {
    background-color: transparent;
    border: none;
    color: var(--primary-text);
}

#form_btn:disabled {
    opacity: 0.5;
    /* Macht den Button blasser */
    cursor: not-allowed;
    /* Ändert den Mauszeiger in ein "Verboten"-Schild */
    pointer-events: none;
    /* Verhindert Hover-Effekte und Animationen */
}

/* #endregion */

/* #region footer*/
#footer_container {
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer_list {
    list-style: none;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#footer_list li a {
    position: relative;
    display: inline-block;
    color: var(--primary-text);

    padding-left: 16px;
    transition: color 0.3s ease;
}

#footer_list li a:hover {
    color: var(--secondary-text);
}

#footer_list li a::after {
    content: "";
    position: absolute;

    left: 2px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-text) !important;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#footer_list li a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

#footer_text_area {
    color: var(--secondary-text);
}

#footer_img_area {
    max-width: 165px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* #endregion */

.error-message {
    color: #E77A7A;
    font-size: 16px;
    display: block;
    position: absolute;
    bottom: 6px;


    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease-in-out;
    visibility: hidden;
}

.form_message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--secondary-text);
    background-color: color-mix(in srgb, var(--secondary-text) 12%, transparent);
    color: var(--secondary-text);
    font-size: 18px;
}

.form_container.invalid .error-empty,
.form_container.invalid .error-message:not(.error-invalid),
#privacy_btn.invalid .error-message {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.form_container.invalid_format .error-invalid {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}



#privacy_btn .error-message {
    position: absolute;
    bottom: 0;
    left: 32px;
    width: auto;
}

#project_overlay {
    position: absolute;
    max-width: 1248px;
    width: 100%;
    height: 656px;
    display: grid;
    grid-template-columns: minmax(520px, 1fr) 1fr;
    background: linear-gradient(to left bottom, var(--secondary-background) 0%, var(--primary-background) 50%);
    border: 1px solid var(--secondary-text);
    border-radius: 20px;
}

#project_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 0 80px;
}

#project_text h2 {
    font-size: clamp(3.5rem, 6.923vw + 1.769rem, 8rem);
    font-weight: 700;
    font-family: 'Karla', 'Courier New', monospace;
    color: var(--secondary-text);
}

#project_text h3 {
    font-size: clamp(2rem, 3.077vw + 1.231rem, 4rem);
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 80%;
}

#project_desc h4 {
    font-size: 24px;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

#overlay_description {
    font-size: 18px;
    margin-bottom: 32px;
}

#overlay_used_langs {
    margin-bottom: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.overlay_langs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

#overlay_buttons {
    display: flex;
    gap: 32px;
}

#overlay_buttons a {
    background-color: transparent;
    color: var(--primary-text);
    padding: 13px 24px;
    border: 1px solid var(--primary-text);
    border-radius: 100px;
    font-size: 18px;
    font-family: 'Karla', 'Courier New', monospace;
    cursor: pointer;
}

#overlay_buttons a:hover {
    border: 1px solid var(--secondary-text);
    color: var(--secondary-text);
}

#overlay_buttons svg {
    transition: transform 0.2s ease-in-out;
}

#overlay_buttons a:hover svg {
    transform: scale(1.1) translateX(2px) translateY(-2px);
}

#project_image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

#project_image img {
    position: absolute;
    right: 80px;
    width: 520px;
    border-radius: 30px;
    object-fit: cover;
}

#close_overlay_btn {
    position: absolute;
    top: 71px;
    right: 95px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

#close_overlay_btn:hover {
    transform: scale(1.2);
}

#next_project {
    position: absolute;
    bottom: 55px;
    right: 78px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-text);
    transition: color 0.3s ease-in-out;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

#next_project svg {
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

#next_project:hover {
    color: var(--primary-text);
}

#next_project:hover svg {
    transform: scale(1.1) translateX(2px);
    filter: brightness(1.2);
}

#overlay_backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(3px);
}

.d_none {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

html {
    scrollbar-gutter: stable;
}

@media (max-width: 1460px) {
    #indicator_container {
        left: var(--content-offset);
    }

    #socials_container {
        right: var(--content-offset);
    }

    .container {
        margin: 0 var(--content-offset);
    }

    .container_content_limit {
        margin-right: var(--content-offset);
        margin-left: var(--content-offset);
    }
}

@media (max-width: 1100px) {
    #about_grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #portrait img {
        height: 450px;
    }

    #portrait {
        padding: 0;
    }

    #portrait::before {
        display: none;
    }

    #skills_grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #svg_grid {
        margin-top: 60px;
        max-width: 700px;
        width: 100%;
        height: 500px;
    }

    #portfolio_grid {
        display: flex;
        flex-direction: column;
    }

    #project_area {
        display: none;
    }

    .testimonials {
        height: 290px;
    }

    .testimonial_container {
        --card-width: 350px;
    }

    .contact_grid {
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    #project_overlay {
        gap: 20px;
    }

    #project_image img {
        max-width: 520px;
        width: 100%;
    }
}

@media (max-width: 750px) {

    #hero {
        padding-top: 100px;
        justify-content: start;

    }

    #indicator_line {
        height: 224px;
    }

    #socials_line {
        height: 112px;
    }

    #switch_container {
        display: none;
    }

    #menu_list {
        display: none;
    }

    #menu_elements {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .container {
        margin: 0;
    }

    #indicator_container {
        left: 16px;
    }

    #socials_container {
        right: 16px;
    }

    h1 {
        font-size: 62px;
    }


    #check_work_btn {
        width: 153px;
    }

    .hero_btns {
        gap: 24px;
    }

    .container_content_limit {
        margin-left: 16px;
        margin-right: 16px;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .prev_projects {
        flex-wrap: wrap;
        padding: 0;
    }

    .used_langs {
        flex-wrap: wrap;
    }

    .ticker-content span,
    #references h3 {
        font-size: 24px;
    }

    #who_i_am h4,
    #skillset_wrapper h4,
    #present_projects h4,
    .testimonials p,
    #h4_thin {
        font-size: 18px;
    }

    #about_me_text h2,
    #skillset h2,
    #present_projects h2,
    .work_together h2 {
        font-size: 38px;
    }

    #about_me_text p {
        font-size: 16px;
    }

    #text_18,
    .svg_divs p,
    #present_projects p,
    .testimonial_author span {
        font-size: 16px;
    }

    #skillset_text h3 {
        font-size: 20px;
    }

    .testimonial_container {
        --card-width: 340px;
    }

    .quote_icon {
        position: absolute;
        left: calc(50% - (var(--card-width) / 2) + 5px);
        top: -26px;
        z-index: 20;
        width: 50px;
        height: 50px;
    }

    .work_together h4,
    .form_container label {
        font-size: 20px;
    }

    #form_btn {
        width: 139px;
        height: 48px;
    }

    #svg_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #project_overlay {
        display: flex;
        flex-direction: column-reverse;
        height: 94%;
        justify-content: start;
        align-items: center;
        max-height: 90vh;
        height: 100%;
        overflow: auto;
    }

    #project_image {
        position: static;
        padding-top: 50px;
        padding-left: 40px;
        padding-right: 40px;
    }

    #project_image img {
        position: static;
        max-width: 342px;
        width: 100%;
    }

    #close_overlay_btn {
        top: 25px;
        right: 25px;
    }

    #next_project {
        bottom: 25px;
        right: 25px;
    }

    #project_text {
        padding: 0 20px;
    }

    #project_desc h4 {
        font-size: 20px;
    }

    #overlay_description {
        font-size: 16px;
    }

    #social_email p {
        display: none;
    }

    #mail_svg {
        display: block;
    }

    .testimonials {
        flex: 0 0 340px;
    }

    #mobile_nav {
        display: block;
        position: absolute;
        top: 30px;
        right: 35px;
        cursor: pointer;
    }

    #overlay_mobile_nav {
        border-radius: 30px;
        text-align: center;
        position: absolute;
        right: 0;
        top: 70px;
        width: 238px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to bottom, var(--primary-background) 0%, transparent 10%),
            linear-gradient(to left bottom, var(--secondary-background) 0%, var(--primary-background) 50%);
        gap: 20px;
        padding: 20px 0;
        z-index: 100;
    }

    #menu_list_mobile {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #menu_list_mobile li {
        font-size: 20px;
    }

    #switch_container_mobile {
        display: flex;
        align-items: center;
    }

    #mobile_nav button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    #footer_container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 24px 0px;
    }

    #footer_img_area {
        max-width: 50%;
        order: 1;
    }

    #footer_list_wrapper {
        order: 2;
        align-items: flex-end;
    }

    #footer_text_area {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 400px) {
    .hero_btns {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #mindset_overlay {
        left: -40px;
    }

    .error-message {
        font-size: 15px;
    }

    .form_container {
        padding: 30px 0;
    }

    .testimonials {
        flex: 0 0 250px;
        padding: 20px 20px;
    }

    #about_me_text,
    #skillset {
        padding: 32px 8px;
    }

    #project_text h3 {
        margin-bottom: 16px;
    }

    #project_desc h4 {
        margin-bottom: 10px;
    }

    #overlay_buttons {
        /* flex-direction: column; */
        gap: 10px;
    }

    #overlay_buttons a {
        padding: 13px 12px;
    }

    #project_image img {
        max-width: 250px;
    }

    #project_overlay {
        gap: 5px;
    }

    #overlay_description {
        margin-bottom: 16px;
    }

    #overlay_used_langs {
        margin-bottom: 24px;
    }

    .testimonial_container {
        --card-width: 250px;
    }

    .testimonials {
        padding: 20px 20px;
    }
}