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

:root {
    --back-color: #FFFAFA;
    --desc-text-color: #333;
    --accent: #D0C0E5;
    --secondary-text-color:#FAF9F6;
}

body {
    background-color: var(--back-color);
    color: var(--desc-text-color);
    text-align: center;
}

i {
    color: var(--accent);
}

header{
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    padding: 15px 30px;
    background: var(--back-color);
}

#logo {
    width: 80px; /*Adjust as needed*/
}

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

.nav-links, .store-nav, .social-links, .site-index{
    display: flex; /*Ensures the items are displayed in a row*/
}

.nav-links{
    color: var(--accent);
    font-size: 1rem;
    padding: 0.5rem;
    gap: 20px;
    margin-left: 5rem;
}

.store-nav{
    margin-left: 1rem;
    margin-right: 2rem;
    gap: 20px;
    font-size: 1.5rem;
}

.mobile-cart, .account-link{
    display: none;
}

.mobile-cart{
    font-size: 1.5rem;
}

.nav-links a {
    color: var(--accent);
    font-size: 18px;
}

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

.featured-header {
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 2rem;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.back-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.featured-window {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
    max-width: 80%;
    margin: 0.5rem auto;
    padding-bottom: 2rem;
}

#section-photo {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

#section-photo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.description {
    margin-top: -20rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: justify;
}

.description p {
    font-size: 1rem;
    line-height: 1.6;
}

.attribution{
    text-align: center;
}

.site-footer {
    width: 100%;
    background-color: var(--back-color);
    color: var(--accent);
    padding: 20px;
    margin-top: 30px;
}

.site-index{
    justify-content: center;
    gap: 2rem;
}

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

.site-index a {
    color: var(--accent);
}

.index-header {
    margin-bottom: 0.5rem;
}

#contact{
    padding-bottom: 0.5rem;
}

@media screen and (max-width: 960px) {
    .nav-links {
        display: none; /* Hide menu initially */
        position: fixed; /* Ensure it floats */
        top: 0;
        right: 0; /*Ensures the entire menu shows with no cuts*/
        width: 100%;
        flex-direction: column;
        padding: 10px;
        background: var(--back-color);
        z-index: 9999; /* Ensure menu is on top */
    }

    .nav-links.active {
        display: flex;
        text-align: center;
    }

    .nav-links li {
        padding: 10px 0;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .nav-link{
        padding-left: 20px;
    }

    .account-link {
        display: flex;
        justify-content: center;
    }

    .store-nav {
        display: none;
    }

    #logo{
        margin-left: 0.5rem;
    }

    .menu-toggle, .mobile-cart, .hide-menu{
        display: block;
    }

    .hide-menu{
        position: absolute;
        top: 20px;
        right: 30px;
    }

    .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 (max-width: 768px) {
    .featured-window {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .description{
        align-items: center;
        margin-top: 1.5rem;
    }
}

@media screen and (max-width: 745px)  { /*Adjusted for Landscape orientation in Tablets and Phones*/
    .nav-links li{
        padding: 2px 0;  /*Ensures that some portion of the body is shown and scrollable*/
    }

}

@media screen and (max-width: 500px) {
    .featured-header {
        font-size: 1.5rem;
        padding-top: 30px;
    }

    .site-index {
        flex-direction: column;
        align-items: center;
    }

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