/* COLOR PALETTE */

:root {
    --white: #FFFFFF;
    --black: #000000;
    --green: #c8ff41;
    --orange: #EF6435;
    --corner-radius-small: corner
}


/* RESET */

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

body.project__page {
    background-color: var(--white);
    transition: background-color .7s, color .7s;
}

/* MAINTENANCE */

body {
    background-color: var(--green);
}

.maintenance {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    color: var(--black);
    text-align: center;
}

.maintenance h3 {
    line-height: 90%;
    padding-top: 0.4em;
}


/* body.background-white {
    background-color: white;
    color: black;
}

body.background-black {
    background-color: black;
    color: white;
} */


button {
    border: none;
    cursor: pointer;
    background-color: var(--white);
    color: var(--orange);
}

button:hover {
    /* background-color: var(--orange); */
    color: var(--black);
}

li, ul {
    list-style-type: none;
}

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


/* UTILITY */

img, video, svg {
    object-fit: cover;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}


/* TYPO */

body {
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-style: normal;
    font-weight: 400;
    /* background-color: var(--black); */
}

h1 {
    font-family: 'Swear Display', 'swear-display', serif;
    font-style: italic;
    font-size: 7.5rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 110%;
}

h2 {
    font-family: 'Swear Display', 'swear-display', serif;
    font-style: italic;
    font-size: 4rem;
    font-weight: 400;
    line-height: 80%;
    text-transform: uppercase;
}

h3 {
    font-family: 'swear-display-cilati', serif;
    font-style: normal;
    font-size: 3rem;
    font-weight: 500;
    line-height: 150%;
    text-align: center;
}

h4 {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2.25rem;
    line-height: normal;
    text-transform: uppercase;
}

h5 {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 2.25rem;
    line-height: normal;
    text-transform: uppercase;
}

h6 {
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-style: normal;
    font-size: 1.25rem;
    line-height: normal;
    font-weight: 500;
}

p {
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: normal;
}



/* TYPO ALLE ELEMENTE */

.button__landing {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 3.5rem;
    text-align: center;
}

.button__tag, .footer__fine-print, .project__body-text {
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
}

.button__projects, .button__social-media, .footer__site-map, .lang-button, .navbar, .project__body-title {
    font-family: 'neue-haas-grotesk-text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
}

.button__CTA, .skills__list, .about__text {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    font-style: normal;
    font-weight: 450;
    font-size: 2rem;
}




/* LAYOUT BASICS */

body {
    /* width: 100vw; */
    padding: 30px;
}

.button__CTA {
    display: flex;
    padding: 10px 35px;
    border-radius: 1000px;
    justify-content: center;
    height: min-content;
}

.button__CTA:hover {
    padding: 20px 50px;
}

.grid__container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    /* outline: 1px solid red; */
}

button {
    transition: .7s;
}

/* HEADER */

header {
    box-sizing: border-box;
    width: auto; 
    /* outline: 1px solid red; */
}

