/* MaIN */ 
.maincolor{
    background-color: hsl(30, 2%, 22%);
  }


/* Extra CODE */ 
body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content:center;
    align-items: center;
    min-height: 100vh;
    background: url(../img/background.jpg);
    background-size: cover;
    box-shadow: inset 0 0 0 2000px rgba(125, 125, 123, 0.5);
    background-attachment: fixed;
 
    font-family: sans-serif;
  }
  .imgcard{
    position: relative;
    width: 380px;
    height: 420px;
    background: #ebe7e7;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
  }
  .imgcard:before,
  .imgcard:after
  {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #ebe7e7;
    transition: 0.5s;
    z-index:-1;
  }
  .imgcard:hover:before{
    transform: rotate(20deg);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
  .imgcard:hover:after{
    transform: rotate(10deg);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
  .imgcard .imgBx{
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    background: #222;
    transition: 0.5s;
    z-index: 1;
  }
  
  .imgcard:hover .imgBx
  {
    bottom: 80px;
  }

  .imgcard .imgBx img{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .imgcard .details{
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      height: 60px;
      text-align: center;
  }

  .imgcard .details h2{
   margin: 0;
   padding: 0;
   font-weight: 600;
   font-size: 20px;
   color: #777;
   text-transform: uppercase;
  } 
  .imgcard .details h3{
    margin: 0;
    padding: 0;
    font-weight: 300;
    font-size: 12px;
    color: #777777;
    text-transform: uppercase;
   } 

  .imgcardspan{
  font-weight: 500;
  font-size: 16px;
  color: #f38695;
  display: block;
  margin-top: 5px;
   } 

@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue;
  }
  .imgcard{
    position: relative;
    width: 300px;
    height: 380px;
  }
  
  .modal-title{
    font-weight: 6;
    font-size: 12px;
  } 
  .modal-footer{
    font-weight: 6;
    font-size: 9px;
  } 
  .img-fluid{
    width: 90%;
  }

  .imgcard:hover:before{
    transform: rotate(1deg);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
  .imgcard:hover:after{
    transform: rotate(1deg);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
  }
}