/*=======Google Fonts=======*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*=======Variables CSS=======*/
:root {
    --header-height: 3.5rem;

    /*==========Colors==========*/
    /* Color mode HSL ( hue, saturation, lightness) */
    --first-color: hsl(135, 17%, 51%);
    --first-color-dark: hsl(109, 18%, 58%);
    --first-color-light: hsl(110, 25%, 76%);
    --title-color: hsl(120, 6%, 31%);
    --text-color: hsl(0, 0%, 41%);
    --body-color: hsl(0, 0%, 100%);
    --container-color: hsl(266, 78%, 98%);
    --border-color: hsla(0, 0%, 23%, 0.373);
    --white: #fff;

/*==========Font and typography==========*/
/* .5rem = 8px, 1rem = 16px ...*/
--body-font: 'Poppins', sans-serif;
--big-font-size: 3rem;
--h1-font-size: 2.5rem;
--h2-font-size: 2.25rem;
--h3-font-size: 1.5rem;
--larger-font-size: 1.4rem;
--large-font-size: 1.2rem;


/*==========Font weight==========*/
--weight-400: 400;
--weight-500: 500;
--weight-600: 600;
}
/*=======Dark Theme=======*/
#day-night:checked ~ * {
    --title-color: hsl(0, 11%, 95%);
    --text-color: hsl(0, 1%, 84%);
    --body-color: hsl(0, 0%, 16%);
    --container-color: hsl(0, 1%, 19%);
    --border-color: hsl(0,0%, 87%);
}


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

html {
    scroll-behavior: smooth;
}

input,
textarea,
button,
body {
    font-family: var(--body-font);
    font-size: var(--larger-font-size);
}

main {
    background-color: var(--body-color);
    color: var(--text-color);
}

input,
textarea,
button {
    outline: none;
    border: none;
    background-color: transparent;
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--weight-600);
}

ul {
    list-style: none;
}

a {
    color: var(--white); /* Verwenden Sie eine CSS-Variable oder eine feste Farbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

a:hover {
    color: var(--first-color-dark); /* Ändert die Farbe beim Hover */
    text-decoration: underline; /* Optional: Fügt eine Unterstreichung beim Hover hinzu */
}

img {
    max-width: 100%;
}
/*=======Reusable CSS Classes=======*/
.container {
    max-width: 90%;
    margin-inline: auto; 
    padding-inline: 1.5rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section {
    padding-block: 6rem;
}

.section__title {
    font-size: var(--h3-font-size);
    font-weight: var(--weight-400);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section__title::before {
    content: attr(data-title);
    display: block;
    color: var(--first-color);
    font-size: var(--large-font-size);
    font-weight: var(--weight-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .5rem;
}

.title-cetner {
    text-align: center;
    margin-bottom: 3rem;
}

.title-center {
    text-align: center;
    margin-bottom: 3rem;
}
/*=======Style Switcher=======*/
input[type='radio'],
input[type='checkbox']{
  display: none;
}

.style__switcher {
    position: fixed;
    right: 0;
    bottom: 20%;
    padding: 1rem;
    width: 220px;
    border: 1px solid var(--border-color);
    background-color: var(--container-color);
    border-radius: .5rem;
    z-index: 1000;
    transform: translateX(100%);
    transition: all .3s ease;
}

#toggler:checked ~.style__switcher {
    transform: translateX(0);
}

.style__switcher-toggler,
.style__switcher-theme {
    position: absolute;
    right: 110%;
    color: var(--title-color);
    background-color: var(--body-color);
    border: 1px solid var(--border-color);
    height: 48px;
    width: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .3s ease;
}

.style__switcher-toggler {
    top: 7%;
}

.style__switcher-theme {
    bottom: 7%;
}

.style__switcher-theme .fa-moon {
    display: none;
}

#day-night:checked ~ * .fa-sun {
    display: none;
}

#day-night:checked ~ * .fa-moon {
    display: block;
}

.style__switcher-title {
    font-size: var(--large-font-size);
    margin-bottom: .75rem;
}
.style__swichter-colors {
 display: grid;   
 grid-template-columns: repeat(5, 1fr);
 gap: .5rem;
}

.style__swichter-colors .color {
    height: 30px;
    width: 30px;
    border-radius: 50%;
}


.color-1 {
    background-color: hsl(14, 33%, 51%);
}

