@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-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;
}

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

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

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 1em;
}

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

.navLinks{
    display: none;
}

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

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

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

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

.productSection{
    display: flex;
    flex-flow: column nowrap;
    align-self: center;
    align-items: center;
    margin: 0 2em;
    max-width: 500px;
}

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

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

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

.sectionImage{
    max-width: 400px;
    border-radius: 10px;
}

/*desktop*/
@media only screen and (min-width: 768px) {
    .hamburgerMenu{
        display: none;
    }
    .navLinks{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
    }
}


/* 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);
}