/*
	Table of content
    1. FULL WITH & LARGE
      1.1 Goto ID
    2. IN GRID
    3. SPLIT
      3.1 Hero
      3.2 Icons
      3.3 Alert
    RESIZE
*/

/* 1. FULL WITH & LARGE */
.header-full-width {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--color-black);
}

.header-full-width::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.header-full-width .bgvideo {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.header-full-width .bgvideo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  min-width: 177.77vh;
  height: 56.25vw;
  min-height: 100vh;
}

.header-full-width .container {
  min-height: 50rem;
  display: flex;
  align-items: center;
}

.header-full-width.large .container {
  min-height: 80rem;
}

.header-full-width .content-wrapper {
  position: relative;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.header-full-width h1 {
  color: white;
}

.header-full-width .text {
  color: white;
}

/* 1.1 Goto ID */
.header-full-width .goto-id {
  position: absolute;
  bottom: 1rem;
  left: calc(50% - 1rem);
  z-index: 2;
}

.header-full-width .goto-id a {
  display: inline-block;
}

.header-full-width .goto-id img {
  width: 2rem;
}

/* 2. IN GRID */
.header-in-grid {
  padding-top: 3rem;
}

.header-in-grid .container {
  display: flex;
}

.header-in-grid .image-wrapper {
  flex: 1 1 86rem;
}

.header-in-grid .image {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 53%;
}

.header-in-grid .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.3rem;
  object-fit: cover;
  object-position: center;
}

.header-in-grid .content-wrapper {
  position: relative;
  z-index: 1;
  flex: 1 1 53rem;
  margin: 6rem 0 0 -9rem;
}

.header-in-grid .content {
  padding: 5rem;
  border-radius: 1.3rem;
  background-color: var(--color-black);
}

.header-in-grid h1 {
  font-size: 3.6rem;
  color: white;
}

.header-in-grid h1.blue {
  color: var(--color-blue);
}

.header-in-grid .text ul,
.header-in-grid .text ol {
  margin: 0;
}

/* 3. SPLIT */
.header-split {
  position: relative;
  padding: 0;
  background-color: var(--color-lightgrey);
}

.header-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* 3.1 Hero */
.header-split .hero-wrapper {
  position: relative;
  height: 55rem;
  background-size: cover;
  background-position: center;
  background-color: var(--color-blue);
}

.header-split .hero-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 186, 255);
  background: linear-gradient(0deg, rgba(0, 186, 255, 1) 0%, rgba(0, 186, 255, 0) 100%);
}

.header-split .column:first-child .hero-wrapper::before {
  background: rgb(0, 98, 202);
  background: linear-gradient(0deg, rgba(0, 98, 202, 1) 0%, rgba(0, 98, 202, 0) 100%);
}

.header-split .hero-inner {
  width: 100%;
  max-width: calc(calc(var(--grid-size-lg) / 2) + var(--grid-padding));
  height: 100%;
  padding: var(--grid-padding);
  display: flex;
  align-items: flex-end;
}

.header-split .column:first-child .hero-inner {
  margin-left: auto;
}

.header-split .content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 2.5rem;
  border-radius: 1.3rem;
  background-color: white;
}

.header-split h2 {
  margin-bottom: 0.5rem;
  font-size: 2.2rem;
}

.header-split .text-wrapper {
  font-size: 1.6rem;
}

.header-split .text-wrapper p:not(:last-child) {
  margin-bottom: 1.5rem;
}

.header-split .btn {
  flex-grow: 1;
  padding: 1rem 2rem 0.75rem;
  font-size: 1.4rem;
}

/* 3.2 Icons */
.header-split .icons-inner {
  position: relative;
  width: 100%;
  max-width: calc(calc(var(--grid-size-lg) / 2) + var(--grid-padding));
  padding: var(--grid-padding);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  transition: 0.4s;
}

.header-split .column:first-child .icons-inner {
  margin-left: auto;
}