.color-2 {
    background-color: hsl(0, 28%, 62%);
}
.color-3 {
    background-color: hsl(135, 17%, 51%);
}

.color-4 {
    background-color: hsl(31, 26%, 56%);
}

.color-5 {
    background-color: hsl(330, 34%, 37%);
}

.color-6 {
    background-color: hsl(0, 67%, 40%);
}

.color-7 {
    background-color: hsl(20, 54%, 45%);
}

.color-8 {
    background-color: hsl(169, 28%, 43%);
}

.color-9 {
    background-color: hsl(124, 19%, 34%);
}

.color-10 {
    background-color: hsl(243, 31%, 52%);
}

#color-1:checked ~ * {
    --first-color: hsl(14, 33%, 51%);
    --first-color-dark: hsl(20, 43%, 55%);
    --first-color-light: hsl(20, 80%, 80%);    
}

#color-2:checked ~ * {
    --first-color: hsl(0, 28%, 62%);
    --first-color-dark: hsl(351, 22%, 50%);
    --first-color-light: hsl(351, 100%, 83%);    
}

#color-3:checked ~ * {
    --first-color: hsl(135, 17%, 51%);
    --first-color-dark: hsl(136, 22%, 57%);
    --first-color-light: hsl(135, 41%, 79%);    
}

#color-4:checked ~ * {
    --first-color: hsl(31, 26%, 56%);
    --first-color-dark: hsl(46, 13%, 49%);
    --first-color-light: hsl(47, 46%, 86%);    
}

#color-5:checked ~ * {
    --first-color: hsl(330, 34%, 37%);
    --first-color-dark: hsl(304, 37%, 60%);
    --first-color-light: hsl(329, 31%, 66%);    
}

#color-6:checked ~ * {
    --first-color: hsl(0, 67%, 40%);
    --first-color-dark: hsl(0, 82%, 26%);
    --first-color-light: hsl(0, 39%, 71%);    
}

#color-7:checked ~ * {
    --first-color: hsl(20, 54%, 45%);
    --first-color-dark: hsl(20, 100%, 32%);
    --first-color-light: hsl(20, 80%, 73%);    
}

#color-8:checked ~ * {
    --first-color: hsl(169, 28%, 43%);
    --first-color-dark: hsl(169, 28%, 24%);
    --first-color-light: hsl(170, 20%, 77%);    
}

#color-9:checked ~ * {
    --first-color: hsl(124, 19%, 34%);
    --first-color-dark: hsl(124, 50%, 13%);
    --first-color-light: hsl(124, 28%, 60%);    
}

#color-10:checked ~ * {
    --first-color: hsl(243, 31%, 52%);
    --first-color-dark: hsl(243, 90%, 16%);
    --first-color-light: hsl(243, 40%, 71%);    
}
/*=======Header & Nav =======*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    box-shadow: 0 3px 9px hsla(0, 0%, 0%, 0.05);
    z-index: 100;
}
.nav__logo {
    position: relative;
}
.nav,
.nav__list{
    display: flex;
}

.nav {
    height: calc(var(--header-height) + 2.25rem);
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    color: var(--first-color);
    font-size: var(--h2-font-size);
}

.nav__list {
    column-gap: 1.5rem;
}

.nav__link {
       color: var(--title-color);
       transition: all 0.3 ease ;
}

.nav__toggle {
    display: none;
}
/* Active Link */
.active-link,
.nav__link:hover {
    color: var(--first-color);
}
/*======= Home =======*/
.home { 
    background-color: var(--container-color);
    padding-block: 9rem 3rem; 
}
.home__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    
}

.home__small {
    font-size: var(--larger-font-size);
    font-size: var(--large-font-size);
    font-size: var(--weight-800);
    letter-spacing: 1px;
}

.home__title {
    font-size: var(--big-font-size);
    line-height: 1.4;
}

.home__title span {
    font-weight: var(--weight-300);
}

.home__description {
    margin-block: 1.5rem 3rem;
}

.home__btns {
    display: flex;
    column-gap: 1rem;
}

.home__img-wrapper {
    margin-inline: auto 2rem;
    position: relative; 
}


.home__img-wrapper::before,
.home__img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home__img-wrapper::before {
    background-color:  var(--first-color-light);
    animation: animate__before 8s ease-in-out infinite;
}

.home__img-wrapper::after {
    background-color: var(--first-color);
}

