/*-- vars --*/
html {
  scroll-behavior: smooth;
}

html,
body {
  background: #fff;
  font-family: "Oswald", sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  margin-left: calc(100vw - 100%);
}

h1 {
  font-family: "Oswald", sans-serif;
  color: #fff;
  font-size: 56px;
  line-height: 60px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
}

@media (max-width: 992px) {
  h1 {
    font-size: 38px;
    line-height: 32px;
  }
}

h2 {
  font-family: "Oswald", sans-serif;
  color: #63756b;
  font-size: 30px;
  line-height: 36px;
  margin: 20px 0 20px 0;
  font-weight: 400;
}

@media (max-width: 992px) {
  h2 {
    font-size: 26px;
    line-height: 32px;
  }
}

h3 {
  font-family: "Oswald", sans-serif;
  color: #63756b;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 35px;
  font-weight: 400;
}

@media (max-width: 992px) {
  h3 {
    font-size: 20px;
    line-height: 26px;
  }
}

p {
  font-family: Arial, Helvetica, sans-serif;
  color: #63756b;
  font-size: 16px;
  line-height: 22px;
}

.bold-text {
  font-weight: 700;
}

a {
  font-family: Arial, Helvetica, sans-serif;
  color: #63756b;
  text-decoration: underline;
}

a:hover {
  color: #63756b;
}

.right-link {
  max-width: 190px;
}

.right-link:hover {
  color: #404c45;
  transition: all 0.2s ease;
}

@media (max-width: 992px) {
  .right-link {
    max-width: 100%;
  }
}

.p-link {
  font-family: "Roboto", sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  position: relative;
  padding: 0 20px 0 0;
  font-weight: 700;
  transition: all 0.2s ease;
}

.p-link:hover {
  color: #000;
  transition: all 0.2s ease;
}

.p-link:before {
  content: url(../img/p-link-arrow.svg);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  transition: all 0.2s ease;
}

.p-link:hover:before {
  right: -5px;
  transition: all 0.2s ease;
}

/*-- colors --*/
.bg-white {
  background: #fff;
}

.white {
  color: #fff !important;
}

.bg-lightgrey {
  background: #f4f6f5;
}

.bg-green {
  background: #63756b;
}

/*-- topbar --*/
.topbar {
  background: #63756b;
  padding: 40px 0;
  transition: all 0.2s ease;
}

.topbar.topbar-scroll {
  background: #ffffff !important;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- Logo Styring --- */
.logo-on-scroll {
  width: 110px;
  display: none;
}
.logo-default {
  width: 110px;
  display: block;
}

@media (max-width: 768px) {
  .logo-on-scroll,
  .logo-default {
    width: 85px;
  }
}

/* Logo bytter ved scroll */
.topbar-scroll .logo-on-scroll {
  display: block;
}
.topbar-scroll .logo-default {
  display: none;
}

/*-- Save job --*/
.jobad-element-myjob {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jobad-element-myjob a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
  background: #849089;
  padding: 15px 30px 15px 50px;
  display: block;
  text-decoration: none;
  margin-right: 10px;
  position: relative;
  transition: all 0.2s ease;
  border-radius: 5px;
}

.jobad-element-myjob svg {
  position: absolute;
  top: 50%;
  left: 35px;
  transform: translate(-50%, -50%);
}

.jobad-element-myjob:hover a {
  background: #5b6d63;
  color: #fff;
}

body.topbar-scroll .jobad-element-myjob a {
  background: #849089 !important;
  color: #fff !important;
}

@media (max-width: 992px) {
  .jobad-element-myjob a {
    padding: 15px 20px 15px 45px;
  }

  .jobad-element-myjob svg {
    left: 30px;
  }
}

/*-- Apply button (Den hvide/pink knap) --*/
.jix_onlineapplication_button .button {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #63756b;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  border: 0;
  padding: 15px 65px 15px 30px;
  position: relative;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border-radius: 5px;
}

.jix_onlineapplication_button .button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../img/arrow-right-green.svg") no-repeat center / contain;
  transition: all 0.2s ease;
}

@media (max-width: 992px) {
  .jix_onlineapplication_button .button {
    padding: 15px 50px 15px 20px;
  }
}

/*-- Ændring af knap styling ved scroll --*/
body.topbar-scroll .jix_onlineapplication_button .button {
  background: #c1476e !important;
  color: #fff !important;
}

