@import url("./root.css");

.hero_sect {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 75vh;
}

.hero_sect > h1,
.hero_sect > h5 {
  margin-left: 10px;
}

.certifications_sect {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5% 10px;
}

.certification_item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 20px 0;
  padding: 24px 20px;
  background-color: color-mix(in srgb, var(--color-white) 60%, transparent);
  border-radius: 10px;
}

.certification_item h3 {
  margin: 0;
}

.certification_item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-blue-500);
  text-decoration: none;
}

.certification_item a > img {
  width: 16px;
  height: 16px;
}

@media screen and (min-width: 500px) {
  .certifications_sect {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .certification_item {
    width: calc((100% - 20px) / 2);
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
  }
}

@media screen and (min-width: 1024px) {
  .hero_sect,
  .certifications_sect {
    max-width: 1440px;
    padding: 0 25px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1440px) {
  .certification_item {
    width: calc((100% - 40px) / 3);
  }
}