.home__img-wrapper::after,
.home__img { 
    animation: animate__after 8s ease-in-out infinite;
}

.home__img {
    z-index: 10;
    position: relative;
    vertical-align: middle;
}
/* Home animation */
@keyframes animate__before {
    0% {
        border-radius: 65% 35% 29% 71% / 55% 70% 30% 45%;
    }

    50% {
        border-radius: 21% 79% 50% 50% / 21% 50% 50% 79% ;
    }

    100% {
        border-radius: 65% 35% 29% 71% / 55% 70% 30% 45%;
    }
}

@keyframes animate__after {
    0% {
        border-radius: 21% 79% 50% 50% / 21% 50% 50% 79%;
    }

    50% {
        border-radius: 65% 35% 29% 71% / 55% 30% 70% 45% ;
    }

    100% {
        border-radius: 21% 79% 50% 50% / 21% 50% 50% 79%;
    }
}

/*======= Button =======*/
.btn {
    background-color: var(--first-color); /* Hintergrundfarbe */
    color: var(--white); /* Textfarbe */
    text-decoration: none; /* Entfernt die Unterstreichung */
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out; /* Sanfte Übergänge */
}

/* Hover-Effekt für Buttons */
.btn:hover {
    background-color: var(--first-color-dark); /* Ändert die Hintergrundfarbe beim Hover */
    color: var(--white); /* Stellt sicher, dass die Textfarbe erhalten bleibt */
    text-decoration: none; /* Keine Unterstreichung beim Hover */
}

/* Transparent-Button */
.btn--transparent {
    background-color: transparent; /* Transparenter Hintergrund */
    color: var(--first-color); /* Textfarbe */
    border: 1px solid var(--first-color); /* Rahmenfarbe */
}

/* Hover-Effekt für Transparent-Button */
.btn--transparent:hover {
    background-color: var(--first-color); /* Hintergrundfarbe ändern */
    color: var(--white); /* Textfarbe ändern */
    text-decoration: none; /* Keine Unterstreichung */
}

/*======= About =======*/

#quotebox {
    position: absolute;
    top: 50%; /* Standardposition */
    right: 22%; /* Abstand von rechts */
    width: 18vw; /* Standardbreite */
    box-shadow: 3px 3px 35px 5px rgba(154, 149, 149, 0.4);
    border-radius: 15px;
    padding: 15px;
    background: rgba(147, 144, 144, 0.375);
    color: white;
    font-size: 0.9rem;
    transform: rotate(-5deg); /* Schräg setzen */
    z-index: 1;

    /* Text zentrieren */
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
    text-align: center; /* Text innerhalb der Box zentrieren */
}

#newquote { margin:0.3em 0.3em 0.3em 0.3em;  display:block;
  position:absolute;right:0.5em;bottom:0.5em;}
#stil { margin-bottom:0.3em;  left: 40%; display:block;
position:absolute; bottom:0.5em;}

#quote-section {
  background:none; 
  display:block;
 
  min-height:50vh;
  

}
.quote {
  font-family:Oswald;
  margin: 2em 0 0 0em;
  padding: 0em 2em 0em 2.5em;
  position:relative;
  font-style: italic;
 color:white;
 font-size:1.51em;
  line-height:2.5em;
    text-shadow: -1px 0 3px #2a185b;
}
.quote:first-letter { 
  font-family: "Great Vibes";
  font-size:2.51em;
  letter-spacing:0.1em;
}
.quote:before
 {
  font-family:serif;
  color: #ccc;
  content: "\201C";
  font-size: 5em;
  position:absolute;
  left:-3px;
  top: 0.3em;
  line-height: 0.1em;
}

.quote:after
 {
  font-family:serif;
  color: #ccc;
  content: "\201D";
  font-size: 5em;
  position:absolute;
  right:0em;
  bottom: 0em;
  line-height: 0.1em;
}



  
.about__container {
    
    grid-template-columns: 4fr 8fr;
    align-items: center;
}

.about__img-wrapper {
    position: relative;
    height: 400px; 
}

.about__img {
    position: absolute;
    top: -1rem;
    left: 2rem;
    height: 110%;
    object-fit: cover;
    transition: all .3s ease;
}

.about__img:nth-child(1){
    clip-path: polygon(0 0, 0 32%, 28% 0);
    transform: translateY(-1.25rem);
}

