body {
    background-color: #CECECE;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Navigation */

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: LightBlue;
    border: 1px solid black;
    padding-right: 15px;
    padding-top: -15px;
    padding-bottom: -15px;
}

nav a{
    text-decoration:none;
    color:white;
    border-right: 1px solid black;
    padding: 15px;
}

nav a:hover{
    transition:0.5s;
    font-size:120%;
}

.nav img {
    align-self: left;
}
#Logo {
    max-height: 80px;
    max-width: 250px;
    align-self: left;
    position: 0, 0;
}

#first {
    border-left: 1px solid black;
    padding: -15px;
}

/* Grid Container */

#gridview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

/* Product Cards */

.item {
    background-color: white;
    border: 1px solid #999;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.ItemName {
    color: blue;
}

.Category {
    display: flex;
    justify-content: center;
    min-height: 50px;
}

.Description {
    height: 80px;
    background-color: #acacac;
}

#ImageItem {
    width: 200px;
    height:200px;
    display: block;
    margin: 10px auto;
}

.item a {
    display: flex;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: LightBlue;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    bottom: 10px;
    right: 10px;
    justify-content: end;
    max-width: 75px;
    justify-self: right;
    align-self: end;
    
}

.item a:hover {
    background-color: #87CEFA;
}


/* Responsive Layout */

@media (max-width: 900px) {
    #gridview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #gridview {
        grid-template-columns: 1fr;
    }
}

#NavContent {
    padding-right: 15px;
    display: flex;
    justify-content: center;
}

/* purchase page */

/* .BackButton {
    background-color: #acacac;
    border-radius: 15px;
    height: 20px;
    width: 40px;
    margin: 12px;
    padding: 15px;
    display: flex;
    justify-content: center;
    
}
*/

.Label {
    margin: 12px 25px;
    background-color: #FF0000;
    justify-content: center;
    display: flex;
    border-radius: 12px;
    height: 78px;
    text-align: center;
    color: blue;
    width: 1520px;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.8);
    justify-self: center;
}

.ItemImage {
    margin: 25px;
    display: flex;
    width: 1440px;
    height: 500px;
    background-color: #77A7FF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.8);
    justify-self: center;
}

.DescriptionItem {
    background-color: grey;
    display: flex;
    padding: 12px;
    margin: 25px;
    border-radius: 12px;
    justify-self: center;
    height: 200px;
    flex-direction: column;
    width: 1500px;
    box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.8);
}
