:root {
  --primary-color: #284677;
  --bg-icon-cards: #ccddf2;
  --contrast-color: white;
  --contrat-red: #e74a4a;
}

body{
  overflow-x: hidden;
}

main {
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.container {
  padding: 0;
}

.hero-learning {
  height: 50vh;
}

.hero-learning::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  background-image: url("//cdn2.scriptcase.net/lib/../learning/img/bg_home.png");
  background-repeat: no-repeat;
  background-position: right 100px;
  background-size: 60%;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.hero-learning__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  padding: 50px 0 50px 0;
}

.hero-learning__title {
  font-size: 2.8rem;
  font-weight: bold;
}

.hero-learning__paragraph {
  font-size: 1.3rem;
}

.card__deck {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(290px, 1fr)) [auto-fit];
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 0 0 120px 0;
}

.card__deck .card {
  -ms-grid-column-align: center;
  justify-self: center;
  max-width: 380px;
  -webkit-box-shadow: 0px 2px 4px 1px rgba(184, 184, 184, 0.5);
  box-shadow: 0px 2px 4px 1px rgba(184, 184, 184, 0.5);
  border-radius: 10px;
  border: none;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.card__deck .card:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0px 5px 6px 1px rgba(184, 184, 184, 0.5);
  box-shadow: 0px 5px 6px 1px rgba(184, 184, 184, 0.5);
}

.card__deck .card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card__deck .card__title-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 20px;
}

.card__deck .card__title-container .card__title {
  margin: 0 20px 0 15px;
  font-weight: bold;
}

.card__deck .card__img-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--bg-icon-cards);
  border-radius: 50%;
  line-height: 1;
  width: 40px;
  min-width: 40px;
  height: 40px;
}

.card__deck .card__img {
  height: 20px;
}

@media (min-width: 1700px) {
  .hero-learning::after {
    background-image: url("//cdn2.scriptcase.net/lib/../learning/img/bg_home@2x.png");
    background-size: 60%;
  }
}

@media (max-width: 1300px) {
  .hero-learning::after {
    background-size: 65%;
  }
}

@media (max-width: 991px) {
  .container{
    margin: auto !important;
  }
  .hero-learning {
    text-align: center;
    margin-top: 40vh;
  }
  .hero-learning__content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .hero-learning::after {
    background-image: url("//cdn2.scriptcase.net/lib/../learning/img/bg_home_mini@1000w.png");
    background-size: contain;
  }
}

@media (max-width: 850px) {
  .hero-learning {
    margin-top: 30vh;
  }
}

@media (max-width: 600px) {
  .hero-learning {
    margin-top: 25vh;
    height: 55vh;
  }
  .hero-learning::after {
    top: 50px;
    right: 0px;
    background-image: url("//cdn2.scriptcase.net/lib/../learning/img/bg_home_mini.png");
  }
}

#modal-body {
  height: 810px;
}

.modal {
  z-index: 99999;
}
