@import "base.css";

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10vh;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

@font-face {
  font-family: "Poppins";
  src: url(https://fonts.googleapis.com/css2?family=Poppins);
  font-display: swap;
}

video {
  object-fit: cover;
  width: 100vw;
  height: 95vh;
  position: relative;
  top: 0;
  left: 0;
}

.bd-focus-item {
  position: relative;
}

.bd-focus-item::before {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #fafafa;
  border-radius: 6px;
  content: "";
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.1);
  transform-origin: center;
  transition-duration: 172ms;
  transition-property: opacity, transform;
}

.bd-focus-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.bd-focus-item {
  align-items: center;
  border-radius: 6px;
  display: flex;
  padding: 1.5rem;
  position: relative;
}

.bd-focus-item .title a,
.bd-focus-item .subtitle {
  transition-duration: 172ms;
  transition-property: color;
}

.bd-focus-item .title {
  position: relative;
  transition-duration: 172ms;
  transition-property: color;
}

.bd-focus-item .subtitle {
  color: #7a7a7a;
  position: relative;
}

.bd-focus-item .icon {
  color: #7a7a7a;
  position: relative;
}

.bd-focus-item .bd-focus-text {
  color: #7a7a7a;
  position: relative;
}

.bd-best {
  height: calc(680px + 3rem);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.bd-best-list {
  align-items: stretch;
  -webkit-animation-duration: 180s;
  animation-duration: 180s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  display: flex;
  left: 0;
  position: absolute;
  top: 1.5rem;
  -webkit-animation-name: bd-BestCarousel;
  animation-name: bd-BestCarousel;
}

.bd-best-list:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.bd-best-item {
  flex-grow: 0;
  flex-shrink: 0;
  margin-right: 16px;
  transition-duration: 172ms;
  transition-property: box-shadow, transform;
  width: 360px;
}

.bd-best-item.is-medium {
  font-size: 1.125em;
}

.bd-best-item.is-large {
  font-size: 1.25em;
}

.bd-best-item.is-huge {
  font-size: 1.5em;
}

.bd-best-item:hover {
  box-shadow: 0 1em 1em rgba(0, 0, 0, 0.1);
  transform: translateY(-0.5em);
}

.screenshot {
  align-self: flex-start;
  display: block;
  transition-duration: 172ms;
  transition-property: box-shadow, transform;
}

.screenshot,
.screenshot img {
  border-radius: 6px;
}

.screenshot img {
  display: inline-block;
  height: auto;
  vertical-align: top;
  width: auto;
}

@-webkit-keyframes bd-BestCarousel {
  100% {
    transform: translateX(calc(-100% + 3120px));
  }
}

@keyframes bd-BestCarousel {
  100% {
    transform: translateX(calc(-100% + 3120px));
  }
}

.overlay {
  background: rgba(0, 0, 0, 0.8);
}

/* Hero Background */
.hero {
  background: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1)),
    url("../img/student-1.jpg") center / cover fixed;
}

@media (max-width: 1024px) {
  .hero {
    background: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1)),
      url("../img/student-2.jpg") top / cover;
  }
}
@media (max-width: 768px) {
  .hero {
    background: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1)),
      url("../img/student-3.jpg") top / cover;
  }
}
@media (max-width: 540px) {
  .hero {
    background: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1)),
      url("../img/student-4.jpg") top / cover;
  }
}

/* Process Background */
.process {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/happy-girl-1.jpg") top / cover fixed;
}

@media (max-width: 1024px) {
  .process {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
      url("../img/happy-girl-2.jpg") top / cover;
  }
}
@media (max-width: 768px) {
  .process {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
      url("../img/happy-girl-3.jpg") top / cover;
  }
}
@media (max-width: 540px) {
  .process {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
      url("../img/happy-girl-4.jpg") top / cover;
  }
}