body.topbar-scroll .jix_onlineapplication_button .button::after {
  background-image: url("../img/arrow-right-white.svg") !important;
}

body.topbar-scroll .apply-last .jix_onlineapplication_button .button {
  background: #fff !important;
  color: #63756b !important;
  border: 1px solid #63756b;
}

body.topbar-scroll .apply-last .jix_onlineapplication_button .button::after {
  background-image: url("../img/arrow-right-green.svg") !important;
}

/*-- Hover effekter --*/
.jix_onlineapplication_button .button:hover,
body.topbar-scroll .jix_onlineapplication_button .button:hover,
body.topbar-scroll .apply-last .jix_onlineapplication_button .button:hover {
  background: #a13659 !important; /* En lidt mørkere pink ved hover */
  color: #fff !important;
}

.jix_onlineapplication_button .button:hover::after {
  background-image: url("../img/arrow-right-white.svg") !important;
}

/* Hero */
.hero-section {
  background-color: #63756b;
  padding: 15rem 0 0 0;
  position: relative;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 8rem 0 0 0;
  }
}

.hero-subtitle {
  font-family: "Oswald", sans-serif;
  font-weight: 100;
  color: #fff;
  font-size: 22px;
  line-height: 28px;
}

.overlap-image-container {
  margin-bottom: -100px;
  z-index: 10;
  position: relative;
}

@media (max-width: 1200px) {
  .overlap-image-container {
    margin-bottom: 3rem;
  }
}

/*-- First text --*/
.first-text {
  margin-top: 10rem;
}

@media (max-width: 1200px) {
  .first-text {
    margin-top: 3rem;
  }
}

/*-- Jix info--*/
.jix-info {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  background: #f4f6f5;
  padding-top: 5rem;
}

@media (max-width: 992px) {
  .jix-info {
    width: 100%;
    position: static;
    padding-top: 3rem;
  }
}

.detail-item {
  border-bottom: 1px solid rgba(99, 117, 107, 0.1);
  padding: 20px 0;
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 700;
  font-size: 14px;
  color: #63756b;
}

.detail-value {
  font-size: 14px;
  color: #63756b;
}

.toolbar-sektion {
  max-width: 2200px;
  margin: 0 auto;
}

/*-- List --*/
.list {
  list-style: none;
  padding: 0;
}

.list li {
  background-color: #f4f6f5;
  color: #89938c;
  margin-bottom: 1rem;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.list li::before {
  content: "•";
  color: #d63384;
  font-size: 2rem;
  margin-right: 20px;
  line-height: 0;
}

ul.white-list.list li {
  background: #fff;
}

/*--Video --*/
.video-wrapper {
  height: 100%;
  width: 100%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .video-wrapper {
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
  }

  .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
  }

  .video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
  }
}

/*-- Vector text --*/
.team-svg-wrapper,
.offer-svg-wrapper {
  position: absolute;
  top: 6rem;
  transform: translateX(20%);
  pointer-events: none;
  z-index: 1;
}

.team-svg-wrapper,
.offer-svg-wrapper {
  left: 60%;
}

@media (max-width: 1800px) {
  .offer-svg-wrapper {
    left: 40%;
  }
}

@media (max-width: 1800px) {
  .team-svg-wrapper {
    left: 32%;
  }
}

@media (max-width: 1200px) {
  .team-svg-wrapper {
    left: 20%;
  }
}

@media (max-width: 1200px) {
  .offer-svg-wrapper {
    left: -5%;
  }
}

@media (max-width: 992px) {
  .team-svg-wrapper,
  .offer-svg-wrapper {
    left: 0;
    top: 3rem;
  }
}

@media (max-width: 768px) {
  .team-svg-wrapper {
    top: 0;
    left: auto;
    right: -5.5rem;
    position: relative;
    transform: none;
    margin-bottom: 1rem;
  }
  .offer-svg-wrapper {
    top: 0;
    left: auto;
    right: -1rem;
    position: relative;
    transform: none;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .team-svg-wrapper {
    right: -28%;
  }
  .offer-svg-wrapper {
    right: -5%;
  }
}

.team-svg-wrapper img,
.offer-svg-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .offer-svg-wrapper img {
    height: 100px;
    margin-bottom: 2rem;
  }

  .team-svg-wrapper img {
    height: 84px;
    margin-bottom: 2rem;
  }
}

