﻿/* Base CSS */
* {
    font-family: "Roboto", sans-serif;
}

/* Responsive */

@media (min-width:768px) {
    .content {
        width: auto;
    }
}
@media (max-width: 768px) {
    body {
        background-size: cover; /* Ensures the entire image fits within the viewport */
        background-position: center;
    }
}

html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%; /* Full viewport height */

    display: flex;
    flex-direction: column;


    /*overflow: hidden;*/ /* Prevents scrollbars */
    
    background-image: url('../media/Screenshot (504).png');
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the image scales to cover the viewport */
    background-position: center calc(50% - 50px); /* Center-aligns the image */
    background-attachment: fixed; /* Keeps the image fixed in place */
    background-color: black; /* Fallback color */
}


/* Layout skeleton */
/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>< Main Elements */

.wrapper {
    flex: 1;
    /*align-items: stretch;*/
    width: auto;
    display: flex;
    flex-direction: row;
    min-height: 100vh; /* Ensures the wrapper spans the full height */
}

#sidebar {
    max-width: 200px;
    min-width: 200px;
    transition: all 0.35s ease-in-out;
    box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5);
    z-index: 1111;
}


#main {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 5px;
    /* Width of the sidebar */
    padding: 20px;
    flex: 1;
}
/*#content {
    flex: 1;*/ /* Expands to fill the space not occupied by the sidebar */
    /*margin-left: 5px;
    padding: 20px;
}*/

#footer {
    margin-left: auto;
    width:100%;
    padding: 20px;
    background-color: #222; /* Example background color */
    color: #fff; /* Example text color */
    text-align: center;
}



/* SIDE BAR */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*,
::after,
::before {
    box-sizing: border-box;
}

a {
    cursor: pointer;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

li {
    list-style: none;
}



/* Sidebar collapse */

.sidebar-logo {
    overflow: hidden;
    /* Ensures the rounded corners are applied */
    border-radius: 10px;
    /* Adjust the border-radius value to control the roundness */
}

    .sidebar-logo img {
        display: block;
        width: 100%;
        height: auto;
        /* Allows the image to scale proportionally */
    }

/* Sidebar COLLAPSE MARGIN */
#sidebar.collapsed {
    margin-left: -200px;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
}

    .sidebar-logo a {
        color: #e9ecef;
        font-size: 1.25rem;
        font-weight: 600;
    }

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    color: #e9ecef;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 1rem;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
    color: white;
}




/* Footer styles */


    #footer .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #footer .footer-links {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }

        #footer .footer-links a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

            #footer .footer-links a:hover {
                color: #ffcc00;
            }

    #footer .social-icons {
        display: flex;
        align-items: center;
        gap: 20px;
    }

        #footer .social-icons #contact-txt {
            color: #fff;
            font-size: 16px;
            position: relative;
            top: 30%;
        }

        #footer .social-icons a {
            color: #fff;
            text-decoration: none;
            transition: transform 0.3s;
        }

            #footer .social-icons a i {
                font-size: 24px;
            }

            #footer .social-icons a img {
                width: 24px;
                height: 24px;
            }

            #footer .social-icons a:hover {
                transform: scale(1.1);
            }