/* @2025 - Steffen Klausen - steffen@klausenguldbaek.dk*/
/* - * - * - * - * - * - * - * - * - * - * - * - * */
/* HEADER STYLING */

.header {
  height: 100vh;
  position: relative;
}

.header_backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;

  height: 100%;
  z-index: -1;
  background-image: url(../assets/img/header.png);
  /* background-image: linear-gradient(rgba(265, 265, 265, 0.7), rgba(265, 265, 265, 0.5)), url(./assets/img/header.png); */
  /* background-image: linear-gradient(rgba(213, 162, 111, 0.9), rgba(180, 145, 40, 0.8)); */
  background-size: cover; /* fits the image */
  background-position: center;
  /* clip-path: ellipse(100% 95% at 50% 0); */
}

.header_backdrop-image {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 90vw;
  max-width: 550px;
  aspect-ratio: 1;
  background-image: linear-gradient(rgba(265, 265, 265, 0.7), rgba(265, 265, 265, 0.5)), url(../assets/img/header.png);
  background-size: cover; /* fits the image */
  background-position: center;

  /* --_m: radial-gradient(#000 70%, #0000 70%) 84.5%/50%;
    -webkit-mask-box-image: var(--_m);
    mask-border: var(--_m);
    clip-path: polygon(-42% 0, 50% 91%, 141% 0); */
  /* clip-path: polygon(50% 0%, 100% 0, 100% 60%, 50% 100%, 0 60%, 0 0); */
  mask: radial-gradient(at 70% 31%, #000 29%, #0000 30%), radial-gradient(at 30% 31%, #000 29%, #0000 30%), linear-gradient(#000 0 0) bottom/100% 50% no-repeat;
  clip-path: polygon(-41% 0, 50% 91%, 140% 0);
}

/* .header_backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(265, 265, 265, 0.7), rgba(265, 265, 265, 0.5)), url(./assets/img/tmp.jpg); */
/* background-image: linear-gradient(rgba(213, 162, 111, 0.9), rgba(180, 145, 40, 0.8)), url(./assets/img/tmp.jpg); */
/* background-size: contain; /* fits the image */
/* background-position: center;
    background-repeat: no-repeat;
    max-width: 1000px; or your desired max width */
/* clip-path: ellipse(100% 95% at 50% 0); 
  } */

.header_logo {
  position: fixed;
  z-index: 1000;
}

.logo {
  height: 32px;
}

.header_welcome {
  position: absolute;

  bottom: 5%;
  left: 5%;
  height: 200px;
  width: 400px;
  /* background-color: #4b8c00; */
  text-align: center;
}

.header-top {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #9243ab;
  font-size: 1.5rem;
}

@media (max-width: 1000px) {
  .header-top {
    font-size: 3rem;
  }
}

.header_welcome-names {
  display: block;
  white-space: nowrap;
  font-size: 6rem;
  width: 300px;
  color: #d8c5f1;

  :first-child {
    position: absolute;
    top: 20%;
    left: 30%;
    transform: translate(-50%, -50%);
  }

  :nth-child(2) {
    position: absolute;
    top: 50%;
    left: 60%;
    font-size: 10rem;
    font-family: 'Work Sans', sans-serif;
    color: rgba(216, 197, 241, 0.6);
    transform: translate(-50%, -50%);
  }

  :last-child {
    bottom: 10%;
    right: 20%;
    position: absolute;
    transform: translate(50%, 30%);
  }
}

.header_welcome-year {
  display: block;
  font-size: 32px;
  transform: translate(0, -10px);
}

.header_savethedate {
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;

  line-height: 1.4;
  text-align: center;
}

.header_savethedate-title {
  display: block;
  font-size: 1.5rem;
}

.header_savethedate-date {
  display: block;
  font-size: 1.2rem;
}

.header_savethedate-hearts {
  display: block;
  font-size: 1.2rem;
  line-height: 2rem;
}
