.main_cards {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: -141px;
  padding: 0 110px;
  width: 100%;
  position: relative;
}

.main_cards_card {
  align-items: center;
  background: rgba(242, 242, 242, 1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 433px;
  padding-bottom: 30px;
  width: 100%;
  transition: 0.3s;
  position: relative;
}

.main_cards_card > p {
  color: rgba(0, 0, 0, 1);
  font-weight: 500;
  line-height: 22.68px;
  padding: 0 30px;
}

.main_cards_card:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: -1px 2px 9.399999618530273px 0px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.main_cards_card:hover > .main_cards_card_sectionBtn {
  visibility: visible;
}

.main_cards_card div {
  border-radius: 10px 10px 0 0;
  width: 100%;
}

.main_cards_card div img {
  border-radius: 10px 10px 0 0;
  height: 100%;
  width: 100%;
}

.main_cards_card_title {
  color: rgba(26, 49, 143, 1);
  font-size: 26px;
  font-weight: 800;
  line-height: 31px;
  letter-spacing: 0.03em;
  text-align: center;
}

.main_cards_card_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main_cards_card_item {
  align-items: center;
  display: flex;
  gap: 15px;
  list-style-type: none;
  max-width: 295px;
  width: 100%;
}

.main_cards_card_item img {
  width: 18.18px;
  height: 12.83px;
}

.main_cards_card_item p {
  line-height: 20px;
  letter-spacing: 0.04em;
}

.main_cards_card_sectionBtn {
  visibility: hidden;
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  max-width: 194.64px;
  width: 100%;
}

.main_cards_card_btn {
  box-shadow: 0px 4px 4px 0px rgba(217, 217, 217, 0.5);
  background: rgba(231, 238, 254, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 49, 143, 1);
  font-size: 18px;
  font-weight: 500;
  line-height: 21.6px;
  text-transform: uppercase;
  height: 43.85px;
  border-radius: 3px;
  width: 100%;
}


@media screen and (min-width: 1101px) and (max-width: 1279px) {
  .main_cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: -141px;
    padding: 0 50px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .main_cards {
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .main_cards_card {
    gap: 0px;
    padding-bottom: 20px;
    width: calc((100% - 40px) / 2);
  }

  .main_enter section {
    gap: 20px;
  }

  .main_cards_card_title {
    margin: 15px 20px;
  }

  .main_cards_card_list {
    width: 100%;
    gap: 5px;
    padding: 0 10px 15px;
  }

  .main_cards_card_item img {
    width: 12px;
  }
}

@media screen and (max-width: 767px) {
  .main_cards {
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    padding: 0 10px;
  }

  .main_cards_card {
    background: rgba(255, 255, 255, 1);
    box-shadow: -1px 2px 9.399999618530273px 0px rgba(0, 0, 0, 0.25);
    gap: 0;
    height: max-content;
    max-width: 350px;
    padding-bottom: 25px;
  }

  .main_cards_card .main_cards_card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: -1px 2px 9.399999618530273px 0px rgba(0, 0, 0, 0.25);
    transform: none;
  }

  .main_cards_card:hover > .main_cards_card_sectionBtn {
    visibility: visible;
  }

  .main_cards_card_title {
    margin: 15px 0 22px;
    min-height: fit-content;
    margin: 25px 0;
  }

  .main_cards_card p,
  .main_cards_card_list {
    display: none;
  }

  .main_cards_card_sectionBtn {
    visibility: visible;
  }

  .main_cards_card_btn {
    box-shadow: 0px 4px 4px 0px rgba(217, 217, 217, 0.5);
    border-radius: 10px;
    height: 48px;
  }
  .main_cards_card div {
    height: 100%;
  }

  .main_cards_card > p {
    padding: 0 5%;
    margin-bottom: 15px;
  }
}
