/*------------------------------------------------------------------*/
/*                  Styles for the page container                   */
/*------------------------------------------------------------------*/

/*------------------------------------------------------------------*/
/*                          General styles                          */
/*------------------------------------------------------------------*/

.page-container .section {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.page-container .content {
  width: 1140px;
}

@media (max-width: 640px) {
  .page-container .content {
    padding-left: 1em;
    padding-right: 1em;
  }
}

@media (max-width: 1140px) {
  .page-container .content {
    width: 100%;
    padding-left: 2em;
    padding-right: 2em;
  }
}

/*------------------------------------------------------------------*/
/*                            Page hero                             */
/*------------------------------------------------------------------*/

.page-container .hero {
  height: calc(100vh - 95px);
  overflow: hidden;
  position: relative;
}

@media (max-width: 640px) {
  .page-container .hero {
    height: calc(50vh - 95px);
  }
}

/*------------------------------------------------------------------*/
/*                     Page hero image section                      */
/*------------------------------------------------------------------*/
.page-container .hero .hero-image {
  height: 100%;
}

.page-container .hero .hero-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.page-container .hero:not(.with-tagline-html) .hero-image:after {
  content: "";
  bottom: 0;
  height: 250px;
  background-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.5));
  position: absolute;
  left: 0;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.page-container .hero.with-tagline-html .hero-image:after {
  content: "";
  bottom: 0;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  position: absolute;
  left: 0;
  width: 100%;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.page-container .hero .hero-image .before-image {
  position: absolute;
  -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}

/*------------------------------------------------------------------*/
/*                    Page hero content section                     */
/*------------------------------------------------------------------*/

.page-container .hero .hero-content {
  bottom: 1em;
  left: 3em;
  position: absolute;
  right: 3em;
}

.page-container .hero.with-tagline-html .hero-content {
  top: 20%;
}

.page-container .hero .hero-content * {
  color: var(--color-white);
}

.page-container .hero .hero-content h2 {
  font-size: 3.5em;
  margin: 0;
}

@media (max-width: 640px) {
  .page-container .hero .hero-content {
    left: 1em;
    right: 1em;
  }

  .page-container .hero .hero-content h2 {
    font-size: 1.5em;
  }
}

/*------------------------------------------------------------------*/
/*                            Mouse icon                            */
/*------------------------------------------------------------------*/

.mouse {
  bottom: 20px;
  display: block;
  position: absolute;
  right: 20px;
}

.mouse svg path {
  stroke: var(--color-white);
}

.mouse #wheel {
  -webkit-animation: scroll 2s ease infinite;
  animation: scroll 2s ease infinite;
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  30% {
    -webkit-transform: translateY(60px);
    transform: translateY(60px);
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  30% {
    -webkit-transform: translateY(60px);
    transform: translateY(60px);
  }
}

@media only screen and (max-width: 600px) {
  .mouse {
    display: none;
  }
}
