#cardSection{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    margin-left: 120px;
    margin-bottom: 5em;
}

.cardLayout{
    width: 280px;
    height: 119px;
    border: 2px solid #035caa ;
    margin-left: 1em;
    margin-top: 1em;
}

.cardLayout > img {
   /* margin-top: 1em; */
    margin-left: 0.25em;
    width: 97%;
}

.cardLayout > h2 {
    margin-top: 0.3em;
    text-align: center;
    color: white ;
    font-family: 'Nunito', sans-serif;
    font-family: 'Raleway', sans-serif;
}

.cardLayout > a {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .cardLayout > a {
    padding: .75rem 3rem;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    margin-top: -18px;
  }


.cardLayout:nth-of-type(2) > a {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  display: flex;
  align-items: center;
}

.cardLayout:nth-of-type(3) > img {
    margin-top: 1em;
    margin-left: 1.5em;
    width: 80%;
    height: 65%;
}

.cardLayout:nth-of-type(3) > a {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  display: flex;
  align-items: center;
}

.cardLayout:nth-of-type(4) > img {
    margin-top: 1em;
    margin-left: 1em;
    width: 90%;
    height: 60%;
}
.cardLayout:nth-of-type(4) > a {
  color: #FFF;
  transition: all 0.5s;
  position: relative;
  display: flex;
  align-items: center;
}
  
}
.cardLayout >a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.cardLayout >a:hover::before {
  opacity: 0 ;
  transform: scale(0.5,0.5);
}
.cardLayout >a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.5);
  transform: scale(1.2,1.2);
}
.cardLayout >a:hover::after {
  opacity: 1;
  transform: scale(1,1);
}

  