#banner {
    position: fixed;
    width: 100%;
    height: 15%;
    top:0%;
    left:0%;
    z-index: 200;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#banner-logo {
    position: absolute;
    width: 15%;
    height:100%;
    top:0%;
    left:0%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}

#img-banner-logo {
    position: absolute;
    height: 150%;
    left:calc(50% - 90px);
}

#banner-contents {
    position: absolute;
    width: 85%;
    height:100%;
    top:0%;
    left:15%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#main-body {
    position: absolute;
    width:100%;
    height: 80%;
    top:15%;
    left:0%;
}
body {
    background-color: #81a8d4;
}

#banner #banner-contents button {
    position: absolute;
    border-radius: 20%;
    top: calc(50% - 10px);
    margin: 2px 2px 2px 2px;
    border: none;
    border-width: 2px;
    background: none;
    transition:0.3s;
    font-size: medium;
}

#banner #banner-contents button:hover {
    background-color: black;
    color: white;
}

.container{
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
 
}
#search_d{
  position: absolute;
  width:50%;
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
}

#search_button {
  background-color: lightblue;
  border-radius: 10px;
  border:solid;
  border-width: 2px;
  height:15%;
  width:10%;
}

@media (max-width:700px) {
  .container{
    flex-direction: column;
  }
  #banner-contents{
    left:-20px;
  }
  #banner-logo{
    left:100px;
  }
  #search_d{
    width:30%;
    left:220px;
  }
  #search_button{

    padding-right: 15px;
  }
}

.card {
  position: relative;
  width: 320px;
  height: 450px;
  margin: 10px;
  background: lightgrey;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 2px 2px 2px black;
  text-decoration: none;
  opacity: 0%;
}


.card .imgBox {
  position: relative;
  width: 100%;
  z-index: 1;
  transition: 0.5s;
}


.card .imgBox img {
    width: 100%;
  
    transition: .5s;
    box-shadow: -3px 3px 2px darkgrey;
    opacity: 0%;
    transition: 0.5s;
}

.card:hover .imgBox img {
    max-width: 100%;

}

.card .contentBox {
  position: relative;
  padding: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction:column;
  z-index: 2;
  transition: 0.5s;
}

.card .contentBox h3 {
  font-size: 18px;
  color: black;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0%;
  transition: 0.5s;
}

.card .contentBox .price {
  font-size: 24px;
  color: black;
  font-weight: 700;
  letter-spacing: 1px;
  position: absolute;
  top:23px;
  opacity: 0%;
  transition: 0.5s;
}

.card .buy {
  position: absolute;
  top:-12px;
  left:100%;
  opacity: 0;
  padding: 10px 20px;
  margin-top: 15px;
  color: #000000;
  text-decoration: none;
  background: grey;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 25px;
  transition: 0.5s;
  z-index: 100;
}

.card:hover .buy {
  left: 78%;
  opacity: 1;
  box-shadow: -2px 2px 2px black;
  transition: 0.3s;
}

.card {
  transition: 0.3s;
}

.card:hover {
  -webkit-transform: rotateY(35deg);
}

.card .buy:hover {
  -webkit-transform: rotateY(-35deg);
}

.card .buy:hover {
  background: lightgray;
}

.cart {
  position: absolute;
  top: calc(50% - 9px);
  left: 90%;
}

.cart #icon {
  color: black;
}

.cart #icon i {
  transition: 0.3s;
}

.cart #icon :hover{
  color: white;
  cursor: pointer;
}

.cart #count {
  position: absolute;
  background-color: red;
  border-radius: 50%;
  color:white;
  padding-left: 4px;
  padding-right: 4px;
  top:50%;
  left:80%;
}

#cart_items_container {
  position: absolute;
  width: 100%;
  height: 0%;
  background-color: rgb(255, 255, 255);
  top: 0%;
  left:0%;
  z-index: 20;
  transition: 0.3s;
}

