@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
/**{*/
/*    border: 1px solid red;*/
/*}*/

:root{
    /*colors*/

    --surface-primary: #f8f8f7;
    --surface-accent: #e8efff;
    --surface-button: #e7f5cb;
    --surface-button-hover: #a6b5f5;

    --body-font-color: #000;
    --header-font-color: #2f3a96;
    --link-font-color: #2f3a96;
    --link-hover-font-color: #a6b5f5;

    --status-available: #b6d7a8;
    --status-pending: #ffe599;
    --status-unavailable: #dd7e6b;

    /*typography*/
    --logotypeFont: 'Slackey', sans-serif;
    --headerFont: 'Slackey', sans-serif;
    --bodyFont: 'Work Sans', sans-serif;

    /*sizing & spacing*/

    --page-element-gap: 3em;
    --nav-margin-TB: 0;
    --nav-margin-LR: 1em;

    --img-border-radius: 10px;
    --btn-border-radius: 15px;
    --section-border-radius: 10px;
}

body{
    display: flex;
    flex-direction: column;
    background: var(--surface-primary);
    font-family: var(--bodyFont);
    gap: var(--page-element-gap);
}

h1{
    font-family: var(--headerFont);
    color: var(--header-font-color);
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: var(--nav-margin-TB) var(--nav-margin-LR);
}



.hamburgerMenu{
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.navLinks{
    display: none;
}

.navLinks a, a:visited, .dropNav a, a:visited{
    color: var(--link-font-color);
    text-decoration: none;
    font-weight: bold;
}

.navLinks a:hover, .dropNav a:hover{
    color: var(--link-hover-font-color);
}

.dropNav{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: .5em var(--nav-margin-LR);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.opened{
    max-height: 200px;
    opacity: 1;
}


.logotype{
    font-size: 2rem;
    font-family: var(--logotypeFont);
    align-self: center;
}

.logo img{
    max-width: 100px;
}

.productSection{
    background: var(--surface-accent);
    border-radius: var(--section-border-radius);
    display: flex;
    flex-flow: column nowrap;
    align-self: center;
    align-items: center;
    margin: 0 2em;
    padding: 1em;
    max-width: 90vw;
}

.description{
    min-width: 100%;
}
.button{
    background: var(--surface-button);
    font: 1.2em var(--headerFont);
    display: inline;
    padding: 1rem;
    border-radius: var(--btn-border-radius);
    text-decoration: none;
}

.button:hover{
    background: var(--surface-button-hover);
}

.button a{
    color: var(--body-font-color);
}

.sectionImage{
    max-width: 90%;
    border-radius: var(--img-border-radius);
}


/* item galleries */

.collection{
    display: flex;
    flex-direction: column;
    margin: 0 2em;
}

#cardContainer{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 1em;
}

.itemCard{
    display: flex;
    flex-flow: column nowrap;
    gap: .5em;
    padding: .5em;
    max-width: 350px;

}

.itemCard p{
    margin: 0;
}
.itemCard img{
    max-width: 200px;
    align-self: center;
}

.itemStatus{
    display: inline-block;
}

/* status classes */

.statusCircle{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    display: inline-block;
}

.Available{
    background-color: var(--status-available);
}

.Pending{
    background-color: var(--status-pending);
}

.Unavailable{
    background-color: var(--status-unavailable);
}

/*desktop*/
@media only screen and (min-width: 768px) {
    .hamburgerMenu{
        display: none;
    }
    .navLinks{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }
    /* hides mobile nav elements when page is expanded to desktop view*/
    .dropNav, .opened{
        display: none;
    }




}