

.modal-fondo{
    display: none;
    position: fixed;
    z-index: 1;
    /*padding-top: 50%;*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*overflow: auto;*/
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content{
    /*position: relative;*/
    background-color: #181818;
    margin: auto;
    padding: 20px;
    width: 420px;
    -webkit-animation-name: animarsuperior;
    -webkit-animation-duration: 0.5s;
    animation-name: animarsuperior;
    animation-duration: 0.5s;
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 20px;
}

@keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  @keyframes animarsuperior {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }

  .close {
    color: black;
    float: right;
    font-size: 30px;
    font-weight: bold;
  }
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

/* CSS DEL MODAL */

.top-part{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.cerrar{
    cursor: pointer;
    height: 100%;
}

.login-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.login-button{
    border-radius: 12px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #c0392b;
    color: white;
    border: none;
}

.login-button:hover{
    scale: 1.03;
    background-color: red;
}

.login-form input{
    border-radius: 12px;
    padding: 5px 10px;
    border: 1px solid black;
}

.login-form input:focus{
    outline: none;
    border: red solid 2px;
}

.linea{
    width: 100%;
    height: 1px;
    background-color: white;
    margin-bottom: 10px;
}

.register-part{
    display: flex;
    flex-direction:row;
}

.register-link{
    margin-left: 5px;
    cursor: pointer;
    color: #26bbff;
}