@charset "UTF-8";
* {
  box-sizing: border-box;
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

* {
  font-family: "Vollkorn", Arial, serif;
  font-size: 1em;
}

body {
  background-color: #1E1E1E;
  /* Bakgrunns farge */
  --text_color: white;
  --text_hover: blue;
}

.header-container {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  /* Logo starts stacked on top of nav */
  justify-content: center;
  align-items: center;
}

.title {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 25px;
  /* Space for logo */
  overflow: visible;
}

.title h1 {
  color: white;
  font-size: 3em;
  text-align: center;
}

.logo {
  max-width: 120px;
  max-height: 120px;
  margin-top: 10px;
}

.menu-container {
  width: 100%;
  display: flex;
  /* Gjør body til en flexbox */
  margin: auto;
  flex-direction: column;
  /* Flexboxene går nedover */
  align-items: center;
}

.line {
  border-top: 2px solid #007ACC;
}

.main-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-top: 25px;
  /* Space for logo */
  overflow: visible;
  border: 2px outset rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  max-width: 700px;
}

.main-menu a {
  width: 100%;
  text-align: center;
  padding: 0.75em 1em;
  display: block;
  color: #CCCCCC;
}

.main-menu a:hover {
  color: #007ACC;
  /*border-bottom-color: #007ACC;*/
  border-bottom: 2px solid #007ACC;
}

.main-container {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spill {
  color: white;
  border-bottom: 2px solid white;
}

.main-window {
  width: 95%;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  padding: 6px;
  background-color: #252526;
  min-height: 550px;
  box-shadow: 3px 3px 2px 1px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}
.main-window p {
  color: #CCCCCC;
}
.main-window h3 {
  color: #CCCCCC;
  font-size: 2em;
  text-align: center;
}

.server {
  display: grid;
  place-items: center;
  padding: 10px 0 0 0;
}
.server img {
  height: auto;
  width: 75%;
}

.yess {
  display: grid;
  place-items: center;
  padding: 10px 0 0 0;
}
.yess img {
  height: auto;
  width: 50%;
}

.pic {
  display: grid;
  place-items: center;
  padding: 10px 0 0 0;
}
.pic img {
  border-radius: 15%;
}

.pacman {
  display: grid;
  place-items: center;
}
.pacman img {
  height: auto;
  width: 75%;
}

.futa-container {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.futa {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid #007ACC;
}
.futa p {
  color: #CCCCCC;
  min-height: 5em;
  padding-top: 2em;
}

.drop-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: max-height 0.4s, opacity 0.3s;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.drop-menu > .menu-button {
  height: 100%;
  transition: transform 0.3s;
  transform: translateY(-300%);
  background: #424040;
}

.dropdown-wrapper:hover .drop-menu {
  max-height: 300px;
  opacity: 1;
}

.dropdown-wrapper:hover > .drop-menu .menu-button {
  transform: translateY(0%);
}

@media (min-width: 550px) {
  /*.effect {
      transition: max-height 0s;
      opacity: 1;
      background: transparent;
  }*/
  /*.effect .menu-button{
      transform: translateY(0%);
  }*/
  .menu-container {
    width: 90%;
    height: 100px;
    justify-content: space-between;
  }

  .header-container {
    width: 90%;
    height: 200px;
    justify-content: space-between;
    /* Pushes logo to top, nav bar all the way down */
  }

  .main-container {
    width: 90%;
  }

  .title {
    flex-direction: row;
    /* Horizontal main menu buttons */
    align-items: flex-start;
    /* Makes the top of the 'dropdown-wrapper' div stay flush with button top because it's aligned on the cross-axis */
    height: 48px;
    /* Setting the height allows the dropdown outside of it's parent's bounds, therefore not compensated for by the flex. */
    margin: 0;
  }

  .main-menu {
    flex-direction: row;
    /* Horizontal main menu buttons */
    align-items: flex-start;
    /* Makes the top of the 'dropdown-wrapper' div stay flush with button top because it's aligned on the cross-axis */
    height: 48px;
    /* Setting the height allows the dropdown outside of it's parent's bounds, therefore not compensated for by the flex. */
    margin: 0;
  }

  .main-menu > .menu-button {
    width: 23%;
    max-width: 150px;
  }

  .logo {
    max-width: 130px;
    max-height: 130px;
    margin-top: 15px;
  }

  .line {
    width: 80%;
    margin: auto;
    padding: 10px 0 10px 0;
  }

  .futa {
    width: 80%;
    margin: auto;
  }

  .main-window {
    line-height: 1.5em;
  }
  .main-window p {
    padding: 0 10px 0px 10px;
    text-align: center;
  }
  .main-window h3 {
    padding: 7px 0 0.5em 0;
  }

  .pic img {
    width: 40%;
    height: auto;
  }
}
@media (min-width: 850px) {
  .header-container {
    flex-direction: row;
    justify-content: space-around;
    height: 160px;
  }

  .title {
    width: auto;
    justify-content: space-between;
  }

  .logo {
    margin: 0;
  }

  .main-window {
    width: 80%;
  }

  .dead {
    width: 120px;
  }

  .line {
    width: 80%;
    margin: auto;
  }

  .futa {
    width: 80%;
    margin: auto;
  }

  .pic img {
    width: 30%;
    height: auto;
  }
}
@media (max-width: 550px) {
  .main-menu a {
    border-bottom: 2px solid #ddd;
  }
  .main-menu a:hover {
    border-bottom-color: #007ACC;
  }
}

/*# sourceMappingURL=main.css.map */
