.tuiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media screen and (max-width: 768px) {
  .tuiles {
    grid-template-columns: repeat(1, 1fr);
  }
}
.tuiles .tuile {
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.33);
  min-height: 300px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .tuiles .tuile {
    padding: 20px;
  }
}
.tuiles .tuile .icone {
  width: 40px;
  height: 40px;
  color: #00687C;
  border-radius: 50%;
  position: absolute;
  bottom: 20px;
  right: 20px;
  transition: all 0.2s ease-out;
  z-index: 30;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tuiles .tuile .icone:hover {
  color: white;
  background: transparent;
}
.tuiles .tuile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
  z-index: 1;
}
.tuiles .tuile:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #00687C;
  opacity: 0.5;
  z-index: 10;
  transition: all 0.3s ease-out;
}
.tuiles .tuile h3 {
  position: relative;
  z-index: 20;
  color: white;
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 15px;
  border: solid 3px white;
}
@media screen and (max-width: 768px) {
  .tuiles .tuile h3 {
    font-size: 25px;
  }
}
.tuiles .tuile:hover:after {
  opacity: 0;
}
.tuiles .tuile:hover img {
  width: 130%;
  height: 130%;
}
