@font-face {
  font-family: 'Montserrat';
  src: url(font/Montserrat-Regular.ttf);
}
:root {
  --primary-color: #0038FF;
}
.header {
  display: flex;
  width: 100%; 
  justify-content: space-between;
  padding-top: 50px;
  font-family: 'Montserrat';
  padding-left: 20px;
  padding-right: 20px;
  background-color: #FFFFFF;
}
.header_title {
  margin: 0;
  display: flex;
  align-items: center;
}
.header span {
  font-size: 2.5rem; 
  color: var(--primary-color);
}
.header_navigation {
  display: flex;
  align-items: center;
  height: 52px;
}
.header_navigation a {
  text-decoration: none;
  margin-left: 29px;
  font-size: 2.25rem; 
  color: var(--primary-color);
  padding-right: 20px;
}
body, html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
.page {
  display: flex;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}
.half-section {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.text-section {
  padding: 20px;
  align-items: left;
}

.image-section {
  background-size: cover;
  background-position: center;
}

.text-section h1 {
  color: var(--primary-color);
  font-size: 3.2rem;
  font-family: 'Montserrat';
  margin-top: 250px;
  padding-left: 20px;
  padding-right: 20px;
}

.image-gallery {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  padding: 10%;
}

.gallery-item {
  width: 100%;
  text-align: center;
}

.gallery-item img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.gallery-item button {
  display: inline-block;
  width: 300px;
  height: 50px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  font-size: 1.1rem; 
  font-family: 'Montserrat';
  color: var(--primary-color);
  border: 2px solid #0038FF;
  border-radius: 150px;
}
#page-2 {
  position: relative; 
}
#page-1 .backbutton {
  color: var(--primary-color);
  font-size: 24px;
  font-family: 'Montserrat';  
  padding-left: 50px;
  position: absolute; 
  top: 10px; 
  left: 10px; 
  z-index: 10; 
}
#page-2 .backbutton {
  color: var(--primary-color);
  font-size: 24px;
  font-family: 'Montserrat';  
  padding-left: 50px;
  position: absolute; 
  top: 10px; 
  left: 10px; 
  z-index: 10; 
}
#page-3 {
  position: relative; 
}
#page-3 .backbutton {
  color: var(--primary-color);
  font-size: 24px;
  font-family: 'Montserrat';  
  padding-left: 50px;
  position: absolute; 
  top: 10px; 
  left: 10px; 
  z-index: 10; 
}
#page-3 .text-section h1 {
  text-align: left;
  color: var(--primary-color);
  font-size: 3.2rem;
  font-family: 'Montserrat';
  max-width: 630px;
  padding-left: 20px;
  padding-right: 20px;
}
#page-3 .text-section p {
  padding-left: 0px;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-family: 'Montserrat';
  max-width: 630px;
  padding-left: 20px;
  padding-right: 20px;
}
.fließtext {
  padding-left: 0px;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-family: 'Montserrat';
  max-width: 630px;
  padding-left: 20px;
  padding-right: 20px;
}
.fließtext-2{
  color: var(--primary-color);
  font-size: 0.9rem;
  font-family: 'Montserrat';
}
.footer {
  background-color: #0038FF;
}
.footer_contact {
  background-color: #0038FF;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  font-family: 'Montserrat';
  font-size: 2rem; 
  color: #FFFFFF;
  padding-top: 10px;
}
.footer_navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0038FF;
  width: 100%;
  font-family: 'Montserrat';
  font-size: 1.125rem; 
  color: #FFFFFF;
  padding-bottom: 20px;
}
.footer_navigation a,
.footer_navigation a:visited {
  color: white;
  text-decoration: none;
}
.logo_white {
    display:flex;
    justify-content: center;
    align-items: center;
    background-color: #0038FF;
    padding-top: 20px;
    padding-bottom: 20px;
}
@media screen and (max-width: 1320px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    place-items:center;
    justify-content: center;
    padding: 10px;
  }
  }

@media screen and (max-width: 900px) {
    .page {
      padding:0px;
    }
    .header {
    flex-direction: row;
    padding-top: 20px; 
    justify-content: center;
  }
  .header_title, .header_navigation {
    width: 100%;
    padding-left: 0px; 
    padding-right: 40px;
    justify-content: center; 
  }
  .header_title img {
    width: 100%;
    max-width: 200px; 
    height: auto; 
  }
  .header_navigation a {
    font-size: 1.5rem; 
    margin-left: 10px; 
    padding: 10px 0; 
    display: block; 
  }
  .page {
    flex-direction: column;
  }
  .half-section {
    width: 100%;
  }
  .text-section h1 {
    font-size: 2.3rem; 
    margin-top: 200px;
    padding: 10%;
  }
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
    place-items:center;
    justify-content: center;
    padding: 10px;
  }
  .gallery-item button {
    width: 110px; 
    font-size: 0.7rem; 
    text-align: middle;
  }
  .footer_contact {
    font-size: 1.5rem;
  }
  .footer_navigation {
    font-size: 0.9rem; 
  }
  #page-3 .text-section p {
    padding: 10%;
  }
}













