.wrapper-market {
  width: 105%;
  /* height important! controls distance between content and wrapper */
  height: 90vh;
  padding-bottom: 1.5rem;
}

i.bx.bx-door-open {color: coral;}
i.bx.bx-home, 
i.bx.bx-camera, 
i.bx.bx-bomb, 
i.bx-chair, 
i.bx.bx-envelope, 
i.bx-dots-horizontal-rounded {
  color: #fcfbf4; line-height: 8px; font-size: 1.19em; padding: 0 1rem 0.6rem 0;}

.contact-us-link-market {
    box-sizing: border-box;
  box-shadow: 0 5px 5px rgba(0,0,0,.6);
  border-radius: 10px;
    -webkit-transition: .1s all;   
    -webkit-transition-delay: 0.1s; 
    -moz-transition: .1s all;   
    -moz-transition-delay: 0.1s; 
    -ms-transition: .1s all;   
    -ms-transition-delay: 0.1s; 
    -o-transition: .1s all;   
    -o-transition-delay: 0.1s; 
    transition: .1s all;   
    transition-delay: 0.1s; 
  }

  .contact-us-link-market:hover {
  margin-top: 1rem;
  margin: auto;
  width: 95%;
  box-sizing: border-box;
  border-radius: 10px;
    box-shadow: 0 5px 35px 0px rgba(0,0,0,.2);
        -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
      cursor: pointer;
}
}

.btn {
 padding: 0.1rem 0rem .3rem 0rem;
 background-color: #3e5057;
  margin: auto;
  line-height: 2rem;
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1.4rem;
  color: #00FFFF;
  font-weight: bold;
  letter-spacing: 0.1rem;
  width: 75%;
  box-sizing: border-box;
  border: 1px solid #3e5057;
  box-shadow: 0 5px 5px rgba(0,0,0,.6);
  border-radius: 10px;
    -webkit-transition: .1s all;   
    -webkit-transition-delay: 0.1s; 
    -moz-transition: .1s all;   
    -moz-transition-delay: 0.1s; 
    -ms-transition: .1s all;   
    -ms-transition-delay: 0.1s; 
    -o-transition: .1s all;   
    -o-transition-delay: 0.1s; 
    transition: .1s all;   
    transition-delay: 0.1s; 
  }

.btn:hover {
  color: white;
  margin-top: 1rem;
  margin: auto;
  width: 95%;
  box-sizing: border-box;
  border-radius: 10px;
    box-shadow: 0 5px 35px 0px rgba(0,0,0,.2);
        -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    -ms-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}
.btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: -90%;
  transition: 0.5s;
}

.btn:hover::before {
  right: 100%;
}

.btn--block {
  display: block;
  width: 100%;
}
 
.cards {
  display: grid;
  left: -2rem;
  grid-template-columns: repeat(auto-fit, 240px);
  margin: auto;
  margin-top: 1.5rem;
  gap: 3.5rem;
  justify-items: center;
  justify-content: center;
  place-content:center;
  text-align: center;
  width: 100%;
  position: relative;
}

.card {
  position: relative;
  width: 120%;
background: rgba(255, 255, 255, 0.2);
border-radius: 14px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 0.5px solid #1f1e31;
  overflow: hidden;
  &:hover {
    .card__image {
      filter: contrast(100%);
    }
  }

.cards__item {
  display: flex;
  padding: 1rem;
  @media(min-width: 40rem) {
    width: 70%;
  }
  @media(min-width: 56rem) {
    width: 33.3333%;
  }
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
}

.card__image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  //filter: saturate(180%);
  overflow: hidden;
  position: relative;
  transition: filter 0.5s cubic-bezier(.43,.41,.22,.91);
  &::before {
    content: "";
    display: block;
    padding-top: 56.25%; // 16:9 aspect ratio
  }
  @media(min-width: 40rem) {
    &::before {
      padding-top: 66.6%; // 3:2 aspect ratio
    }
  }
}

.card__image--bakers-ferry {
  background-image: url(../img/BFGA/BFGA-A.jpg);
}


.card__image--armour-1 {
  background-image: url(../img/0-ARMOUR/0-Armour-Landscape.jpg);
}

.card__image--armour-2 {
  background-image: url(../img/0-ARMOUR/0-Armour-Topo.jpg);
}

.card__image--long {
  background-image: url(../img/CONROE/Conroe-1.jpg);
}

.card__image--burr {
  background-image: url(../img/8816-BURR/8816-Burr-1.jpg);
}


.card__title {
  color: coral;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card__text {
  flex: 1 1 auto;
  font-size: 1rem;
  font-weight: 400;
  color: whitesmoke;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 1em;
  margin-bottom: 1.25rem;
}

/* Responsive hack*/
@media only screen and (min-width: 499px) and (max-width: 1212px) {
  .wrapper {
    width: 500px;
  }
}

@media only screen and (max-width: 498px) {

 h2 {
    margin-top: 2.7rem;
  }

  .title-name-projects span {
    font-size: 2rem;
    line-height: 1rem;}
    
  .title-name-projects {
    font-size: 2rem;
    padding-left: 0.4rem;
  }

  .wrapper {
    width: 400px;
    margin-top: 2rem;
    margin-left: -4px;
    justify-content: center;
    justify-items: center;
  }

  div.gallery ul {
    list-style-type: none;
    padding-top: 10px;
  }


