@charset "ISO-8859-1";

/* body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content:center;
    align-items: center;
    min-height: 100vh;
    background: #212121;
    font-family: sans-serif;
  } */
  .brand-box{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 15px;
    margin: 0 auto;
  }
  .brand-card{
    position: relative;
    max-width: 300px;
    height: 300px;
    background: #f1f1f1;
    margin: 0.5rem 0.5rem 0;
    border-radius: 4px;
    box-shadow:0 2px 10px rgba(98,98,98,.2);
  }
  .brand-card:before,
  .brand-card:after
  {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #f1f1f1;
    transition: 0.5s;
    z-index:-1;
  }
  .brand-card:hover:before{
  transform: rotate(20deg);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
  .brand-card:hover:after{
  transform: rotate(10deg);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
  .brand-card .imgBx{
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  background: #fff;
  transition: 0.5s;
  z-index: 1;
  }
  
  .brand-card:hover .imgBx
  {
    bottom: 80px;
  }

  .brand-card .imgBx img{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .brand-card .details{
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      height: 60px;
      text-align: center;
  }

  .brand-card .details h2{
   margin: 0;
   padding: 0;
   font-weight: 600;
   font-size: 1rem;
   color: #298a43;
   text-transform: uppercase;
  } 

  .brand-card .details h2 span{
  font-weight: 500;
  font-size: 16px;
  color: #333333;
  display: block;
  margin-top: 5px;
   } 