@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400&display=swap');
*{
  margin: 0;
  padding: 0;
  justify-content: center;
}
.container{
  display: inline-block;
}
html {
  background-color: #1a081a;
  font-family: "Montserrat", sans-serif;
}

header img{
  position: absolute;
  z-index: 2;
  height: 50%;
  top: 27%;
  left: 50%;
  transform: translate(-50%, -50%);
}

header span{
  font-size: 46px;
  position: absolute;
  top: 51%;
  z-index: 2;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FEE0C5;
  display: block;
  letter-spacing: 8px;
  cursor: pointer;
}

nav{
  text-align: center;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 4px;
}

#nav-el {
  z-index: 2;
  padding-bottom: 2px;
  font-size: 1.4em;
  text-align: left;
}

.list a {
  text-decoration: none;
  color: #FEE0C5;
  padding-bottom: 4px;
  z-index: 2;
  margin: 0 auto;
}

footer p{
  text-align: center;
  position: absolute;
  z-index: 2;
  bottom: 0;
  color: #FEE0C5;
  font-weight: bold;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* https://codepen.io/prathkum/pen/dyMPErw */
span::before {
  content: "Ludovico";
  position: absolute;
  color: transparent;
  background-image: repeating-linear-gradient(
          45deg,
          transparent 0,
          transparent 2px,
          white 2px,
          white 4px
  );
  -webkit-background-clip: text;
  top: 0;
  left: 0;
  z-index: -1;
  transition: 1s;
}

span::after {
  content: "Ludovico";
  position: absolute;
  color: transparent;
  background-image: repeating-linear-gradient(
          135deg,
          transparent 0,
          transparent 2px,
          white 2px,
          white 4px
  );
  -webkit-background-clip: text;
  top: 0;
  left: 0;
  transition: 1s;
}

span:hover:before {
  top: 10px;
  left: 10px;
}

span:hover:after {
  top: -10px;
  left: -10px;
}

