﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}


section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background: url(../imagenes/fondologin1.jpg) no-repeat;
    /background-position: center;/
    background-size: cover;
}


.login {
    position: relative;
    width: 500px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius:20px;
    height: auto;
    display:flex;
    font-family: "Poppins", sans-serif;
    justify-content:center;
    align-items: center;
}

    .login h2 {
        font-size: 2.3rem;
        color: white;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

.input-login {
    position: relative;
    margin: 30px 0;
    width: 320px;
    left: 30px;  
    border-bottom: 2px solid #fff;

}

    .input-login label {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: white;
        font-size: 1rem;
        pointer-events: none;
        transition: .6s;
        font-weight: bold;
    }

input:focus + label,
input:valid + label {
    top: -5px;
    font-size: 0.9rem;
}

.input-login input {
    width: 100%;
    height: 40px;
    left: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 5px 0;
    color: white;
    padding-left: 25px;
}

.input-login i {
    position: absolute;
    color: white;
    font-size: 1.6rem;
    top: 10px;
    right: 8px;
}

body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.container {
    display: flex;  /*Habilitar diseño Flexbox */
    align-items: center;  /Centrar elementos horizontalmente/ 
    justify-content: center; /* Centrar elementos verticalmente */
    width: auto;  /*Mantener el ancho */
    margin-top: 40px; /* Aumentar el margen superior*/ 
    margin-bottom: 40px;  /Establecer el tamaño mínimo a cero/ 
}

.botones {
    display: flex;
    flex-direction: row;
    width: 500px;  /Opcional,/ /*ajusta el ancho del contenedor de botones */
    align-items: center;
    justify-content: center;
}

.btn {
    text-decoration: none;
    padding: 5px 10px; /* Reducir padding */
    font-size: 1rem; /* Reducir tamaño de fuente */
    position: relative;
    margin: 5px; /* Reducir margen */
    width: 80px; /* Reducir ancho */
    height: 30px; /* Reducir altura */
}



.btn-ingreso {
    color: white;
    background-color: #890010;
    border-radius: 400px;
    box-shadow: 0 0 0 0 rgba(137, 0, 16, 0.5), 0 0 0 0 rgba(137, 0, 16, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 90px; /* ancho */
    height: 40px; /*  altura */
    display: flex; /* Asegurarse de que Flexbox esté habilitado */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    position: relative;
    text-decoration: none;
}

    .btn-ingreso::after {
        content: "";
        width: 180px; /* Reducir tamaño del efecto */
        height: 180px; /* Reducir tamaño del efecto */
        position: absolute;
        top: -25px; /* Ajustar posición */
        left: -55px; /* Ajustar posición */
        background: #890010;
        background-image: linear-gradient(to bottom, #890010 0%, #ac9b8a 100%);
        z-index: -1;
        transition: transform 0.5s ease;
        border-radius: 50%; /* Asegurar que el borde sea redondeado */
    }

    .btn-ingreso:hover {
        transform: translate(0, -6px);
        box-shadow: 4px -4px 14px 0 rgba(137, 0, 16, 0.5), -4px 4px 14px 0 rgba(137, 0, 16, 0.5);
    }

        .btn-ingreso:hover::after {
            transform: rotate(150deg);
        }