@import "_reset.css";

@font-face {
  font-family: "Lobsteroni";
  src: url("../assets/font/Lobsteroni-Regular.woff") format("woff"),
    url("../assets/font/Lobsteroni-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Fedra";
  src: url("../assets/font/FedraSansCondStd-Bold.otf") format("woff2"),
}

@font-face {
  font-family: "Helsinki";
  src: url("../assets/font/Helsinki-Thin.otf") format("woff2"),
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 30px;
  background-color: white;
  overflow: scroll;
  text-align: center;
  overflow-y: scroll;
  overflow-x: hidden;
}

header {
  padding: 15px;
  position: relative;
  width: 100vw;
  line-height: 110%;
} 

nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: fit-content;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

nav a {
  width: fit-content;
}

.nav-button img {
  height: 13vh;
}

.nav-button:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

main {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 20vh;
}

section {
  padding-left: 15vw;
  padding-right: 15vw;
  margin-block-end: 1em;
}

section h1 {
  padding: 0.5em;
  font-family: 'Fedra';
  text-transform: uppercase;
}

section p {
  padding-bottom: 0.5em;
  font-family: 'Lobsteroni';
  line-height: 120%;
  font-size: 24px;
}

#button-0 img { color: #009640 ;}
#button-imprint { color: #6666b9; }
#section-1, #button-1 { color: #00a0e4; }
#section-2 { color: #e60c80; }
#section-3, #button-3 { color: #005b74; }
#section-4, #button-4 { color: #e41f25; }
#section-5 { color: #b1cb21; }
#section-6 { color: #6666b9; }

@media (max-width: 1200px) {
  body {
    font-size: 24px;
  }

  section h1 {
    font-size: 24px;
  }

  section p {
    font-size: 18px;
  }

  nav {
    position: relative;
    flex-direction: row;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 10px;
    padding-bottom: 0;
  }

  .nav-button img {
    height: 2em;
  }
} 

@media (max-width: 900px) {
  section {
    padding-left: 15px;
    padding-right: 15px;
  }
}