#cart_items_container .cart_products {
  position: absolute;
  width: 50%;
  height: 100%;
}
#cart_items_container #check_out {
  background-color: lightgray;
  position: fixed;
  width: 50%;
  height: 0%;
  left:50%;
  transition: 0.3s;
  border-bottom-left-radius: 20px;
  box-shadow: 2px 2px 2px grey;
}

.products_0a {
  padding: 3px;
  transition: 0.3s;
}
.products_0a:hover{
  box-shadow: 2px 2px 2px grey;
  text-shadow: 2px 2px 2px grey;
}

#cart_items_container #cart_products .products_0a .tab .image .pimage {
  transition: 0.3s;
}

#cart_items_container #check_out #b_c #ci_button {
  position: absolute;
  left: calc(50% - 10px);
  top: 60%;
  border: none;
  font-size: large;
  transition: 0.3s;
  border-radius: 10px;
  box-shadow: 2px 2px 2px grey;
  display: none;
}

#cart_items_container #check_out #b_c #ci_button:hover {
  color:white;
}

#cart_items_container #check_out #pcc #price_count {
  position: absolute;
  display: none;
  left: calc(50% - 32px);
  top: 20%;
  text-shadow: 2px 2px 2px grey;
}

#cart_items_container #check_out #b_c {
  position: absolute;
  width:100%;
  height: 100%;
}

#cart_items_container #check_out #pcc {
  position: absolute;
  width:100%;
  height: 100%;
}

#product__ {
   width: 100%;
   height: 85%;
   background-color: lightgrey;
   position: fixed;
   top:15%;
   left:0%;
   z-index: 200;
}

#product__ #pic__ {
  position: absolute;
  background-color: lightgrey;
  width:53%;
  height:74%;
  left:0%;
  border-top-left-radius: 20px;

}

#image_selctor {
  position: absolute;
  left:10%;
  height: 100%;
  width:10%;
}
#product__ {
  display: none;
}
#main_image {
  position: absolute;
  width:60%;
  height: 100%;
  left:30%;
}
.m_m {
  width:74%;
  position: absolute;
  top:3%;
  left:10%;
  border-radius: 10px;
  transition: 0.3s;
}
.m_m:hover {
  border-radius: 5px;
}
#product__ #exit_button {
  position: absolute;
  top:2%;
  left:97%;
  cursor: pointer;
  transition: 0.3s;
}
#product__ #exit_button:hover{
  color: grey;
}
#product_data_container{
  width:47%;
  height: 74%;
  position: absolute;
  background-color: lightgray;
  left:53%;
  top:0%;
  border-top-right-radius: 20px;
}
#product_data_container #product_name {
  font-size: 30px;
}

#pdc__{
  position: absolute;
  top:10%;
  height: 100%;
  left:20%;
}
#product_data_container #product_price {
}
#product_data_container #product_discription {
}
.msm_ {
  width:100%;
  border-radius: 10px;
  transition: 0.3s;
}
.msm_:hover{
  border-radius: 5px;
}
.artc{
  background-color: black;
  border-radius: 30px;
  position: absolute;
  top:50%;
  color: white;
  width: 150px;
  align-items: center;
  align-content: center;
  text-align: center;
  transition: 0.3s;
  font-size: larger;
}
#rtc{
  display: none;
}
.artc:hover{
  background-color: grey;
}


#other_products{
  display: flex;
  position: absolute;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width:100%;
  height:26%;
  top:74%;
  background-color: rgba(0,0,0,0.5);
}
.p__a01 .thumbnail .image {
  width:90px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.p__a01 .name__c p{
  margin: 0 0 0 0;
  text-align: center;
  color:white;
  font-size: 20px;
}
.p__a01{
  background:rgba(255,255,255,0.5);
  margin: 0 0 0 0;
  height:100px;
  border-radius: 10px;
}

#search{
  width:90%;
  border:solid;
  border-width:2px;
  border-radius: 20px;
  height: 15%;
  text-align: center;
  font-size: 15px;
}


.error{
  color:crimson;
}