.about__img:nth-child(2){
    clip-path: polygon(28% 0, 0 32%, 0 100%, 17% 100%, 90% 0);
    transform: translateY(-0.75rem);
}

.about__img:nth-child(3){
    clip-path: polygon(100% 0, 100% 65%, 74% 100%, 17% 100%, 90% 0);
    transform: translateY(-0.25rem);
}

.about__img:nth-child(4){
    clip-path: polygon(100% 65%, 74% 100%, 100% 100%);
    transform: translateY(0.25rem);
}

/* About img hover */
.about__img-wrapper:hover .about__img {
    transform: translateY(0);
}

.about__description {
    padding: 0; /* Entfernt Innenabstände */
    margin: 0; /* Entfernt Außenabstände */
    border: none; /* Entfernt den unteren Rahmen */
    
    line-height: 1.5; /* Angenehmer Zeilenabstand für Lesbarkeit */
    color: var(--text-color); /* Standard-Textfarbe */
    border-bottom: 1px solid var(--border-color);
}

.about__description-1 {
    
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    margin-right: 10rem;
    }

.about__description-2 {
    border-bottom: 1px solid var(--border-color);
    }

.about__data{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .25rem;
    margin-bottom: 3 rem;
}

.data__intem {
    display: flex;
    column-gap: .75rem;
    margin-bottom: 1rem;
}

.data__title {
    font-size: var(--larger-font-size);
}

.about__link {
    color: hsl(225, 71%, 95%)
}

.about__bottom,
.about__social-links {
    display: flex;
    align-items: center;
}

.hidden {
    display: none;
  }
  
  #lightbox {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
  }
  
  .lightbox-content {
    background: #ffffff8c;
    top: 35;
    width: 90%; /* Breite der Lightbox */
    max-width: 800px; /* Maximale Breite */
    height: 90%; /* Höhe der Lightbox */
    max-height: 600px; /* Maximale Höhe */
    padding: 10px;
    border-radius: 8px;

    text-align: center;
    position: relative;
  }
  
  .lightbox__iframe {
    width: 600px;
    height: 400px;
    border: none;
  }

  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
  }
  

.about__bottom {
    display: flex;
    align-items: center;
    column-gap: 3rem;
}

.about__social-links {
    display: flex;
    align-items: center;
    column-gap: 1.25rem;
}

.about__social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.about__social-links::before {
    content: '';
    background-color: var(--text-color);
    width: 60px;
    height: 2px;
    margin-right: 1rem;
}

.about__social-link {
    color: var(--text-color);
    transition: all 0.3s ease;
} 

.about__social-link:hover {
    color: var(--first-color);
}
/*======= Qualifikationen =======*/
.qualification {
    background-color: var(--container-color);
}

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

.resume__heading {
    text-align: center;
    font-size: var(--h3-font-size);
    padding-bottom: 2rem;
}

.resume__heading,
.resume__item {
    border-bottom: 1px solid var(--border-color);
}

.resume__item:not(:first-child){
    border-right: 1px solid var(--border-color) ;
}

.resume__item {
    position: relative;
}

.resume__header {
    padding: 2rem 1.5rem;
}

.resume__subtitle {
    font-size: var(--larger-font-size);
    cursor: pointer;
}

.resume__icon {
    background-color: var(--container-color);
    border: 2px solid var(--border-color);
    font-size: var(--h2-font-size);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    line-height: 1.1em;
    text-align: center;
    cursor: pointer;
    position: absolute;
    right: -1.5rem;
    bottom: -1.5rem;
    z-index: 10;
}

.resume__content {
    padding-inline: 1.5rem 3rem;
}

.resume__date-title {
display: flex;
justify-content: space-between;
align-items: center;
}

.resume__title {
    font-size: var(--h3-font-size);
}

.resume__date {
    color: var(--title-color);
    font-size: var(--large-font-size);
}

.resume__description {
    margin-block: 1.25rem 2rem;
}
/*======= Skills =======*/

.skills {
    background-color: var(--body-color);
}

.skills__container {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 4rem;
}

.skills__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skills__title,
.skills__description{
    padding-inline: 1.5rem ;
}

.skills.name {
    font-size: var(--larger-font-size);
}

.skills__no {
    color: var(--title-color);
    font-size: var(--large-font-size);
    font-weight: var(--weight-600);
}

.skills__description {
    margin-block: 1rem 1.8rem;
}

.skills__bar,
.skills__percentage {
    height: 2px;
}

