@font-face {
  font-family: Altero;
  src: url(https://rawcdn.githack.com/AlainBarrios/Fonts/c2f23223de197bbfd1adc66709be92f65c16b571/Altero-Regular.otf?raw=true);
}

body {
  /* make the body fits our viewport */
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  background-color: #1D1E22;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#wrap-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#canvas {
  /* make the canvas wrapper fits the document */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.plane {
  /* define the size of your plane */
  width: 50%;
  height: 50vh;
}

.plane img {
  /* hide the img element */
  display: none;
}

.nav-main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  position: relative;
}

.nav-main ul {
  display: grid;
  grid-template-columns: repeat(1, auto);
  grid-row-gap: 2rem;
  justify-content: space-around;
  text-align: center;
}

.nav-main li {
  display: grid;
  grid-template-areas: "center";
  font-family: Altero;
  cursor: pointer;
  font-size: 1.3rem;
  color: #fff;
}

.nav-main span {
  grid-area: center;
}

.nav-main .first-menu {
  z-index: 10;
}

.nav-main li:hover .second-menu {
  transform: translate3d(0, 100%, 0);
  opacity: 1;
}

.nav-main .second-menu {
  transition: transform 0.3s ease-out, opacity 1s ease-out;
  opacity: 0;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
}

@media screen and (min-width: 600px) {
  .nav-main ul {
    width: 100%;
    grid-template-columns: repeat(4, auto);
  }
}

@media screen and (min-width: 800px) {
  .nav-main li {
    font-size: 1.7rem;
  }
}
