@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap);
@import url(https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
/* --- breakpoints --- */
/* ----- */
:root {
  --c-purple-light: #cdc9ec;
  --c-yellow: #ffa700;
  --c-line: #645c9c;
  --c-blue: #18284a;
  --c-mediumgrey: #797979;
  --c-grey: #131313;
  --c-fgrey: #323232;
  --c-lightgrey: #f1f1f1;
  --c-darkred: #a70009;
  --c-red: #e30713;
  --c-black: black;
}

.blocks .cont {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.wp-block[data-type="acf/blocks"] {
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 0px !important;
}

.blocks .cont {
  flex-wrap: wrap;
  justify-content: space-between;
}
.blocks .cont .box {
  width: 32.5%;
  padding-bottom: 20%;
  position: relative;
  display: inline-block;
  border: 2px solid black;
  margin-bottom: 12px;
  overflow: hidden;
}
.blocks .cont .box img {
  position: absolute;
  width: 101%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 101%;
  width: 100%;
  z-index: 1;
  transition: all 0.3s ease-in-out;
  object-fit: cover;
  object-position: center;
}
.blocks .cont .box p {
  position: absolute;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: rgba(227, 7, 19, 0.6);
  padding: 10px 30px;
  transition: all 0.3s ease-in-out;
}
.blocks .cont .box:hover {
  cursor: pointer;
}
.blocks .cont .box:hover p {
  background-color: rgba(227, 7, 19, 0.8);
}
.blocks .cont .box:hover img {
  width: 103%;
  height: 103%;
}

@media screen and (max-width: 812px) {
  .blocks .cont .box {
    width: 100%;
    padding-bottom: 50%;
  }
}
/*# sourceMappingURL=blocks.css.map */
