html {

    scroll-behavior: smooth;
    background-color: #fcefdf;
    background-image: url('background.jpg');
    /* Replace 'your-image.jpg' with the path to your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

}

body {
    margin: 0;
    padding: 0;
    background: transparent;
    color: white;

}

* {
    color: white;

}

footer {
    background-color: black;
    color: white;
    width: 100vw;
}


footer {
    padding: 15px;
}

.navbar {
    background-color: transparent;
    position: absolute;

    margin: 0px !important;
    width: 99vw;




}

.navbar-brand {
    max-width: 6%;
    margin: 0;
}


.navbar-logo {
    max-width: 100%;
    height: auto;

    /* Remove any extra spacing below the image */


    /* Add some padding around the image */
    border-radius: 5px;
    /* Add rounded corners to the image (adjust as needed) */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow to the image (adjust as needed) */
}

.nav-link {
    font-size: 1.2em;
    font-family: 'Francois One', sans-serif;
    color: white;
}





.navbar-nav .nav-item {
    margin-right: 10px;
}

.nav-item {
    margin-right: 5%;
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #e0e0e0;
}




.register-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: rgba(0, 0, 0, 0.123);
    color: #fffefe;
    border: 3px solid rgb(156, 153, 153);
    border-radius: 20px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    position: relative;
    top: 75px;

}

.register-button:hover {
    background-color: white;
    border: 3px solid black;
    color: black;
}


#first {
    margin: 0;
}



#sec {
    flex-direction: row-reverse;
}

.message {
    justify-content: center;

}

.message h2 {
    text-align: center;
    padding: 14px;
}

#sm span {
    margin-top: 8px;
    display: inline-block;
}

#sm span:last-child {
    margin-bottom: 8px;
}

#erudit {
    background-color: #fcefdf;
    padding: 0px 0px 30px 0px;


}

#g20-image {
    position: absolute;
    z-index: 0;


}

#g202 {
    flex-direction: row-reverse
}

#forum-image {
    position: absolute;
}


#erudit .container {

    position: relative;
    top: 14px;
}



#erudit h2 {
    font-size: 24px;
    margin: 20px auto;

}

#erudit p {
    font-size: 16px;
    line-height: 1.6;
}




/*
#iamgrid {

    display: grid;
    grid-template-columns: repeat(4, );
    gap: 20px;
    padding: 0% 6% 4% 4%;
}*/

#iamgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    /* 4 equal columns */
    gap: 20px;
    padding: 0% 6% 4% 4%;
}

#iamgrid:nth-child(n+9) {
    grid-column: span 4;
    /* Make the third row span only 3 columns */
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    /* Make last row only 3 items */
    margin: auto;
}


.forum {
    background-color: #ffffff;
    margin-top: 20px;
    z-index: 2;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 800ms ease-in;
    color: black
}

.forum:hover {
    transform: scale(1.05)
}

.forum img {
    max-width: 100%;
    border-radius: 5px;

}

.forum h2 {
    font-size: 20px;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 5px;
}

.forum p {
    font-size: 16px;
    text-align: center;
    line-height: 1.6;
}


.fullscreen-bg {
    position: fixed;
    ;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 108vh;



}

.fullscreen-bg img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



#about h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

#about .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

#about .img-container img {
    max-width: 100%;
    height: auto;
}

#about p {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
}

/* Custom styling for the Resources section */
#resources {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.resource-card {
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
}

.resource-card:hover {
    transform: scale(1.05);
}

.resource-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.resource-link i {
    font-size: 24px;
    margin-right: 10px;
}

/* Center align text within the resource cards */
.resource-card span {
    display: flex;
    align-items: center;
}

/* Center align the section headings */
.text-center {
    text-align: center;
}



.bg-light {
    background-color: rgba(54, 119, 54, 0.854) !important;
    margin-top: 2em;
    margin-bottom: 2em;

    border: 1px black solid;
    border-radius: 6px;
    color: white;
}




#secretariat h2 {
    text-align: center;
    color: white;
}

#gridthis {
    background-color: aliceblue;
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 20px;
    padding: 0% 7% 5% 7%;
}



.circle-img img {
    border-radius: 50%;
    /* Makes the images rounded */
    width: 190px;
    /* Adjust the width as needed for consistent size */
    height: 190px;
    /* Adjust the height as needed for consistent size */
    object-fit: cover;
    /* Ensures the image covers the entire container */
}

/* Custom CSS for animations */
.event-card {
    transition: transform 0.3s ease-in-out;
}

.event-card:hover {
    transform: scale(1.1);
}


@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

#g20 {
    background-color: rgba(0, 0, 0, 0.664);

    border-radius: 8px;
    margin-bottom: 10px;
}

#g202 {
    background-color: rgba(0, 0, 0, 0.664);

    border-radius: 8px;
    margin-bottom: 10px;
}

.message {
    background-color: white;
    border: 1px solid white;
    border-radius: 8px;
    padding: 4px;
}


/* Add any additional styling you need here */


