body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#formulario {
    margin-top: 100px;
    width: 80%;
    border: 0px solid black;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 1s;
    background-color: white;
    
    
    border-radius: 20px;
    margin-bottom: 100px;
}

.logoform{
    width: 25%;
}
.cambioform {
    width: 50%;
    box-sizing: border-box;
    border: 1px solid black;
    text-align: center;
    padding: 20px;
    transition: all 1s;
    color: #293064;
    font-weight: bolder;
    font-size: 20px;
    text-transform: uppercase;

}



form {
    height: auto; /* Ajustar la altura según el contenido */
    width: 100%;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    padding-bottom: 50px;
    
}

.activeform {
    display: flex;
}

.campo {
    width: 100%;
    text-align: center;
    margin: 0;
    margin-top: 20px;
    text-transform: uppercase;
}

.separator {
    width: 100%;
    margin-top: 30px;
}

input[type="text"], input[type="password"], input[type="email"],input[type="tel"]  {
    padding: 5px;
    box-sizing: border-box;
    width: 80%;
    font-size: 20px;
    border-radius: 20px;
    border: 1px solid black;
    transition: box-shadow 0.5s;

    
    border: 3px solid rgba(0,82,255,1);
}
input:focus{
    outline: none;
    box-shadow: 4px 4px 10px #888888;
}


button[type="submit"] {
    padding: 5px;
    box-sizing: border-box;
    min-width: 40%;
    font-size: 20px;
    border-radius: 5px;
    border: 0px solid black;
    box-shadow: 3px 3px 20px #888888;
    background-color: white;
    transition: all 0.5s;
    color: black;
    
}
button[type="submit"]:hover {
    transform: scale(1.1);
    
}
#registroBtn{
    background-color: white;
    
}

#inicio{
    border-radius:0;
    background-color: white
}

.activebutton {
    background-color: #f4f4f4;
    border-radius: 0;
    color: #ff7800;
    border-width: 3px; /* Ancho del borde */
    border-image:linear-gradient(90deg, rgba(0,82,255,1) 0%, rgba(4,37,186,1) 82%);
    border-image-slice: 1; /* Para que el gradiente se ajuste al borde completo */
    border-style: solid;
}

p>span{
    color: red;
}
span>span{
    color: red;
}
.rojo{
    color: red;
}

form>p{
    width: 100%;
    text-align: center;
    font-size: 20px;
}

#formcontrasena{
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 60%;
    background-color: white;
    border-radius: 20px;
    border: 3px solid rgba(0,82,255,1);
    box-shadow: 3px 3px 20px #888888;
    padding-top: 30px;
    padding-bottom: 30px;
    position: fixed;
    top: 30vh;
}

#formcontrasena>h1{
    width: 100%;
    text-align: center;
    color: #293064;
}
#formcontrasena>h2{
    width: 100%;
    text-align: center;color: #293064;
}
#avisoreset{
    width: 100%;
    text-align: center;
}

#cerrarreinicio{
    width: 100%;
    text-align: center;
    cursor: pointer;
}

#olvidocontra{
    padding: 5px;
    box-sizing: border-box;
    min-width: 40%;
    font-size: 20px;
    border-radius: 5px;
    border: 0px solid black;
    box-shadow: 3px 3px 20px #888888;
    background-color: white;
    transition: all 0.5s;
    margin-top: 20px;
    color: black;
}

#olvidomostrar{
    cursor: pointer;
}

@media only screen and (max-width: 1000px) {
    #formulario {
        width: 100%;
        border-radius: 0px;
    }
    
    #registroBtn{
        border-radius: 0;
        font-size: 15px;
    }
    
    #inicio{
        border-radius:0;
        font-size: 15px;
    }
    .activebutton {
        border: 1px solid black;
        border-width: 3px; /* Ancho del borde */
        border-image:linear-gradient(90deg, rgba(0,82,255,1) 0%, rgba(4,37,186,1) 82%);
        border-image-slice: 1; /* Para que el gradiente se ajuste al borde completo */
        border-style: solid;
    }

    form{
        border-width: 3px; /* Ancho del borde */
        border-image:linear-gradient(90deg, rgba(0,82,255,1) 0%, rgba(4,37,186,1) 82%);
        border-image-slice: 1; /* Para que el gradiente se ajuste al borde completo */
        border-style: solid;
    }
}