@font-face {
  font-family: "Berlin Sans bold";
  src: url("/fonts/bold.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Berlin Sans regular";
  src: url("/fonts/regular.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "water.otf";
  src: url("/fonts/water.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

h1,
h2 {
  font-family: "water.otf", sans-serif;
}

h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

h4 {
  font-family: "berlin sans bold", sans-serif;
}

body p {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

nav {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  background-color: rgb(23, 15, 74);
}

nav > a:nth-child(1) {
  display: none;
  color: rgb(165, 218, 218);
}

nav ul {
  padding: 12px;
  margin: 0 auto;
  width: fit-content;
  overflow: hidden;
  text-decoration: none;
}

nav ul li {
  float: left;
  margin: 0 20px;
  padding: 5px;
  line-height: 60px;
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  color: white;
}

nav ul li:hover {
  transform: scale(1.1);
  background-color: black;
  border-radius: 15px;
}

header {
  position: relative;
  margin: 0;
  padding: 0;
}

header img {
  width: 100%;
  height: auto;
  display: block;
}

header h1 {
  position: absolute;
  width: 33%;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 55px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: solid 3px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
}

article:nth-of-type(1) {
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr 1fr;
}

article:nth-of-type(1) img:nth-child(1) {
  grid-column-start: 1;
  grid-row-start: 1;
  border: solid transparent 4px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  justify-self: right;
  margin-bottom: 5px;
  margin-top: 35px;
}

article:nth-of-type(1) img:nth-child(2) {
  grid-column-start: 2;
  grid-row-start: 2;
  border: solid transparent 4px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  justify-self: right;
  margin-right: 10px;
}

article:nth-of-type(1) h2 {
  grid-column-start: 3;
  grid-row-start: 1;
  justify-self: center;
  font-size: 40px;
  margin: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

article:nth-of-type(1) h3 {
  grid-column-start: 3;
  grid-row-start: 1;
  justify-self: center;
  font-size: 23px;
  margin-top: 35px;
  padding-top: 25px;
}

article:nth-of-type(1) p {
  grid-column-start: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  padding-left: 50px;
  padding-right: 50px;
  margin-top: 50px;
  padding-top: 50px;
  line-height: 27px;
  font-size: 18px;
}

article:nth-of-type(2) {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  margin-left: 15px;
}

article:nth-of-type(2) h2 {
  grid-row-start: 1;
  grid-column-start: 1;
  grid-column-end: 3;
  font-size: 45px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  justify-self: center;
  margin-top: 23px;
}

article:nth-of-type(2) p {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  line-height: 27px;
  font-size: 18px;
  padding: 10px;
  margin-top: 50px;
  padding-top: 25px;
}

article:nth-of-type(2) img:nth-of-type(1) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 3;
  justify-self: left;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  border: solid transparent 4px;
  align-self: center;
  transform: translateY(11%);
  margin-left: 45px;
}

article:nth-of-type(2) img:nth-of-type(2) {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 3;
  justify-self: right;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  border: solid transparent 4px;
  align-self: center;
  transform: translateY(11%);
  margin-right: 45px;
}

section {
  text-align: center;
  margin-top: 15px;
}

section h2 {
  font-size: 75px;
  padding: 15px;
  border-bottom: solid black;
  border-radius: 25px;
  width: 33%;
  transform: translateX(100%);
  margin-bottom: 20px;
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: rgb(23, 15, 74);
  color: black;
  margin-top: 15px;
  padding: 20px;
  text-align: center;
}

footer h4 {
  grid-column: span 3;
  text-align: center;
  margin-bottom: 10px;
  font-size: 25px;
  color: white;
}

.footersection {
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-left: 65px;
}

.footersection li {
  background-color: rgb(165, 218, 218);
  padding: 10px;
  border-radius: 5px;
  width: 85%;
}

@media (max-width: 800px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  nav > a:nth-child(1) {
    display: block;
    font-size: 30px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 15px;
    text-decoration: none;
    padding: 8px;
    text-align: left;
  }

  nav ul {
    align-items: center;
  }

  nav ul li {
    float: none;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0px;
  }

  nav ul.menudicht {
    display: none;
  }

  header {
    width: 100%;
    margin: 0%;
    padding: 0%;
  }

  header h1 {
    width: 50%;
    font-size: 22px;
  }

  article:nth-of-type(1) {
    width: 100%;
    margin: 0%;
    margin-top: 15px;
    padding: 0%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.38fr;
  }

  article:nth-of-type(1) img:nth-child(1) {
    width: 150px;
    margin-top: 0%;
    margin-right: 5px;
    justify-self: right;
  }

  article:nth-of-type(1) img:nth-child(2) {
    width: 150px;
    grid-row-start: 1;
    transform: translateY(100%);
    justify-self: left;
    margin-left: 5px;
  }

  article:nth-of-type(1) h2 {
    grid-column-start: 1;
    grid-column-end: 3;
    font-size: 30px;
    transform: translateY(30%);
  }

  article:nth-of-type(1) h3 {
    grid-column-start: 1;
    grid-column-end: 3;
    font-size: 20px;
    text-align: center;
    transform: translateY(29%);
  }

  article:nth-of-type(1) p {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-end: 2;
    font-size: 12px;
    margin: 0%;
    padding: 15px;
    transform: translateY(38%);
  }

  article:nth-of-type(2) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    width: 100%;
    margin: 0;
    margin-top: 15px;
    padding: 0;
  }

  article:nth-of-type(2) h2 {
    grid-row: 1;
    grid-column: 1;
  }

  article:nth-of-type(2) p {
    grid-row: 2;
    grid-column: 1;
    font-size: 12px;
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 5px;
    padding-top: 0px;
  }

  article:nth-of-type(2) img:nth-of-type(1) {
    grid-row: 3;
    grid-column: 1;
    width: 150px;
    justify-self: left;
    margin: 0px;
    margin-left: 20px;
  }

  article:nth-of-type(2) img:nth-of-type(2) {
    grid-row: 4;
    grid-column: 1;
    width: 150px;
    justify-self: right;
    margin: 0px;
    margin-right: 20px;
  }

  section {
    text-align: center;
    width: 100%;
    margin: 0%;
    margin-top: 25px;
    padding: 0px;
  }

  section h2 {
    transform: translateX(70%);
    font-size: 35px;
  }

  section img {
    width: 100%;
  }

  footer {
    display: block;
    padding: 10px 0;
    width: 100vw;
    overflow-x: hidden;
    text-align: center;
  }
  .footersection {
    margin: 0;
    padding: 0 8px;
    width: 100%;
    max-width: 100vw;
  }
  .footersection li {
    width: 70%;
    margin: 0 0 10px 0;
    max-width: 100vw;
    transform: translateX(12%);
  }
  footer h4 {
    font-size: 20px;
    padding: 0 8px;
    max-width: 100vw;
    word-break: break-word;
  }
}