#text {
    display: flex;
    justify-content: center;
    align-items: center;
    ;
    text-align: center;
    font-size: 16px;
    height: 100vh;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.454);
    color: rgba(0, 0, 0, 0.699);
    margin-right: 0 !important;
}

@font-face {
    font-family: myFirstFont;


    src: url("bickham_regular.ttf");
}

@font-face {
    font-family: mySecondFont;

    src: url("IntegralCF-DemiBold.ttf");
}

#mainContent h1 {
    font-family: myFirstFont;
    font-size: 8.25em;
    text-align: center;




}


#mainContent h2,
#mainContent h3,
#mainContent p {
    font-family: mySecondFont;
    font-size: 2em;



}

#mainContent h3,
#mainContent p {

    font-size: 1.18em;

}

#mainContent span {
    font-size: 1.25em;
}


#vasu {
    position: relative;
    bottom: 45px;

}

#sec-image {
    position: absolute;
    z-index: 0;
}


.back-images {
    position: absolute;
    z-index: 0;






}


.message {
    background-color: transparent;
    color: white;
    border: none;
}

.img-fluid {
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 10px 10px 2px 1px rgba(190, 190, 199, 0.2);


}

#chief {
    z-index: 3;

}

#g20images {
    z-index: 3;
    border: 2px solid white;
    border-radius: 8px;
    padding: 0;
    width: 98%;
    height: 90%;

}

#g20-image {
    z-index: 0;


}

#group-img {
    border: 1px solid white;
    border-radius: 6px;
    padding: 0
}


#map {

    margin: 0 auto;
    border: 2px solid white;
    border-radius: 6px
}

.custom-popup {
    color: black;
    /* Change text color to black */
}

#me {
    text-align: center
}



#forums .container-fluid {
    padding: 0;
}

.image-container img {
    width: 90%;
    margin: 2em;
    /* Set the width to 100% for responsive scaling */
    height: auto;
    /* Automatically adjust the height to maintain aspect ratio */
}

#last {

    padding-top: 8px;

    font-size: 1.24em;
}

@font-face {
    font-family: Medio;
    src: url("medio.otf");
}


@font-face {
    font-family: Montserrat;
    src: url("Montserrat-VariableFont_wght.ttf")
}

.heading {
    font-family: Lato;
}

.content,
.forum h2,
.forum p,
#eventincharges h3,
#eventincharges p {
    font-family: Lato;

}


.background-guide {
    color: black;
    font-style: none;
    text-decoration: none;
}

.background-guide h2,
.background-guide p {
    color: black;
    font-style: none;
    text-decoration: none;
}

.background-guides img {
    border: 2px solid white;
    border-radius: 4px;
    margin: 1em;
}

.background-guides {
    transition: transform 0.3s ease-in-out;
}

.background-guides:hover {

    transform: scale(1.1);

}


.sponsor {
    background-color: white;
    vertical-align: center;
    height: 90%;
    margin: 1.5em;
    border-radius: 8px;
    padding: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sponsor:hover {
    transform: scale(1.05);
}

#jk {
    width: 70%;
    margin: auto;
    height: 100%;
    padding: 1em;
}


#days,
#minutes,
#hours,
#seconds {
    font-size: 3rem;
    font-weight: 500;

}

#timer {

    padding: 4px;

}

.time {
    font-size: 36px;
    font-weight: bold;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

.unit {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #333;
}

#flipbook {
    width: 800px;
    height: 600px;
}

.bb-item {
    display: block;
    width: 100%;
    height: 100%;
}

.bb-item img {
    width: 100%;
    height: 100%;
}

/* Customize the close button (which could be used for minimize) */
/* Custom Popup Styles */
.custom-popup {
    color: black;
    font-size: 0.8rem;
    background-color: white;
    padding: 0.1rem;
    border-radius: 8px;

}

.leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.9);
    /* Translucent white background */
}

.leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.9);
    /* Translucent white background */
}

/* Optional Close Button Styling */
.leaflet-popup-close-button {
    color: black;
    background-color: white;
    border: 1px solid black;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

/* Fullscreen Navbar on Toggle for Mobile Screens */
.navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    /* Fullscreen black background with transparency */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Show the Navbar when Toggled */
.navbar-collapse.show {
    visibility: visible;
    opacity: 1;
}

/* Navbar Links Styling */
.navbar-nav {
    list-style: none;
    text-align: center;
}

.navbar-nav .nav-link {
    font-size: 1.5rem;
    /* Adjust link size */
    margin: 1rem 0;
    color: white;
}

/* Close Button Styling */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Media Query for Larger Screens */
@media (min-width: 992px) {
    .navbar-collapse {
        position: relative;
        width: auto;
        height: auto;
        background-color: transparent;
        /* No fullscreen effect on larger screens */
        visibility: visible;
        opacity: 1;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        transition: none;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        margin: 0 1rem;
        color: white;
    }

    .close-btn {
        display: none;
        /* Hide close button on large screens */
    }
}