@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poetsen+One&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&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --color-black: #000;
    --color-red: #eb0028;
    --color-silver: #CCCCCC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    margin-top: 74px !important;
    font-family: 'Poppins';
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.nav-item:hover {
    color: var(--color-silver) !important;
}

.nav-bar span {
    color: var(--color-red);
}

#colorStarsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero {
    position: relative;
    background-color: black;
    min-height: 100vh;
    overflow: hidden;
}

.hero .container {
    z-index: 1;
    position: relative;
}

.copyright {
    background-color: var(--color-black);
}

.copyright a {
    text-decoration: none;
    color: var(--color-red);
}

@media (min-width: 992px) { /* lg breakpoint */
    .hero {
        min-height: 100vh;
    }
    .responsive-heading {
        font-size: 80px; /* Large devices (desktops) */
    }
}

.responsive-heading {
    font-size: 36px; /* Base size for very small screens */
}

@media (min-width: 576px) {
    .responsive-heading {
        font-size: 48px; /* Small devices (phones landscape) */
    }
}

@media (min-width: 768px) {
    .responsive-heading {
        font-size: 64px; /* Medium devices (tablets) */
    }
}

.buttons {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    justify-content: center;
}

@media screen and (max-width: 360px) {
    .buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Space between buttons */
        width: 200px; /* Adjust the width */
        justify-content: center; /* Center the buttons horizontally */
        margin: 0 auto; /* Center the container */
    }
}

/* Container for the image */
.image-container {
    position: relative;
    display: inline-block;
}

/* Initially black and white image with smooth transition */
.bw-to-color {
    width: 100%; /* Ensure the image fits within the container */
    height: auto; /* Maintain aspect ratio */
}

/* Contact Us Form */
.contact {
    background-color: #f8f9fa;
}

.form-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
}

textarea.form-control {
    resize: none; /* Prevent resizing of textarea */
}

.contact button {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #c70021; /* Darker shade of the button color on hover */
}

/* Make form responsive */
@media (max-width: 768px) {
    .container-fluid {
        padding: 40px 0;
    }

    .col-lg-6, .col-md-8 {
        width: 100%;
    }

    .form-control, .btn {
        width: 100%;
    }
}

.rules-box {
    background-color: #f9f9f9;
    border-left: 5px solid #eb0028;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.custom-list li::before {
    content: "✔";
    color: #eb0028;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Default navbar styling for larger screens */
.navbar {
    padding: 1rem 2rem; /* Keep padding for large screens */
}

/* Navbar styling for small screens */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem; /* Reduce top and bottom padding */
    }

    .navbar-toggler {
        padding: 0.25rem; /* Adjust button padding */
    }

    .navbar-brand img {
        max-width: 100%; /* Keep image size as is */
    }

    .navbar-nav {
        padding-top: 0.25rem; /* Reduce space between navbar items */
    }

    .nav-item {
        padding: 0.5rem 0; /* Reduce the padding on nav items */
    }

    .nav-link {
        font-size: 14px; /* Reduce font size on mobile */
    }
}

/* Optional: For very small screens like phones in portrait mode */
@media (max-width: 576px) {
    .navbar {
        padding: 0.20rem 0.4rem; /* Further reduce padding */
    }

    .nav-link {
        font-size: 12px; /* Further reduce font size */
    }

    .navbar-toggler {
        padding: 0.25rem; /* Adjust button padding for very small screens */
    }
    body {
        margin-top: 150px !important;
    }
    .speaker-registration .btn {
        width: auto !important;
        display: inline-block;
    }
}

.team-content {
    background-color: black;
    height: 130px;
}

.team-content h4 {
    color: #eb0028;
}