/*-- curious --*/
.video-wrapper-last {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  color: white;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.svg-height {
  height: 250px;
}

@media (max-width: 768px) {
  .svg-height {
    height: 8rem;
  }
}

.curious-svg-wrapper {
  position: absolute;
  left: 0;
  top: 5rem;
  margin-bottom: 5rem;
  transform: translateX(20%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 1200px) {
  .curious-svg-wrapper {
    left: -40%;
  }
}

@media (max-width: 992px) {
  .curious-svg-wrapper {
    top: 3rem;
  }
}

@media (max-width: 768px) {
  .curious-svg-wrapper {
    left: auto;
    right: -2rem;
  }
}

.curious-svg-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .curious-svg-wrapper {
    position: relative;
    transform: none;
    margin-bottom: 1rem;
  }
  .curious-svg-wrapper img {
    height: 100px;
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(193, 71, 110, 0.7);
  z-index: 2;
}

.apply-last {
  padding: 0 2.6rem 4rem 2.6rem;
}

.video-content {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 500px;
}

/*-- quotes --*/
.quote,
blockquote,
.blockquote-small {
  padding: 50px;
}

@media (max-width: 992px) {
  .quote,
  blockquote,
  .blockquote-small {
    padding: 3rem 30px;
  }
}

.quote p,
blockquote p,
.blockquote-small p {
  color: #63756b;
  font-size: 30px !important;
  line-height: 36px !important;
  font-style: normal !important;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  margin: 0 0 15px;
}

@media (max-width: 992px) {
  .quote p,
  blockquote p,
  .blockquote-small p {
    font-size: 20px !important;
    line-height: 28px !important;
    margin: 0 0 15px;
  }
}

.quote p:before,
blockquote p:before,
.blockquote-small p:before {
  content: url(../img/quote-icon.svg) !important;
  display: block;
  margin: 0 0 30px;
}

.white-quote.quote p:before {
  content: url(../img/quote-icon-white.svg) !important;
}

@media (max-width: 992px) {
  .quote p:before,
  blockquote p:before,
  .blockquote-small p:before {
    content: url(../img/quote-icon-small.svg) !important;
  }

  .white-quote .quote p:before {
    content: url(../img/quote-icon-small-white.svg) !important;
  }
}

.quote footer,
.quote span,
blockquote footer,
blockquote span,
.blockquote-small footer,
.blockquote-small span {
  font-family: Arial, Helvetica, sans-serif;
  color: #63756b;
  font-weight: 300;
  font-size: 14px !important;
  line-height: 20px !important;
  left: 0 !important;
  margin-left: 0 !important;
}

.quote footer:before,
blockquote footer:before,
.blockquote-small footer:before {
  content: none !important;
}

/*-- quote-small --*/
.quote-small {
  background: none;
  padding: 0;
}

.quote-small p {
  font-size: 20px !important;
  line-height: 26px !important;
  font-style: italic !important;
}

@media (max-width: 992px) {
  .quote-small p {
    font-size: 18px !important;
    line-height: 24px !important;
  }
}

.quote-small p:before {
  content: url(../img/quote-icon-small.svg) !important;
}

.bg-green .quote-small p:before {
  content: url(../img/quote-icon-small-white.svg) !important;
}

/*-- footer --*/
.container-wrapper {
  max-width: 1140px;
  margin: 0 auto;
}
.footer-link {
  position: absolute;
  right: 5rem;
  max-width: 100% !important;
}

@media (max-width: 992px) {
  .footer-link {
    margin-top: 3rem;
    position: static;
  }

  .footer p {
    font-size: 15px;
    line-height: 20px;
  }
}

/*-- ScrollTrigger GSAP --*/
.fade-up,
.fade-up-two,
.fade-up-three {
  opacity: 0;
  transform: translate(0, 70px);
}

.fade-down,
.fade-down-two,
.fade-down-three {
  opacity: 0;
  transform: translate(0, -70px);
}

.fade-in,
.fade-in-two,
.fade-in-three {
  opacity: 0;
  position: relative;
  z-index: 60;
}

.scrub-text-big {
  transform: translate(-200px, 0);
}

@media (max-width: 768px) {
  .scrub-text-big {
    transform: translate(0, 0) !important;
  }
}
