/*
Theme Name: Elites
Theme URI: https://monolithofwisdom/
Author: MonolithofWisdom
Author URI: https://monolithofwisdom/
Description: Only for the Elites.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


/*Main content stadarization*/
* {
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    list-style: none !important;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight:450;
    font-style: normal;
}

html {
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
    max-width: 100%;
    width: 100%;
}

main {
    margin-top: 8rem;
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
    max-width: 100%;
    height: 100%;
}


@media (max-width: 993px) {
    main {
        margin-top:8rem;
    }
}

@media (max-width: 576px) {
    main {
        margin-top:7rem;
    }
}

body {
    overflow-x: hidden !important; /* This prevents horizontal scrolling */
    max-width: 100% !important;
    height: 100%;
    display: flex; /* Flex container to allow flex-grow on main */
    flex-direction: column; /* Ensure vertical layout */
}



/*Navbar styles*/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: fit-content;
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background-color: #000000c9;
}

.nav-separator {
    position: absolute;
    top: 7rem;
    height: 0.5px;
    width: 90%;
    background-color: rgba(240, 248, 255, 0.173);
}


.logo-and-description {
    display: flex;
}

.title-description-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-left: 5%;
}

.navbar-cover {
    position: fixed;
    top: 5%;
    width: 100%;
    height: fit-content;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: hsla(48, 13%, 85%, 0.5);
    padding-top: 5%;
    padding-bottom: 3%;
}

/* Site Logos */
.custom-logo-link img{
    width: 100px; /* or any desired width */
    height: auto; /* maintain aspect ratio */
    margin-bottom: 20px;
}


.logo-container-cover img {
    width: 500px; /* or any desired width */
    height: auto; /* maintain aspect ratio */
    margin-bottom: 20px;
}

.logo-container img {
    width: 100px; /* or any desired width */
    height: auto; /* maintain aspect ratio */
    padding: 10px;
}
/* Custom Logos */
.logo-three {
    width: 120px;
    height: auto;
}




.title-description-wrapper {
    display: flex;
    justify-content: space-evenly
}

.site-title {
    font-size: 20px;
}

.site-description {
    font-size: 15px;
}

/*Main Menu*/
.main-menu {
    display: flex; /*main menu row oriantation*/
    justify-content: space-around;
    margin-right: 20px;
}

.menu-container {
    width: 30%;
    height: auto;
}


.main-menu a {
    transition-duration: 0.5s;
    color: white;
    font-size: 15px;
}

.main-menu a:hover {
    font-size: 15px;
    color: #bb9243;
}

/* SUB menu style */
ul.sub-menu {
    display:none;
}

.menu-item-has-children:hover {
    .sub-menu {
        background-color: #000000e4;
        display:flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: start;
        position: fixed;
        height: 30vh;
        width:auto;
        padding: 2%;
        z-index: 1;
    }
}



.burger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}


@media (max-width: 1200px) {
    .menu-container {
        display: flex;
        justify-content: end;
        width: 50%;
        height: auto;
    }
    .main-menu a {
        border: 10px solid transparent;
    }
}

@media (max-width: 800px) {
    .menu-container {
        display: flex;
        justify-content: end;
        width: 60%;
        height: auto;
    }

    .main-menu a {
        border: 10px solid transparent;
    }
}

@media (max-width: 750px) {
    .menu-container {
        display: flex;
        justify-content: end;
        width: 60%;
        height: auto;
    }

    .main-menu a {
        border: 10px solid transparent;
        display: flex;
        justify-content: end;
    }
}

/* Mobile View */
@media (max-width: 650px) {
    .burger-menu {
        display: block;
        position: fixed;
        top:0;
        right: 0;
        margin-right: 5%;
        margin-top: 5%;
    }
    
    .main-menu {
        display:none;
        flex-direction: column;
        height: fit-content;
    }

    .main-menu.show {
        display: flex; /* Show main menu when toggled */
        justify-content: space-evenly;
        align-items: center;
        position: fixed;
        right: 0;
        top: 30;
        height: 30vh;
        width: fit-content;
        z-index: -1;
        margin-top: 9%;
        background-color: #000000e4;
    }

    .main-menu ul {
        display: flex; /* Show main menu when toggled */
        flex-direction: column;
    }

    /* SUB menu style */
    ul.sub-menu {
        display:none;
    }

    .menu-item-has-children:hover {
        ul.sub-menu {
            background-color: #000000e4;
            display:flex;
            flex-direction: column;
            align-items: end;
            position: fixed;
            left: 50%;
            top:15%
        }
    }


}


/*Footer Styles------------------------*/
.footer-wrapper {
    padding: 10px;
    height: 55px;
    background-color: #1b1b1b;
    color: white !important;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-wrapper a {
    color: white !important;
}

.footer-wrapper a:hover {
    color: #bb9243 !important;
}

.footer-wrapper p {
    color: white !important;
}


/*Back to top button*/
.back-to-top {
    display: block;
    position: fixed;
    bottom: 60px;
    right: 60px;
    background-color: rgba(255, 255, 255, 0.532);
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top:hover {
    background-color: #bb9243;
}