/* FONTS */
.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.roboto-light {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.roboto-thin-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.roboto-light-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.roboto-regular-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.roboto-medium-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.roboto-bold-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.roboto-black-italic {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid white;
  transition: color 0.3s ease;
}

.german {
  display: block;
}

.englisch {
  display: none;
}

.language{
  padding: 10px;
  margin-top: 15px;
  background-color: #333;
  color: #F5F5F5;
  border: none;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: medium;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin-left: 50px;
  position: fixed;
  z-index: 100001;
}

.language:hover{
  color: #1A1A1A;
  background-color: #00BFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #121212; /* Dark background */
  color: #F5F5F5; /* Light text color for contrast */
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
}

/* Vollbild-Video */
.showreel-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('assets/showreel-background.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 0;
  overflow: hidden;
}

.showreel {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  position: fixed;
  z-index: -1; /* Video wird hinter anderen Inhalten platziert */
}

header {
  position: relative;
  height: 100vh;
}

/* Standard-Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center; /* Horizontal zentriert */
  padding: 20px 0;
  font-size: 1rem;
  box-sizing: border-box;
  z-index: 100000;
  background-color: #121212;
  border-bottom: 1px solid #333;
  font-weight: medium;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  overflow: hidden;
}

.nav a {
  color: white; /* Accent color for links */
  transition: color 0.3s ease;
  text-decoration: none;
  padding: 10px;
}

.nav a:hover,
.nav a.active {
  background-color: #00BFFF;
  color: #1A1A1A;
  border-radius: 5px; /* Runde Ecken, falls gewünscht */
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  z-index: 1;
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* Zentriere Text unter dem Bild */
  color: #F5F5F5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

.logo img {
  height: 25vh;
}

.logo h1 {
  font-size: 10vh;
  font-weight: bold;
  text-shadow: 3px 3px #00BFFF;
}

.logo h2 {
  font-size: 5vh;
  font-weight: bold;
  padding-top: 10px;
  margin-top: -30px;
  padding-bottom: 20px;
  text-shadow: 2px 2px #00BFFF;
}

/* #logo_img {
  max-width: 200px;
  margin-bottom: 10px;
}*/

.nav-right a {
  margin-left: 20px;
}

/* Icon für kleine Bildschirme */
.nav .icon {
  display: none;
}

.transition-line {
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #00BFFF, #FF1493, #32CD32);
  margin-bottom: 20px;
}

#works{
  padding-bottom: 50px;
  background-color: #04040400;
  padding-left: 5%;
  padding-right: 5%;
}

/* SHOWREEL */
.reel{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #F5F5F5;
  background-color: #1A1A1A;
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 5%;
}

.reel h1 {
  font-size: 2.5em;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.software{
  padding: 5%;
  padding-top: 3%;
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  background: #1A1A1A;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  text-align: center;
  justify-content: center;
}
.software:hover{
  transform: scale(1.02);
}
.software h2{
  color: #F5F5F5;
  padding-bottom: 2.5%;
  font-size: 2em;
  text-shadow: 2px 2px #00BFFF;
  font-size: 2.5em;
}
.softwareImages {
  display: grid;
  margin-left: 5%;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
}
.softwareCell{
  width: 60%;
}
.softwareCell img {
  width: 100%;
}

/* PORTFOLIO */
/* Allgemeine Layout-Anpassungen für Desktop-Ansicht */
.portfolio .content {
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #F5F5F5;
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
  background: #1A1A1A;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.portfolio .content h2 {
  font-family: "Montserrat", sans-serif;
  color: #00BFFF; /* Accent color */
  font-weight: 700;
  -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
}

.portfolio .underline {
  width: 50px;
  height: 3px;
  background-color: #00BFFF;
  margin: 10px 0;
}

.portfolio .content:hover {
  transform: scale(1.02);
}

.portfolio .content,
.portfolio .content.reversed {
    padding: 5%; /* Gleiche Padding-Werte für beide Layouts */
}

.portfolio .content iframe {
  max-width: 100%;
  margin-top: 20px;
}

.portfolio .content .text-container {
  flex: 1;
  max-width: 40%; /* Passe die Breite des Textes an */
  height: 100%;
  margin-left: 20px;
  margin-top: -3%;
}

.portfolio .video-section {
  flex: 1;
  max-width: 80%;
}

.portfolio .video-section h2 {
  color: #F5F5F5;
  margin-bottom: 5px;
  font-size: 2.5em;
}

.portfolio .text-container h2 {
  color: #F5F5F5;
  margin-bottom: 5px;
  padding-bottom: 20px;
  font-size: 2em;
  text-shadow: 2px 2px #00BFFF;
}

/* Unterstrich bleibt unter dem Titel */
.portfolio .video-section .underline {
  width: 50px;
  height: 3px;
  background-color: #F5F5F5;
  margin-bottom: 20px;
}

/* Umgekehrte Anordnung für "reversed" Klasse */
.portfolio .content.reversed {
  flex-direction: row-reverse;
}

.portfolio .content.reversed .text-container {
  margin-right: 20px;
  margin-left: 0;
}

.portfolio .content.reversed iframe{
  margin-left: 7%;
}

.portfolio .content.reversed .video-section h2 {
  text-align: right; /* Titel rechtsbündig */
}

.portfolio .content.reversed .video-section .underline {
  margin-right: 0; /* Entferne linken Abstand */
  margin-left: auto; /* Rechte Ausrichtung des Unterstrichs */
}

.underline {
  width: 50px; /* Länge des Strichs (anpassbar) */
  height: 3px; /* Dicke des Strichs */
  background-color: #F5F5F5; /* Farbe des Strichs */
  margin-top: 0px; /* Positionierung der Linie näher am Text */
  margin-bottom: 40px;
}

.video-monitor-wrapper {
  position: relative;
  width: fit-content;
  margin: auto;
}

#monitor {
  width: 100%; /* Monitorgröße automatisch anpassen */
}

