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

}
html{
font-size:100%;
}


body{
  font-family: "IBM Plex Sans", sans-serif, Helvetica;
  font-size: 16px;
  width:100%;
}
html, body {
    height: 100%;
    width: 100%;
}
h1 { font-family: "IBM Plex Sans", sans-serif, Helvetica;
  font-size: 1.2rem;
  line-height: 2.2rem;
  font-weight: 400;
}
h2 {  font-family: "IBM Plex Sans", sans-serif, Helvetica;
font-size: 1.2rem;
font-weight: 400;
font-style: normal;
line-height: 1.6rem;
}
h3 {  font-family: "IBM Plex Sans", sans-serif, Helvetica;
font-size: 1.2rem;
font-weight: 200;
font-style: normal;
line-height: 1.6rem;
}

p{font-size: 1rem;
font-weight: 200;

}
a{
  text-decoration: none;
  color: black;
}
a:hover{
  font-weight: 400;
  text-decoration: none;
  color: black;
}
a p:hover{
  font-weight: 400;
  text-decoration: none;
  color: black;
}
a h1:hover{
  font-weight: 600;
}
a h2:hover{
  font-weight: 600;
}
a h3:hover{
  font-weight: 600;
}

.MoritzWondrak .photomenu h1{
  color: white;
}
.MoritzWondrak .photomenu h2{
  color: white;
}
.MoritzWondrak .photomenu h3{
  color: white;
}
.MoritzWondrak .mainmenu h1{
  color: white;
}
.MoritzWondrak .mainmenu h2{
  color: white;
}
.MoritzWondrak .mainmenu h3{
  color: white;
}


img{
  width: 100%;

}
button{
  border: none;
  color: black;
  background-color: white;
}
button :hover{
  font-weight: bolder;

}
header{
}
.MoritzWondrak header{
  width:100%;
  height:100%;
  position: relative;
  top:0;
}
.nav{
  height: fit-content;

}
.MoritzWondrak .nav-container{

  }
.mainmenu{
  position: absolute;
  top: 2rem;
  padding-left: 2rem;
  z-index:1;
  ;
}
.MoritzWondrak .mainmenu{
  top:22vh;
}
.nav-container{
  display: flex;
}

