.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: 60px;
  z-index: 50;

  padding: 0 1.25em;

  position: relative;
  top: 0;
  left: 0;

  background-color: var(--blue-dark);
}

.menu .link-home {
  color: whitesmoke;
  font-weight: bold;
  padding: 8px 0;
}

@media (max-width: 420px) {
  .menu .link-home {
    display: none;
  }
}

.menu #check {
  display: none;
}

.menu .check-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;

  cursor: pointer;
}

.menu .check-btn img {
  width: 30px;
}

.menu ul {
  list-style: none;
  position: absolute;
  top: 60px;
  left: -100%;

  height: min-content;
  width: 100%;
  background-color: var(--blue-med);

  transition: left 1s ease;
}

.menu #check:checked ~ ul {
  left: 0;
}

.menu ul .link-pages {
  display: block;
  padding: 10px 0;

  font-size: 1.25em;
  text-align: center;
  color: white;
  cursor: pointer;
}

.menu ul .link-pages:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

@media (min-width: 630px) {
  .menu .check-btn {
    display: none;
  }

  .menu #check:checked ~ ul,
  .menu #check ~ ul {
    top: unset;
  }

  .menu ul {
    height: 100%;
    width: unset;

    position: relative;
    background-color: transparent;

    display: flex;
    left: unset;
    transition: unset;

    font-size: 0.8em;
  }

  .menu ul .link-pages {
    height: 100%;
    padding: 0 16px;

    display: flex;
    align-items: center;
  }

  .menu ul .link-pages {
    color: whitesmoke;
  }

  .menu ul .link-pages:hover {
    background-color: var(--blue-light);
    color: var(--blue-dark);
  }
}
