
#grid {
    width: 90%;
    height: 60%;
    display: flex;
    margin: 10rem auto;
    gap: 2px;
  }
  
  .left1:hover,.center1:hover,.right1:hover {
    flex-grow: 3;
  }

  .col {
    background-size: cover;
    position: relative;
    max-height: 500px;
  }
  
  .left1 {
    transition:  flex-grow 0.5s ease-in-out;
    background-image: url(../images/contact/1.webp);
  }
  .center1 {
    transition:  flex-grow 0.5s ease-in-out;
    background-image: url(../images/contact/2.webp);
    background-position: center;
  }
  .right1 {
    transition:  flex-grow 0.5s ease-in-out;
    background-image: url(../images/contact/3.webp);
  }
  
  .col:hover .overlayText{
    opacity: 1 !important;;
  }
  .overlayText {
    position: absolute;
    display: flex;
    opacity: 0;
    top: 1px;
    left: 0;
    backdrop-filter: contrast(0.5);
    width: 100%;
    height: 100%;
    flex-direction: column;
    background-position: center;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    transition: all 0.5s ease-in-out;
  }

  .overlayText * {
    color: white;
  }

  