* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Navition bar styling */
.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 60px;
    background-color: #0f1111;
    color: white;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .navbar {
        height: 110px;
        background-color: #8ddddc;
        background-image: linear-gradient(to right, #8ddddc, #a4e6cf);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

@media only screen and (max-width: 1024px) {
    /* Styles for tablet devices */
    .navbar {
        height: 110px;
        background-color: #0f1111;;
        position: sticky;
        top: 0;
        z-index: 1000;
   
}
}


/* Amazon logo */
.nav-logo {
    height: 50px;
    width: 100px;
    border: 1.5px solid transparent;
    padding-top: 12px;
}


.hover:hover {
    border: 1.5px solid white;
    border-radius: 5px;
    cursor: pointer;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .hover:hover {
        border: none;
    }
}

.logo {
    background-image: url(../media/trashifylogo.png);
    mix-blend-mode: lighten;
    height: 200px;
    width: auto;
    background-size: contain;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .logo {
        background-image: none;
    }
}



/* Amazon delivery location */
.nav-address {
    border: 1.5px solid transparent;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .nav-address {
        display: none;
    }
}

.nav-address:hover {
    border: none;
}

.add-icon {
    display: flex;
    align-items: center;
}

.add-text {
    margin-left: 15px;
    font-size: 0.85rem;
}


.add-location {
    font-size: 1rem;
    margin-left: 3px;
}

/* Amzon searchbar */
.nav-search {
    display: flex;
    height: 50px;
    width: 50vw;
    border: 2px solid transparent;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .nav-search {
        width: 695%;
        max-width: none;
        margin-right: 15px;
        margin-top: 0px;
        border: 1px solid grey;
        box-shadow: 2px 2px 5px grey;
        display: flex;
        position: sticky;

    }

}

.nav-search:hover {
    border: 2px solid orange;
    border-radius: 6px;
}

#search-dropdown {
    text-align: center;
    background-color: #f3f3f3;
    width: 8%;
    border: none;
    border-radius: 4px;
    border-top-right-radius: 0%;
    border-bottom-right-radius: 0%;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    #search-dropdown {
        display: none;
    }
}

.search-input {
    font-size: 1.1rem;
    padding-left: 6px;
    border: none;
    width: 100%;
}


.search-submit {
    font-size: 16px;
    background-color: #fcb02c;
    width: 7%;
    border: none;
    border-radius: 4px;
    border-top-left-radius: 0%;
    border-bottom-left-radius: 0%;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .search-submit {
        background-color: #f3f3f3;
    }
}

.search-submit:hover {
    background-color: #ed9c0f;
    cursor: pointer;
}

/* Amazon signin and returns & orders option */
.nav-login {
    border: 1.5px solid transparent;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .nav-login {
        display: none;
    }
}

.nav-order {
    border: 1.5px solid transparent;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .nav-order {
        display: none;
    }
}

span {
    font-size: 0.8rem;
}

.bold {
    font-weight: 700;
}

/* Amazon cart option */
.nav-cart {
    display: flex;
    border: 1.5px solid transparent;
}

.nav-cart i {
    font-size: 20px;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .nav-cart {
        display: none;
    }
}

/* Panel styling */
.panel {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #222f3d;
    color: white;
    height: 50px;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel {
        background-color: #c3eee6;
    }
}

.panel-all {
    width: 5%;
    font-size: 0.8rem;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel-all {
        display: none;
    }
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel-all i {
        display: none;
    }
}


.panel-anchor {
    width: 75%;
    font-size: 0.8rem;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel-anchor {

        margin-left: -55px;
    }
}

.panel a {
    color: white;
    text-decoration: none;
    padding-left: 8px;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel a {
        color: black;

    }
}

a:hover {
    color: #fcb02c;
}

.panel-shop {
    font-size: 0.85rem;
    font-weight: 650;
}

@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .panel-shop {
        display: none;
    }
}
body {
    font-family: 'Open Sans', Arial, sans-serif; 
    font-size: 100%; 
    line-height: 1.6;
}

*, *:before, *:after { 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box; 
    transition: all .2s ease-in-out; 
    -moz-transition: all .2s ease-in-out; 
    -webkit-transition: all .2s ease-in-out; 
}

.grid { 
    width: 80%; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 10px; 
}
@media only screen and (max-width: 768px){
    .grid { 
        width: 80%; 
        margin: 0 auto; 
        display: grid; 
        grid-template-columns: 1fr; /* Set grid to one column for mobile view */
        gap: 10px; 
    }
    }

.product { 
    padding: 1em; 
    text-align: center; 
    border: solid 1px transparent; 
    background-color: #f9f9f9; 
}

.product:hover { 
    border: solid 1px #ddd;  
}

.product img { 
    width: 110%; 
    height: 200px; 
    object-fit: cover; 
    margin-bottom: 10px; 
}
@media only screen and (max-width: 768px){
    .product img { 
        width: 100%; 
        height: 400px; 
        object-fit: cover; 
        margin-bottom: 10px;
        margin: 0%; 
    }
}

h6 { 
    margin: 0; 
    font-size: 0.85em; 
    font-weight: normal; 
    color: rgb(48, 111, 131); 
    text-align: left;
}

.years { 
    margin: 0; 
    font-weight:510; 
    font-size: 18px; 
    color: rgb(0, 0, 0);
    text-align: left;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.two{ 
    background-color: #202c3c; 
    color: #fff; 
    padding: 1px 0; 
}
:root {
    --star-size: 14px;
    --star-color: #fff;
    --star-background: rgb(255, 162, 0);

}

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    font-size: var(--star-size);
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    display: inline-block;
    color: transparent;
    text-align: left;
}

.Stars::before {
    content: '★★★★★';
    position: absolute;
    top: -15px;
    left: -100px; /* Adjust the left position */
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}
@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .Stars::before {
        left: -210px;
    }
}

/* Amazon bottom panel or Footer */
.to-top{
    height:40px;
    background-color:#354a63;
    color: #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-bar{
    background-color:#232f3e ;
    color:white;
    padding: 50px;
    display: flex;
    justify-content: space-evenly;
}

.foot-bar a {
    color: #dddddd;
    text-decoration: none;
    font-size: 12px;
}



.foot-bar li{
    list-style: none;
}

.foot-logo{
    /* border-top: 0.2px solid white; */
    background-color:#131a22;
    color: #dddddd;
    height: 50px;
    padding-top: 10px;
    text-align: center;
}

hr{
    border: 1px solid #dddddd21;
}
@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .foot-bar {
        display: none;
    }
}
@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .foot-logo{
        background-color: #c3eee6;
        color: black;
        height: 70px;
    }
}
@media only screen and (max-width: 768px) {

    /* Styles for mobile devices */
    .to-top{
        color: black;
        background-image: linear-gradient(to right, #8ddddc, #a4e6cf);
    }
}