.header-split .column:first-child .icons-inner::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: -0.05rem;
  width: 0.1rem;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
}

.header-split .icon-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 100%;
  border-radius: 1.3rem;
  background-color: white;
  color: inherit;
  text-decoration: none;
  transition: 0.4s;
}

.header-split .icon-wrapper:hover {
  background-color: var(--color-blue);
}

.header-split .icon {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-split .icon picture {
  display: flex;
}

.header-split .icon img {
  width: 8rem !important;
  height: 6.4rem !important;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.header-split .icon .title {
  margin-top: 1rem;
  font-family: "Mont";
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

/* 3.3 Alert */
.header-split .alert-wrapper {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-black);
  padding: 0 6rem;
  line-height: 1.3;
}

.header-split .alert-inner {
  max-width: var(--grid-size-lg);
  margin: 0 auto;
  padding: 1rem 0;
  color: white;
  text-align: center;
}

.header-split .alert-wrapper a {
  color: white !important;
}

.header-split .alert-wrapper .close {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: var(--grid-padding);
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  cursor: pointer;
}

.header-split .alert-wrapper .close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* RESIZE */
@media (max-width: 1199px) {
  /* 1. FULL WITH & LARGE */
  .header-full-width.large .container {
    max-height: 60rem;
  }

  /* 3. SPLIT */
  /* 3.2 Icons */
  .header-split .icons-inner {
    max-width: inherit;
  }
}

@media (max-width: 1024px) {
  /* 2. IN GRID */
  .header-in-grid .content-wrapper {
    flex: 1 1 auto;
  }

  .header-in-grid .content {
    padding: 3.5rem;
  }

  /* 3. SPLIT */
  /* 3.2 Icons */
  .header-split .icons-inner {
    gap: 1rem;
  }
}

@media (max-width: 899px) {
  /* 3. SPLIT */
  .header-split .container {
    grid-template-columns: 1fr;
  }

  /* 3.1 Hero */
  .header-split .hero-wrapper {
    height: 45rem;
  }

  .header-split .hero-inner {
    max-width: inherit;
  }

  .header-split .column:first-child .hero-inner {
    margin-left: inherit;
  }

  /* 3.2 Icons */
  .header-split .icons-inner {
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .header-split .column:first-child .icons-inner {
    margin-left: inherit;
    grid-template-columns: 1fr;
  }

  .header-split .column:first-child .icons-inner::before {
    display: none;
  }

  .header-split .icon-wrapper {
    height: 8rem;
    padding-top: 0;
  }

  .header-split .icon {
    flex-direction: row;
  }

  .header-split .icon img {
    width: 5rem !important;
    height: 5rem !important;
  }

  .header-split .icon .title {
    width: 100%;
    max-width: 19rem;
    margin: 0 0 0 2rem;
    font-size: 1.7rem;
    text-align: left;
  }
}

@media (max-width: 767px) {
  /* 1. FULL WITH & LARGE */
  .header-full-width .container,
  .header-full-width.large .container {
    min-height: 45rem;
    padding-bottom: 3rem;
    align-items: flex-end;
  }

  .header-full-width .content-wrapper {
    text-align: left;
  }

  .header-full-width .btn {
    display: none;
  }

  /* 1.1 Goto ID */
  .header-full-width .goto-id {
    display: none;
  }

  /* 2. IN GRID */
  .header-in-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .header-in-grid .container {
    display: block;
  }

  .header-in-grid .image {
    padding-top: 100%;
  }

  .header-in-grid .image > * {
    border-radius: 0;
  }

  .header-in-grid .content-wrapper {
    margin: -6rem 2rem 0 0;
  }

  .header-in-grid .content {
    padding: 3.5rem 3rem 3.5rem 2rem;
    border-radius: 0 1.3rem 1.3rem 0;
  }

  .header-in-grid h1 {
    font-size: 3rem;
  }
}
