* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 0.5rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hiden {
  display: none;
}

nav {
  background-color: #171717;
  position: relative;
  z-index: 1000;
}

nav::after {
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../images/ghost.png);
  background-repeat: repeat;
  background-size: 32px;
  left: 0;
  top: 0;
  opacity: 0.07;
  z-index: -1000;
}

ul.items {
  padding-right: 2.5rem;
  width: 100%;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

nav:has(#menuBoton:checked) ul.items {
  max-height: 60vh;
}

ul.items li,
ul.items a {
  display: block;
  width: 100%;
  background-color: #1b1b1b;
}
ul.items li a {
  color: #ddd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all ease 0.8s;
}

ul.items li a:hover {
  color: red;
  text-decoration: underline;
}

.movil {
  display: flex;
}
.web {
  display: none;
}

.neon {
  animation: neon-fallo 1.5s infinite;
}

@keyframes neon-fallo {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.2))
            drop-shadow(0 0 3px rgba(255, 0, 0, 0.3));
  }
  45% {
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.4))
            drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 1px rgba(255, 0, 0, 0.15))
            drop-shadow(0 0 2px rgba(255, 0, 0, 0.25));
  }
  70% {
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.35))
            drop-shadow(0 0 4px rgba(255, 0, 0, 0.4));
  }
}
@media (min-width: 640px) {
  ul.items {
    width: auto;
    list-style: none;
    max-height: none;
    overflow: visible;
  }

  ul.items li,
  ul.items a {
    width: auto;
    display: inline-block;
    background-color: transparent;
  }

  ul.items li a {
    border-bottom: none;
  }
  .web {
    display: inline-block;
  }
  .movil {
    display: none;
  }
  ul.items li a:hover {
    color: red;
    text-decoration: underline;
    transform: scale(1.08);
  }
}

@media (min-width: 768px) {
  .web {
    display: inline-block;
  }

  .movil {
    display: none;
  }
}

@media (min-width: 1024px) {
  .web {
    display: inline-block;
  }
  .movil {
    display: none;
  }
}

@media (min-width: 1280px) {
  .web {
    display: inline-block;
  }

  .movil {
    display: none;
  }
}