/* Allgemein */
:root {
  /* Color: var(--main); */
  --black: #041518;
  --white: #d4e8ec;
  --error: #df2f3b;
  --success: #18c524;
  --main: #22777f;
  --second1: #0f6171;
  --second2: #379495;
  --second3: #fbfcec;
  --accent: #bdd9c5;
  --realwhite: #fafafa;
  --background-color: #4f7592;
  --darker-background-color: #243848;
  --accent-color: #1d2525;
  --text-color: #FFFFFF;
  --navbar-height: 30px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  color: var(--text-color);
}
/* Fonts */
@font-face {
  font-family: 'LbBold';
  src: url("../public/fonts/LibreBaskerville-Bold.ttf") format("truetype");
}
@font-face {
  font-family: 'LbItalic';
  src: url("../public/fonts/LibreBaskerville-Italic.ttf") format("truetype");
}
@font-face {
  font-family: 'Lb';
  src: url("../public/fonts/LibreBaskerville-Regular.ttf") format("truetype");
}
/* Typescale */

h1 {font-size: 5.61rem;} h2 {font-size: 4.209rem;} h3 {font-size: 3.157rem;} h4 {font-size: 2.369rem;} h5 {font-size: 1.777rem;} h6 {font-size: 1.333rem;} p {font-size: 1rem;} small {font-size: 0.75rem;}