.photomenu{
  color: black;
  height: fit-content;
  width: 50%;
  text-align: right;
  padding-top: 2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;

}
.MoritzWondrak .photomenu{

  height: 50rem;
  padding-top: 22vh;
  background-image: url("pictures/start-photo-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}
.paperwork .photomenu{
  opacity: 0.3;
}
.paperwork .photomenu .dropdown-content{
  opacity: 0.3;
}

.photomenu:hover{
opacity: 1;

}
.papermenu{
  width: 50%;
  height: fit-content;
  text-align: left;
  padding-top: 2rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.MoritzWondrak .papermenu{
  height: 50rem;
  padding-top:22vh;
  background-image: url("pictures/mw-start-rechts-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.6;

}
.papermenu:hover{
  color: black;
  opacity: 1;

}
.photography .papermenu{
  opacity: 0.3;
}
.photography .papermenu .dropdown-content{
  opacity: 0.3;
}

.papermenu:hover{
opacity: 1;

}

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;


}
.dropbutton {

  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  background-color: transparent;
  padding: 0;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-content {


  font-optical-sizing: auto;
  font-weight: 200;
  padding-bottom: 30%;
  display: none;
  z-index: 99;


}

.MoritzWondrak .Dropdown-content{
  position: absolute;
  padding: 0;
  margin: 0;
}



.dropdown-content a {
  color: rgb(50,50,50);
  text-decoration: none;

}


.dropdown-content a:hover {font-weight: 400;
}


.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

#news {
  width: 33%;
  position: fixed;
  bottom: 5rem;
  padding-top: 0.5rem;
  padding-right: 3rem;
  padding-left: 2rem;
  padding-bottom: 1rem;
  color: black;
  background-color: rgb(220,105,4);
  z-index: 0;

}

main{
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 100%;
  padding-top:10%;
  padding-left: 1.5rem;
  padding-right:1.5rem;

  z-index:0;
}









.MoritzWondrak main{
  padding:0;
  margin: 0;

}

.start-left, .start-right{
  width:50%;
  height: 100vh;

}
.start-left img, .start-right img{
  width:100%;
  height: 100%;
  object-fit: cover;

}
.Reihe{
  display: flex;
  flex-direction: row;
  width:100%;
}

.Reihe1-2, .Reihe3-4, .Reihe5-6, .Reihe7-8, .Reihe9-10, .Reihe11-12, .Reihe13-14,
.Reihe15-16, .Reihe17-18, .Reihe19-20, .Reihe21-22, .Reihe23-24, .Reihe25-26,
.Reihe27-28, .Reihe29-30, .Reihe31-32 {
  display: flex;

}

.Reihe1, .Reihe2, .Reihe3, .Reihe4, .Reihe5, .Reihe6, .Reihe7,
.Reihe8, .Reihe9, .Reihe10, .Reihe11, .Reihe12, .Reihe13, .Reihe14, .Reihe15,
.Reihe16, .Reihe17, .Reihe18, .Reihe19, .Reihe20, .Reihe21, .Reihe22, .Reihe23,
 .Reihe24, .Reihe25, .Reihe26, .Reihe27, .Reihe28, .Reihe29, .Reihe30 {
  width: 50%;
  display: flex;

}
.Reihe7-8{
align-items: flex-end;
}
.Reihe7, .Reihe8{
justify-content:flex-end;
}
.Erinnerungsmacher .Reihe1{
  align-items: flex-end;
}

#suche{
  background-color:  rgb(241,125,0);
}
#Bahnhof .Reihe2{
  align-items: flex-start;
}


.Grid{
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem;
}
.Grid-big{
  width:100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;

}
.Grid-text  {
  width: 50%;
  padding: 0.5rem;

}


/* Modal styles */
.slideshow-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: hidden;
  padding-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.slideshow-modal .modal-content {
  display: block;

  max-width:90%;
  max-height: ; /* Prevent images from exceeding the viewport height */
  object-fit: contain; /* Ensures images scale to fit without cutting off */
  margin: auto;
  width: auto;
  height: 80vh;
  align-self: center;
}

.slideshow-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 30px;
  color: gray;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.slideshow-modal .close-btn:hover {
  color: ;
}

.slideshow-nav {
  position: absolute;
  top: 40vh;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.slideshow-nav span {
  font-size: 30px;
  color: gray;
  cursor: pointer;
  transition: 0.3s;
}

.slideshow-nav span:hover {
  color: red;
}

/* Thumbnail image styles */
.thumbnail {
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 10px;
}

.thumbnail:hover {
  opacity: 0.7;
}

/* Description under each image */
.modal-description {
  text-align: right;
  color: black;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-right: 2rem;
  background-color: white;
  width: 100%;
  box-sizing: border-box;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

footer{
  display: flex;
  margin:1.5rem;
  margin-top:2rem;
  padding-bottom: 1rem;
  width: 100%;
}
.MoritzWondrak footer{
  position: fixed;
  margin-bottom:0;
  bottom: 10px;
  color: white;
}
#backToTopBtn {
  padding: none;
  background-color: white;
  cursor: pointer;
}

    input, textarea {
      font-family: "IBM Plex Sans", sans-serif, Helvetica;
      font-size: 0.8rem;
      width: 100%;
      margin: ;
      padding-left:0.2rem ;
      padding-right:0.2rem ;
      border-radius: ;
      border: 1px solid #ccc;

    }
    textarea {
      height: 50px;
      resize: none;
      font-weight: 200;
    }

.r1, .r2, .r3, .r4, .r5{
  padding-right: 0.5rem;
}

#SendenBtn{
  font-family: "IBM Plex Sans", sans-serif, Helvetica;
  font-size: 1rem;

  background-color: orange;
  cursor: pointer;
  padding-left: 0.2rem;
  padding-right:0.2rem;
}
#SendenBtn :hover{
  font-weight: bolder;
}




.links, .rechts {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  display: flex;

}
.links{
  flex-direction: row;
  width: 50%;
}
.rechts{
  width: 50%;
}
.ll, .lm, .lr{
  padding-right: 1.5rem;
}


