*{
    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;
}

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

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



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

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

.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%;
}

.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%;
}

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

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

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

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

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

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

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

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

a:hover{
    color: #fcb02c;
}

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

/* Here comes the hero section */
.hero-section {
    background-image: url('../media/trashifyheader.png');
    background-size: 100%; 
    background-repeat: no-repeat; 
    background-position: center; 
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
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; 
}

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

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

.product img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    margin-bottom: 10px; 
}

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

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