/*Section for background*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background-color: #972fff;
    background-size: cover;
    background-position: center;
}

/*nav bar section*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .1);
    backdrop-filter: blur(50px);
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: .5s;
}

.header:hover::after {
    left: 100%;
}

.logo img {
    width: 350px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex-grow: 1;
}

.navbar a {
    font-size: 1.15rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2.5rem;
    white-space: nowrap; /* Prevent wrapping */
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

/* Breakpoints */
@media (max-width: 992px) {
    .header {
        padding: 1.3rem 5%;
    }
}

@media (max-width: 914px) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, .1);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: height .3s ease;
        flex-direction: column; /* Stack items vertically */
        height: auto; /* Allow the height to adjust based on content */
        max-height: 0; /* Initially collapse the menu */
    }

    #check:checked~.navbar {
        max-height: 100vh; /* Expand the menu when checked */
    }

    .navbar a {
        display: block;
        font-size: 1.15rem; /* Ensure font size matches the original */
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: transform .3s ease, opacity .3s ease;
    }

    #check:checked~.navbar a {
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }
}

.navbar a:hover {
    color: #cccccc98; /* Adjust the color for hover effect */
}

.navbar a:active {
    color: #9999991f; /* Adjust the color for clicked effect */
}
/*section for videos page header*/

.videos_page_header {
    margin-top: 200px;
    margin-left: 40px;
    margin-right: 1000px;
    color: #fff;
    font-size: larger;
}

/*Section for bottom bar*/

.bottom_bar_container {
    color: white;
    background-color: #860eff;
    background-image: linear-gradient(#5d0cad, #860eff);
    width: 100%;
    height: 100px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 40px;
    box-shadow: 0px 10px 5px #888, 0px -10px 5px #5d0cad;
    display: flex;
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}

.social-media-icons-positioning {
    display: flex;
    justify-content: space-around; /* Evenly space the icons */
    align-items: center;
    width: 100%; /* Ensure it takes the full width */
    max-width: 750px;
}

.social-media-icons-green a {
    color: #00ff01;
    font-size: 1.5rem;
}