*{
  margin:0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: rgb(40,40,40);
  color: #fff;
  text-align: center;
}

a:link, a:visited {
  text-decoration: none;
}

.navbar{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  max-height: 80px;
  height: 80px;
  background-color: #000;
  z-index: 199;
}

.navbar .logo {
  height: 60px;
  margin: 10px;
  width: auto;
}

.mainImageHolder {
  position: relative;
  color: #fff;
  margin-top: 80px;
  overflow: hidden;
}

.mainImageHolder .bg-image {
  width: 100%;
}

.mainImageHolder .SideBox {
  position: absolute;
  bottom: 5px;
  width: 90%;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);

  height:fit-content;
  overflow: hidden;
  border-radius: 20px;
  padding: 12px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: width 0.2s linear;
  background-color: rgba(0,0,0,0.5);
  font-size: 16px;
  line-height: 1.8em;
}

.mainImageHolder .SideBox a{
  background-color: rgb(0,0,180);
  color: white;
  padding: 1px 10px 1px 10px ;
  border-radius: 10px;
}

.mainImageHolder .SideBox a:hover{
  background-color: rgb(0,0,255);
}

.card-holder{
  /*display: -webkit-box; */
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  -webkit-justify-content: center;
  justify-content: center;
  background-color: rgb(40,40,40);
  
}

.card {
  /*display: -webkit-box; */
  display: flex;

  /*-webkit-box-direction: normal;*/
  flex-direction: column;   
  
  width: 250px;
  margin: 5px;
  overflow: hidden;
  background-color: #fff;
  border-radius: 5px;
}

.card-pic{
  width: 100%;
  display: block;
}

.card-content {
  padding: 8px;
  color: #333;
  height: 100%;
  background-color: rgb(230,230,230);  
  border-top: 1px solid;
  border-image: -webkit-linear-gradient(0.25turn, rgb(230,230,230), rgb(100,100,100), rgb(230,230,230));
  border-image:    -moz-linear-gradient(0.25turn, rgb(230,230,230), rgb(100,100,100), rgb(230,230,230));
  border-image:      -o-linear-gradient(0.25turn, rgb(230,230,230), rgb(100,100,100), rgb(230,230,230));
  border-image:         linear-gradient(0.25turn, rgb(230,230,230), rgb(100,100,100), rgb(230,230,230));
  border-image-slice: 1;
}

.card-content p {
  font-size: 13px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.card-maker, .card-price{
  font-size: 14px;
}

.card-price{
  color: black;
  background-color: rgb(200,200,200);
  padding: 10px;
  border-top: 1px solid;
  border-image: -webkit-linear-gradient(0.25turn, rgb(200,200,200), rgb(100,100,100), rgb(200,200,200));
  border-image:    -moz-linear-gradient(0.25turn, rgb(200,200,200), rgb(100,100,100), rgb(200,200,200));
  border-image:      -o-linear-gradient(0.25turn, rgb(200,200,200), rgb(100,100,100), rgb(200,200,200));
  border-image:         linear-gradient(0.25turn, rgb(200,200,200), rgb(100,100,100), rgb(200,200,200));
  border-image-slice: 1;
 
}

.card:hover{
  /*transform: translateY(-0.5%);*/
  box-shadow: 0px 0px 25px rgba(255,255,255,0.5);
}

.out-of-stock{
  color: #ff0000;
}

footer {
  text-align: center;
  padding: 8px;
  background-color: #000;
  color: white;
  font-size: 12px;
}


@media (max-width: 540px) {

  .navbar{
    max-height: 50px;
    height: 50px;
  }

  .navbar .logo {
    height: 40px;
    margin: 5px;
    width: auto;
  }

  .mainImageHolder {
    margin-top: 50px;
  }

  .mainImageHolder .bg-image {
    width: 100%;
  }

  .mainImageHolder .SideBox {
    top: 1px;
    width: 98%;
    height: 90%;
    padding: 5px;
    font-size: 12px;
  }

  .card-holder{
    /*display: flex;*/
    flex-direction: row;
    background-color: rgb(40,40,40);
  }

  .card{
    width: 48%;
    margin: 1%;
  }

  /*
  .card-pic{
    width: 100%;
  }
  */

  .card-content, .card-price{
    border-top: solid 1px rgb(150,150,150);
    border-image: none;
  }

  .card-content p {
    font-size: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
    /*border: red solid 4px;*/
  }
  
  .card-maker, .card-price{
    font-size: 13px;
  }

}



