* {
    margin: 0;
    padding: 0;
    font-family: "Fugaz One";
    scroll-behavior: smooth;
    
}


body {
    font-family: "Fugaz One";
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    gap: 20px;
    background-color: #297045;
    color: white;
    
   
}

html {
    padding: 0;
    font-family: "Fugaz One";
}
nav {
    display: flex;
    justify-content: space-between;
    padding: 0px 10px;
    align-items: center;
    color: #2c6e49;

    background-color: white;
    h1 {
        
        font-size: 2rem;
    }
    #menu {
        gap: 20px;
        list-style: none;
        display: flex !important;
        a {
            font-size: 1.2rem;
            color: #2c6e49;
        }
    }
    #ham {
        display: none;
    }

    #ham:hover {
        cursor: pointer;
    }
}
.flex{
    display: flex;
}

.sidebar{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 10vw;
    font-weight: 500;
    /* position: fixed; */
    color: #2c6e49;
    z-index: 1;
    background-color: white;
    padding-top: 20px;
    border-radius:0 10px 10px 0 ;
    
}

.sidebar img{
    width: 8vw;
    height: fit-content;
}
.sidebar a:hover{
    text-decoration: underline;
    color: #2c6e49;

}

.sidebar button{
    position: relative;
    bottom: 50;
    width: 9vw;
    height: 5vh;
    all: unset;
}
.items {
    width: 10vw;
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
}
.items:hover{
    width: 25vw;
    transition: .5s;

}

.sidebar:hover{
    width: 30vw;
    transition: .5s;
}
.item {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 5px;
    border-radius: 50px;
    display: inline-block;
    gap: 10px;
    padding: 5px;
    min-width: fit-content;
    .hover-effect {
        display: none;
    }
}
.item:hover {
    background-color: whitesmoke;
    color: whitesmoke;
    position: relative;
    .hover-effect {
        display: inline-block;
    }
    .items{
        width: 40vw;
    }
}
.hover-effect {
    position: absolute;
    top: 40%;
    left: 40%;
    font-weight: 500;
    font-size: 2vw;
}
.header { 
    text-align: center;
    font-size: 3rem;
}
.orderslides {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 10px 20px;
    overflow-y: scroll;
   
    h1{
        font-weight: 600;
        font-size: 1.5rem;
    }
    .orderslide {
        box-shadow: 0 0 10px #111;
        background-color: white;
        color: #297045;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        gap: 0px;
        justify-content: space-between;

        .top {
            img {
                max-width: 100%;
                border-radius: 10px 10px 0 0;
            }
        }

        .bottom {
            padding: 0 20px 20px 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            .buttons {
                width: 100%;
                display: flex;
                gap: 5px;
                button {
                    text-align: center;
                    font-weight: 500;
                    font-size: 1rem;
                    color: #F4FAFF;
                    padding: 5px 10px;
                    background-color: #2c6e49;
                    border: 5px solid white;
                    border-radius: 10px;
                    text-decoration: none;
                }

                button:hover {
                    cursor: pointer;
                    background-color: white;
                    color: #2c6e49;
                    border: 5px solid #2c6e49;
                    transition: ease-in-out .3s;
                }
            }
        }
    }
}
#checkout{
    display: none;
}

#checkout.active{
    z-index: 900;
    position:fixed;
    top: 0;
    left: 0;
    display: flex;
    background-color: #111111d3;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    .card {
        justify-content: space-between;
        border-radius: 10px;
        width: 80%;
        height: 50%;
        padding: 20px 20px;
        display: flex;
        border: 5px solid #2c6e49;
        background-color: white;
        color: #2c6e49;
        flex-direction: column;
        overflow-y: scroll;

        #cart {
            list-style: none;
            li {
                display: flex;
                justify-content: space-between;
            }
        }

    }
    button{
        text-align: center;
        font-weight: 500;
        font-size: 1rem;
        color: #F4FAFF;
        padding: 5px 10px;
        background-color: #2c6e49;
        border: 5px solid white;
        border-radius: 10px;
        text-decoration: none;
    }
    button:hover{
        cursor: pointer;
        background-color: white;
        color: #2c6e49;
        border: 5px solid #2c6e49;
        transition: ease-in-out .3s;
    }

    .x-icon {
        align-self: last baseline;
    }
}


#cart li {
    
    border: #111;
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding: 10px 10px;
    margin: 10px;
    font-size: 1rem;

    
}

#cart li img{
    max-width: 5vw;
    max-height: 5vh;
}


