/* Made with love by Mutiullah Samim*/

@import url('https://fonts.googleapis.com/css?family=Numans');

html, body {
    background-image: url('../img/logo.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%;
    font-family: 'Numans', sans-serif;
}

.container {
    height: 100%;
    align-content: center;
}

.card {
    height: auto; /* La altura se ajusta al contenido */
    margin-top: auto;
    margin-bottom: auto;
    width: 90%; /* Ancho en porcentaje */
    max-width: 400px; /* Máximo ancho de 400px */
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-radius: 10px;
    padding: 20px; /* Agregar un padding interno para mayor espacio */
}

/* Iconos de redes sociales */
.social_icon span {
    font-size: 60px;
    margin-left: 10px;
    color: #D0D7E1;
}

.social_icon span:hover {
    color: white;
    cursor: pointer;
}

.card-header h3 {
    color: white;
}

/* Iconos de redes sociales */
.social_icon {
    position: absolute;
    right: 20px;
    top: -45px;
}

.input-group-prepend span {
    width: 50px;
    background-color: #D0D7E1;
    color: black;
    border: 0 !important;
}

/* Estilos para los inputs */
input:focus {
    outline: 0 0 0 0 !important;
    box-shadow: 0 0 0 0 !important;
}

.remember {
    color: white;
}

.remember input {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 5px;
}

.login_btn {
    color: black;
    background-color: #D0D7E1;
    width: 100%;
}

.login_btn:hover {
    color: black;
    background-color: white;
}

.links {
    color: white;
}

.links a {
    margin-left: 4px;
}

/* Media Queries */
@media (max-width: 768px) {
    .card {
        width: 80%; /* Ancho más pequeño en pantallas medianas (tablets) */
        padding: 15px; /* Reducir el padding */
    }

    .social_icon span {
        font-size: 50px; /* Ajustar el tamaño de los iconos */
    }
}

@media (max-width: 480px) {
    .card {
        width: 95%; /* Ancho aún más pequeño en pantallas de móviles */
        padding: 10px; /* Reducir padding aún más */
    }

    .social_icon span {
        font-size: 40px; /* Ajustar aún más el tamaño de los iconos */
    }

    .input-group-prepend span {
        width: 40px; /* Hacer el icono más pequeño */
    }

    .login_btn {
        width: 100%; /* El botón de login ocupa todo el ancho */
    }
}
