/*!*********************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/scss/sections/links-boxes.scss ***!
  \*********************************************************************************************************************************************************/

/*** LTR websites ***/

.linksBoxes {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  background-color: #141414;
}

.linksBoxes br {
  display: none;
}

.linksBoxes .wrapper {
  display: flex;
  flex-direction: column;
}

.linksBoxes_description {
  margin-top: 12px;
}

.linksBoxes_link {
  font-family: "Anton", sans-serif;
  background: linear-gradient(90deg, #78b52e 0%, #528f07 100%);
  border-radius: 100px;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 15px;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 160px;
  padding: 8px 40px;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0px 6px 6px 0px rgba(120, 181, 46, 0.15);
  margin: 16px auto 0;
}

.linksBoxes_link:hover {
  padding: 4px 36px;
}

.linksBoxes_link:hover {
  border: 4px solid #fff;
  box-shadow: 0px 6px 6px 0px rgba(120, 181, 46, 0.35);
}

.linksBoxes_below {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 400;
}

.linksBoxes_boxes {
  margin-top: 32px;
}

.linksBoxes_box {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 1px 0;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

.linksBoxes_box:hover > img {
  transform: translate(-50%, -50%) scale(1.2);
}

.linksBoxes_box::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: 0.3s;
}

@media (max-width: 1200px) {
  .linksBoxes_box-content {
    display: block !important;
  }
}

@media (max-width: 1200px) {
  .linksBoxes_box-content > * {
    opacity: 1 !important;
  }
}

.linksBoxes_box-active::after {
  background-color: rgba(0, 0, 0, 0.8);
}

.linksBoxes_box-active .linksBoxes_box-show .linksBoxes_box-description,
.linksBoxes_box-active .linksBoxes_box-show .linksBoxes_box-link {
  opacity: 1 !important;
}

.linksBoxes_box > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.linksBoxes_box-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.linksBoxes_box-hide {
  opacity: 0;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.linksBoxes_box-show {
  width: calc(100% - 40px);
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.linksBoxes_box-description {
  margin: 0 auto;
  max-width: 360px;
  transition: 0.3s;
}

.linksBoxes_box-link {
  font-family: "Anton", sans-serif;
  background: linear-gradient(90deg, #78b52e 0%, #528f07 100%);
  border-radius: 100px;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 15px;
  height: 40px;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 160px;
  padding: 8px 40px;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: 0px 6px 6px 0px rgba(120, 181, 46, 0.15);
  margin: 12px auto 0;
}

.linksBoxes_box-link:hover {
  padding: 4px 36px;
}

.linksBoxes_box-link:hover {
  border: 4px solid #fff;
  box-shadow: 0px 6px 6px 0px rgba(120, 181, 46, 0.35);
}

.linksBoxes_box:first-of-type {
  border-radius: 20px 20px 0 0;
}

.linksBoxes_box:last-of-type {
  border-radius: 0 0 20px 20px;
}