.skills__bar{
    background-color: var(--border-color);
}

.skills__percentage {
    background-color: var(--first-color);
    position: relative;
}

.skills__percentage span {
    background-color: var(--container-color);
    border: 2px solid var(--border-color) ;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: -0.75rem;
}



/*======= Portfolio =======*/

.work {
    background-color: var(--container-color);
}

.work__container {
    grid-template-columns: repeat(3, 1fr);
}

.work__class {
    width: 100%; /* Bild passt sich der Breite der Karte an */
    height: 100%; /* Bild passt sich der Höhe der Karte an */
    object-fit: cover; /* Stellt sicher, dass das Bild proportional skaliert wird */
    border-radius: 0.5rem; /* Gleiche Abrundung wie die Karte */
}

.work__card{
   
    position: relative;
    width: 100%;
    height: 450px; 
    cursor: pointer;
    overflow: hidden; 
    border-radius: 0.5rem; 
    background-color:rgba(0, 0, 0, 0.5);
}


.work__card::after {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;}

.work__img {
    vertical-align: middle;
}
.work__details{
    position: absolute;
    inset: 0;
    background-color: hsla(0, 0%, 0%, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.work__img,
.work__details {
    border-radius: .5rem;
}

.work__title {
    font-size: var(--h3-font-size);
}

.work__title,
.work__description {
    color: var(--white);
    transform: translateY(1.5rem);
    transition: all .3s ease-in-out;
}

.work__description {
    font-size: var(--large-font-size);
}

/* Work hover */
.work__card:hover .work__details {
    opacity: 1 ;
}

.work__card:hover :is(.work__title, .work__description) {
    transform: translateY(0);
}
/*======= Contact =======*/

.contact__section {
    background-color: var(--body-color);
}
.contact__container {
    grid-template-columns: 5fr 7fr;
    align-items: flex-start;
}

.contact__item{
    display: flex;
    align-items: flex-start;
    column-gap: 1.25rem;
}

.contact__item:not(:last-child) {
    margin-bottom: 2.5rem;
}

.contact__icon {
    color: var(--first-color);
    font-size: var(--large-font-size);
    line-height: 1.8 ;
}

.contact__title {
    font-size: var(--larger-font-size);
}

.contact__data {
    font-size: var(--large-font-size)
}

.form__group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.25rem;
    color: var(--text-color);
}

.input__control {
    color: var(--title-color);
    background-color: var(--container-color);
    padding: 0.9rem .75rem;
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
}

.textarea {
    height: 140px;
    resize: none;
}

.contact__btn {
    float: right;
}
/*======= Footer =======*/
footer {
    background-color: var(--container-color);
    padding-block: 3rem;
}

.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center ;
}



.footer__social-links {
    display:flex;
    column-gap: 1.25rem;
    text-align: right;
}

.footer__social-link {
    color: var(--text-color);
    font-size: var(--large-font-size);
}

.footer__link {
    color: #007bff;
    text-decoration: none;
}

.footer__link:hover {
    text-decoration: underline;
}
/*========Breakpoints========*/
/* für große Bildschirme */ 
@media screen and (max-width: 1200px){
    .container {
        max-width: 960px;
    }
}

:root {
--big-font-size: 3rem; /* Vergrößert große Überschriften */
--h1-font-size: 2.5rem; /* Vergrößert H1-Überschriften */
--h2-font-size: 2rem; /* Vergrößert H2-Überschriften */
--h3-font-size: 1.5rem; /* Vergrößert H3-Überschriften */
--larger-font-size: 1.2rem; /* Vergrößert größere Texte */
--large-font-size: 1rem; /* Vergrößert Standardtexte */
}

.home__img {
    width: 340px;
}

.about__img-wrapper{
    height: 320px;
}

.resume__icon {
    line-height: 1.4em;
}

.style__switcher {
    width: 200px;
}

.style__swichter-colors .color {
    width: 24px;
    height: 24px;
}

.style__switcher-toggler,
.style__switcher-theme {
    width: 40px;
    height: 40px;
}

.style__switcher-toggler {
    top: 10%;
}

.style__switcher-theme {
    bottom: 10% ;
}