.video-monitor-wrapper iframe {
  position: absolute;
  top: 2%;    /* Passe die Werte an, um das Video richtig auf dem Monitor zu platzieren */
  left: -3.6%;
  width: 93.5%;  /* Breite des Iframe an den Monitorrahmen anpassen */
  height: 74.5%; /* Höhe des Iframe anpassen */
  pointer-events: none; /* Falls du Interaktionen blockieren willst */
}

.content.normal .video-section .video-monitor-wrapper iframe {
  position: absolute;
  top: 2%;    /* Passe die Werte an, um das Video richtig auf dem Monitor zu platzieren */
  left: 3.5%;
  width: 93.5%;  /* Breite des Iframe an den Monitorrahmen anpassen */
  height: 74.5%; /* Höhe des Iframe anpassen */
  pointer-events: none; /* Falls du Interaktionen blockieren willst */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  grid-auto-flow: dense;
  gap: 6px;
  padding: 5%;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#wide{
  grid-column: span 2 / auto;
}

#reel_mobil{
  display: none;
}

#qlb{
  display: none;
}

#dbd{
  display: none;
}

#lehr{
  display: none;
}

.instafeed{
  transition: transform 0.3s ease;
}

.instafeed:hover{
  transform: scale(1.02);
}

.eapps-instagram-feed-container{
  background-color: #1A1A1A;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Modal */
.modal {
  z-index: 999999; /* Stelle sicher, dass dies hoch genug ist */
  display:none;
  padding-top:10px;
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  overflow:auto;
  background-color:rgb(0,0,0);
  background-color:rgba(0,0,0,0.8)
  }
  
  .modal-content{
  margin: auto;
  display: block;
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .close {
  text-decoration:none;
  float:right;
  font-size:30px;
  font-weight:bold;
  color:white;
  cursor: pointer;
  }

  .modal-content, #caption {   
    
      -webkit-animation-name: zoom;
      -webkit-animation-duration: 0.6s;
      animation-name: zoom;
      animation-duration: 0.6s;
  }
  
  
  @-webkit-keyframes zoom {
      from {-webkit-transform:scale(0)} 
      to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
      from {transform:scale(0)} 
      to {transform:scale(1)}
  }

  #about{
    background-color: #04040400;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #F5F5F5;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
  }

  .split{
    padding: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 0;
    background: #1A1A1A;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
  }

  .split:hover{
    transform: scale(1.02);
  }

  .split img{
    max-width: 40%;
    height: 100%;
  }
  .text_about{
    width: 50%;
  }
  .text_about h2{
    color: #F5F5F5;
    margin-bottom: 5px;
    padding-bottom: 20px;
    font-size: 2em;
    text-shadow: 2px 2px #00BFFF;
  }
  #about_image{
    display: block;
  }
  #about_image2{
    display: none;
  }

  .cv{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 50px;
  }

  .cv h3{
    background-color: #00BFFF;
    color: #1A1A1A;
    padding: 10px;
    border-radius: 5px;
  }

  .cv h3:hover{
    color: #F5F5F5;
    cursor: pointer;
  }

  .cv a{
    text-decoration: none;
  }

  /* Footer Styles */
footer {
  background-color: #121212;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-family: Arial, sans-serif;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 800px;
  margin: auto;
}