.topbar { 
    width: 100%;
    position: fixed;
    top: 0;
    width: calc(100% - 60px);
    padding-top: 2em;
    height: fit-content;
    /* outline: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
}

/* logo */
.topbar img {
    height: 40px;
    width: auto;
    transition: .7s;
    z-index: 9999;
    display: block;
}

/* LANG BUTTON */

.lang-button__container {
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    height: 40px;
    position: relative;
}

.lang-button {
    z-index: 999;
    background-color: var(--white);
    border-radius: 100px;
    max-width: 100%;
    padding: 5px 7px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    transition: .7s;
}

.lang-button__links {
    align-items: center;
    display: flex;
    position: relative;
    border-radius: 100px;
    height: 100%;
}

.lang-button .slide {
    position: absolute;
    background-color: var(--green);
    top: 0;
    height: 100%;
    width: 50%;
    z-index: -1;
    border-radius: 100px;
    transition: .5s;
    opacity: 1;
}

.lang-button__links a {
    justify-content: center;
    align-items: center;
    width: 2.8rem;
    max-width: 100%;
    display: flex;
    position: relative;
    transition: .5s;
    text-transform: uppercase;
    transition: .7s;
} 

.lang-button__links li.active a {
    color: var(--black);
}

.active-en {
    opacity: 1;
    left: 50%;
}

.active-de {
    opacity: 1;
    left: 0;
}

/* BOTTOM NAVBAR */

.container__navbar {
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 20%;
    padding-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: auto;
    bottom: 0%;
    left: 0;
    right: 0;
}

.navbar {
    z-index: 999;
    background-color: var(--green);
    border-radius: 13px;
    max-width: 100%;
    padding: 5px;
    position: relative;
}

.navbar .slide {
    position: absolute;
    background-color: var(--black);
    top: 0;
    /* left: 50%; */
    height: 100%;
    width: 50%;
    z-index: -1;
    border-radius: 10px;
    transition: .5s;
    opacity: 1;
}

.navbar__links {
    align-items: center;
    display: flex;
    position: relative;
    padding: .8rem 0;
    border-radius: 10px;
    z-index: 999;
}

.navbar__links a {
    justify-content: center;
    align-items: center;
    width: 7rem;
    max-width: 100%;
    display: flex;
    position: relative;
    transition: .5s;
    color: var(--black);
    z-index: 999;
}

.navbar__links li.active a {
    color: var(--white);
}

.active-about {
    opacity: 1;
    left: 50%;
}

.active-home {
    opacity: 1;
    left: 0;
}


.navbar__links a p {
    font-size: 1.25rem;
}



/* LANDING */

.landing {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    height: calc(100vh - 30px);
    align-items: center;

}

.landing h1 {
    grid-column: 2 / 8;
    position: relative;
    color: var(--white);
    transition: .7s;
}

.index-de .landing h1 {
    font-size: 6rem;

}

.index-de .button__landing {
    padding: 8px 10px;
    font-size: 3rem;
    vertical-align: 15px;
}

.button__landing {
    padding: 10px 30px;
    border-radius: 18px;
    background-color: var(--green);
    text-transform: capitalize;
    vertical-align: 19px;
    cursor: pointer;
    margin: 0 10px;
}

.button__typo {
    padding: 10px 35px;
}

.landing img {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    transition: .3s;
}

.first-img {   
    top: -10%;
    right: 40%;
    height: 400px;
}

.second-img {   
    bottom: 40%;
    left: 10%;
    height: 350px;
}

.third-img {   
    bottom: 20%;
    right: -15%;
    height: 350px;
}

.fourth-img {   
    height: 350px;
    bottom: 20%;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}


.button__landing:hover+img, .button__landing+img:hover {
    position: absolute;
    visibility: visible;
    opacity: 1;
}

/* PROJECTS */

.projects {
    width: 100%;
    /* outline: 1px red solid; */
    padding: 15em 0;
}

.projects h2 {
    justify-self: center;
    text-align: center;
}

.projects__container {
    width: 100%;
    padding: 6em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    position: relative;
}


.project__container {
    position: relative;
    width: 100%;
    transition: .3s ease-out;
    display: none;
}

.project__container a:not(.schicksaal__mobile) {
    display: block;
    height: fit-content;
}

.project__container.visible {
    display: block;
}

.project__container:hover{
    width: 96%;
}

.projects__container img, .projects__container video {
    width: 100%;
    height: 80vh;
    border-radius: 18px;
    position: relative;
    z-index: -1;
}

.projects__container .project__text {
    visibility: hidden;
    opacity: 0;
    transition: .3s ease-in;
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* outline: 1px red solid; */
}

.project__container:hover .project__text {
    visibility: visible; 
    opacity: 1;
}

.project__container .project__titles {
    z-index: -1;
    opacity: 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.project__container:hover .project__text .project__titles {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 1;
}

.project__container:nth-child(10) .project__titles {
    color: var(--white);
} 

.button__tag {
    padding: 5px 20px;
    border-radius: 90px;
    border: 4px solid var(--green);
    background-color: var(--white);
}

.button__projects {
    display: flex;
    justify-items: center;
    margin: auto;
    padding: 15px 35px;
    border-radius: 1000px;
}

.button__projects:hover {
    padding: 20px 50px;
}

.schicksaal__mobile {
    display: none;
    visibility: hidden;
    opacity: 0;
}




/* QUOTE */


.quote {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10em;
    /* background-color: var(--black); */
}



.quote h3 {
    grid-column: 3 / 7;
    color: var(--orange);
}

/* SKILLS */


.skills {
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 120vh;
    justify-content: center;
    gap: 6em;
    position: relative;
    padding-top: 5em;
}

.skills__list {
    display: flex;
    flex-direction: column;
    gap: .5em;
    align-items: center;
}

.menu-item {
    position: relative;
    flex: 1;
    
    padding: 1em 0;
    width: 80%;
}

.menu-item span {
    opacity: .5;
    z-index: 1;
}

.menu-item:hover span {
    opacity: 1;
    z-index: 3;
}

.menu span {
    position: relative;
    display: inline-block;
    /* font-size: 2rem; */
    color: var(--black);
    mix-blend-mode: difference;
    transform: translateY(-50%);
    font-size: 2rem;
}

.hover-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 300px;
    width: 200px;
    opacity: 0;
    pointer-events: none;
    /* transform: translate(0, -300px); */
    transition: 0.4s;
    z-index: 2;
}

.hover-reveal-inner {
    width: auto;
    height: 100%;
    position: relative;
    /* will-change: transform; */
    overflow: hidden;
}

.hover-reveal-img {
    background-size: cover;
    background-position: 50%, 50%;
    /* transform-origin: 100%, 100%; */
    width: 100%;
    height: 100%;
    position: relative;
    will-change: transform;
    transform: scale(0.8);
    transition: 0.5s transform;
}


.one {
    background-image: url(../img/skills_web.png);
}

.two {
    background-image: url(../img/savo_skills.jpg);
}

.three {
    background-image: url(../img/foto_skills.jpg);
}

.four {
    background-image: url(../img/skills_print.jpg);
}

.five {
    background-image: url(../img/rebooth_visitenkarte_web.jpg);
}

.six {
    background-image: url(../img/illu_skills.jpg);
}

.seven {
    background-image: url(../img/skills_type.png);
}



/* skills neu ende */

/* FOOTER */

footer {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 30px;
    /* background-color: var(--black); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.footer__question {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4em;
    padding-top: 12em;
}

.popup {
    position: fixed;
    z-index: 999999;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    display: none;
    backdrop-filter: blur(3px); 
    align-items: center;
    justify-content: center;

}

.popup-content {
    background-color: var(--white);
    border-radius: 15px;
    width: 90%;
    height: 90%;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4em;
    padding: 10px;
}

.popup-content button {
    display: block;
    margin: 0 auto;
}

.magic-ball__buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.magic-ball__buttons .button__CTA {
    background-color: var(--black) !important;
}

.magic-ball__buttons button:first-child {
    color: var(--green) !important;
}

.magic-8-ball {
    height: 350px;
    width: 350px;
}

/* .answer {
    display: none;
    visibility: hidden;
} */

.show {
    display: flex;
    opacity: 1; /* Endzustand der Animation */
    transform: scale(1);
}


.hidden:not(.button__plus p) {
    display: none !important;
}

.magic-ball__container {
    position: relative;
    height: 350px;
    width: 350px;
}

.img__magic-ball {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    width: 350px;
    top: auto;
    bottom: 0%;
    left: 0;
    right: 0;
}


.answer {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 40%;
    bottom: 50%;
    height: 80px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: translate(-50%, -50%) rotate(-40deg);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.answer.hidden {
    opacity: 0;
    pointer-events: none; /* Deaktiviert Klicks, wenn versteckt */
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 40%;
    bottom: 50%;
    height: 80px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* transform: translate(-50%, -50%) rotate(-40deg); */
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.answer.visible {
    opacity: 1;
    transform:rotate(0deg);
    pointer-events: auto; /* Aktiviert Klicks, wenn sichtbar */
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 52%;
    bottom: 50%;
    height: 80px;
    left: 90px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /* transform: translate(-50%, -50%) ; */
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.answer.fade-out {
    opacity: 0;
}

/* .answer {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 52%;
    bottom: 50%;
    transform: translate(-50%, -50%);
    left: 90px;
    right: 0;
    height: 80px;
    transition: transform 1s ease;
} */





/* .footer__question h3 {
    color: var(--white);
} */

.footer__buttons {
    width: 100%;
    display: flex;
    height: 100px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.footer__bottom-fine-print {
    display: flex;
    flex-direction: column;
}
/* 
body.background-white .footer__bottom-fine-print {
    color: var(--black);
}

body.background-black .footer__bottom-fine-print {
    color: var(--white);
} */

.footer__bottom {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
    padding-bottom: 1em;
    align-items: end;
}

.footer__logo {
    grid-column: 1/7;

}

.logo__mobile {
    display: none;
}

.footer__site-map {
    grid-column: 7/8;
}

.footer__social-media {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    grid-column: 8/9;
}

.footer__social-media button {
    border-radius: 100px;
    padding: 5px 20px;
}


/* ABOUT */

body.about {
    padding: 30px;
    background-color: var(--white);
    transition: .7s;
}

.about img:not(.topbar img) {
    border-radius: 18px;
}

.footer__about {
    transition: .7s;
}

.about.grid__container {
    grid-template-rows: auto;
    padding-bottom: 5em;
}

.about__skizze {
    height: 300px;
    width: 100%;
    grid-column: 2/8;
    grid-row: 1/2;
}

.about .text-1 {
    grid-column: 2/8;
    grid-row: 2/3;
    margin: 50px 0;
}

.about__kamera {
    grid-column: 1/5;
    grid-row: 3/4;
    margin-top: 350px;
    margin-bottom: 250px;
}

.about__fahrrad {
    grid-column: 6/8;
    grid-row: 3/4;
}

.about__tattoo {
    grid-column: 2/4;
    grid-row: 4/5;
}

.about .text-2 {
    grid-column: 4/8;
    grid-row: 4/5;
}

.software {
    display: flex;
    flex-direction: column;
    grid-column: 3/7;
    grid-row: 5/6;
    gap: 4em;
    margin-top: 330px
}

.software h2 {
    grid-column: 1/9;
    grid-row: 6/7;
}

.software__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    grid-column: 4/7;
    grid-row: 6/7;
    gap: 10px;
}

.software .button__projects {
    background-color: var(--black);
    color: var(--green);
}

.software__list button:hover, .software__list button {
    padding: 10px 20px;
    pointer-events: none;
}

.about_character {
    grid-column: 2/4;
    grid-row: 6/7;
    margin-top: 6em;
}

.about_postkarten {
    grid-column: 4/8;
    grid-row: 6/7;
    margin-top: 20em;
}

.about__button {
    font-size: 1.5rem;
    background-color: var(--green);
    border-radius: 8px;
    padding: 6px 15px;
    margin: 0 4px;
    vertical-align: 3px;
}

.big:hover {
    padding: 50px 70px;
    border-radius: 200px;
    font-size: 2rem;
}

.small:hover {
    padding: 0;
    font-size: 1rem;
}


/* Project */

.project__header {
    padding: 30px;
    position: fixed;
    z-index: 999;
}

.project__topbar img {
    filter: invert(1);
}

.topbar_left {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

/* .project__page {
    overflow: hidden;
} */

.button__project-navigation {
    font-family: 'Swear Display', 'swear-display', serif;
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--black);
    border-radius: 1000px;
    color: var(--white);
}

.button__back {
    padding: 4px 14px;
}

.button__back svg {
    margin-right: 7px;
}

.bottom__nav {
    padding: 10px 20px;
}

.project__nav {
    z-index: 999;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 2rem;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    top: auto;
    bottom: 0%;
    left: 0;
    right: 0;
}

.back__mobile {
    visibility: hidden;
    opacity: 0;
    display: none;
}


section.project__grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 30px;
}

section.left {
    grid-column: 1/6;
    max-height: 100vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow-x: hidden;
}

.project-images-side {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.project-images-side img {
    width: 50%;
}

.left img {
    margin-bottom: -10px;
}

.rebooth-gif {
    padding: 2em;
}

section.right {
    grid-column: 6/9;
    max-height: 100vh;
    overflow-y: scroll;
    padding: 0 30px 8em 0;
}

.project__body-titles {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 3em;
    position: sticky;
    padding-top: 6em;
    top: 0;
    z-index: 1;
    transition: background-color .7s, color .7s;
}

.tag__container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 2em;
}

.project__body-titles h2 {
    padding-bottom: 15px;
}

section.right .button__plus {
    height: min-content;
    background-color: var(--green);
    border-radius: 100px;
    padding: 8px;
    align-self: end;
    margin-top: 15px;
    aspect-ratio: 1/1;
}

#read-more-button {
    display: none;
    align-self: end;
    width: fit-content;
}

#read-less-button {
    display: none;
    align-self: end;
    width: fit-content;
}

section.right .button__plus svg {
    display: block;
}

.project__body-text, .project__body-text h6 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 10px;
}

.project__body-text .headings-small {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.project__body-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project__body-text p:not(.button__plus p){
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    /* truncate to 8 lines */
    -webkit-line-clamp: 4;
    line-clamp: 4;
    line-height: 120%;
    margin-bottom: 20px;
  }

.project__page .footer__bottom-fine-print {
    padding-bottom: 4em;
}

.project__page footer {
    padding: 30px;
}

.next_mobile, .prev_mobile, .back_mobile, .button__plus-mobile {
    visibility: hidden;
    display: none;
    opacity: 0;
}


@media only screen and (max-width: 1200px) {

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    p {
        font-size: 0.8rem;
    }

    /* header */

    .topbar {
        padding-top: 1.5em;
    }

    .back__mobile, .next__mobile, .prev__mobile {
        display: none;
        visibility: hidden;
    }

    .topbar img {
        height: 30px;
    }

    .project__nav {
        padding-bottom: 1.5rem;
    }


    .lang-button__container {
        height: 30px;
    }

    .lang-button {
        padding: 3px 5px;
        height: 30px;
    }

    .lang-button__links a {
        width: 1.7rem;
    }

    .container__navbar {
        width: 15%;
        padding-bottom: 1.5em;
        z-index: 999999;
    }

    .navbar {
        border-radius: 11px;
        padding: 3px;
    }

    .navbar .slide {
        border-radius: 9px;
    }

    .navbar__links {
        padding: .6rem 0;
        border-radius: 9px;
    }

    .navbar__links a {
        width: 3.8rem;
    }

    .navbar__links a p {
        font-size: 0.8rem;
    }

    .button__projects, .button__social-media, .footer__site-map, .lang-button, .navbar, .project__body-title {
        font-size: 16px;
    }

    .button__tag, .footer__fine-print, .project__body-text {
        font-size: 0.5rem;
    }

    .button__CTA, .skills__list, .about__text {
        font-size: 1rem;
    }

    .button__landing {
        font-size: 2rem;
        padding: 5px 20px;
        vertical-align: 12px;
        border-radius: 12px;
    }

    .bottom__nav {
        padding: 2px 10px;
    }

    .projects {
        padding-top: 7em;
        padding-bottom: 7em;
    }

    .button__projects {
        padding: 10px 20px;
    }

    .quote {
        gap: 6em;
    }

    .button__CTA {
        padding: 8px 20px;
    }

    .skills {
        padding-top: 0;
        height: 110vh;
    }

    .footer__social-media button {  
        padding: 5px 10px;
    }

    .back__mobile, .next__mobile, .prev__mobile {
        display: none;
        visibility: hidden;
    }

    /* About */

    .about__text {
        font-size: 1.5rem;
    }

    .about__button {
        font-size: 1.25rem;
    }
    
}



@media only screen and (max-width: 1024px) and (hover:hover) {


    h1 {
        font-size: 5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.75rem;
        line-height: 100%;
    }

    h6, .heading-small, .headings-small, .project__body-text p:not(.button__plus p) {
        font-size: 13px;
    }

    .container__navbar {
        padding-bottom: 2.5em;
        width: 30%;
        z-index: 999999;
    }

    .navbar__links a {
        width: 4rem;
    }

    .footer__site-map {
        font-size: 0.7rem;
    }

    .footer__site-map li {
        padding: 4px 0;
    }

    section-right .button__plus {
        padding-inline-start: 2px;
    }

    .button__landing {
        font-size: 2.25rem;
        padding: 4px 20px;
    }

    .project__body-titles {
        padding-right: 0;
        padding-bottom: 2em;
    }

    .projects__container img, .projects__container video {
        height: 40vh;
        border-radius: 12px;
    }

    .project__nav {
        padding-bottom: 1rem;
    }

    .project__nav .back__mobile {
        display: none;
    }

    .button__project-navigation {
        padding: 5px 10px;
    }

    .button__tag {
        font-size: 0.7rem;
        border: 3px solid var(--green);
        padding: 3px 15px;
    }

    .button__back {
        padding: 0 10px;
    }

    .button__back svg {
        margin-right: 0;
    }

    .back__mobile, .next__mobile, .prev__mobile{
        padding: 8px 10px;
        display: none;
        visibility: hidden;
    }

    .projects {
        padding: 10em 0;
    }

    .quote {
        height: auto;
        padding-bottom: 5em;
    }

    .skills {
        height: auto;
        padding-top: 5em;
    }

    .skills__list {
        font-size: 1.4rem;
    }

 

    .landing, .footer__bottom {
        gap: 20px;
    }

    .about .grid__container {
        gap: 20px;
    }

    .about__kamera {
        margin-top: 250px;
        margin-bottom: 150px;
    }

    .about__fahrrad {
        grid-column: 5/8;
    }

    .software {
        margin-top: 230px;
        text-align: center;
    }

    .about__postkarten {
        margin-top: 15em;
    }



    
}


@media only screen and (max-width: 1024px) and (hover:none) {
    

    h1 {
        font-size: 5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h4 {
        font-size: 1.75rem;
        line-height: 100%;
    }

    h6, .heading-small, .headings-small, .project__body-text p:not(.button__plus p) {
        font-size: 13px;
    }

    .container__navbar {
        padding-bottom: 2.5em;
        width: 30%;
        z-index: 999999;
    }

    .navbar__links a {
        width: 4rem;
    }

    .footer__site-map {
        font-size: 0.7rem;
    }

    .footer__site-map li {
        padding: 4px 0;
    }

    section-right .button__plus {
        padding-inline-start: 2px;
    }

    .button__landing {
        font-size: 2.25rem;
        padding: 4px 20px;
    }

    .project__body-titles {
        padding-right: 0;
        padding-bottom: 2em;
    }

    .projects__container img, .projects__container video {
        height: 40vh;
        border-radius: 12px;
    }

    .project__nav {
        padding-bottom: 2.5rem;
    }

    .button__project-navigation {
        padding: 3px 10px;
    }

    .button__tag {
        font-size: 0.7rem;
        border: 3px solid var(--green);
        padding: 3px 15px;
    }

    .button__back {
        padding: 0 10px;
    }

    .button__back svg {
        margin-right: 0;
    }

    .back__mobile {
        padding: 8px 10px;
        display: none;
    }

    .projects {
        padding: 10em 0;
    }


    .projects__container .project__text {
        visibility: visible;
        flex-direction: row !important;
        opacity: 1;
        position: relative;
        gap: 10px;
        padding-top: 15px;
        padding-bottom: 55px;
    }

    .project__container .project__titles {
        opacity: 1;
        flex-direction: column;
        display: flex;
        gap: 3px;
        width: fit-content;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .project__container:nth-child(10) .project__titles {
        color: var(--black);
    }


    .quote {
        height: auto;
        padding-bottom: 5em;
    }

    .skills {
        height: auto;
        padding-top: 5em;
    }

    .skills__list {
        font-size: 1.4rem;
    }

   

    .landing, .footer__bottom {
        gap: 20px;
    }

    .about .grid__container {
        gap: 20px;
    }

    .about__kamera {
        margin-top: 250px;
        margin-bottom: 150px;
    }

    .about__fahrrad {
        grid-column: 5/8;
    }

    .software {
        margin-top: 230px;
        text-align: center;
    }

    .about__postkarten {
        margin-top: 15em;
    }



}



@media screen and (max-width: 768px) {

    h1 {
        font-size: 3.7rem;
        line-height: 130%;
    }

    .landing {
        height: 90vh;
    }

    footer {
        padding: 20px;
    }


.first-img {   
    top: 0%;
    right: 40%;
    height: 300px;
}

.second-img {   
    bottom: 40%;
    left: 10%;
    height: 250px;
}

.third-img {   
    bottom: 20%;
    right: 0%;
    height: 250px;
}

.fourth-img {   
    height: 250px;
    bottom: 20%;
    right: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
}

    .button__landing {
        font-size: 1.8rem;
        padding: 3px 20px;
        vertical-align: 8px;
    }

    .projects__container img, .projects__container video {
        height: 50vh;
    }


    .projects__container .project__text {
        visibility: visible;
        flex-direction: row !important;
        opacity: 1;
        position: relative;
        gap: 10px;
        padding-top: 15px;
        padding-bottom: 55px;
    }

    .project__container .project__titles {
        opacity: 1;
        flex-direction: column;
        display: flex;
        gap: 3px;
        width: fit-content;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .project__container:nth-child(10) .project__titles {
        color: var(--black);
    }

    .project__titles h5 {
        font-size: 2rem;
    }

    .schicksaal__mobile {
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .schicksaal__desktop {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    .quote {
        padding-bottom: 4em;
    }

    .skills {
        height: 100vh;
    }

    .footer__question {
        padding-top: 5em;
    }

    .container__navbar {
        width: 30%;
        z-index: 999999;
    }

    .navbar {
        border-radius: 10px;
    }

    .navbar .slide {
        border-radius: 8px;
    }

    .navbar__links {
        padding: .6rem 0;
        border-radius: 8px;
    }

    .navbar__links a {
        width: 3.5rem;
    }

    .navbar__links a p {
        font-size: 0.8rem;
    }


    .grid-container {
        gap: 20px !important;
    }

    .footer__logo {
        grid-column: 1/6;
    }

    .footer__site-map {
        grid-column: 6/8;
    }

    .next_mobile, .prev_mobile, .back__mobile, .button__plus-mobile {
        visibility: visible;
        display: block;
        opacity: 1;
      
    }

    .next_mobile, .prev_mobile, .back__mobile {
        padding: 14px 14px 6px 14px !important;
    }

    .next_desk, .prev_desk, .back__desk {
        visibility: hidden;
        display: none;
        opacity: 0;
    }

}



@media screen and (max-width: 592px) {

    footer {
        padding: 10px;
    }

    h1 {
       text-align: center;
       font-size: 3rem;
       line-height: 130%;
       grid-column: 1/9;
    }

   

    h5 {
        font-family: 'neue-haas-grotesk-text', sans-serif;
        font-size: 1.25rem;
    }

    h6 {
        font-size: .8rem;
        line-height: 110%;
        /* font-weight: 400; */
    }

    .project__header {
        padding: 20px;
    }

    .landing {
        gap: 10px;
    }

    .landing h1 {
        grid-column: 1/9;
    }

    .button__landing {
        font-size: 1.6rem;
        vertical-align: 6px;
        border-radius: 8px;
    }
    .landing img {
        height: 200px;
    }

    h2 {
        font-size: 2rem;
        line-height: 87%;
    }

    h3 {
        font-size: 1.5rem;
        padding-top: 0.3em;
        line-height: 150%;
    }

    .project__body-text p:not(.button__plus p) {
        font-size: 16px;
    }

   
    .grid__container {
        gap: 10px;
    }

    

    .topbar {
        padding-top: 1.7em;
    }

    .topbar img {
        height: 40px;
    }

    .lang-button__container {
        height: 40px;
    }

    .topbar .logo__mobile, .topbar .logo__mobile img {
        height: 30px;
    }

    .lang-button {
        padding: 4px 5px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lang-button__links a {
        width: 3rem;
    }

    .container__navbar {
        width: 60%;
        padding-bottom: 1.5em;
        z-index: 999999;
    }

    .tag__container {
        padding: 0;
    }

    .navbar {
        padding: 4px;
        border-radius: 15px;
    }

    .navbar .slide {
        border-radius: 13px;
    }

    .navbar__links {
        /* padding: .6rem 0.3rem; */
        border-radius: 13px;
    }

    .navbar__links a {
        width: 7rem;
    }

    .navbar__links a p {
        font-size: 1.5rem;
    }

    .footer__buttons button, .footer__buttons a {
        width: 100%;
    }

    .projects__container img, .projects__container video {
        height: 65vh;
    }

    .button__projects, .button__CTA, .button__social-media, .footer__site-map, .project__body-title {
        font-size: 15px;
    }

    .button__projects {
        padding: 15px 30px;
    }

    /* PROJECTS */

    section.project__grid {
        display: flex;
        flex-direction: column;
    }

    section.left {
        max-height: initial;
        overflow-y: initial;
        order: 2;
        padding: 0;
        height: auto;
        margin-top: 17em;
    }

    section.right {
        max-height: initial;
        padding: 20px 20px 10px 20px;
        order: 1;
        position: fixed;
        background-color: var(--white);
        transition: background-color .7s, color .7s;
        max-height: 80vh;
    }

    .project__body-titles {
        padding-top: 5em;
        padding-bottom: 0;
    }

    .tag__container {
        padding-bottom: 1em;
    }

    .project__body-titles h2 {
        padding-bottom: 10px;
    }

    section.right .button__plus {
        height: fit-content;
        margin-top: 0;
        aspect-ratio: initial;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 8px 12px;
    }

    #read-less-button {
        padding-bottom: 10px;
    }

   

    .project__nav {
        padding-bottom: 1.5rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    .button__CTA {
        padding: 15px 30px;
    }

    .projects__container {
        padding-top: 80px;
    }

    .projects__container .project__text {
        visibility: visible;
        flex-direction: row !important;
        opacity: 1;
        position: relative;
        gap: 10px;
        padding-top: 15px;
        padding-bottom: 55px;
    }

    .project__container .project__titles {
        opacity: 1;
        flex-direction: column;
        display: flex;
        gap: 3px;
        width: fit-content;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .project__titles + div {
        text-align: right;
        width: min-content;
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: flex-end;
    }

    #read-more-button-mob, #read-less-button-mob {
        align-self: end;
    }

    .button__tag {
        padding: 3px 5px;
        border: none;
        background-color: var(--black);
        color: var(--green);
        text-wrap: nowrap;
        border: 1px solid var(--green);
    }

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

    .lang-button {
        border: 1px solid var(--black);
    }

    .quote {
        padding: 0;
        height: 100vh;
        gap: 5em;
    }


    .quote h3 {
        grid-column: 1/9;
    }

    .skills__list {
        font-size: 1.5rem;
        font-weight: 400;
        gap: 0.8em;
    }

    .skills {
        height: auto;
        gap: 75px;
        margin-bottom: 12em;
        margin-top: 10em;
    }

    .skills .menu-item {
        width: 100%;
        padding: 0.5em;
        text-decoration: underline 1.5px;
        text-underline-offset: 3.5px;
    }


    .footer__question {
        padding-top: 10em;
        gap: 2em;
        padding-bottom: 10em;
    }

    .topbar {
        width: calc(100% - 40px);
    }


    .footer__question h3 {
        font-size: 2.5rem;
    }

    .footer__buttons {
        align-items: stretch;
        flex-direction: column;
        align-items: center;
        gap: 1em;
        height: auto;
    }

    .footer__buttons button {
        width: 100%;
    }

    .footer__buttons .button__CTA {
        padding: 10px;
    }

    .footer__bottom-fine-print {
        padding-bottom: 4em;
    }

    .footer__bottom {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        row-gap: 15px;
        padding-bottom: 0;
        align-items: end;
        grid-template-areas: 'site site site button button button'
        'logo logo logo logo logo logo';
    }

    .footer__site-map {
        grid-area: site;
        font-size: 1rem;
    }

    .footer__site-map li {
        padding-top: 5px;
        padding-bottom: 0;
    }

    .footer__social-media {
        grid-area: button;
        gap: 5px;
    }
    
    .footer__logo {
        grid-area: logo;
    }

    .logo__mobile, .next_mobile, .prev_mobile, .back_mobile, .button__plus-mobile  {
        visibility: visible;
        display: block;
        opacity: 1;
    }

    .logo__desktop-lang, .logo_fynn-neu, .topbar__link img, .next_desk, .prev_desk, .back__desk, .topbar__left + button, .button__plus-desk {
        visibility: hidden !important;
        display: none !important;
        opacity: 0;
    }

    .bottom__nav {
        padding: 14px 14px;
    }

    /* about */

    body.about {
        padding: 20px;
    }

    .about .grid__container {
        gap: 10px;
    }

    .about__fahrrad {
        grid-column: 5/9;
    }

    .about__kamera {
        margin-top: 30px;
        grid-column: 1/7;
        grid-row: 4/5;
     }

    .about .text-2,  .about .text-1, .about__skizze{
        grid-column: 1 / 9;
    }

    .about .text-2 {
        grid-row: 5/6;
    }

    .about__tattoo {
        grid-row: 6/7;
        grid-column: 2/7;
        margin-top: 30px;
    }

    .software {
        grid-row: 7/8;
        width: 100%;
        grid-column: 1/9;
    }

    .software h2 {
        width: 100%;
    }

    .software__list {
        grid-row: 8/9;
        width: 100%;
    }

    .software__list button {
        font-size: 1rem;
    }

    .about_character {
        grid-row: 9/10;
        grid-column: 1/6;
    }

    .about_postkarten {
        grid-row: 10/11;
        margin-top: 30px;
        grid-column: 4/9;
    }
   
}


@media screen and (max-width: 390px) {
    
   

  
    .container__navbar {
        width: 50%;
        z-index: 99999;
    }

    .button__social-media {
        font-size: 13px;
    }

    .navbar__links a {
        width: 5rem;
    }

    .magic-ball__container {
        height: 250px;
        width: 250px;
    }
    
    .img__magic-ball {
        height: 250px;
        width: 250px;
    }

    .magic-8-ball {
        height: 250px;
        width: 250px;
    }

    .answer {
        height: 60px;
        left: 70px;
    }

    img.answer.visible {
        left: 70px;
    }

    .answer.visible {
        height: 60px;
        left: 70px;
    }

    .answer.hidden {
        height: 60px;
        left: 70px;
    }
    

}



