@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary-color: #5ba2af;
    --second-color: #757575;
    --text-black: #000;
    --texto-blanco: #fff;
    --titulo_g: 20px;
    --textos_g: 16px;

    --titulos_m: 18px;
    --textos_m: 16px;

    --titulos_p: 16px;
    --textos_p: 14px;
}

body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: url(../IMAGENES/bg_body.svg);
    background-size: cover;
    opacity: 0.1;
    filter: blur(3px);
}

.container_titulo {
    width: 50%;
    height: 4rem;
    left: calc(28% - 1rem);
    background: var(--primary-color);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    color: var(--texto-blanco);
    /* box-shadow: 0px 5px 11px 0px var(--second-color); */
    margin: 0 auto;
    margin-bottom: 5rem;
    z-index: 1;
}

.container_titulo i {
    font-size: 1.5rem;
    color: var(--texto-blanco);
}

.container_titulo h1 {
    padding: 1rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
}

.container_content {
    width: 50%;
    height: 100vh;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 0;
    flex-direction: column;
    position: absolute;
}

.container_image {
    width: 50%;
    height: 100vh;
    background: #0F2027;
    background: -webkit-linear-gradient(to right, #2c5364db, #203a43b0, #0f2027d6), url(../IMAGENES/bg_login.jpeg);
    background: linear-gradient(to right, #2c5364db, #203a43b0, #0f2027d6), url(../IMAGENES/bg_login.jpeg);
    background-size: cover;
    background-position: 10%;
    position: relative;
    top: 0;
    right: calc(0rem - 50%);
    box-shadow: -7px 5px 12px 0px var(--second-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.container_login {
    width: 27rem;
    height: 29rem;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    padding: 1.5rem;
}

.btn_mostrar_password {
    background: none;
    border: none;
    position: absolute;
    color: #000;
    width: 2rem;
    height: 2rem;
    bottom: calc(47% - 2rem);
    right: 2.3rem;
}

.btn_mostrar_password:hover {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0.4rem;
}

.txt_login {
    color: var(--texto-blanco);
    font-size: 1.5rem;
    text-align: center;
    line-height: 3rem;
    font-weight: 200;
}

.bold_text {
    font-weight: 600;
}

.img_logo {
    width: 66%;
    height: 25%;
    position: absolute;
    top: 1rem;
    left: calc(23% - 1rem);
}

.container_login input {
    width: 95%;
    margin: 1rem 0.5rem;
    height: 2rem;
    font-size: var(--textos_g);
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: none;
    outline: none;
    font-size: var(--textos_g);
}

.container_login input:focus {
    background: #5ba2af17;
}

.middle {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    border-radius: 0.5rem;
    border: none;
    background: var(--primary-color);
}

.btn {
    position: relative;
    display: block;
    color: var(--texto-blanco);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    padding: 8px 60px;
    text-transform: uppercase;
    overflow: hidden;
    transition: 1s all ease;
    border-radius: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.btn::before {
    background: var(--second-color);
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.6s ease;
}

.btn3::before {
    width: 100%;
    height: 0%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn3:hover::before {
    height: 500%;
}

.registrar_usuario {
    color: var(--text-black);
    position: absolute;
    bottom: 1rem;
    left: 16%;
    text-align: center;
}

.registrar_usuario:hover {
    text-decoration: underline;
    color: var(--second-color);
}

.btnDisabled {
    pointer-events: none;
    opacity: 0.5;
}

@media (max-width: 1200px) {
    .container_image {
        background-position: 30%;
    }
}

@media (max-width: 992px) {
    .txt_login {
        font-size: 1.2rem;
        line-height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container_image {
        display: none;
    }

    .container_content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container_login {
        width: 20rem;
        height: 29rem;
        padding: 0.5rem;
    }

    .img_logo {
        left: calc(14% - 1rem);
    }

    .registrar_usuario {
        left: 10%;
        width: 80%;
        bottom: 0rem;
    }

    .btn_mostrar_password {
        right: 1rem;
    }
}