
.horizontal-seperator {
  background: rgb(125, 9, 9);
  height: 5px;
  width: 20%;
  border-radius: 10px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 20px;
}

.back {
  position: sticky;
  margin-top: 10px;
  background: grey;
  height: 50px;
  width: 50px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
img {
  width: 50vw;
}
.content{
  display: flex;
  flex-direction: column;
}
.img-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  justify-content: center;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 100px;
}

.img-container img {
  max-width: 100%;
  height: auto;
  object-position: center;
  transition: all 0.3s;
}

.img-container img:nth-child(1) {
  grid-row: 1 / span 2; /* spans 2 rows starting from the first row */
  grid-column: 2 / span 2; /* spans 2 columns starting from the second column */
}

.img-container img:hover:not(:nth-child(1)) {
  transform: scale(1.035);
}
.img-container img:first-child {
  height: auto;
  width: 30vw;
}
.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.titel {
  font-size: 50px;
  font-family: "Lato", sans-serif;
  margin-top: 0px;
}

.infos {
  font-size: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
}

p{
  text-align: center;
  width: 40%;
  font-size: 30px;
}
@media (pointer: coarse), (max-width: 1060px) {
  .img-container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  .img-container img:first-child {
    height: auto;
    width: auto;
  }
  .content{
    flex-direction: column-reverse;
    padding-bottom: 200px;
  }
  .titel{
    margin: 10px 0px 10px 0px;
  }
  p{
    width: 90%;
  }
  img {
    width: 90vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
}
