@font-face {
  font-family: EnvyCodeR;
  src: url("../fonts/envy/EnvyCodeR.ttf");
}

@font-face {
  font-family: EnvyCodeR;
  src: url("../fonts/envy/EnvyCodeRBold.ttf");
  font-weight: bold
}

@font-face {
  font-family: EnvyCodeR;
  src: url("../fonts/envy/EnvyCodeRItalic.ttf");
  font-style: italic
}

body {
  background-color: #111;
  font-family: EnvyCodeR;
  color: #fff;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, #252525 1px, transparent 1px),
    linear-gradient(to bottom, #252525 1px, transparent 1px);
  overflow-x: hidden;

  
}

.upperThird {
  height: 7em;
  width: 100%;
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  background-color: #151515;

  display: flex;
  flex-direction: row;
  align-items: center;

  .upperThird-logo {
    margin: 1em;
    margin-right: 3.5em;
  }

  img {
    color: #fff;
    text-align: center;
    height: 4.5em;
  }

  a {
    color: inherit;
    text-decoration: inherit;
  }
}

.upperThird-button {
  width: 6em;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  height: 100% !important;

  display: flex;

  p {
    width: 100%;
    align-self: center;
  }

  &[id="play"]:hover {
    background-color: #a5a5a58f;
  }
  
  &[id="about"]:hover {
    background-color: #57ff158f;
  }

  &:hover {
    cursor: pointer;
  }
}

.button-group {
  width: 75vw;
  margin: auto;

  margin-bottom: 5em;
  
  .back {
    font-size: 1.25em;
    color: inherit;
    text-decoration: inherit;
    transition: 0.5s color;
    width: max-content;
    display: block;

    &:hover {
      color: #D9B6DE;
      cursor: pointer;
    }
  }

  .button-group-name {
    font-size: 2.5em;
    margin: 0;
    margin-bottom: 0.5em;
    width: 100%;
  }

  .button {
    width: calc(100% - (0.7em * 2));
    background-color: #353535;
    font-size: 2em;
    padding: 0.7em;
    text-align: center;
    border-radius: 4px;
    transition: 0.5s background-color;
    margin-bottom: 0.2em;
    display: block;

    color: inherit;
    text-decoration: inherit;
  }

  .button:hover {
    background-color: #78388e;
    cursor: pointer;
  }

  .button:last-child {
    margin-bottom: 0;
  }
}

.group-body {
  font-size: 1.5em;
}

details {
    width: 100%;
    background-color: #222;
    padding: 1em;
    border-radius: 4px;
    transition: 0.5s background-color;

    margin-bottom: 0.5em;

    summary {
      font-size: 1.5em;
    }

    md {
      z-index: 2;
      position: relative;
      top: 0;
      left: 0;
    }

    md::after {
      content: " ";
      background-color: #353535;
      display: block;
      width: calc(100% + (1em * 2));
      height: calc(100% + (1em * 2));
      z-index: -1;
      position: absolute;
      top: 0;
      left: -1em;
      border-radius: 0px 0px 4px 4px;

      &:hover {
        cursor: default;
      }
    }

    .details-container {
      content: " ";
      background-color: #353535;
      display: block;
      width: 100%;
      height: 100%;
      z-index: 0;
      position: relative;
      top: 1em;
      left: -1em;
      border-radius: 0px 0px 4px 4px;
      padding: 1em;

      &:hover {
        cursor: default;
      }

      h3 {
        margin: 0;
        margin-bottom: 0.5em;
      }
    }
    
    img {
        width: 15%;
        height: 15%;
    }
}

details:hover {
  background-color: #78388e;
  cursor: pointer;
}

details:open {
  background-color: #78388e;
}

table {
  background-color: #353535;
}