.footer-content p {
  font-size: 0.9em;
  margin-bottom: 10px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 10px;
}

.social a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social a:hover {
  color: #1da1f2; /* Farbe für Hover (z. B. helles Blau) */
  transform: scale(1.2);
}

@media screen and (max-width: 834px){
  .logo h1 {
    font-size: 5vw;
  }

  .logo h2 {
    font-size: 3vw;
  }
}

@media screen and (max-width: 834px) and (min-height:500px){
  .logo h1 {
    font-size: 10vw;
  }

  .logo h2 {
    font-size: 5vw;
  }
}

@media screen and (min-width: 835px) and (max-width: 1020px) and (min-height: 650px){
  .logo h1 {
    font-size: 15vw;
  }

  .logo h2 {
    font-size: 10vw;
  }
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media screen and (max-width: 1100px) {
  .language{
    margin-left: 30px;
  }
  .nav-right {
    display: none; /* Navigation wird versteckt */
  }

  /* Flexbox für zentrierte Logo- und Icon-Anordnung */
  .nav {
    justify-content: space-between;  /* Zwischen Logo und Icon platzieren */
    align-items: center;
    height: 60px;
    position: fixed;
  }

  /* Hamburger-Icon anzeigen */
  .nav .icon {
    display: block;
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    top: 5%; /* Vertikal zentrieren */
    left: 85vw;
    z-index: 100002; /* Über das Menü legen */
  }

  /* Navigation für das Overlay-Menü */
  .nav.responsive .nav-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1A1A1A;
    z-index: 100;
    overflow: hidden;
  }

  /* Menü-Links */
  .nav-right a {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 30px;
    text-decoration: none;
    transition: color 0.3s ease;
    z-index: 100;
  }

  .nav-right a:hover {
    color: #ff6347; /* Ändere Farbe beim Hover */
  }

  /* Übergang für das Dropdown */
  .nav-right {
    transition: all 0.5s ease-in-out;
  }

  /* Weiche Übergänge */
  .nav.responsive {
    background-color: rgba(0, 0, 0, 1);
    transition: background-color 0.5s ease;
  }

  .portfolio .content {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
    padding: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .portfolio .content iframe {
    margin: 0 0 20px 0; /* Abstand nur unten */
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
  }

  .portfolio .content .text-container {
    margin: 0;
    max-width: 100%;
  }

  .portfolio .text-container h2 {
    color: #F5F5F5;
    margin-bottom: 5px;
    font-size: 2em;
  }

  .portfolio .content.reversed {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
    padding: 10%;
    padding-top: 5%;
    padding-bottom: 5%;
  }

  .portfolio .content.reversed iframe {
    margin: 0 0 20px 0; /* Abstand nur unten */
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
  }

  .portfolio .content.reversed .text-container {
    margin: 0;
    max-width: 100%;
  }

  .portfolio .video-section {
    margin-bottom: 0px;
  }
  
  /* Mittige Ausrichtung des Unterstrichs unter dem Titel */
  .portfolio .video-section .underline {
    margin-left: auto;
    margin-right: auto;
  }

  .portfolio .content.reversed .video-section h2 {
    text-align: center; 
    text-overflow: "-";
  }
  
  .portfolio .content.reversed .video-section .underline {
    margin-right: auto; 
    margin-left: auto; 
    margin-bottom: 40px;
  }

  #monitor{
    display: none;
  }
  #reel_mobil{
    display: block;
    padding: 10%;
    padding-top: 5%;
    width: 80%;
  }
  
  #qlb{
    display: block;
    padding: 10%;
    padding-top: 5%;
    width: 80%;
  }
  
  #dbd{
    display: block;
    padding: 10%;
    padding-top: 5%;
    width: 80%;
  }
  
  #lehr{
    display: block;
    padding: 10%;
    padding-top: 5%;
    width: 80%;
  }
  .underline {
    width: 50px; /* Länge des Strichs (anpassbar) */
    height: 3px; /* Dicke des Strichs */
    background-color: #F5F5F5; /* Farbe des Strichs */
    margin-top: 0px; /* Positionierung der Linie näher am Text */
    margin-bottom: 40px;
    margin-left: 45%;
  }
  .split{
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #about_image{
    display: none;
  }
  #about_image2{
    display: block;
  }
  .split{
    padding: 5%;
  }
  .split img{
    max-width: 80%;
    padding-left: 10%;
    padding-bottom: 5%;
  }
  .text_about{
    width: 80%;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    gap: 6px;
    padding: 10%;
    padding-bottom: 5%;
  }
}
