/* todo: Change Fonts */

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background: url(../images/background.jpg) center center;
  background-size: cover;
  display: flex;
  flex-flow: row nowrap;
  font-size: 1.2rem;
  color: rgb(214, 238, 0);
  font-family: 'Josefin Slab', serif;
}

.left {
  flex: 2;
}

.description {
  width: 90%;
  margin: 0 auto;
  line-height: 20px;
}

.description p {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.description p a {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.884);
}

.description p a:hover {
  font-size: 1.7rem;
  color: navy;
}

.left h1 {
  font-size: 5rem;
  font-family: 'Amatic SC', cursive;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 100px;
  text-shadow: 10px 10px 10px #000;
}

.left h2 {
  text-align: center;
  font-size: 3rem;
  line-height: 1.5;
}

.left h2 a {
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.884);
}

.left h2 a:hover {
  font-size: 3.4rem;
  color: navy;
}

.right {
  flex: 1;
  overflow-y: scroll;
  /* margin: 10px 0; */
  /* height: calc(100% - 10px); */
}

.right .links {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
}

.links .link {
  width: 100%;
  height: 100%;
  border: 1px solid black;
  border-radius: 5px;
  padding: 20px 0;
  padding-left: 30px;
  display: flex;
  font-size: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.5);
}

a {
  font-family: 'Amatic SC', sans-serif;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/* a:hover {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 1);
} */

.links .link:hover {
  color: rgba(5, 5, 5, 1);
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 740px) {
  html,
  body {
    min-height: 100%;
    min-width: 100%;
  }

  body {
    flex-direction: column;
  }

  .left {
    flex: 1;
  }

  .left h1 {
    margin: 50px 0;
    font-size: 4rem;
  }

  .left h2 {
    font-size: 2rem;
  }

  .description p {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1;
  }

  .right {
    flex: 1;
    margin: 10px 0 0 0;
  }

  .right .links {
    align-items: center;
  }

  .links .link {
    width: 90%;
    padding-left: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-family: monospace;
    font-weight: normal;
  }

  .links .link:hover {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .left h1 {
    margin: 25px 0;
    font-size: 3rem;
  }

  .left h2 {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .left h2 a {
    font-size: 1.6rem;
  }

  .left h2 a:hover {
    font-size: 1.7rem;
  }

  .description p {
    font-size: 1.2rem;
  }
  .description p a {
    font-size: 1.3rem;
  }
  .description p a:hover {
    font-size: 1.4rem;
  }

  .right {
    flex: 2;
  }
}