@media screen and (max-width:992px){
    .container {
        max-width: 720px;
    }

    .home__container,
    .about__container,
    .resume__container,
    .contact__container{
        grid-template-columns: 1fr;
    }

    .home__content {
        order: 1;
    }

    .home__img-wrapper {
        margin-inline: auto;
    }

    .about__container,
    .contact__container {
        row-gap: 2rem;
    }

    .about__img:not(:first-child) {
        display: none;
    }
   
    .about__img:first-child {
        clip-path: initial;
        transform: initial;
        left: 50%;
        translate: -50%;
    }

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

    .resume__container {
        row-gap: 2.5rem;
    }
}
/* für mittlere Bildschirme */
@media screen and (max-width:768px){
    .container {
        max-width: 560px;
    }

    .nav {
        height: calc(var(--header-height) + 1rem);
    }

    .nav__list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        flex-direction: column;
        align-items: center;
        row-gap: .75rem;
        max-height: 0;
        overflow: hidden;
        transition: all .3s ease;
    }

    .nav__toggle {
        display: block;
        color: var(--text-color);
        font-size: 1.3rem
    }

    #nav-toggler:checked ~ .nav__list {
        max-height: 500px;
        padding: 1.7rem;
    }

    .home__img {
        width: 300px;
    }
    .home__container {
        width: 100vw; /* Volle Breite des Viewports */
        padding: 0 1rem; /* Optional: Innenabstand für kleinere Bildschirme */
    }

    .about__description {
        font-size: 1rem; /* Kleinere Schriftgröße für mobile Geräte */
        line-height: 1.6; /* Etwas engerer Zeilenabstand */
    }
}
/* für kleine Bildschirme */

@media screen and (max-width:576px){
.home {
    padding-top: 7rem;
}

    .home__container {
        width: 100vw; /* Volle Breite des Viewports */
        padding: 0 0.5rem; /* Noch kleinerer Innenabstand */
    }

    .home__title {
        font-size: 1.5rem; /* Noch kleinere Schriftgröße */
        text-align: left; /* Text linksbündig ausrichten */
        padding: 0 1rem; /* Innenabstand */
    }

    .home__description {
        font-size: 1rem; /* Noch kleinere Schriftgröße */
        text-align: left; /* Text linksbündig ausrichten */
        padding: 0 1rem; /* Innenabstand */
    }
    .home__btns {
        padding: 0 1rem; /* Innenabstand */
    }
.section {
    padding-block: 4rem;
}

.resume__icon {
    display: none;
}

.skills__container,
.work__container,
.form__group {
    grid-template-columns: 1fr;
}

.footer__container{
    flex-direction: column;
    row-gap: 1rem;
}

}


@media screen and (max-width:450px){
 .about__data {
    grid-template-columns: 1fr;
 }

 .about__bottom ,
 .resume__date-title{
    flex-direction: column;
    align-items: flex-start;
 }

 .about__bottom {
    row-gap: 1.25rem;
 }

 .about__bottom .btn {
    order: 1;
 }

 .resume__date-title {
    row-gap: .25rem;
 }

 .resume__header,
 .skills__titles,
 .skills__description {
    padding-inline: 1rem;
 }

 .resume__content {
    padding-inline: 1rem 1.5rem;
 }
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Halbtransparentes Schwarz */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox__content {
    position: relative;
    width: 80%; /* Standardbreite der Lightbox */
    height: 80%; /* Standardhöhe der Lightbox */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox__iframe {
    width: 100%; /* Passt das iframe an die Breite der Lightbox an */
    height: 100%; /* Passt das iframe an die Höhe der Lightbox an */
    border: none; /* Entfernt den Rahmen des iframes */
}

.lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .lightbox__content {
        width: 95%; /* Breiter auf kleineren Bildschirmen */
        height: 85%; /* Höher auf kleineren Bildschirmen */
    }

    .lightbox__iframe {
        height: 100%; /* Passt die Höhe des Inhalts an */
    }
}

@media screen and (max-width: 576px) {
    .lightbox__content {
        width: 95%; /* Noch breiter auf sehr kleinen Bildschirmen */
        height: 80%; /* Begrenzung der Höhe */
    }

    .lightbox__iframe {
        height: 100%; /* Passt die Höhe des Inhalts an */
    }
}

/* Lightbox-Container */
.lightbox {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Halbtransparenter schwarzer Hintergrund */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Lightbox-Inhalt */
.lightbox__content {
    background-color: #ffffff59;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto; /* Scrollbar für lange Inhalte */
    position: relative;
}

/* Schließen-Button */
.lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}