* {
  box-sizing: border-box;
}

html, body {
    height: 100%; /* Ensure the body takes the full height */
    margin: 0; /* Remove default margin */
    width: 100vw;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

header {
    /* background-image: linear-gradient(rgb(70, 120, 187) 0px, rgb(34, 60, 93) 100%); */
    background-image: linear-gradient(0deg, rgba(70, 120, 187, 0.5), rgba(34, 60, 93, 0.5)), url("./images/FeedBookInUse.jpg");
    background-position: left bottom;
    background-size: cover;
    background-repeat: no-repeat;
    height: 70vh;
    width: 100vw;
    padding: 20px;
    color: white;
    display: flex;
    justify-content: flex-start; /* Aligns items to the left horizontally */
    align-items: center; /* Centers items vertically */
    position: relative;
}

h1 {
  font-size: 80px;
  line-height: 1.0;
  margin-bottom: -5px;
}

h2 {
    color: rgb(34, 60, 93);
    font-size: 35px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 24px;
}

.subtitle {
  font-size: 40px;
  line-height: 1.0;
  text-shadow: 2px 2px 8px #ffffff;
}

.bold-impressum {
  font-weigth: bold;
}

.splash {
  padding-left: 50px;
}

section {
    padding: 20px;
}

.container {
    width: 100vw;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-feedbook {
  text-align: justify;
}

.box{
    width: 100%;
    max-width: 1240px;
    padding: 20px;
    background-color: #e8e8e8;
    border-radius: 35px;
}

.benefits {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.benefit-list {
  flex: 1;
  margin-right: 20px;
}

.benefit-list:last-child {
  margin-right: 0;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    background-color: #e8e8e8;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}

.tiles {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.description {
    width: 70%;
    padding-right: 20px;
}

.tile {
    background-image: linear-gradient(rgb(70, 120, 187) 0px, rgb(34, 60, 93) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 33%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tile-text {
  font-size: 20px;
}

.tile-no-text {
    background-image: linear-gradient(rgb(70, 120, 187) 0px, rgb(34, 60, 93) 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 30%;
    height: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tile h3 {
    margin-top: 0;
}

footer {
  background-color: #e8e8e8;
  padding: 20px;
  text-align: center;
}
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100vw;
    background-color: #e8e8e8;
    color: rgb(34, 60, 93);
}

.footer a img {
  max-width: 150px;
  height: auto;
  margin: 15px;
}

@media (max-width: 1200px) {
  .footer {
    flex-direction: column;
    align-items: center;
  }
}

.organisation {
  height: 50px;
  margin: 10px;
}

.ai2teachlogo, .didilogo, .i4slogo {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.feedbooklogo {
  width: 100%;
  height: auto;
  max-width: 200px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button {
  padding: 10px;
  border-radius: 30px;
  font-size: 24px;
  font-weight: 600;
  color: rgb(34, 60, 93);
  background-color: #e8e8e8;
  border: solid 1px rgb(34, 60, 93);
}

.button-splash {
  font-size: 30px;
  border-radius: 35px;
  padding-right: 15px;
  padding-left: 15px;
}

button:hover {
  background-color: rgb(34, 60, 93);
  color: white;
  transition-duration: 0.4s;
  cursor: pointer;
}

.doilink {
  color: black;
  font-style: italic;
}

.doilink-tile {
  color: white;
  font-style: italic;
}

.pdflink {
  color: rgb(34, 60, 93);
  font-style: italic;
}

.iwm-logo-header {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.reference {
  font-size: 18px;
  font-style: italic;
}

.box-contact {
  width: 100%;
  text-align: center;
  align-items: center;
  max-width: 1240px;
  padding: 20px;
  background-color: #e8e8e8;
  border-radius: 35px;
  margin: 24px 0;
}

.contact-text, .contact-button {
  text-align: center;
  align-items: center;
  width: 100%;
}

.contact-button {
  margin: 12px 0;
}

.contact-email {
  font-size: 24px;
}

/* styling the button itself */
.button-contact {
  padding-right: 25px;
  padding-left: 25px;
}

/* adjusting for mobile devices (smartphones) */
@media only screen and (max-width: 600px) {
  header {
    text-align: center;
    height: 45vh;
  }

  h1 {
    font-size: 40px;
    line-height: 1.0;
    margin-bottom: -5px;
  }

  h2, .subtitle {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 18px;
  }

  .splash {
    padding: 15px;
  }

  section {
      padding: 20px;
  }

  .benefits {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .benefit-list {
    margin-right: 0;
  }

  ul li {
      font-size: 18px;
  }

  .tiles {
      flex-direction: column;
  }

  .description {
      width: 100%;
      padding-right: 0;
  }

  .tile {
      padding: 20px;
      width: 100%;
  }

  .tile-text {
    font-size: 20px;
  }

  .tile-no-text {
      width: 100%;
      height: auto;
  }

  .button-splash {
    font-size: 24px;
  }

  .iwm-logo-header {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .reference {
    font-size: 16px;
  }
}

@media only screen and (max-width: 424px) {
  h1 {
    font-size: 40px;
    line-height: 1.0;
    margin-bottom: -5px;
  }

  h2, .subtitle {
    font-size: 24px;
  }
  
  .button-splash {
    font-size: 20px;
    margin-bottom: 50px;
  }

  .iwm-logo-header {
    position: absolute;
    bottom: 0;
    right: 10px;
  }
  
  .iwm-logo-header img{
    max-width: 100px;
    height: auto;
  }
}

@media only screen and (max-height: 720px) {
  .iwm-logo-header {
    position: absolute;
    bottom: 0;
    right: 10px;
  }
  
  .iwm-logo-header img{
    max-width: 100px;
    height: auto;
  }
}
