@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300&family=Source+Sans+Pro:ital,wght@0,200;1,200&display=swap');
/* Estilos generales que aplican a todos los dispositivos */

:root {
    --main-font-family-title: 'Segoe UI Light', Tahoma, Geneva, Verdana;
    --main-font-family-text: 'Roboto', sans-serif;
    --main-font-family-optional: 'Roboto Condensed', sans-serif;
}

body {
    font-family: var(--main-font-family-text);
    color: #ffffff;
    background-image: url('../../img/bg/bg.jpg');
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative;
}

.background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.logo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -5;
    padding: 5px;
}

.logo img {
    max-width: 30vw;
}

 img.logo-2{
    position: absolute;
    top: -80px;
    left: 0px;
    width: 170px;
    opacity: 1;
 }

.content {
    position: relative;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

.content::before {
    content: "";
    background-image: url('../../img/Logotipo_nbilbao_white.png');
    background-size: 180px 180px; /* Tamaño de la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px; /* Ancho de la imagen */
    height: 180px; /* Alto de la imagen */
    z-index: -2;
    opacity: 0.5;
}

form{
    margin-bottom: 15px
}

h2 {
    font-family: var(--main-font-family-title);
    text-align: center;
}

label {
    font-family: var(--main-font-family-text);
    display: inline-flex;
}

label > i {
    position: relative;
    top: 35px;
    left: 20px;
    color: rgba(0, 0, 0, 0.25);
    font-size: 1.5em;
    margin-left: 10px;
}

/* Estilos para los campos de inicio de sesión rgba(255, 255, 255, 0.4); rgba(0, 0, 0, 0.25);   */

input[type="text"],
input[type="password"] {
    font-family: var(--main-font-family-text);
    background-color: rgba(204, 204, 204, 0%);
    width: 80%;
    padding: 10px;
    padding-left: 50px;
    margin-bottom: 20px;
    margin-left: 18px;
    border: none;
    border-bottom: 1px solid rgba(204, 204, 204, 0.5);
    font-size: 16px;
    line-height: 1.5rem;
    color: #fff;
}


input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #007bff;
}

input[type="submit"] {
    background-color: #0d46d1;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 40px;
    font-size: 16px;
    font-family: var(--main-font-family-text);
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0b3fbc;
}

input[type="submit"]:active {
    background-color: #0a38a7;
}

/* Media queries para dispositivos específicos */
@media (max-width: 768px) {
    /* Estilos para tablets */
    .content {
        padding: 20px;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    /* Estilos para dispositivos móviles */
    .content {
        padding: 10px;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
        padding-left: 10px;
    }

    input[type="submit"] {
        padding: 10px 20px;
    }
}


::-ms-input-placeholder { /* Edge 12-18   #a29ca6; color: #a29ca6;*/
    color: #a29ca6;
  }
  
::placeholder {
    color: rgba(0, 0, 0, 0.25);
  }