@font-face {
  font-family: itrFont;
  src: url(../font/LeagueSpartan-ExtraBold.ttf);
}

@font-face {
  font-family: itrFontMedium;
  src: url(../font/LeagueSpartan-Medium.ttf);
}

@media screen and (max-width: 650px) {
  .c {
    position: fixed;
    width: 100%;
    height: 100%;
    background: linear-gradient(#353535, #232323);
    z-index: 10000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    // animation: slide .6s ease;
    // animation-iteration-count: 1;
  }

  .dd {
    display: flex;
    flex-direction: column;
    width: 95%;
    margin-top: 10%;
  }

  li {
    margin-bottom: 10%;
    margin-left: 8px;
  }

  .dd__link {
    color: white;
    font-size: 40px;
    padding: 0;
    width: 100%;
    display: flex;
  }

  .dd__link_label {
    position: relative;
    width: 90%;
    cursor: pointer;
  }

  .dd__link_arrow {
    text-align: center;
    color: white;
    padding-top: 7px;
    width: 10%;
    font-size: 30px;
    cursor: pointer;
    opacity: 0%;
    transition: 0.2s;
  }

  .dd__link_arrow:hover:focus {
    opacity: 100%;
  }

  .dd__link_label:hover + .dd__link_arrow {
    opacity: 100%;
  }

  .header {
    margin-top: 10px;
    display: inline-block;
    flex-direction: row;
    width: 90%;
  }

  .header__text {
    color: white;
    font-size: 50px;
    font-family: "itrFont";
  }

  .header__x {
    color: white;
    font-size: 25px;
    font-family: "itrFont";
    border: none;
    float: right;
    margin-top: 13px;
    margin-right: 5px;
    cursor: pointer;
  }
}

.slideIn{
  animation: slideIn .6s ease;
}

.slideOut{
  animation: slideOut .6s ease;
}

@keyframes slideIn {
  0% {
    margin-top: 100vh;
    opacity: 0%;
  }
  100% {
    margin-top: 0vh;
    opacity: 100%;
  }
}

@keyframes slideOut {
  0% {
    margin-top: 0vh;
    opacity: 100%;
  }
  100% {
    margin-top: 100vh;
    opacity: 0%;
  }
}