body {
    background: url('../images/fruits_&_veg_8.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: rgba(255, 255, 255, 0.80); /* Ensuring the login container has a slight transparency */
    border: 1px solid rgba(221, 221, 221, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 
                0 8px 20px rgba(0, 0, 0, 0.15); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: -10px;
}

.card h3 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.card h5 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.text-white {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.lead {
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
    font-weight: 320;
}

.sponsor-logo {
    max-width: 60px;
    height: auto;
    margin: 0 10px;
}


.kuafo-logo {
    max-width: 110%;
    height: auto;
    border: 2px solid white;
    padding: 5px;
    filter: drop-shadow(2px 2px 5px rgb(0, 0, 0));
}

@media (max-width: 768px) {
    .kuafo-logo {
        width: 75px;
        margin-top: -25px;
    }
    .card {
        margin-top: -65px;
    }

    .sponsors-card{
        display: none;
    }
    
    .custom-section hr {
        margin-top: -15px;
    }
    
    .custom-section h2 {
        margin-top: -15px;
        font-size: 120%; 
    }
    
    .custom-section p {
        margin-top: 5px;
        font-size: 90%;
    }
    
}

@media (max-width: 576px) {
    .kuafo-logo {
        width: 90px;
        margin-top: -30px;
    }
    .card {
        margin-top: -50px;
    }

    .custom-section hr {
        margin-top: -10px;
    }
    
    .custom-section h2 {
        display: none;
    }
    
    .custom-section p {
        margin-top: -10px;
        font-size: 100%;
        font-weight: 500;
    }
    
    .sponsors-card{
        display: none;
    }
}

.rotate-logo {
    animation: spin 15s infinite; 
    animation-delay: 4s;
    transform-style: preserve-3d;
}

@keyframes spin {
    0% {
        transform: rotateY(0deg);
    }
    40% {
        transform: rotateY(720deg); 
    }
    80% {
        transform: rotateY(720deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}


