* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    text-decoration: none;
    box-sizing: border-box;
    
}

body {
    background-image: url("../Images/Fondo_doctor.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
main {
    width: 100%;
    padding: 20px;
    margin: auto;
    margin-top: 100px;
}

.container_all {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}

.box_principal {
    width: 100%;
    height: 400px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 128, 255, 0.5);
}

.box_principal div {
    margin: 100px 40px;
    transition: all 500ms;
    color: white;
}

.box_principal div p,
.box_principal div button {
    margin-top: 30px;
}

.box_principal div h3 {
    font-weight: 400;
    font-size: 26px;   
}

.box_principal button {
    padding: 10px 40px;
    border: 2px solid #fff;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transition: all 300ms;
}

.box_principal button:hover {
    background: #fff;
    color: #46a2fd;
}

.box_register h1 {
    text-align: center;
    margin-left: 100px;
}

/* FORMULARIOS */
.container_login-register {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 380px;
    position: relative;
    top: -185px;
    left: 10px;
    transition: left 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);

}
.container_login-register form {
    width: 100%;
    padding: 80px 20px;
    background: #fff;
    position: absolute;
    border-radius: 20px;
}

.container_login-register form h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: #46a2fd;
}

.container_login-register form input {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border: none;
    background: #f2f2f2;
    font-size: 16px;
    outline: none;
}

.container_login-register form button {
    padding: 10px 40px;
    margin-top: 40px;
    border: none;
    font-size: 14px;
    background: #46a2fd;
    color: white;
    cursor: pointer;
    outline: none;
}

.formulario_login {
    opacity: 1;
    display: block;
}

.formulario_register {
    display: none;
}

/* RESPONSIVE DESIGN */

@media screen and (max-width: 850px){

    main {
    margin-top: 50px;
    }

    .box_principal {
        max-width: 350px;
        height: 300px;
        flex-direction: column;
        margin: auto;
    }

    .box_principal div {
        margin: 0px;
        position: absolute;
    }

    /* FORMULARIO DESIGN */

    .container_login-register {
        top: -10px;
        left: -5px;
        margin: auto;
    }

    .container_login-register form {
        position: relative;
    }
}