@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body {
  width: 100%;
  height: 100dvh; /* <-- ændret fra 100vh */
  font-family: 'Inter', sans-serif;
  overflow: auto; /* i stedet for hidden, for mobile */
  z-index: 0;
}

/* ---------- VIDEO BACKGROUND ---------- */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: -1; /* bag alt indhold */
}

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

/* ---------- LAYOUT / SECTIONS ---------- */
#section {
  width: 100%;
  height: 100dvh;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-section {
  position: relative;
  padding: 2rem;
  height: 100dvh; /* <-- ændret fra 100vh */
}

.top-left,
.top-right,
.bottom-left,
.bottom-right,
.center-text {
  position: absolute;
  font-size: 0.6em;
  color: #FFF;
  letter-spacing: 0.05em;
}

.top-left {
  top: 2rem;
  left: 2rem;
  text-align: left;
  font-size: 0.7em;
  line-height: 1.4em;
}

.top-right {
  top: 2rem;
  right: 2rem;
  text-align: right;
  max-width: 300px;
  line-height: 1.4em;
}

.bottom-left {
  bottom: 2rem;
  left: 2rem;
  line-height: 1.4em;
  z-index: 10;
}

.bottom-left p  {
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  padding-bottom: 8px;
}

.footer-container {
  position: relative;
  width: 100%;
  padding: 2rem;
}

/* Sørg for at både ikoner og copyright er i nederste højre hjørne */
.bottom-right {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  text-align: right;
  line-height: 1.1em;
}

.bottom-right p  {
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  padding-bottom: 3px;
  line-height: 1.4em;
}

.row {
  display: flex;
  justify-content: flex-end; /* Justér kolonnerne mod højre */
  gap: 8px; /* Giver jævn afstand mellem kolonnerne */
}

.column {
  flex: 0 0 auto; /* Gør kolonnerne til deres naturlige størrelse */
}

.column img {
  width: 18px; /* Brug fast størrelse for ikoner */
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}


.column a:hover img {
  transform: scale(1.2); /* GÃ¸r ikonet 1.2 gange stÃ¸rre */
  filter: brightness(1.2); /* GÃ¸r billedet lidt lysere */
}


.center-text {
  font-family: 'Inter', sans-serif;
  color: #FFF;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.8em;
  line-height: 1.4;
}

.title-sub {
  width: 315px;
  margin: 0 auto;
  font-size: 0.8em;
  font-weight: normal;
  letter-spacing: 0.05em;
}

.dk-flag {
  width: 12px;
  vertical-align: middle;
  margin-left: 1px;
  border-radius: 1px; /* Runde hjørner */
  margin-bottom: 2px;
}

.mobile-gif {
  display: none;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}



/* ---------- LINKS + STRIKETHROUGH ---------- */
ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

a,
a:visited,
a:active {
  color: white;
  text-decoration: none !important;
  position: relative;
  font-size: 1em;
  display: inline-block;
  z-index: 1;
  pointer-events: auto;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

a:hover::after {
  transform: scaleX(1);
}

a.no-strike::after {
  display: none;
}

a.no-strike::after,
a.no-strike:hover::after {
  display: none !important;
}

a.no-strike::after,
a.no-strike:hover::after {
  display: none !important;
}

.top-right ul li a {
  transition: color 0.3s ease;
}

.bottom-left a {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

/* ---------- FOOTER ---------- */
.bottom-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.footer-click-area {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 15px;
  color: #fff;
  font-size: 0.6rem;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
}

.footer-text {
  margin-right: 5px;
  font-size: 0.6rem;
}

.footer-icon {
  width: 120px;
  height: auto;
  margin-bottom: 1px;
  display: block;
}

/* Hoppe-animation på billede 1 */
.default-img {
  animation: bounce 1.2s infinite;
}


/* Bounce keyframes */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    animation-timing-function: ease-in;
  }
  50% {
    transform: translateY(-10px);
    animation-timing-function: ease-out;
  }
}

.slide-overlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-image: url(images/overlay-bg.png);
  background-size: cover; /* Tilpasser billedet til skærmen */
  background-position: center; /* Centrerer billedet */
  color: #000;
  transition: bottom 0.5s ease;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.slide-overlay.active {
  bottom: 0;
}

.slide-content {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  text-align: center;
  gap: 2px;
}

.slide-content h1 {
  font-size: 0.7rem;
  margin: 0;
}

.slide-content p {
  font-family: 'Inter', sans-serif;
  width: 300px;
  font-size: 0.65em;
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.slide-gif {
  max-width: 200px;
  margin-bottom: 8px; 
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: grayscale(100%);
}


.button-group {
  display: flex;
  gap: 105px;
  justify-content: center;
  position: absolute;
  bottom: 223px; /* Placerer knapperne 30px fra bunden */
  left: 50%; /* Centrerer knapperne horisontalt */
  transform: translateX(-50%); /* Justerer knapperne så de er perfekt centreret */
}

/* Fælles stil for begge knapper */
#closeSlide,
#downloadCV {
  background: transparent;
  border: 1px solid #000;
  padding: 6px 12px;
  font-size: 0.7rem;
  cursor: pointer;
  color: #000;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  line-height: normal;
  margin-top: 4px;
}

/* Hover-effekt */
#closeSlide:hover,
#downloadCV:hover {
  background-color: #000;
  color: #FFF;
}




/* ---------- RESPONSIVE ---------- */
@media only screen and (max-width: 768px) {
  
  header {
    width: 100%;
    height: 1px;
    background-color: black;
  }

.video-container {
  display: none;
}
  
  .bg-video {
  display: none;
}

.top-right {
  z-index: 1;
}

 .mobile-gif {
  width: 300px;
  display: block;

}

#section {
  background-color: black;
  width: 100%;
  height: 100dvh;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

  .bottom-footer {
  padding-bottom: env(safe-area-inset-bottom); /* for iPhones med notch */
}

}