* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/*:root{
    --bg-color: #1A1A1A;
    --text-color: #F3F4F6;
    --nav-bg: #0F172A;
    --accent: #2563EB;
    --hover: #60A5FA;
    --footer-bg: #111827;
    --footer-text: #9CA3AF;
}*/

body {
    /*background-color: #f4f4f4;*/
    color: #333;
    text-align: center;
    /*height: 100vh;*/
}

.navbar{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    padding: 15px, 30px;
    position: sticky;
    /*background: white;*/
    background: #ffffff;
    /*color: #000000;*/
    z-index: 10;
}

.nav-links{
    display: flex;
    /*color: black;*/
    font-size: 1rem;
    padding: 8px;
}

.nav-links li{
    margin-left: 10rem;  /*adds margins to items inside the list*/
    padding-right: 2rem;
}

.nav-links a{
    color: black;
}

/*.navbar {
    display: flex;
    position: sticky;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    padding: 15px 30px;
    background: white;
    color: black;
    z-index: 10;
}*/

#logo {
    width: 200px;
    padding: 10px;
}

.menu-toggle, .hide-menu{
    display: none;  /*Ensures the icons will only show on devices with max width: 960px*/
    font-size: 30px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
}

/*.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: black;
    font-size: 18px;
}*/

.main-section{
    background: white;
}

.site-container{
    display: grid;
    margin: 0 auto;
}

.image-container { 
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    overflow: hidden; /* Prevent image from overflowing */
}

.back-img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;  /*ensures all parts of the images won't get cut on different screens*/
}

/*.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column; Align items vertically 
    justify-content: center;  Center vertically 
    align-items: center; Center horizontally 
    z-index: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    margin-bottom: 35rem; 
    font-size: 2rem;
}

.side-image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 35%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); Mostly black, 70% opaque 
    display: flex;
    flex-direction: column; Align items vertically 
    justify-content: center;  Center vertically 
    align-items: center; /Center horizontally 
}

.side-overlay-content {
    text-align: center;
    color: white;
    margin-top: 130px; 
    font-size: 1.5rem;
}


.apply{
    background-color: #ff9800;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 2rem;
}

.apply{
    background: #ff9800;
    border-radius: 100px;
    padding: 10px 20px;
    position: absolute;
    left: 265px;
    text-align: center;
    display: inline-block;
    color: white;
    font-size: 20px;
    text-decoration: none;
    margin-left: 600px;
    margin-top: 10px;
    line-height: 10px;
}

.overlay-content{
    font-size: 2rem;
}*/

.featured-header{
    padding-top: 50px;
    padding-bottom: 30px;
}

.featured-item-row{
    display: grid; 
    grid-gap: 20px;
    justify-content: center;  /*Centers the information inside the columns*/
    grid-template-columns: repeat(2, calc(33.33% - 50px)); 
}


.item-info img{
    width: 200px;
}

#item-name{
    padding-top: 10px;
    padding-bottom: 10px;
}


.site-footer{
    width: 100%;
    height: 100%;
    background-color: white;
    color: black;
    padding: 20px;
    margin-top: 30px;
    position: sticky;
}

/*.footer-content{
    color: red;
}

.social-links{
    color: #D0C0E5;
    text-align: center;
}

.social-links img {
    width: 40px;
    margin: 10px;
    color: #D0C0E5;
}*/

.site-index{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 5px;
    margin-bottom: 15px;
}

.site-index ul{
    text-align: center;
    /*margin-left: 100px;*/
}

.index-header{
    margin-bottom: 0.5rem; /*separates header for index lists*/
}


.site-index a{
    color: black;
}

/*.support{
    padding-top: 15px;
    margin-top: 10px;
    margin-bottom: 15px;
}*/

@media screen and (width <= 960px) {
    .nav-links {
        display: none; /* Hide menu initially */
        position: fixed; /* Ensure it floats */
        top: 0;
        left: 0; /*Ensures the entire menu shows with no cuts*/
        width: 100%;
        flex-direction: column;
        padding: 0.625rem;
        /*padding: 10px;
        margin-left: auto; Ensures the entire menu shows with no cuts*/
        /*justify-content: center;
        align-items: center;*/
        background: white;
        z-index: 9999; /* Ensure menu is on top */
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
        text-align: center;
    }

    .nav-links li {
        padding: 15px 0;
        margin-left: 20px;  /*ensures the links show in the center*/
    }

    .nav-link{
        margin-right: 5px;
    }

    #logo{
        margin-right: 0.5rem;
    }
    
    .site-container{
        display: grid;
    }

    .menu-toggle, .hide-menu{
        display: block;
        position: absolute;
    }
    
    .menu-toggle {
        top: 70px;
        left: 10px;
    }

    .hide-menu{
        top: 20px;
        right: 30px;
        /*display:block;
        margin-left: 690px;*/
    }

    .site-index{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .site-index ul{
        margin-left: 5px;
    }
}

/*@media screen and (width <= 745px)  { /*Adjusted for Landscape orientation in Tablets and Phones
    .hide-menu{
        margin-left: 645px;   Ensures that the hide-menu-toggle symbol (X) is shown in Landscape orientation
    }
}

@media screen and (width <= 690px)  {
    .hide-menu{
        margin-left: 380px;
    }
    
}*/

@media screen and (width <= 500px)  {
    /*.hide-menu{
        margin-left: 355px;
    }*/

    .featured-header{
        font-size: 1.25rem;
    }

    .featured-item-row{
        display: flex;            
        flex-direction: column;  /*Shows featured items in a column*/
    }

    .site-index{
        display: flex;
        flex-direction: column;
    }

    .site-index ul{
        text-align: center;
    }
    
}

/*@media screen and (width <= 400px)  {
    .hide-menu{
        margin-left: 300px;
    }

}

@media screen and (width <= 350px)  {
    .hide-menu{
        margin-left: 250px;
    }
}*/