html{
  height: 100%;
  width: 100%;
}
body{
  height: 100%;
  width: 100%;
  background-color: var(--darker-background-color);
  font-family: "LbItalic";
}
/* Kopf */
.logo{
  background-image: url("../public/images/Wilhelmstedt.jpg");
  background-size: cover; /* Bild füllt den gesamten Bereich aus */
  background-position: center; /* Bild zentriert */
  background-repeat: no-repeat; /* Bild wird nicht wiederholt */
  width: 100%;
  height: 100px;
}
.title{
  font-family: "LbItalic";
  font-size: 60px;
  text-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF, 0 0 20px #FFF, 2px 2px 10px rgba(206,206,206,0);
  padding-top:10px;
  text-align: center;
  color:black;
}
/* Header-section  */
header{
    position: sticky;
    top: 0;
    z-index: 1000;
      
  nav{
    height: var(--navbar-height);
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    input[type="checkbox"]{
      display: none;
    }
    .flags{
      height: 20px;
      width: 30px;
    }
    .toggle_button{
      width: 30px;
      height: 20px;
      position: absolute;
      top: 5px;
      right: 25px;
      z-index: 2;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      .bar{
        height: 4px;
        width: 100%;
        background: var(--text-color);
        border-radius: 100px;
      }
    }
    .home{
      width: 100px;
      height: 100%;
      text-align: center;
      position: relative;
      height: 100%;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      &:hover{
        background-color: var(--accent-color);
      }  
    }
    ul{
      height: 100%;
      display: flex;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
      list-style: none;
      li{
        width: 120px;
        height: 100%;
        text-align: center;
        position: relative;
        &:hover{
          background-color: var(--accent-color);
        }
        a{
          height: 100%;
          width: 100%;
          text-decoration: none;
  
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      .dropdown{
        height: min-content;
        width: 120px;
        background: var(--background-color);
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        li{
          height: 40px;
          width: 100%;
          a{
            width: 100%;
            text-align: center;
          }
        }
      }
      li:hover .dropdown{
        display: flex;
      }
      .expandable_li{
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}
/* Footer-section */
footer{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3rem; /* Höhe der Fußzeile */
  Z-index: -2;
  .copyright{
    text-align: center;
  }
}
.content-wrapper {
  padding-bottom: 4rem; /* Höhe der Fußzeile */
}
/* Standardbutton */
.btn {
  margin: 2em 0;
  gap: 2rem;
}
.buttonsend {
  text-align: center;
  padding: 0.5em 1.5em;
  border-radius: 5px;
  border: 1px solid white;
  outline: none;
  transition: .4s ease-in-out;
  background-color: #252525;
  color: white;
  cursor: pointer;
  text-decoration: none;
}
.buttonsend:hover{
  color: rgb(105, 95, 95);
  border: 1px solid rgb(105, 95, 95);
}
.buttonsend:active {
  color: rgb(0, 0, 0);
}
/* Responsive */
/* Container Grundkonfiguration */

.container {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  min-height: 100vh;
}
/* Large screen bis 1919px */
@media only screen and (min-width: 1301px) and (max-width: 1919px) {
  .container {
    width: 85%;
  }
}
/* Medium screen : bis 1300px */
@media only screen and (min-width: 950px) and (max-width: 1300px) {
  .container {
    width: 100%;
  }
}
/* Large Mobile : bis 767px */ /* Ab hier mobile Header*/
@media only screen and (max-width: 949px) {
  .container {
    width: 100%;
    .row{
        flex-direction: column;
        .map , .contact{
          width: 100%;
        }
      }
  }
  /* Ab hier mobile Navbar */
  header{
    nav{
      .toggle_button{
        display: flex;
      }
      input[type="checkbox"]:checked ~ ul{
        display: block;
      }
      ul{
        height: min-content;
        width: 100%;
        background: var(--background-color);
        display: none;
        position: absolute;
        top: var(--navbar-height);
        li{
          height: min-content;
          width: 100%;
        }
        a{
          padding: 30px 0;
        }
        .expandable_li{
          display: block;
          label{
            padding: 30px 0;
            cursor: pointer;
            display: block;
          }
          &:hover .dropdown{
              display: none;
          }
          input[type="checkbox"]:checked ~ .dropdown{
              display: block;
          }
        }
        .dropdown{
          width: 100%;
          position: static;
          li{
            padding: 0;
            display: block;
            position: static;
            background: var(--darker-background-color);
          }
          a{
            width: 100%;
            padding: 0;
            justify-content: center;
          }
        }
      }
    }
  }
}
/* Unterseiten allgenein */
.msg{
    text-align: center;
    margin-top:40px;
  }
main{
  min-height: 80%; 
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  
  .msgtext{
    text-align: center;
    margin-top:10px;
  }
  .error{
      margin-top: 20px;
      color: var(--error);
      text-align: center;
    }
  .success{
    margin-top: 20px;
    color: var(--success);
    text-align: center;
  }
}
/* Home */
.gallery{
    width: 70%; /* Oder eine andere Breite, die du brauchst */
    margin-left: 15%;
    aspect-ratio: 16 / 9; /* Beispiel: 16:9 Seitenverhältnis */
    display: grid;
    place-items: center;
    
}
.slide-container{
    height: 95%;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 4px solid black;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.slide-container .slides{
  width: 100%;
  height: calc(100% - 40px);
  position: relative;
  overflow: hidden;
}
.slide-container .slides img{
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.slide-container .slides img:not(.active){
  top: 0;
  left: -100%;
}
span.next, span.prev{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px;
  color: #eee;
  font-size: 24px;
  font-weight: bold;
  transition: 0.5s;
  border-radius: 3px;
  user-select: none;
  cursor: pointer;
  z-index: 1;
}
span.next{
  right: 20px;
}
span.prev{
  left: 20px;
}
span.next:hover, span.prev:hover{
  background-color: #ede6d6;
  opacity: 0.8;
  color: #222;
} 
.dotsContainer{
  position: absolute;
  bottom: 5px;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
}
.dotsContainer .dot{
  width: 15px;
  height: 15px;
  margin: 0px 2px;
  border: 3px solid #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.6s ease;
}
.dotsContainer .active{
  background-color:  #bbb;
}

@keyframes next1{
  from{
    left: 0%
  }
  to{
    left: -100%;
  }
}
@keyframes next2{
  from{
    left: 100%
  }
  to{
    left: 0%;
  }
}

@keyframes prev1{
  from{
    left: 0%
  }
  to{
    left: 100%;
  }
}
@keyframes prev2{
  from{
    left: -100%
  }
  to{
    left: 0%;
  }
}
/* site6 login */
.login_form_container{
  display: flex;
  justify-content: center;
  align-items: center;
  #heading {
    text-align: center;
    margin: 1.2rem;
    color: var(--white);
    font-size: 1.5rem;
  }
  .form {
    input:-webkit-autofill,
    input:-webkit-autofill:hover, 
    input:-webkit-autofill:focus, 
    input:-webkit-autofill:active  {
      transition: background-color 5000s;
      -webkit-text-fill-color: #fff !important;
    }
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    gap: 10px;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 0.4em;
    background-color: var(--background-color);
    border-radius: 25px;
    transition: .4s ease-in-out;
    width: 320px;
    box-shadow:  10px 10px 30px #272525,-10px -10px 30px #272525;

    &:hover {
      transform: scale(1.05);
      border: 1px solid black;
      
    }
    .btn {
      display: flex;
      flex-direction: column;
      margin: 2.5em 0;
      gap: 2rem;

      .button1 , .button2 , .button3 {
        text-align: center;
        padding: 0.5em;
        border-radius: 5px;
        border: none;
        outline: none;
        transition: .4s ease-in-out;
        background-color: #252525;
        color: white;
        cursor: pointer;
        text-decoration: none;
        font-family: "LbItalic";
        
        
      }
  
      .button1:hover , .button2:hover{
        background-color: rgb(32, 32, 32);
        color: white;
      }
  
      .button3:hover {
        background-color: red;
        color: white;
      }
    }
    .field {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5em;
      border-radius: 25px;
      padding: 0.6em;
      border: none;
      outline: none;
      color: white;
      background-color: #000000;
      box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
      img{
        height: 16px;
        width: 16px;
      }
    }
    .passwort-feld[type=password] ~ .passwort-button .passwort-verstecken-icon,
    .passwort-feld[type=text] ~ .passwort-button .passwort-anzeigen-icon {
      display:none;
    }
    .passwort-feld2[type=password] ~ .passwort-button2 .passwort-verstecken2-icon,
    .passwort-feld2[type=text] ~ .passwort-button2 .passwort-anzeigen2-icon {
      display:none;
    }
    .passwort-button, .passwort-button2 {
      transform: translateY(10%);
      img{
        height: 16px;
        width: 20px;
      }
      cursor:pointer;
    }
    .field2 {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5em;
      border-radius: 25px;
      padding: 0.6em;
      border: none;
      outline: none;
      color: white;
      
    }

    .input-icon {
      height: 1.3em;
      width: 1.3em;
      fill: white;
    }

    .input-field {
      background: none;
      border: none;
      outline: none;
      width: 100%;
      color: #d3d3d3;
      cursor: pointer;
      font-family: "LbItalic";
    }
    /* Tooltip container */
    .tooltip {
      position: relative;
      
      /* Tooltip text */
      .tooltiptext {
        visibility: hidden;
        width: 310px;
        background-color: #555;
        color: #fff;
        text-align: center;
        padding: 5px 5px;
        border-radius: 6px;
        /* Position the tooltip text */
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 30%;
        margin-left: -60px;
        /* Fade in tooltip */
        opacity: 0;
        transition: opacity 0.3s;
      }
      /* Tooltip arrow */
      .tooltiptext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
      }
      /* Show the tooltip text when you mouse over the tooltip container */
      &:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
      }
    }
  }
}
/* Site4 Mietwagen */
.carscontainer{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.cars {
  
  width:45%;
  height: 95%;
  overflow: hidden;
  position: relative;
  border: 4px solid black;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin-bottom:20px;
  .txt{
    margin-bottom:15px;
  }
}
.cars img{
    width: 100%;
}
/* Kontaktseite */
.row{
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-top: 20px;
  justify-content: center;
  .map{
    width: 50%;
    height: 550px;
    iframe{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
  .contact{
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 50%;
    .platz{
      margin-bottom: 20px;
    }
    .error{
      margin-bottom: 20px;
    }
    form{
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      .heading{
        margin: 20px 0;
      }
      .emailfield {
        display: flex;
        width: 70%;
        border-radius: 25px;
        padding: 0.6em;
        border: none;
        outline: none;
        color: white;
        background-color: #171717;
        box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
        margin-bottom: 20px;
        margin-top: 10px;
        gap: 0.5rem;
        img{
          height: 16px;
          width: 16px;
        }
      }
      .input-icon {
        height: 1.3em;
        width: 1.3em;
        fill: white;
      }
      .input-field {
        background: none;
        border: none;
        outline: none;
        width: 100%;
        color: #d3d3d3;
        cursor: pointer;
      }
      .tex{
        border-radius: 25px;
        padding: 1.5rem;
        border: none;
        outline: none;
        color: white;
        background-color: #171717;
        box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
        margin-top: 10px;
        width: 80%;
      }
    }
  }
}
/* Dashboard */
.formdash{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.texdash{
    border-radius: 25px;
    padding: 1.5rem;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
    margin-top: 10px;
    width: 80%;
  }
.platz{
    text-align: center;
    margin:20px 0px;
}
.aktiv {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom:20px;
  gap: 1em;
}
.imgsmall{
  width: 30%; /* Oder eine andere Breite, die du brauchst */
  height: auto; /* Höhe wird automatisch angepasst */
  
}
.bilderlist {
  display: flex;
  flex-wrap: wrap;
}
.bildblock{
  margin-bottom:10px;
  display: flex;
  justify-content: center;
  align-items: center;
}  

.checkblock{
  margin-left: 30px;
  
}
.checklines{
  display: flex;
  margin:20px 0px;
}
.platz2{
  margin-left: 20px;
  font-size: 1.2rem;
  color: var(--text-color);
}