*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Salsa', cursive;
}
body{
  background-color: black;
  color: black;
  width: 100%;
}

.contenedor{
  font-size: 12rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 86vh;
}

.contenedor >span{
  animation: glow 7s ease-in-out infinite;
  padding-right: 20px;
  
}

@keyframes glow{
  0%, 40%{
    color: black;
    text-shadow:none;
  }
  40%, 70%{
    color:white ;

    text-shadow: 
    0 0 12px rgb(0, 204, 255),
    0 0 50px  rgb(31, 71, 130),
    0 0 100px  rgb(77, 65, 250);
  }
  80%, 100%{
    color: black;
    text-shadow:none;
  }
}

.contenedor >span:nth-child(1){
  animation-delay: 2.5s;
 }
.contenedor >span:nth-child(2){
 animation-delay: 3s;
}
.contenedor >span:nth-child(3){
  animation-delay: 3.5s;
}
.contenedor >span:nth-child(4){
  animation-delay: 4s;
}
.contenedor >span:nth-child(5){
  animation-delay: 4.5s;
}


/* Menu Dropdown*/
.nav{
  --img1: scale(1);
  --img2: scale(0);
}

nav:has(.dropdown:target){
  --img1: scale(0);
  --img2: scale(1);
  --clip: inset(0 0 0 0);
}

.nav_container{
  width: 90%;
  margin: 0 auto;
  height: 100px;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  grid-template-areas: "uea title img";
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.nav_img{
  height: 100px;
  grid-area: uea;
}

.nav_title{
  color: #fff;
  grid-area: title;
  
}

.nav_menu{
  grid-area: img;
  position: relative;
  z-index: 10;
  transform: var(--img1);
}

.nav_icon--second{
  transform: var(--img2);
}

.nav_icon{
  width: 30px;
  display: block;
}

.dropdown{
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  width: 75%;
  max-width: 335px;
  right: 0;
  top: 0;
  bottom: 0;
  
  padding: 1em;
  display: grid;
  align-content: center;
  gap: 1rem;

  overflow-y: auto;
  clip-path:var(--clip, inset(0 0 100% 100%));
  transition: clip-path .5s;
}


/* formulario */
.login {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  font-weight: bold;
  font-size: 1em;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  width: 295px;
  flex-direction: column;
  gap: 35px;
  background: #e3e3e3;
 
  border-radius: 8px;
}

.inputBox {
  position: relative;
  width: 250px;
}

.inputBox input {
  width: 100%;
  padding: 10px;
  outline: none;
  border: none;
  color: #000;
  font-size: 1em;
  background: transparent;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transition: 0.1s;
  border-bottom-left-radius: 8px;
}

.inputBox span {
  margin-top: 5px;
  position: absolute;
  left: 0;
  transform: translateY(-1px);
  margin-left: 10px;
  padding: 10px;
  pointer-events: none;
  font-size: 12px;
  color: #000;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 3px;
  border-radius: 8px;
}

.inputBox input:valid~span,
.inputBox input:focus~span {
  transform: translateX(90px) translateY(-25px);
  font-size: 0.8em;
  padding: 5px 10px;
  background: #000;
  letter-spacing: 0.2em;
  color: #fff;
  border: 2px;
}

.inputBox_second input:valid~span,
.inputBox_second input:focus~span {
  transform: translateX(60px) translateY(-25px);
  font-size: 0.8em;
 }



.inputBox input:valid,
.inputBox input:focus {
  border: 2px solid #000;
  border-radius: 8px;
}

.enter {
  height: 45px;
  width: 100px;
  border-radius: 5px;
  border: 2px solid #000;
  cursor: pointer;
  background-color: transparent;
  transition: 0.5s;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 1em;
}

.enter:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

