* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
}

body {
    background-image: url(https://www.bupasalud.com/sites/default/files/inline-images/bupa_598072389.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

main {
    width: 100%;
    padding: 20px;
    margin: auto;
    margin-top: 100px;
}

.contenedor_todo {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}

.caja_trasera {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(5px);
    background-color: #ff2c2ca7;
}

.caja_trasera div {
    margin: 100px 40px;
    color: white;
    transition: all 500ms;
}

.caja_trasera div p,
.caja_trasera div button {
    margin-top: 30px;
}

.caja_trasera div h3 {
    font-weight: 400;
    font-size: 26px;
}

.caja_trasera button {
    padding: 10px 40px;
    border: 2px solid #fff;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transform: all 300ms;
}

.caja_trasera button:hover {
    background: #fff;
    color: #ff2c2cdd;
}

.contenedor_login-register {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 380px;
    position: relative;
    top: -225px;
    left: 10px;
    transition: left 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

.contenedor_login-register form {
    width: 100%;
    padding: 80px 20px;
    background: #fff;
    position: absolute;
    border-radius: 20px;
}

.contenedor_login-register form h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: #ff2c2c;
}

.contenedor_login-register form input {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border: none;
    background: #F2f2f2;
    font-size: 16px;
    outline: none;
}

.contenedor_login-register form button {
    padding: 10px 40px;
    margin-top: 40px;
    border: none;
    font-size: 14px;
    background: #ff2c2cc2;
    color: white;
    cursor: pointer;
    outline: none;
}

.formulario-login {
    opacity: 1;
    display: block;
}

.formulario-registro {
    display: none;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #ff2c2c;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media screen and (max-width: 850px) {
    main {
        margin-top: 50px;
    }

    .caja_trasera {
        max-width: 350px;
        height: 300px;
        flex-direction: column;
        margin: auto;
    }

    .caja_trasera div {
        margin: 0px;
        position: absolute;
    }

    .contenedor_login-register {
        top: -50px; 
        left: -5px;
        margin: auto;
    }

    .contenedor_login-register form {
        position: relative;
    }

    .contenedor_principal {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

#btn_principal {
    padding: 10px 40px;
    border: 2px solid #fff;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transform: all 300ms;
}

#btn_principal:hover {
    background: #fff;
    color: #ff2c2cc9;
}

/* Google Translate widget */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    position: fixed;
    bottom: 25px;
    left: 20px;
    z-index: 1000; 
    color: #ffffff !important;
}

.goog-te-gadget .goog-te-combo {
    position: fixed;
    bottom: 45px;
    left: 20px;
    z-index: 1000; 
    background-color: #fd4242 !important;
    color: rgb(255, 255, 255) !important; 
    border: 1px solid #fd4242 !important;
    border-radius: 4px;
    padding: 5px;
}

#google_translate_element .goog-te-gadget-simple {
    background-color: #fd4242 !important;
    border: 1px solid #fd4242 !important;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    color: rgb(255, 255, 255) !important;
}

#google_translate_element .goog-te-gadget-simple:hover {
    background-color: rgb(0, 0, 0) !important;
    color: #fd4242 !important;
}
