*,
::before,
::after {
  box-sizing: border-box;
}

html {
  box-sizing: inherit;
  font-size: 62.5%;
  height: 100%;
}

body {
  background-color: #a8dadc;
  height: 100vh;
  overflow: hidden;
}

@font-face {
  font-family: "bgp";
  src: url("../assets/fonts/BigJohnPRO-Bold.woff2") format("woff2"),
    url("../assets/fonts/BigJohnPRO-Bold.woff") format("woff");
  font-weight: 600;
  font-style: bold;
}

.content {
  margin: 0rem auto;
  max-height: 100vh;
  overflow: hidden;
  color: #1d3557;
  font-family: bgp;
  text-align: center;
}

.title {
  font-size: 2rem;
  padding: 1rem;
  margin-bottom: 6rem;
  color: #e63946;
}

.nav__listitem {
  display: flex;
  flex-flow: column;
  padding-bottom: 5rem;
}

.listitem__name {
  font-size: 4rem;
  text-decoration: none;
  color: #1d3557;
  padding-bottom: 1rem;
}

.listitem__name:hover {
  color: white;
}

.listitem__name:hover a {
  color: #1d3557;
}

.listitem__details {
  color: #e63946;
}

.decoimage {
  position: absolute;
}

.decoimage--bottomleft {
  bottom: 0;
  left: 0;
}

.decoimage--bottomleft:hover {
  bottom: -100px;
  left: 0;
}

.decoimage--topright {
  top: 0;
  right: 0;
  transition: all;
}

.decoimage--topright:hover {
  top: -100px;
  right: 0;
}

@media screen and (max-width: 530px) {
  .decoimage--bottomleft {
    left: 25%;
  }
  .decoimage--bottomleft:hover {
    left: auto;
  }
  .decoimage--topright {
    display: none;
  }
}
