.hero-section {
  background-image: url("../images/hero-bg-1.webp");
  background-size: cover;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;

}

.hero-image {
  transform: scaleX(-1);
  width: 80%;
}

.section-title {
  color: var(--oslo-gray);
  font-family: "Playfair", serif;
  font-weight: bold;
  padding-bottom: 5px;
  text-decoration: underline;
}

.section-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 87px;
  line-height: 75px;
}

.hero-subheading {
  font-family: "Inter", sans-serif;
}

#counter {
  background-image: url("../images/counter-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  padding: 4rem 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;

}

#counter > div > span {
  color: white;
  font-size: 50px;
  line-height: 20px;
}

.available-courses-card {
    box-shadow: 2px 2px 6px black;
}

.available-courses-card:hover {
    transform: scale(1.1);
}

.news-card {
  background-color: var(--varden);
  padding: 15px 8px;
}

.slide-in-left {
    animation: slideInLeft 2s ease-in-out forwards;
}

@keyframes slideInLeft{
    0%{
        transition: translateX(-100%);
        /*opacity: 0;*/
    }
    
    100% {
        transition: translateX(0);
        /*opacity: 1;*/
    }
}

@media only screen and (max-width: 768px) {

  .hero-section {
      margin-top: 3rem;
  }
  
  .section-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 45px;
    line-height: 45px;
  }

  #counter {
    display: block;
    flex-direction: column;
  }
  
  #counter > div {
    margin-top: 30px;
  }
}

@media (max-width: 820px), (max-width: 1024px) {
  .section-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 55px;
  }
}