#img{
    z-index: 900;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    background-color: #111111d3;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
}
.description-container{
    display: none;
}
.description-container.active {
    z-index: 900;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    background-color: #111111d3;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    .description-card {
        justify-content: space-between;
        border-radius: 10px;
        width: 70vw;
        height: 5vh;
        padding: 20px 20px;
        display: flex;
        background-color: whitesmoke;
        color: #111;
        flex-direction: column;


    }
    .description-card p {
        text-align: center;
        font-size: 1.5rem;

    }



}
/* tablet */
@media only screen and (max-width: 991px) {
    .orderslides {
        grid-template-columns: 1fr 1fr;

        .buttons {
            flex-direction: column;
        }
    }
}
/* computer*/
@media only screen and (max-width: 1200px) {
    .orderslides {
        grid-template-columns: 1fr 1fr;

        .buttons {
            flex-direction: column;
        }
    }


}
/* phone */
@media only screen and (max-width: 480px) {
    .orderslides {
        grid-template-columns: 1fr;

        .buttons {
            flex-direction: column;
        }
    }
    .sidebar{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        width: 15vw;
        color: #2c6e49;
        /* position: fixed; */
        z-index: 1;
        background-color: white;
        padding-top: 20px;
        
    }
    
    .sidebar img{
        width: 8vw;
        height: fit-content;
    }
    .sidebar a:hover{
        text-decoration: underline;
        color: #2c6e49;
    }
    
    .sidebar button{
        position: relative;
        bottom: 50;
        width: 9vw;
        height: 5vh;
        all: unset;
    }
    .items {
        width: 10vw;
        padding: 5px 5px;
        display: flex;
        flex-direction: column;
    }
    .items:hover{
        width: 25vw;
        transition: .5s;
    
    }
    
    .sidebar:hover{
        width: 30vw;
        transition: .5s;
    }
    .item {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        padding: 5px;
        border-radius: 50px;
        display: inline-block;
        gap: 10px;
        color: #2c6e49;
        padding: 5px;
        min-width: fit-content;
        .hover-effect {
            display: none;
        }
    }
    .item:hover {
        background-color: whitesmoke;
        color: #2c6e49;
        position: relative;
        .hover-effect {
            display: inline-block;
        }
        .items{
            width: 40vw;
            color: #2c6e49;
        }
    }
    .hover-effect {
        position: absolute;
        top: 40%;
        left: 40%;
        font-weight: 900;
        font-size: 2.5vw;
    }
    #ham {
        background-color: #297045;
        color: #297045;
        display: flex !important;
        background: none;
        border: none;
        z-index: 100;
        overflow-y: hidden;
        flex-direction: column;
        gap: 6px;
        span {
            background-color:#297045;
            width: 40px;
            height: 8px;
            border-radius: 10px;
        }       
    }

    #ham.active {
        
        gap: 0;
        span:nth-child(1) {
            
            transform: rotateZ(45deg) translateY(3px);
        }
        span:nth-child(2) {
           
            transform: rotateZ(-45deg) translateY(-3px);
        }
    }
    #ham {
        background-color: #297045;
        color: #297045;
        display: flex !important;
        background: none;
        border: none;
        z-index: 100;
        overflow-y: hidden;
        flex-direction: column;
        gap: 6px;
        span {
            background-color:#297045;
            width: 40px;
            height: 8px;
            border-radius: 10px;
        }       
    }

    #ham.active {
        
        gap: 0;
        span:nth-child(1) {
            
            transform: rotateZ(45deg) translateY(3px);
        }
        span:nth-child(2) {
           
            transform: rotateZ(-45deg) translateY(-3px);
        }
    }

    #menu {
    z-index: 99;
    position: absolute;
    top: -150vh;
    left: 0;
    background-color: #F4FAFF;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
        li {
            margin: 0 20px 0 0;
            overflow-y: hidden;
            
            a {
                text-decoration: none;
                font-size: 3.5rem;
                font-weight: 600;
                color: #2c6e49;
            }
            a:hover{
                text-decoration: underline;
                transition: ease-in-out .3s;
            }
        }
    }

    #menu.active {
        color: #F4FAFF;
        top: 0;
        z-index: 99;
    }
    .description-container{
        display: none;
    }
    .description-container.active {
        z-index: 900;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        background-color: #111111d3;
        width: 100vw;
        height: 100vh;
        justify-content: center;
        align-items: center;
        .description-card {
            justify-content:space-between;
            border-radius: 10px;
            width: 70vw;
            height:fit-content;
            padding: 20px 20px;
            display: flex;
            background-color: whitesmoke;
            color: #111;
            flex-direction: column;
    
    
        }
        .description-card p {
            text-align: center;
            font-size: 1rem;
    
        }
    
    }

}

@media only screen and (max-width: 767px) {
    #ham {
        background-color: #297045;
        color: #297045;
        display: flex !important;
        background: none;
        border: none;
        z-index: 100;
        overflow-y: hidden;
        flex-direction: column;
        gap: 6px;
        span {
            background-color:#297045;
            width: 40px;
            height: 8px;
            border-radius: 10px;
        }       
    }

    #ham.active {
        
        gap: 0;
        span:nth-child(1) {
            
            transform: rotateZ(45deg) translateY(3px);
        }
        span:nth-child(2) {
           
            transform: rotateZ(-45deg) translateY(-3px);
        }
    }

    #menu {
    z-index: 99;
    position: absolute;
    top: -150vh;
    left: 0;
    background-color: #F4FAFF;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
        li {
            margin: 0 20px 0 0;
            overflow-y: hidden;
            
            a {
                text-decoration: none;
                font-size: 3.5rem;
                font-weight: 600;
                color: #2c6e49;
            }
            a:hover{
                text-decoration: underline;
                transition: ease-in-out .3s;
            }
        }
    }

    #menu.active {
        color: #F4FAFF;
        top: 0;
        z-index: 99;
    }
    footer{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: #2c6e49;
        color: #f5f3ec;
        height: 5vh;
    }
    
    footer a{
        color: #f5f3ec;
        font-size: .3rem;
        font-weight: 300;
        margin: 10px;
        text-decoration: none;
}
}