.methodologies-text-content {
  width: 100%;
  margin-bottom: 41px;
  height: fit-content;
  padding: 0 10%;
  color: var(--color-nero);
}
.methodologies-button1 .methodologies-button-description {
  margin-left: -3px;
}
.methodologies-text-content h2 {
  text-align: center;
  margin: 0 0 4%;
}

.methodologies-text-content .page-text-content-description {
  text-align: center;
}

.methodologies-buttons-container {
  display: flex;
  justify-content: space-between;
  height: fit-content;
  width: 100%;
  margin: auto;
  margin-bottom: 42px;
}

.methodologies-buttons-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: fit-content;
  margin: auto;
}

.methodologies-buttons-wrapper .methodologies-button-other {
  display: flex;
  align-items: center;
  width: 309px;
  height: 60px;
  margin: auto;
}

.methodologies-button-other span {
  font-family: var(--font-Futura-Cyrillic-Demi);
  font-size: 16px;
  line-height: 21px;
  color: var(--color-white);
}

.methodologies-button {
  display: flex;
  position: relative;
  width: 19%;
  height: 0;
  padding-bottom: 20%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-wild-sand);
  border-radius: 17px;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
}

.methodologies-button:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.methodologies-button svg {
  width: 100%;
}

.methodologies-button:hover {
  box-shadow: 0 0 0 2px var(--color-cyan-blue);
}

.methodologies-button-icons-wrapper {
  width: 5vw;
  height: 6.5vw;
  max-width: 72px;
  min-width: 15px;
}

.methodologies-button-icons-wrapper svg {
  margin: auto;
}

.methodologies-button-title {
  position: relative;
  margin-top: 20px;
  bottom: 14px;
  color: var(--color-cyan-blue);
  font-size: min(calc(10px + 1vw), 24px);
  line-height: 36px;
  font-family: var(--font-roboto-bold);
}

.methodologies-button-description {
  position: relative;
  text-align: center;
  width: 80%;
  color: var(--color-nero);
  top: calc(min(max(-20px, (3vw - 40px)), 0px));
  font-size: min(calc(5px + 0.7vw), 16px);
  font-family: var(--font-roboto-regular);
  margin: 0 auto;
  min-height: 2em;
}

.methodologies-button-description-padding-row {
  padding-top: 18.4px;
}

@media (max-width: 767px) {
  .methodologies-text-content {
    margin-top: 28px;
    padding: 0;
  }
  .methodologies-text-content h2 {
    text-align: left;
    margin: 0;
    margin-bottom: 16px;
  }

  .methodologies-button svg {
    margin-bottom: 10px;
  }

  .methodologies-text-content .page-text-content-description {
    text-align: left;
  }

  .methodologies-button1 {
    grid-area: button1;
  }

  .methodologies-button2 {
    grid-area: button2;
  }

  .methodologies-button3 {
    grid-area: button3;
  }

  .methodologies-button4 {
    grid-area: button4;
  }

  .methodologies-button5 {
    grid-area: button5;
  }

  .methodologies-buttons-container {
    display: grid;
    grid-template-areas:
      "button1 button2 button3"
      "button4 button5 .";
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 0 50px;

    gap: 10px;
  }

  .methodologies-button {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
    height: 26vw;
    padding-bottom: unset;
  }

  .methodologies-button:before {
    display: none;
  }

  .methodologies-button-title {
    position: unset;
    font-size: 16px;
    line-height: 16px;
    margin-top: 25px;
  }

  .methodologies-button-icons-wrapper {
    position: unset;
    width: 30%;
    height: 30px;
  }

  .methodologies-button-description {
    position: unset;
    font-size: 0.8rem;
    margin-bottom: 1em;
  }
  .methodologies-buttons-wrapper .methodologies-button-other {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .methodologies-buttons-container {
    display: grid;
    grid-template-areas:
      "button1 button2"
      "button3 button4"
      "button5 .";
    grid-template-columns: 1fr 1fr;
    margin-bottom: 50px;
    gap: 10px;
  }
  .methodologies-button {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 38vw;
    margin: auto;
    padding-bottom: unset;
  }
  .methodologies-button-title {
    margin-top: 0;
  }
  .methodologies-button-description-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .methodologies-button-description {
    font-size: 12px;
    margin-top: 10px;
  }
  .methodologies-buttons-wrapper {
    margin-bottom: 28px;
  }
  .methodologies-button-icons-wrapper {
    height: fit-content;
  }
}
