@import url('https://fonts.googleapis.com/css2?family=Crete+Round&display=swap');

body{
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
}

* {
  box-sizing: border-box;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 80%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.col1{
  width: 20%;
}

.col2{
  width: 80%;
  background-color: rgb(209, 250, 255);
}


.bar{
  text-align: center;
}

.bar input:nth-child(1){
  width: 25%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(88, 88, 88, 0.89);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: 0.5s;
}

.bar select{
  width: 13%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  outline: none;
  padding: 10px 20px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(88, 88, 88, 0.89);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: 0.5s;
  cursor: pointer;
}

.bar button{
  min-width: 4%;
  background: rgb(93, 223, 255);
  border: none;
  outline: none;
  padding: 9px 10px;
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(88, 88, 88, 0.89);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  transition: 0.4s;
}

.bar button:hover{
  box-shadow: none;
  background: rgb(157, 231, 250);
  cursor: pointer;
}

.all{
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
}

.cards{
  width: 300px;
  min-width: 200px;
  margin: auto;
  padding-bottom: 30px;
  padding-top: 10px;
  border: 2px solid rgba(179, 246, 255, 0.678);
  border-right: 2px solid rgba(179, 246, 255, 0.678);
  border-bottom: 2px solid rgba(179, 246, 255, 0.678);
}

.cards:hover{
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
}

.p-image{
  height: 240px;
  text-align: center;
}

.cards a{
  text-decoration: none;
  color: black;
}

.p-name{
  height:5.5vh;
  overflow: hidden;
}

.details{
  width: 80%;
  margin: auto;
  text-align: center;
}

.addtocart{
  color: #2fd3ba;
  background: none;
  font-size: 1em;
  font-weight: bold;
  padding: 10px 15px;
  border: solid 2px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.5s;
}

.addtocart:hover{
  color: white;
  background-color: #2fd3ba;
  transition: 0.5s;
  cursor: pointer;
}

.not_found{
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(5, 67, 109);
}


@media screen and (max-width: 900px){
  .bar input:nth-child(1){
    width: 55%;
  }
  
  .bar select{
    width: 30%;
  }
  
  .bar button{
    min-width: 4%;
  }
}

@media screen and (max-width: 345px){
  .bar input:nth-child(1){
    width: 50%;
  }
  
  .bar select{
    width: 25%;
  }
  
  .bar button{
    min-width: 4%;
  }
}


/* VIEW PRODUCTS */

.vp-main{
  width: 100%;
  background-color: rgb(232, 251, 253);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 5px;
  align-items: center;
  justify-content: center;
}

.vp-image{
  margin: auto;
  width: 90%;
}

.vp-descp{
  padding: 50px;
}

.vp-descp p{
  font-size: 15px;
  font-weight: normal;
}

.fa-star{
    color: gold;
}

.qty label{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.qty input{
  width: 55px;
  font-size: 17px;
  margin: 0 10px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.qty input:hover{
  background-color: rgb(222, 239, 255);
}

.vp-btns{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.atc{
  background: linear-gradient(to bottom, #35d30e, #21a707);
  color: white;
  outline: none;
  border: none;
  border-radius: 5px;
  font-size: 25px;
  font-weight: bold;
  padding: 12px 45px;
  cursor: pointer;
  margin-bottom: 10px;
}

.atc:hover{
  background: linear-gradient(to bottom, #21a707, #35d30e);
}

.bn{
  margin-bottom: 10px;
  background: linear-gradient(to bottom, #0b84e7, #044685);
  color: white;
  outline: none;
  border: none;
  border-radius: 5px;
  font-size: 25px;
  font-weight: bold;
  padding: 12px 83px;
  cursor: pointer;
}

.bn:hover{
  background: linear-gradient(to bottom, #044685, #0b84e7);
}

@media screen and (max-width: 665px){
  .atc{
    width: 100%;
    padding: 12px 0px;
    min-width: 50px;
  }
  .bn{
    width: 100%;
    padding: 12px 0px;
    min-width: 50px;
  } 
}