/* ============= VARIABLES ============= */
/* ============= MIXINS ============= */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1E212C;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: url(../assets/images/background.png);
  background-repeat: no-repeat;
  background-position: center 50px;
  background-size: contain;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: 1230px;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* all clapm functions from 1920px to 320px */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: clamp(1.375rem, 1.1rem + 1.375vw, 2.75rem); /* 44px > 22px */
  margin-bottom: clamp(2.625rem, 2.0875rem + 2.6875vw, 5.3125rem); /* 85px > 42px */
}
.header__description {
  font-weight: 700;
  font-size: clamp(0.625rem, 0.55rem + 0.375vw, 1rem); /* 16px > 10px */
  line-height: 150%;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: clamp(0.125rem, 0.05rem + 0.375vw, 0.5rem); /* 8px > 2px */
  text-align: center;
}
.header__heading {
  font-weight: 900;
  font-size: clamp(1.75rem, 1.525rem + 1.125vw, 2.875rem); /* 46px > 28px */
  line-height: 130%;
  text-align: center;
}

.filter-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(1.875rem, 1.5rem + 1.875vw, 3.75rem); /* 60px > 30px */
}
@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.filter-buttons {
  display: flex;
  overflow-y: auto;
  width: 100%;
}

.filter-button {
  padding: clamp(0.3125rem, 0.25rem + 0.3125vw, 0.625rem) clamp(0.625rem, 0.5rem + 0.625vw, 1.25rem); /* 10px > 5px & 20px > 10px */
  cursor: pointer;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border 0.3s ease, color 0.3s ease;
  font-weight: 700;
  font-size: clamp(0.625rem, 0.55rem + 0.375vw, 1rem); /* 16px > 10px */
  line-height: 160%;
  text-align: center;
  color: #9A9CA5;
  display: flex;
  align-items: flex-start;
  white-space: nowrap;
}
.filter-button--active {
  color: #FF3F3A;
  border: 1px solid #FF3F3A;
}
.filter-button--active .filter-button__count {
  color: #FF3F3A;
}
.filter-button:not(:last-child) {
  margin-right: clamp(0.375rem, 0.3rem + 0.375vw, 0.75rem); /* 12px > 6px */
}
.filter-button__count {
  color: #9A9CA5;
  font-weight: 900;
  font-size: clamp(0.5rem, 0.475rem + 0.125vw, 0.625rem); /* 10px > 8px */
  line-height: 150%;
  text-align: center;
  transition: color 0.3s ease;
  margin-left: 4px;
}

.search-input {
  padding: clamp(0.375rem, 0.3125rem + 0.3125vw, 0.6875rem) clamp(0.625rem, 0.55rem + 0.375vw, 1rem); /* 11px > 6px & 16px > 10px */
  border: 1px solid #D7DADD;
  border-radius: 4px;
  font-weight: 400;
  font-size: clamp(0.625rem, 0.575rem + 0.25vw, 0.875rem); /* 14px > 10px */
  line-height: 100%;
  margin-left: 20px;
}
@media (max-width: 768px) {
  .search-input {
    width: 100%;
    margin-left: 0px;
    margin-top: 12px;
  }
}
.search-input--with-icon {
  background-image: url("../assets/images/svg/search.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: clamp(0.625rem, 0.55rem + 0.375vw, 1rem); /* 16px > 10px */
  padding-right: 40px;
}
.search-input::placeholder {
  color: #9A9CA5;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 5rem); /* 80px > 40px */
}
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 425px) {
  .cards-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
  }
}
.cards-container .card {
  width: 100%;
  max-width: 390px;
  height: 438px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #E5E8ED;
  box-shadow: 0px 12px 10px -6px rgba(154, 156, 165, 0.0392156863);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}
@media (max-width: 765px) {
  .cards-container .card {
    height: 390px;
  }
}
@media (max-width: 425px) {
  .cards-container .card {
    height: fit-content;
  }
}
.cards-container .card:hover {
  box-shadow: 0px 80px 80px -20px rgba(154, 156, 165, 0.1607843137);
}
.cards-container .card__image-container {
  height: 240px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cards-container .card__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cards-container .card__content {
  padding: clamp(0.625rem, 0.45rem + 0.875vw, 1.5rem); /* 24px > 10px */
}
.cards-container .card__category {
  display: inline-block;
  margin-bottom: clamp(0.625rem, 0.5rem + 0.625vw, 1.25rem); /* 20px > 10px */
  background-color: #03CEA4;
  color: #ffffff;
  padding: 1px 8px;
  text-align: center;
  border-radius: 4px;
  font-weight: 400;
  font-size: clamp(0.625rem, 0.575rem + 0.25vw, 0.875rem); /* 14px > 10px */
  line-height: 150%;
}
.cards-container .card__category--marketing {
  background-color: #03CEA4;
}
.cards-container .card__category--management {
  background-color: #5A87FC;
}
.cards-container .card__category--hr-and-recruiters {
  background-color: #F89828;
}
.cards-container .card__category--design {
  background-color: #F52F6E;
}
.cards-container .card__category--development {
  background-color: #7772F1;
}
.cards-container .card__title {
  font-weight: 700;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); /* 20px > 16px */
  line-height: 150%;
  margin-bottom: clamp(0.625rem, 0.5rem + 0.625vw, 1.25rem); /* 20px > 10px */
}
.cards-container .card__price {
  font-weight: 700;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem); /* 18px > 14px */
  line-height: 150%;
  color: #FF3F3A;
  padding-right: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem); /* 8px > 4px */
  margin-right: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem); /* 8px > 4px */
  border-right: 1px solid #787A80;
}
.cards-container .card__instructor {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem); /* 18px > 14px */
  line-height: 150%;
  color: #787A80;
}

.button-load {
  background-color: transparent;
  cursor: pointer;
  border: none;
  margin-bottom: clamp(2.625rem, 2.0875rem + 2.6875vw, 5.3125rem); /* 85px > 42px */
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: #424551;
}
.button-load--with-icon {
  background-image: url("../assets/images/svg/load.svg");
  background-repeat: no-repeat;
  background-position: left 5px center;
  background-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem); /* 24px > 16px */
  padding-left: 40px;
}

/*# sourceMappingURL=styles.css.map */
