/* General Styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #4b0082, #ff1493, #1e90ff);
    background-size: 300% 300%;
    animation: bgAnimation 10s infinite alternate;
    color: white;
    user-select: none;
}

img {
    -webkit-user-drag: none; /* Safari */
    -khtml-user-drag: none;   /* Konqueror */
    -moz-user-drag: none;     /* Firefox */
    -o-user-drag: none;       /* Opera */
}

/* Background Animation */
@keyframes bgAnimation {
    0% { background-position: left top; }
    100% { background-position: right bottom; }
}

.banner img {
    width: 100%;
    height: 75vh;
    object-fit: fill;
    animation: bannerAnim 2s ease-out;
}

/* Banner Animation */
@keyframes bannerAnim {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.register {
    margin: 20px;
    width: fit-content;
    margin: 2vh auto;
}

.register-btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    animation: fadeIn 2s ease-out;
}

.register-btn:hover {
    background-color: #007bffce;
    transition: all 300ms;
}

.eventImages{
    cursor: pointer;
}

/* Button Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

marquee {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 10px 0;
    background-color:#fe008777;
    opacity: 60%;
}

.day-section, .coordinators-section {
    margin: 30px 0;
}

h2 {
    background-color: #d867be4d;
    padding: 10px;
    font-style: oblique;
    animation: slideInUp 1s ease-out;
}

/* Slide In Animation for Heading */
@keyframes slideInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Image gallery and coordinator gallery */
.image-gallery, .coordinator-gallery {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 4vw;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 350px;
    height: 350px;
    object-fit: fill;
    border-radius: 10px;
    border: 2px solid #ddd;
    transition: transform 300ms ease;
}

/* Hover effect for gallery images */
.image-gallery img:hover {
    transform: scale(1.08);
}

.coordinator-gallery{
    display: flex;
    flex-wrap: wrap;
}

.coordinator-gallery .coordinator {
    text-align: center;
    width: 250px;
    margin: 10px;
    animation: fadeInUp 1.5s ease-out;
}

.coordinator-gallery img {
    /* width: 70%; */
    width: fit-content;
    height: 200px;
    object-fit: fill;
    border-radius: 10px;
    border: 2px solid #ddd;
    transition: transform 300ms ease;
}

/* Coordinator Image Hover Effect */
.coordinator-gallery img:hover {
    transform: scale(1.08);
}

/* Fade-in Up Animation for Coordinators */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.coordinator-gallery .details {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.coordinator-gallery h2 {
    font-size: 16px;
    font-weight: bold;
}

.coordinator-gallery h3 {
    font-size: 14px;
    color: #020629;
    margin-top: 5px;
}

.coordinator {
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease-in-out;
}

/* Coordinator Hover Effect */
.coordinator:hover {
    transform: scale(1.05);
}

.iitm_logo{
    width: 100px;
}

.navbar-links{
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 300ms ease;
}

.navbar-links:hover{
    background-color: #007bffce;
}

/* General Styles */
.move-to-top {
    position: relative;
}

.top-btn {
    position: fixed;
    bottom: 20px;
    left: 95%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    animation: moveIn 1s ease-out;
}

/* Move-in Animation for Top Button */
@keyframes moveIn {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hover effect */
.top-btn:hover {
    background-color: #0056b3; /* Change color on hover */
}

h4{
    color: #060e53;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border: 2px solid white;
}

.sponsors{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 4vw;
    flex-wrap: wrap;
}
.sponsors img{
    width: 20vw;
    height: 350px;
    object-fit: fill;
    transition: transform 300ms ease;
    border-radius: 5px;
}



/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .register-btn {
        font-size: 16px;
        padding: 8px 16px;
    }

    .image-gallery img, .coordinator-gallery img {
        width: 100%;  /* Makes the images take full width */
        height: auto; /* Ensures they maintain aspect ratio */
    }

    .image-gallery, .coordinator-gallery {
        width: 90%; /* Reduces width for smaller screens */
        gap: 5vw;
    }

    marquee {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .coordinator-gallery .coordinator {
        width: 100%;
    }

    .coordinator-gallery .details {
        font-size: 12px;
    }

    h2 {
        font-size: 18px;
    }

    #navbarNav{
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    /* Adjust the register button size on very small screens */
    .register-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .day-section, .coordinators-section {
        margin: 20px 0;
    }

    .image-gallery, .coordinator-gallery {
        gap: 4vw;  /* Smaller gap for tighter screens */
    }

    h2 {
        font-size: 16px;
    }

    marquee {
        font-size: 1.2rem; /* Even smaller font size */
    }

    .coordinator-gallery .details {
        font-size: 11px;
    }

    #navbarNav{
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    /* Adjust the register button size on very small screens */
    .register-btn {
        font-size: 12px;
        padding: 5px 10px;
    }

    .day-section, .coordinators-section {
        margin: 15px 0;
    }

    .image-gallery, .coordinator-gallery {
        gap: 3vw;  /* Smaller gap for tighter screens */
    }

    h2 {
        font-size: 14px;
    }

    marquee {
        font-size: 1rem; /* Small font size for small screens */
    }

    .coordinator-gallery .details {
        font-size: 10px;
    }

    #navbarNav{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Responsiveness: Adjust Banner Size */
@media (max-width: 768px) {
    .banner img {
        height: 50vh; /* Reduce the height for tablets */
        object-fit: cover; /* Ensure the image covers the area without distortion */
    }
}

@media (max-width: 480px) {
    .banner img {
        height: 40vh; /* Further reduce the height for smaller screens */
        object-fit: cover; /* Ensure the image covers the area without distortion */
    }
}

/* Footer Section */
.footer {
    background-color: white;  /* Dark background for the footer */
    color: black;               /* White text color */
    text-align: center;         /* Center align the text */
    padding: 10px;              /* Padding around the text */
    position: relative;         /* Ensure footer stays at the bottom */
    bottom: 0;
    width: 100%;                /* Make the footer take full width */
    font-size: 16px;            /* Adjust font size */
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
    .footer {
        font-size: 14px; /* Slightly smaller text on tablets */
    }
}

@media (max-width: 480px) {
    .footer {
        font-size: 12px; /* Even smaller text on mobile devices */
    }
}