@media only screen and (max-width: 1000px){
h1{
  font-size: 0.9rem;
  line-height: 1.4rem;
}
h2{
  font-size:0.9rem;
  line-height: 1rem;
}
h3{
  font-size:0.9rem;
  line-height: 1rem;
}
p{
  font-size: 0.8rem;
}
.MoritzWondrak header{
  position: relative;
}
.MoritzWondrak .mainmenu{
  top:2rem;
  position: fixed;
}
.MoritzWondrak .photomenu{

   padding-top:2rem;
}
.MoritzWondrak .papermenu{

  padding-top:2rem;
}
main{
  flex-direction: column;
}
.Reihe1-2, .Reihe3-4, .Reihe5-6, .Reihe7-8, .Reihe9-10, .Reihe11-12,
.Reihe13-14, .Reihe15-16, .Reihe17-18, .Reihe19-20, .Reihe21-22, .Reihe23-24,
.Reihe25-26, .Reihe27-28, .Reihe29-30, .Reihe30-31{
  flex-direction:column;
}


.Reihe1, .Reihe2, .Reihe3, .Reihe4, .Reihe5, .Reihe6, .Reihe7,
.Reihe8, .Reihe9, .Reihe10, .Reihe11, .Reihe12, .Reihe13, .Reihe14, .Reihe15,
.Reihe16, .Reihe17, .Reihe18, .Reihe19, .Reihe20, .Reihe21, .Reihe22, .Reihe23,
 .Reihe24, .Reihe25, .Reihe26, .Reihe27, .Reihe28, .Reihe29, .Reihe30{
width:100%;
}

.Row-reverse{
  flex-direction: row-reverse;
}
  .Grid{
    width: 50%;
}

  .Grid-text{
    width: 50%;
}
form {
  grid-template-columns: 1fr; /* eine Spalte */
}
.links, .rechts{
  flex-direction: column;
  padding-top: 1rem;

}
.links, {
    width: 50%;
}
.rechts{
  width: 45%;
}
input, textarea{
  font-size: 0.8rem;
}
.r1, .r2, .r3, .r4, .r5{
  padding-top: 0.5rem;
}
#SendenBtn{
  font-size: 0.9rem;
}
}
@media only screen and (max-width: 600px){
  h1{
    font-size: 0.9rem;
  }
  h2{
    font-size:0.9rem;
    font-weight: 600;
  }
  h3{
    font-size:0.9rem;
    font-weight: 400;
  }

  .mainmenu{

    display: flex;
    position: sticky;
    top:0.5rem;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.photomenu{
  padding-top:0.5rem;
}
.papermenu{
  padding-top: 0.5rem;
}
  .MoritzWondrak .mainmenu{
    top:2rem;
  }
  .MoritzWondrak .photomenu{
    padding-top:7rem;
  }
  .MoritzWondrak .papermenu{
    padding-top:7rem;
  }


  .mainmenu .dropdown-content{
    padding: 0;
    text-align: center;
    background-color:white;
  }
  .MoritzWondrak .mainmenu .dropdown-content{
    background-color:transparent;
  }


  .photomenu .dropdown-content{
    width: 100%;
  }
  .papermenu .dropdown-content{
    width: 100%;
  }
  .papermenu:hover{
    width: 90%;
  }
  .photomenu:hover{
    width: 90%;
  }
  /* Targeting the start-left and start-right images to expand on hover */
.photomenu:hover ~ .start-left,
.papermenu:hover ~ .start-right {
    width: 90%;
}

#news {
  width: 85%;}

main{
  flex-direction: column;
}

.expu .Reihe1 {
  flex-direction: column;
}
.about .Reihe1{
  flex-direction: column;
}
.about .Reihe2{
  flex-direction:row-reverse ;
}
.paperwork .Reihe7, {
  flex-direction: column;
}
.Reihe9-10{
  flex-direction: column-reverse;
}
.Reihe1, .Reihe2, .Reihe3, .Reihe4, .Reihe5, .Reihe6, .Reihe7,
.Reihe8, .Reihe9, .Reihe10, .Reihe11, .Reihe12, .Reihe13, .Reihe14, .Reihe15,
.Reihe16, .Reihe17, .Reihe18, .Reihe19, .Reihe20, .Reihe21, .Reihe22, .Reihe23,
 .Reihe24, .Reihe25, .Reihe26, .Reihe27, .Reihe28, .Reihe29, .Reihe30{
  flex-direction: column;
}

.Row{
  flex-direction: row;
}


  .Grid{
    width: 100%;
  }
  .Grid-text{
    width: 100%;
  }
  .expu .Grid-text{
    width: 100%;
  }
  .about .Grid-text{
    width: 100%;
  }
  .slideshow-modal .modal-content {
    max-height: 70vh; /* Adjust height on small screens */
  }

  .modal-description {
    font-size: 0.7rem;
  }

  .slideshow-nav span {
    font-size: 24px; /* Smaller nav buttons for smaller screens */
  }
  /* When hovering over .photomenu, increase the width of .start-left */
.photomenu:hover ~ .start-left {
  width: 90%;
}

/* When hovering over .papermenu, increase the width of .start-right */
.papermenu:hover ~ .start-right {
  width: 90%;
}
footer{
  flex-direction: column-reverse;
}
.links,  {
  width: 100%;
}
.rechts{
  width: 95%;
}



  }
  @media (max-width: 400px) {
  .slideshow-modal .modal-content {
    max-height: 60vh; /* Further reduce max height on very small screens */
  }
