*{
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    justify-content:center;
    align-items:center;
    min-height: 100vh;
    background-image: url(../img/3_Logo40_Cisp_RGB_Bitmap_L.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

header{
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99;
}

.logo{
    display: flex;
    flex-wrap: wrap;
    font-size: 2.3rem;
    color:darkslategrey;
    user-select: none;
    cursor: pointer;
}

.navegacion {
    display: flex;
}

.navegacion a{
    display: block;
    position: relative;
    font-size: 1.1rem;
    color: darkslategrey;
    text-decoration: none;
    font-weight: 500;
    width: auto;
    margin-left: 40px;
}

.navegacion a::after{
    content: "";
    position: absolute;
    width: 100%;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: darkslategrey;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s;
}

.navegacion a:hover::after{
    transform: scaleX(1);
    transform-origin: left;
}

.navegacion .btn{
    width: auto;
    height: auto;
    padding: 10px 10px 10px 10px;
    background: transparent;
    border: 2px solid darkslategrey;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    color: darkslategrey;
    font-weight: 800;
    margin-left: 40px;
}

.navegacion .btn:hover{
    background: rgb(126, 116, 116);
    color: white;
}

.fondo{
    width: 100%;
    max-width: 400px; /* O el ancho deseado para el formulario */
    height: auto;
    margin: 5vh auto;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    position:relative;
    background-color:white;
    border: 2px solid white;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s;
    transform: scale(0);
}

.fondo.active_btn{
    transform: scale(1);
}

.fondo.active{
    height: 455px;
}

.fondo .contenedor_form{
    width: 100%;
    padding: 40px;
}

.fondo .contenedor_form.login{
    transition: 0.7s ease;
    transform: translateX(0px);;
}

.fondo.active .contenedor_form.login{
    transition: none;
    transform: translateX(-400px);
}

.fondo .icono_cerrar{
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background-color:rgb(126, 116, 116);
    display: flex;
    justify-content: center!important;
    align-items: center!important;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
    color: black;
}

.contenedor_form h2{
    font-size: 2em;
    color: dimgray;
    text-align: center;
    font-weight: bold;
}

.contenedor_input{
    position: relative;
    max-width: 100%;
    height: 50px;
    border-bottom: 2px solid dimgray;
    margin: 30px 0;
}

.contenedor_input label{
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    font-weight: 600;
    pointer-events: none;
    transition: .4s;
    color:dimgray;
}

.contenedor_input input{
    max-width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: dimgray;
    padding: 0 35px 0 5px;
}

.contenedor_input .icono{
    position: absolute;
    right: 8px;
    font-size: 1.4em;
    color: dimgray;
    line-height: 57px;
}

.btn{
    width: 100%;
    height: 45px;
    border: none;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    background-color: dimgray;
    color: white;
}

.page-wrapper {
    overflow:visible!important;
}

.cookie-consent{
    width: 100%!important;
    margin-bottom: 20px;
}