@import url("font.css");
@import url("animation.css");
:root {
  --IWW-white: #ffffff;
  --IWW-light-grey-blue: #f0f5f8;
  --IWW-dark-blue: #054f73;
  --IWW-light-blue: #00a8bf;
  --IWW-green: #8bc400;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

a {
  cursor: pointer;
}

h1 {
  font-family: "Roboto Slab", serif;
  color: var(--IWW-light-grey-blue);

  margin: 0px;
  padding: 0px;
  font-family: "Roboto Slab";
  font-size: 62px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2em;
  animation: slideInRight 1000ms ease-in-out 250ms forwards;
  opacity: 0;
}
h3 {
  color: var(--IWW-white);
  margin: 0px;
  padding: 0px;
  font-family: "Open Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  animation: slideInLeft 1000ms ease-in-out 250ms forwards;
  opacity: 0;
}

header {
  padding: 2.3rem 0rem !important;
  position: sticky;
  top: 0;
  background-color: white;
}

header .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main {
  flex-grow: 1;
}
header .logo-list {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  height: 32px;
  width: 32px;
  gap: 22px;
}

.header-container {
  background-image: url("../assets/images/header-image.webp");
  background-size: cover;
  background-position: 50%;
  position: relative;
  height: 60vh;
  min-height: 560px;
  max-height: 700px;
  z-index: -1;
}

.header-container .title,
footer .content,
main section,
header .content {
  max-width: 1680px;
  width: 85%;
  margin: auto;
}
.header-container .title {
  display: flex;
  flex-direction: column;
  gap: 32px;
  line-height: 1em;
  padding-top: 100px;
}

footer {
  background-color: var(--IWW-dark-blue);
  width: 100%;
  min-height: 50px;
  display: flex;
  margin-top: 90px;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--IWW-white);
}

footer ul li a {
  color: #fff;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-decoration: none;
}

.divider {
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik0zMjAgMjhjMzIwIDAgMzIwIDg0IDY0MCA4NCAxNjAgMCAyNDAtMjEgMzIwLTQydjcwSDBWNzBjODAtMjEgMTYwLTQyIDMyMC00MnoiLz48L2c+PC9zdmc+);
  background-size: 100% 100px;
  bottom: 0;
  height: 100px;
  transform: scale(1, 1);
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

section.choices {
  display: flex;
  gap: 90px;
  justify-content: center;
  margin-top: 32px;
  margin-top: -160px;
  opacity: 0;
  z-index: 50;
  animation: slideInUp 800ms ease-in-out 0ms forwards;
}

.choices .card:hover {
  transform: scaleX(1.01) scaleY(1.01) translateX(0px) translateY(-4px) !important;
  transition: transform 300ms ease 0ms;
}
.choices a.card {
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 16px 31px rgba(45, 92, 136, 0.2);
  z-index: 50;
  background-color: var(--IWW-white);
  border-radius: 8px 8px 0px 0px;
  transition: transform 300ms ease 0ms;
  text-decoration: none;
}

.choices .card img {
  max-width: 300px;
  height: 220px;
  width: 60%;
  margin: auto;
}

.choices .card h6 {
  padding: 16px 32px;
  color: var(--IWW-white);
  margin: 0;
  leading-trim: both;
  text-edge: cap;
  font-family: "Open Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

.choices .card h6::after {
  content: url("../assets/images/arrow-right.svg");
  height: 25px;
}

.choices .card.wasserforschung h6 {
  background-color: var(--IWW-light-blue);
}

.choices .card.analytik h6 {
  background-color: var(--IWW-green);
}

@media only screen and (max-width: 917px) {
  section.choices {
    gap: 24px;
  }

  footer {
    margin-top: 24px;
  }

  .choices .card h6 {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .header-container .title {
    gap: 16px;
  }
  h1 {
    font-size: 48px;
  }
  h3 {
    font-size: 18px;
  }
}

@media only screen and (max-width: 575px) {
  header {
    padding: 2.3rem 0rem;
  }
  header img.logo {
    width: 130px;
  }
  .header-container {
    height: 35vh;
  }
  section.choices {
    flex-direction: column;
  }
  .header-container .title {
    gap: 16px;
  }
  h1 {
    font-size: 28px;
  }
  h3 {
    font-size: 14px;
  }
  .choices .card img {
    height: 150px;
  }
  .header-container .title {
    padding-top: 50px;
  }
  .header-container {
    min-height: 400px;
  }
  .choices .card h6 {
    padding: 8px 16px;
  }
}
