@import url('https://fonts.googleapis.com/css?family=Numans');

html, body {
    margin: 0; 
    padding: 0;
    width: 100%; 
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://i.ibb.co/VwBC3yq/eng-1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Numans', sans-serif;
    animation: fadeInBackground 2s ease-out forwards; 
}

@keyframes fadeInBackground {
    0% { background-color: rgba(0, 0, 0, 0); }
    100% { background-color: rgba(0, 0, 0, 0.5); }
}


.blur {
    filter: blur(5px);
    transition: filter 0.3s ease-in-out;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3, h4, h5, h6, p, a {
    animation: fadeInText 1.5s ease-out;
}


.card {
    width: 480px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out forwards;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    position: relative;
}

.card-header h3 {
    color: #FFC312;
    text-align: center;
    transition: font-family 0.5s ease, color 0.5s ease;
}

.social_icon {
    position: absolute;
    right: 20px;
    top: -30px;
    display: flex;
}

.social_icon span {
    font-size: 30px;
    margin: 0 10px;
    color: #FFC312;
    transition: color 0.3s, transform 0.3s;
}

.social_icon span:hover {
    color: white;
    cursor: pointer;
    transform: scale(1.2);
}

.input-group-prepend span {
    width: 50px;
    background-color: #FFC312;
    color: black;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.input-group-prepend.focused .input-group-text,
.input-group-text.hovered,
.social_icon span.hovered {
    background-color: #fff; 
    color: #333;
}

.form-control {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    transition: border 0.3s ease-in-out;
}

.form-control:focus {
    background-color: transparent;
    color: #fff;
    border: 1px solid #FFC312;
    box-shadow: none;
}

.remember {
    color: white;
    font-size: 14px;
}

.login_btn {
    background-color: #FFC312;
    color: #000;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.login_btn:hover {
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transform: scale(1.05);
}

.card-footer {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    padding: 20px;
    border-top: none;
    transition: background-color 0.3s ease;
}

.card-footer .links a {
    color: #FFC312;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.card-footer .links a:hover {
    color: white;
    text-decoration: underline;
}


.card-footer {
    background-color: rgba(255, 255, 255, 0.1);
}

.card-footer .links {
    color: white;
}

.card-footer .d-flex a {
    color: #FFC312;
}

.card-footer .d-flex a:hover {
    color: white;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    background: linear-gradient(135deg, #1f4037, #99f2c8);
    color: white;
    padding: 30px;
    border-radius: 15px;
    animation: fadeInModal 0.5s ease-out forwards;
    font-family: 'Numans', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    border: 2px solid #FFC312;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    border-bottom: none;
}

.modal-body p {
    font-size: 1.2em;
    margin-bottom: 20px;
    animation: fadeInText 1.5s ease-out;
}

.modal-body button {
    width: 40%;
    padding: 12px 20px;
    margin: 10px;
    font-size: 16px;
    transition: transform 0.3s, background-color 0.3s, color 0.3s;
    border: none;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFC312;
    color: #000;
}

.modal-body button i {
    margin-right: 8px; 
    font-size: 18px;
}

.modal-body button:hover, .modal-body button:focus {
    transform: scale(1.05);
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.modal-body button:nth-child(2) {
    background-color: #12CBC4; 
    color: #fff;
}

.modal-body button:nth-child(2):hover, .modal-body button:nth-child(2):focus {
    background-color: #fff;
    color: #333;
}


@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-effect {
    animation: pulse 0.6s ease;
}

.login_btn:active {
    animation: pulse 0.6s ease;
}

@media (max-width: 576px) {
    .card {
        width: 90%;
    }
    .modal-body button {
        width: 80%;
    }
    .modal-content {
        padding: 20px;
    }
}

.btn:focus, .close:focus, a:focus {
    outline: 2px solid #FFC312;
    outline-offset: 2px;
}

a:focus {
    text-decoration: underline;
}

.some-element-class {
    background-color: transparent !important;
}
