:root
{
    --mainGray: #343a40;
    --accentColor: #13A99C;
    --darkGray: rgb(36, 36, 36);
    --darkGreen: #13A99C;
    --lightGreen: #13A99C;
    --darkGray: #222629;
    --grayGradient: #222629d2;
    --lightGray: #474B4F;
    --lightestGray: #ebebeb;
    --mainFont: 'Poiret One', cursive;
    --thickFont: 'Ubuntu', sans-serif;
    --darkColor: #171717;
}
.border {
    height: 369px;
    width: 290px;
    background: transparent;
    border-radius: 10px;
    transition: border 1s;
    position: relative;
  }

  .overCard
  {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 0 30px black;
    overflow: hidden;
    border-radius: 10px;
  }
  .hoverText
  {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card {
    height: 379px;
    width: 300px;
    border-radius: 10px;
    transition: all 0.8s;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 30px gray;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .card0 {
    background:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene.jpg") center center no-repeat;
    background-size: 300px;
  }
  #about >div:nth-of-type(1):hover .card0 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  #about > div:hover p{
    transform: translateY(0);
  }
  #about >div:nth-of-type(1):hover 
  .card0:hover h2 {
    opacity: 1;
  }
  .card0:hover .fa {
    opacity: 1;
  }
  .card1 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene2.jpg") center center no-repeat;
    background-size: 300px;
    
  }
  #about >div:nth-of-type(2):hover .card1 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene2.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  .card1:hover h2 {
    opacity: 1;
  }
  .card1:hover .fa {
    opacity: 1;
  }
  .card2 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") center center no-repeat;
    background-size: 300px;
  }
  #about > div:nth-of-type(3):hover .card2{
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  .card2:hover h2 {
    opacity: 1;
  }
  .card2:hover .fa {
    opacity: 1;
  }


  .card3 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") center center no-repeat;
    background-size: 300px;
  }
  #about >div:nth-of-type(4):hover .card3{
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  .card3:hover h2 {
    opacity: 1;
  }
  .card3:hover .fa {
    opacity: 1;
  }


  .card4 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") center center no-repeat;
    background-size: 300px;
  }
  #about >div:nth-of-type(5):hover .card4{
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  .card4:hover h2 {
    opacity: 1;
  }
  .card4:hover .fa {
    opacity: 1;
  }

.card h2{
  text-align: center;
}
.card button{
  margin: 0 auto;
}
  .card5 {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") center center no-repeat;
    background-size: 300px;
  }
  #about >div:nth-of-type(6):hover .card5{
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url("./images/serene3.jpg") left center no-repeat;
    background-size: 600px;
    filter: blur(.4rem);
  }
  .card5:hover h2 {
    opacity: 1;
  }
  .card5:hover .fa {
    opacity: 1;
  }


  .icons {
    position: absolute;
    fill: #fff;
    color: #fff;
    height: 130px;
    top: 226px;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

  .card:hover {
    filter: blur(.4rem);
  }
  
  .card h2{
    color: var(--lightestGray);
    margin: 15px;
  }



  .overCard:hover
  {
    cursor: pointer;
  }

  .overCard p{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(400px);
    transition: .4s all linear;
    color: white;
    padding: 15px;
  }