* {
    box-sizing: border-box;
  }


html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body{
    color: white;
    background-color: #B2DCFF;
    margin: 0 ;
    padding: 0;
}

main{
    margin: 25px;
}   

/* ==================Header===================== */

header{
    background-color: #ffffff;
    text-align: center;
}

header::after{
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background-color: #055394;
}


.logo{
    width: 90vw;
    max-width: 400px; 
    margin: 40px 20px 20px 20px;
    
}

h1{
    color: #000;
    text-align: center;
    font-family: Arial;
    font-size: 28px;
    font-style: italic;
    margin: 56px 25px 0px 25px;
}

h2{
    color: #FFF;
    font-family: Arial;
    font-size: 24px;
    font-style: italic;
    margin-top: 9px;
    margin-bottom: 0px;
}

p{
    color: #000;
    text-align: center;
    font-family: Arial;
    font-size: 18px;
    font-style: italic;
    margin: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

p::before{
    content: '';
    display: block;
    max-width: 75px;
    height: 2px;
    background-color: #055394;
    margin: auto ;
    margin-top: 10px;
    margin-bottom: 10px;
}

h1.claim{
    max-width: 400px;
    margin: 25px auto;
    padding: 25px;
    text-align: center;
}


.claim::after{
    content: '';
    display: block;
    width: 45%;
    max-width: 250px;
    height: 4px;
    background-color: #055394;
    margin: auto ;
    margin-top: 10px;

}

/* ==================SUCHE Auto===================== */
#auto{
    margin-bottom: 5vh;
}

.svg_start{
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    padding: 25px;
}

.search_auto{
    width: 90%;
    max-width: 230px; 
    min-width: 100px
}


.schranke{
    position: absolute;
    height: 10vw; 
    max-height: 40px;
    min-height: 20px;
    z-index: -1;
    transition: transform 0.5s ease;
    transform-origin: right center; 
    transform: translateX(-120px);
}


.schranke_balken{
    width: 6vw;
    max-width: 23px;
    min-width: 15px;
}

.search_auto:hover .schranke{
    transform: rotate(-30deg);
}

.schrankeanimation{
    transform: rotate(-30deg);
    transform: translateX(-120px) rotate(50deg)
}

.schranke_total{
    position: relative;
}


.interaction-wrapper:hover .schranke,
.interaction-wrapper:focus-within .schranke {
    transform: translateX(-120px) rotate(50deg);
}

.ph_titel{
    margin-bottom: 5vh;
}


/* ==================Erklärteil===================== */

.svg-container {
    width: 100vw;         
    height: 100%;        
    overflow: hidden;     
    position: relative;
}

    .svg-container img {
        width: 120vw;        
        margin-left: -10vw; 
        display: block;
        object-fit: cover;

}

#first_banner{
    margin-bottom: 30px;
    width: 100%;
    min-height: 40px;
}

/* ==================3 Parkhäuser in der Nähe===================== */
.parkhaeuser{
    background-color: #6ABAFF;
    opacity: 85%;
    padding: 10px 15px;
    border-radius: 10px;
    margin: 32px auto;
    width: 100%;
    max-width: 800px;
}

.parkhaeuser-list{
    flex-wrap: wrap;
}

h2{
    color: #055394;
    font-family: Arial;
    font-size: 26px;
    font-style: normal;
}

h2.anzahl_space{
    color: #FFF;
    font-style: italic;
    flex: 1;
}

h3{
    color: #FFF;
    font-family: Arial;
    font-size: 20px;
    font-style: italic;
    margin-top: 2px;
}

h4{
    color: #055394;
    font-family: Arial;
    font-size: 20px;
    font-style: italic;
    margin: 0;
    margin-bottom: 2px;
}


.free_space{
    display: flex;
    align-items: end;
}

.button_maps{
    width: 35px;
    margin-bottom: 3px;
}


h2.prozent_text{
    font-size: 10vw;
    font-size: clamp(24px, 12vw, 100px);
    color: fff;
    font-style: italic;
    margin-bottom: 30px;
} 

.fuellstand{
    position: relative;
}

#prozentanzeige{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -70%);
}


.progress-container {
  width: 100%;
  background-color: #eee;
  z-index: -2;
  aspect-ratio: 200/68;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #172D3F;
  transition: width 1s ease;
  z-index: -1;
}

.Silhouette{
  Width: 30vw;
  position: absolute;
}

svg{
  fill: #055394;
}

svg:hover{
    fill: #FFF;
}

.auslastung::before{
    content: '';
    display: block;
    max-width: 175px;
    height: 4px;
    background-color: #055394;
    margin: 10px auto  ;
    margin-top: 10px;
}


/* ==================Webseite===================== */

.svg-cointainer_webseite{
    display: none;
}

@media (max-width:351px){
    .schranke{
        transform: translateX(-30vw);    
    }

      h2.prozent_text{
        margin-bottom: 40px;
    }
}

@media (min-width:800px) {
   
    .svg-container{
        display: none;
    }

    .svg-cointainer_webseite{
        display: contents;
    }

    h1{
        margin: 45px 25px 0px 25px;
    }

    p{
        font-size: 20;
    }

    h1.claim{
        max-width: none;
        margin: 25px auto 40px;
        padding: 25px 0 0;
        text-align: center;
    }

    h2.prozent_text{
        margin-bottom: 20px;
    }

    .schranke_balken{
        max-width: 27px;
    }


    .search_auto{
        width: 100%;
    }


    .svg_start{
        padding-left: 40px;
        gap: 0;
    }

    .schranke_total{
        transform: translate(-40px);
    }

    .schranke{
        bottom: 80px; 
        right: -30px;
        position: relative;
        max-height: 45px;
        transform: translateX(0);
        z-index: -1;
    }

    .interaction-wrapper:hover .schranke,
.interaction-wrapper:focus-within .schranke {
    transform: rotate(45deg);
}

}

#button{
    display: none;
}

#searchbutton {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100vw;
}

/* ==================Loader===================== */
.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #74bfff;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loadcontainer{
    display: flex;
  justify-content: center;
  align-items: center;
  height: 20vh;
}