@font-face {
  font-family: "Gilroy";
  src: url("../../assets/fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy Medium";
  src: url("../../assets/fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy Semibold";
  src: url("../../assets/fonts/Gilroy-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy Bold";
  src: url("../../assets/fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

html,
body {
  font-family: "proxima-nova-extra-wide", sans-serif;
}

* a {
  text-decoration: none;
  color: #1a1a1a;
  font-family: "proxima-nova-extra-wide", sans-serif;
  transition: all 0.5s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.taplink {
  min-height: 100vh;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px 38px 20px 34px;
}

.call-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 50px;
  border: 1px solid #1a1a1a;
  border-radius: 20px;
}

.call-btn:hover {
  border: 1px solid #fde43e;
  background: #fde43e;
}

.call-btn__svg {
  margin-right: 8px;
}

.text-bold {
  text-transform: uppercase;
  font-weight: 700;
}

.body {
  padding: 35px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 42px 28px;
  border-radius: 50px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  font-family: "Gilroy Medium", sans-serif;
  font-size: 16px;
  height: 370px;
  transition: all 0.5s;
  font-weight: 500;
}

.card:hover {
  background: #fde43e;
}

.card__header {
  font-family: "proxima-nova-extra-wide", sans-serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.card__img {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 80%;
  transition: all 0.7s;
}

.card__img__two {
  right: 28px;
  width: 55%;
}

.card__img__two__two {
  left: 28px;
  width: 30%;
}

.card__img__three {
  right: 38px;
  width: 55%;
}

.card__img__four {
  right: 0;
  width: 65%;
}

.card__img__five {
  right: 18px;
  width: 90%;
}

.card__img__six {
  right: 25px;
  width: 80%;
}

.card__img__mobile {
  display: none;
}

.card__img-hover {
  opacity: 0;
}

.card:hover .card__img-hover {
  opacity: 1;
}

.card:hover .card__img-default {
  opacity: 0;
}

@media (max-width: 1000px) {
  .call-btn {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .card {
    overflow: visible;
    height: 104px;
    padding: 12px;
    border-radius: 10px;
  }

  .card__img {
    display: none;
  }

  .card__img__mobile,
  .card__img__two,
  .card__img__two__two {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
  }

  .card__img__two__two {
    width: 8%;
    left: unset;
    right: 12%;
  }

  .card__header {
    font-size: 14px;
  }

  .card {
    font-size: 11px;
  }
}

@media (max-width: 776px) {
  .call-btn {
    display: none;
  }

  .cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .card {
    overflow: visible;
    height: 104px;
    padding: 12px;
    border-radius: 10px;
  }

  .card__img {
    display: none;
  }

  .card__img__mobile,
  .card__img__two,
  .card__img__two__two {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20%;
  }

  .card__img__two__two {
    width: 10%;
    left: unset;
    right: 15%;
  }

  .card__header {
    font-size: 14px;
  }

  .card {
    font-size: 11px;
  }
}

@media (max-width: 555px) {
  .card__img__mobile,
  .card__img__two,
  .card__img__two__two {
    width: 30%;
  }

  .card__img__two__two {
    width: 13%;
    right: 23%;
  }
}
