@import url(general.css);

@font-face {
    font-family:subheader;
    src: url("font/Louis\ George\ Cafe\ Bold.ttf");
}
@font-face {
    font-family: header;
    src: url("font/LiberationSerif-Bold.ttf");
}
@font-face{
    font-family: bodytext;
    src: url("font/Louis\ George\ Cafe.ttf")
}

h2,h3,h4{
    font-family:subheader;
}

p{
    font-family: bodytext;
}

.product{
  text-decoration: underline;
}

#products img{
    height:150px;
    cursor: pointer;
}

#products button{
    background-color: transparent;
    border: solid 1px black;
    border-radius: 3px;
    width: 100px;
    height: 30px;
    margin:10px 0 0 0;
    cursor: pointer;
}

#products button:hover{
  background-color: #DBE2BE;
}

#products img:nth-child(4){
    height:20px;
}
#products div{
    margin:30px 40px;
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#products{
    display:flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin:50px 0;
}
.reviews{
    color: red;
    display:none;
}

h3,h4{
    margin:5px 0;
}

.intro img{
    height: 18em;
    padding-right: 1rem;
    padding-bottom: 1rem;
    float: left;
}

.intro{
    width: 60%;
    margin: auto;
    padding-top: 3rem;
}

h1{
    text-align: center;
    padding-bottom: 2rem;
    font-family: header;
    font-size:xx-large;
}

.leaf3{
    float: left;
    height: 14em;
    transform: rotate(180deg);
}

.leaf4{
    height: 10em;
    margin-left: auto;
    display: block;
}


.info img{
    height: 100px;
    background-color: white;
    margin: 4px;
    object-fit: cover;
    width: 100px;
}

.info img:hover{
    opacity: 0.4;
}

  .pop{
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 1%; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
  }
  

  .info {
    background-color: beige;
    margin: auto;
    border: 1px solid beige;;
    width: 50%;
    padding: 20px;
    border-radius: 30px;
  }
  

  .close {
    color: gray;
    font-size: 30px;
    float: right;
    font-weight: 900;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    cursor: pointer;
  } 


  .cpress {
    position: relative;
    display: flex;
    justify-content: flex-end;
  }
  
  #cart {
    position: relative;
    font-size: 2rem;
    cursor: pointer;
    margin: 1em 4em 0 0;
    
  }

#cart:hover{

  height:35px;
  
}

.cpress img{
  height:30px;    
}
  
.amount {
  color: white;
  background-color: #a3b16e;
  padding: .2em .3em;
  position: absolute;
  margin: .8em 7.5em 0 0;
  right: 0;
  border: solid 2px #a3b16e;
  border-radius: 15px;
  font-weight: bolder;
}

.box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1em
}

.product-image {
  margin-bottom: 1em
}

.cshow {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .4);
  z-index: 2;
  transform: translateX(-200%);
  transition: .1s ease-out;
  
}

.cm {
  height: 100vh;
  width: 50%;
  background-color: beige;
  float: right;
  overflow: scroll;
  overflow-x: hidden;
}

#closeb {
  font-size: 1.5rem;
  float: right;
  margin: .5em 2em 0 0;
  color: gray;
  cursor: pointer;
}

#closeb:hover{
  color: black;
}

.blank {
  color: black;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1em;
  display: none;
  
}

.total {
  text-align: center;

}

.thetotal {
  color: black;
  font-family: subheader;
}

.totalcost {
  color: black;
  font-size: 2rem;
  display: block;
  font-family: subheader;
}

.buyb {
  font-size: 1rem;
  font-weight: bolder;
  background-color: #a3b16e;
  color: white;
  padding: 1em 2em;
  border-radius: 10px;
  outline: none;
  border: none;
  cursor: pointer;
  margin: 2em 0 1em 0;
  font-family:subheader;
}

.buyb:hover{
  background-color: darkolivegreen;
}

.prs {
  margin-top: 3em;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  
}

.pr {
  display: flex;
  align-items: center;
}

.cart-image {
  width: 10rem;
  margin: 1em;
}

.cart-price {
  color: black;
  font-size: 1.5rem;
  font-weight: bolder;
  font-family:subheader;
}

.product-quantity {
  width: 3.5rem;
  font-size: 2rem;
  margin-left: 3rem;
  font-family: bodytext;
}

.remove-btn {
  padding: 1em 1em;
  background-color: #a3b16e;
  color: white;
  outline: none;
  border: none;
  cursor: pointer;
  margin-left: 3rem;
  font-weight: bolder;
  font-size: 1rem;
  font-family:subheader;
}

.remove-btn:active {
  transform: translateY(5px);
}

.remove-btn:hover{
  background-color: darkolivegreen;
}
