@charset "UTF-8";
@font-face {
  font-family: KelvinchBold;
  src: url(fonts/Kelvinch-Bold.otf);
}
@font-face {
  font-family: KelvinchRegular;
  src: url(fonts/Kelvinch-Roman.otf);
}
@font-face {
  font-family: kelvinchItalic;
  src: url(fonts/Kelvinch-Italic.otf);
}
@font-face {
  font-family: kelvinchBoldItalic;
  src: url(fonts/Kelvinch-BoldItalic.otf);
}
body {
  background-color: #2A2A2A;
  color: #6FA391;
  font-family: "KelvinchRegular";
  margin: 0;
  white-space: normal;
}

a {
  color: #6FA391;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  background-color: rgb(16.5, 16.5, 16.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  color: #6FA391;
  position: relative;
  border-bottom: 2px solid #6FA391;
}

.nav-links {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #6FA391;
  text-decoration: none;
  font-size: 1.5rem;
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 25px;
  z-index: 2001;
  /* sørger for at burgeren altid er øverst */
}

.burger .fa-solid .fa-bars {
  display: flex;
  width: 25px;
  background-color: white;
  border-radius: 5px;
}

.lang-burger-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 2rem;
  justify-content: flex-end;
  flex: 1;
  /* fylder den resterende plads mellem logo og navigation */
}

#languageSwitcher {
  background-color: rgb(16.5, 16.5, 16.5);
  color: #6FA391;
  border: 2px solid #6FA391;
  border-radius: 10px;
  padding: 0.1em;
  justify-content: space-between;
  /* logo til venstre, menu til højre */
  flex-wrap: wrap;
  /* tillad linjeskift hvis nødvendigt */
  font-size: 1.1em;
  cursor: pointer;
  z-index: 1002;
  /* sørger for at dropdown-menuen altid er øverst */
}
#languageSwitcher:focus {
  outline: none;
  border-color: rgb(142.1186440678, 182.8813559322, 168.7711864407);
  box-shadow: 0 0 5px rgb(142.1186440678, 182.8813559322, 168.7711864407);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background-color: rgb(16.5, 16.5, 16.5);
  text-align: center;
  padding: 1em 0;
  border-top: 2px solid #6FA391;
  font-size: 0.9em;
  margin-top: 2em;
}

h1,
h2 {
  font-family: "KelvinchBold";
  margin: 0.5em 0;
}

h1 {
  font-size: 2.5em;
  margin: 0.2em 0;
}

h2 {
  font-size: 2em;
  margin: 0.2em 0;
}

p {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0.2em 0;
}

.logo-img {
  height: 70px;
  width: auto;
}

.btn {
  display: inline-block;
  background-color: #6FA391;
  color: #2A2A2A;
  padding: 0.5em 1em;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 1em 0;
}
.btn:hover {
  background-color: rgb(165.225, 163.65, 155.775);
  color: rgb(67.5, 67.5, 67.5);
  text-decoration: none;
}

.hero {
  width: 100%;
  height: auto;
  margin-bottom: 2em;
  border-bottom: 2px solid #6FA391;
}

.main-section {
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.project-card {
  background-color: rgb(29.25, 29.25, 29.25);
  padding: 1em;
  border-radius: 10px;
  border: 5px solid #6FA391;
}

.project-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.img-seperator, .img-seperator-project, .img-seperator-about, .img-seperator-contact {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 95%;
  height: 10rem;
  min-height: 10rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 2em;
  margin: 2em auto;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.img-seperator h1, .img-seperator-project h1, .img-seperator-about h1, .img-seperator-contact h1 {
  font-size: 2.5em;
  color: rgb(204.3559322034, 222.6440677966, 216.313559322);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin: 0;
  z-index: 2;
}

#projects-banner {
  background-image: url("img/projects-banner.png");
}

#about-me-banner {
  background-image: url("img/about-me-banner.png");
}

#kontakt-mig-banner {
  background-image: url("img/contact-banner.png");
}

.content-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3em;
}

.me-img {
  width: 95%;
  height: auto;
  border-radius: 10px;
  border: 5px solid #6FA391;
}

.img-txt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-me-txt {
  width: 87%;
  padding: 1em;
  border-radius: 10px;
  text-align: justify;
}
.about-me-txt .btn {
  float: right;
}

.my-skills {
  width: 85%;
  margin-left: 1.5em;
  background-color: rgb(16.5, 16.5, 16.5);
  padding: 2em;
  border-radius: 10px;
  border: 5px solid #6FA391;
  text-align: justify;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.my-skills p {
  width: 90%;
  margin: 0.5em 5em 0.5em 0em;
  text-align: left;
}

.icon {
  width: 40%;
  margin: 0.5em 0em 0.5em 5em;
}

.lupix-gif {
  position: absolute;
  top: 22.5rem;
  right: 25rem;
}

.kontakt-mig {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  padding: 2em;
  max-width: 100%;
  margin: 0 auto 2em auto;
}

.kontakt-formular {
  background-color: rgb(16.5, 16.5, 16.5);
  padding: 2em;
  border-radius: 10px;
  border: 5px solid #6FA391;
  text-align: left;
  height: auto;
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.kontakt-img {
  width: 297px;
  height: 360px;
  border-radius: 10px;
}

#inputfelt {
  width: 97%;
  padding: 0.5em;
  margin: 0.5em 0;
  border: 2px solid #6FA391;
  border-radius: 10px;
  background-color: rgb(29.25, 29.25, 29.25);
  color: #6FA391;
  font-size: 1.1em;
}
#inputfelt:focus {
  outline: none;
  border-color: rgb(142.1186440678, 182.8813559322, 168.7711864407);
  box-shadow: 0 0 5px rgb(142.1186440678, 182.8813559322, 168.7711864407);
}

#stort-inputfelt {
  height: 150px;
  width: 97.5%;
  padding: 0.5em;
  margin: 0.5em 0;
  border: 2px solid #6FA391;
  border-radius: 10px;
  background-color: rgb(29.25, 29.25, 29.25);
  color: #6FA391;
  font-size: 1.1em;
}

.btn-kontakt {
  width: 100%;
  margin-top: 1em;
  background-color: #6FA391;
  color: #2A2A2A;
  border: none;
  padding: 0.7em 1.5em;
  border-radius: 10px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-kontakt:hover {
  background-color: rgb(165.225, 163.65, 155.775);
  color: rgb(67.5, 67.5, 67.5);
}

.footer-info {
  padding: 0 1em;
  border-right: 1px solid #6FA391;
}
.footer-info:last-child {
  border-right: none;
}
.footer-info p {
  margin: 0.5em 0;
}

#footer-left {
  text-align: left;
  margin: 2em 0 2em 3em;
  padding-top: 1em;
}

#footer-center {
  text-align: center;
  margin: 2em 0 2em 3em;
}

#footer-right {
  text-align: center;
  margin: 2em auto;
  padding-top: 5em;
}

.social-icon {
  width: 30px;
  height: 30px;
  margin: 0 0.5em;
  transition: transform 0.3s ease;
}
.social-icon:hover {
  transform: scale(1.1);
}

.hero-project {
  width: 100%;
  height: auto;
  margin-bottom: 2em;
  border-bottom: 2px solid #6FA391;
}

#case-nordic-aspire {
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  background-color: rgb(16.5, 16.5, 16.5);
  border-radius: 10px;
  border: 2px solid #6FA391;
  text-align: justify;
}
#case-nordic-aspire h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
#case-nordic-aspire p {
  font-size: 1.1em;
  line-height: 1.6;
}

.project-details {
  padding: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  background-color: rgb(16.5, 16.5, 16.5);
  border-radius: 10px;
  text-align: justify;
}
.project-details h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.project-details p {
  font-size: 1.1em;
  line-height: 1.6;
}

/* Klikbart billede */
.clickable-img {
  max-width: 100%;
  height: 14rem;
  border-radius: 10px;
  border: 1px solid #6FA391;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.clickable-img:hover {
  transform: scale(1.05);
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#overlay-content {
  position: relative;
  display: inline-block;
  /* så billeder kan overlappe */
}

/* Hovedbillede */
#overlay-img {
  max-width: 85%;
  max-height: 95%;
  display: block;
  position: relative;
  z-index: 1;
  /* øverst */
}

/* Supplerende billede */
#extra-img {
  max-width: 25%;
  max-height: 40%;
  position: absolute;
  top: 80%;
  /* midt på højden af overlay-content */
  right: 50px;
  /* overlapper 20px ud over main billedet */
  transform: translateY(-50%);
  /* centrer vertikalt */
  z-index: 2;
  /* over main billedet */
}

.hide-img {
  display: none;
}

#close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.clickable-img {
  width: 100%;
  max-width: 100%;
  height: 14rem;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid #6FA391;
  transition: transform 0.3s ease;
}

#project-outcome {
  position: relative;
  z-index: 1;
  padding: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  background-color: rgb(16.5, 16.5, 16.5);
  border-radius: 10px;
  text-align: justify;
}
#project-outcome h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
#project-outcome p {
  font-size: 1.1em;
  line-height: 1.6;
}
#project-outcome .outcome-img {
  position: absolute;
  width: 16.5%;
  top: 80%;
  right: 550px;
  transform: translateY(-50%);
  z-index: 2;
}

.project-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #6FA391;
}

/* ------------------------------------------- RESPONSIVE --------------------------------------- */
@media (max-width: 768px) {
  /* Skjul menuen som standard */
  .nav-links {
    display: none;
  }
  /* Når menuen er aktiv */
  .nav-links.active {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    /* kun i headeren */
    top: 4.5rem;
    right: 0;
    height: 40%;
    /* fylder headerens højde */
    width: 90%;
    /* fylder hele headerens bredde */
    background-color: transparent;
    /* Baggrundsfarve for menuen */
    padding: 1rem;
    gap: 1rem;
    z-index: 1000;
  }
  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
    width: 90%;
  }
  /* Vis burgeren */
  .burger {
    display: flex;
  }
  #languageSwitcher {
    background-color: rgb(16.5, 16.5, 16.5);
    color: #6FA391;
    border: 2px solid #6FA391;
    border-radius: 10px;
    padding: 0.1em;
    margin-bottom: 1.5rem;
    margin-right: 0;
    font-size: 1.1em;
    cursor: pointer;
    z-index: 1002;
    /* sørger for at dropdown-menuen altid er øverst */
  }
  #languageSwitcher:focus {
    outline: none;
    border-color: rgb(142.1186440678, 182.8813559322, 168.7711864407);
    box-shadow: 0 0 5px rgb(142.1186440678, 182.8813559322, 168.7711864407);
  }
  .my-skills {
    width: 75%;
    margin: 0 auto;
    background-color: rgb(16.5, 16.5, 16.5);
    padding: 2em;
    border-radius: 10px;
    border: 5px solid #6FA391;
    text-align: justify;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
  }
  .my-skills p {
    display: none;
    width: 90%;
    margin: 0.5em 5em 0.5em 0em;
    text-align: left;
  }
  .icon {
    width: 40%;
    margin: 0.5em auto;
  }
  .lupix-gif {
    display: none;
  }
  .kontakt-formular {
    background-color: rgb(16.5, 16.5, 16.5);
    padding: 2em;
    border-radius: 10px;
    border: 5px solid #6FA391;
    text-align: left;
    height: auto;
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #inputfelt {
    width: 90%;
    padding: 0.5em;
    margin: 0.5em 0;
    border: 2px solid #6FA391;
    border-radius: 10px;
    background-color: rgb(29.25, 29.25, 29.25);
    color: #6FA391;
    font-size: 1.1em;
  }
  #inputfelt:focus {
    outline: none;
    border-color: rgb(142.1186440678, 182.8813559322, 168.7711864407);
    box-shadow: 0 0 5px rgb(142.1186440678, 182.8813559322, 168.7711864407);
  }
  #stort-inputfelt {
    height: 150px;
    width: 90.5%;
    padding: 0.5em;
    margin: 0.5em 0;
    border: 2px solid #6FA391;
    border-radius: 10px;
    background-color: rgb(29.25, 29.25, 29.25);
    color: #6FA391;
    font-size: 1.1em;
  }
  .kontakt-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #footer-center {
    border-left: 1px solid #6FA391;
    margin: 2em auto;
  }
  #footer-center p {
    font-size: 0.95em;
  }
  #footer-left {
    margin: 2em auto;
  }
  #footer-right {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 2em auto;
    padding-top: 4em;
  }
  #img-seperator {
    background-image: url(img/temp-hero.png);
    display: grid;
    width: 100%;
    height: 8rem;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5em;
    margin: 2em 0;
  }
  #img-seperator img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-top: 1rem;
  }
}
.hidden-section {
  display: none;
}

/* ------------------------------------------- KEMI --------------------------------------- */
#case-kemi {
  white-space: normal;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  background-color: rgb(16.5, 16.5, 16.5);
  border-radius: 10px;
  border: 2px solid #6FA391;
  text-align: justify;
}
#case-kemi h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
#case-kemi p {
  font-size: 1.1em;
  line-height: 1.6;
}

.project-details-KEMI {
  padding: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
}
.project-details-KEMI img {
  width: 100%;
  height: 14rem;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.project-details-KEMI img:hover {
  transform: scale(1.05);
}

.clickable-item {
  width: 100%;
  max-width: 100%;
  height: 14rem;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid #6FA391;
  transition: transform 0.3s ease;
}

/* Overlay */
#overlay-KEMI {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#overlay-content-KEMI {
  position: relative;
  text-align: center;
}

#overlay-img-KEMI {
  max-width: 90%;
  max-height: 90%;
  display: none;
  /* vises kun hvis det er et billede */
}

#overlay-video-KEMI {
  max-width: 85%;
  /* større */
  max-height: 80%;
  margin: 0 auto;
  display: none;
  /* vises kun hvis det er video */
}

#close-KEMI {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

#project-outcome-pwa {
  position: relative;
  z-index: 1;
  padding: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  max-width: 1200px;
  margin: 0 auto 2em auto;
  background-color: rgb(16.5, 16.5, 16.5);
  border-radius: 10px;
  border: 2px solid #6FA391;
  text-align: justify;
  white-space: normal;
}

.project-video-pwa {
  width: 50%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #6FA391;
  margin-top: 1em;
  margin-left: 15em;
}

.outcome-img-kemi {
  position: absolute;
  width: 20%;
  top: 60%;
  right: 390px;
  transform: translateY(-50%);
  z-index: 2;
}

.main-section-ommig {
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 0.2fr 0.2fr;
  gap: 0px 0px;
  grid-template-areas: "my-img about-me-section" "timeline-section skills-section";
  gap: 2em;
  white-space: normal;
}

#about-me-section {
  grid-area: about-me-section;
  width: 90%;
  height: auto;
  margin-left: 1.5em;
  gap: 2em;
  background-color: rgb(16.5, 16.5, 16.5);
  padding: 2em;
  border-radius: 10px;
  border: 5px solid #6FA391;
  text-align: justify;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "column1 column2";
  position: relative;
  margin: 0 auto;
  white-space: pre-wrap;
}
#about-me-section p {
  margin: 0.5em 0;
  text-align: justify;
  line-height: 1.6;
  white-space: pre-wrap;
}

.column1 {
  grid-area: column1;
  width: 100%;
  font-size: 1.1em;
  white-space: pre-wrap;
  text-align: justify;
  line-height: 1.6;
  padding-right: 1em;
}

.column2 {
  grid-area: column2;
  width: 100%;
  font-size: 1.1em;
  white-space: pre-wrap;
  text-align: justify;
  line-height: 1.6;
  padding-left: 1em;
}

#my-img {
  grid-area: my-img;
  width: 85%;
  margin-left: 1.5em;
  position: relative;
}
#my-img p {
  width: 90%;
  margin: 0.5em 5em 0.5em 0em;
  text-align: left;
}

.my-img {
  width: 85%;
  height: auto;
  background-color: rgb(16.5, 16.5, 16.5);
  padding: 2em;
  border-radius: 50%;
  border: 2px solid #6FA391;
  text-align: justify;
}

.my-img-caption {
  width: 100%;
  font-size: 2em;
  text-align: center;
  color: rgb(204.3559322034, 222.6440677966, 216.313559322);
  margin: 0 auto 1em auto;
  white-space: normal;
}

#download-cv {
  position: absolute;
  bottom: -1em;
  right: 1em;
  background-color: #6FA391;
  color: #2A2A2A;
  padding: 0.5em 1em;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
#download-cv:hover {
  background-color: rgb(165.225, 163.65, 155.775);
  color: rgb(67.5, 67.5, 67.5);
  text-decoration: none;
}

#timeline-section {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 950px;
  /* begræns højden */
  grid-area: timeline-section;
  width: 85%;
  margin-left: 1.5em;
  background-color: rgb(16.5, 16.5, 16.5);
  padding: 2em;
  border-radius: 10px;
  border: 5px solid #6FA391;
  text-align: justify;
  display: flex;
  position: relative;
  white-space: pre-wrap;
}

/* Scrollbar styling – Chrome, Edge, Safari */
#timeline-section::-webkit-scrollbar,
#skills-ommig::-webkit-scrollbar {
  width: 10px;
  /* bredden af scrollbar */
}

#timeline-section::-webkit-scrollbar-track,
#skills-ommig::-webkit-scrollbar-track {
  background: rgb(86.9322033898, 136.0677966102, 119.0593220339);
  /* baggrund inde i scroll-området */
  border-radius: 10px;
}

#timeline-section::-webkit-scrollbar-thumb,
#skills-ommig::-webkit-scrollbar-thumb {
  background-color: #6FA391;
  /* selve "håndtaget" */
  border-radius: 10px;
}

#timeline-section::-webkit-scrollbar-thumb:hover,
#skills-ommig::-webkit-scrollbar-thumb:hover {
  background: #6FA391;
  /* farve når man hover */
}

/* Scrollbar styling – Firefox */
#timeline-section,
#skills-ommig {
  scrollbar-width: thin;
  /* thin | auto | none */
  scrollbar-color: rgb(67.0508474576, 104.9491525424, 91.8305084746) #6FA391;
  /* thumb | track */
}

.timeline-section::-webkit-scrollbar,
.skills-ommig::-webkit-scrollbar {
  width: 1px;
  background-color: rgb(16.5, 16.5, 16.5);
  /* Farve på scrollbar baggrund */
  color: #6FA391;
}

#img-mascot {
  grid-area: img-mascot;
  height: auto;
  margin: 0 auto;
}

.mascot {
  grid-area: img-mascot;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.mascot-phone {
  display: none;
  grid-area: img-mascot;
}

#skills-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.1fr 0.5fr;
  gap: 0.2rem 0px;
  grid-template-areas: "skillss" "img-mascot";
  grid-area: skills-section;
  width: 100%;
  margin-left: 0.4em;
  white-space: normal;
}

#skills-ommig {
  background-color: rgb(16.5, 16.5, 16.5);
  height: 400px;
  padding: 2em;
  padding-bottom: 5em;
  border-radius: 10px;
  border: 5px solid #6FA391;
  text-align: justify;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1em;
  grid-template-areas: "header header" "skills skills";
  position: relative;
  margin: 0 auto 0.2rem auto;
  white-space: normal;
  width: 85%;
  grid-area: skillss;
}
#skills-ommig h2 {
  grid-area: header;
  margin-bottom: 1em;
  text-align: center;
  white-space: normal;
}
#skills-ommig .skills-container {
  grid-area: skills;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2em;
  justify-items: center;
  align-items: center;
  text-align: justify;
  white-space: normal;
}

#skill-icon1 {
  grid-column: 1;
  grid-row: 1;
}

#skill-icon2 {
  grid-column: 2;
  grid-row: 1;
}

#skill-icon3 {
  grid-column: 1;
  grid-row: 2;
}

#skill-icon4 {
  grid-column: 2;
  grid-row: 2;
}

.icon-container {
  white-space: normal;
  grid-area: icon-container;
  position: relative;
  width: 130px;
  /* fast bredde til ikoner */
  height: 130px;
  /* samme højde, så alt matcher */
}

.icon-skills {
  white-space: normal;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  /* sikrer ikonet passer ind */
  display: block;
}

.overlay-text {
  white-space: normal;
  position: absolute;
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* centrer teksten */
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2em;
  text-align: justify;
  width: 90%;
  max-height: 120%;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}
.overlay-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.icon-container:hover .overlay-text {
  opacity: 1;
  cursor: none;
}

.container {
  white-space: pre-wrap;
  padding: 0 10%;
  margin: 0 60px;
}
.container ul {
  white-space: pre-wrap;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.container ul:before {
  white-space: pre-wrap;
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  height: 100%;
  border: 1px dashed #aaa;
}

.container ul {
  white-space: pre-wrap;
  display: flex;
  flex-direction: column-reverse;
}

.broken-line {
  white-space: pre-wrap;
  position: absolute;
  left: 0;
  top: 84%;
  width: 100%;
  height: 40px;
  background-color: rgb(16.5, 16.5, 16.5);
  z-index: 100;
}

.box {
  white-space: pre-wrap;
  margin: 50px auto;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2);
  width: 400px;
  position: relative;
  letter-spacing: 2px;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.3);
}
.box > span {
  white-space: pre-wrap;
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  height: auto;
  border: 1px solid #ccc;
}
.box > span:after {
  white-space: pre-wrap;
  content: "";
  position: absolute;
  left: -7px;
  width: 10px;
  height: 10px;
  border: 2px solid #ccc;
  background: #01579B;
  border-radius: 100%;
}
.box > span:before {
  white-space: pre-wrap;
  top: -12px;
}
.box > span:after {
  white-space: pre-wrap;
  top: 100%;
}
.box .title {
  white-space: pre-wrap;
  font-size: 1.1em;
  text-transform: uppercase;
  margin-top: 10px;
}
.box .sub-title {
  white-space: pre-wrap;
  font-size: 0.6rem;
  color: #aaa;
}
.box .info {
  white-space: pre-wrap;
  margin: 15px 0;
}
.box .time {
  white-space: pre-wrap;
}
.box .time span {
  position: absolute;
  font-size: 1.1em;
  color: #aaa;
}
.box .time span:first-child {
  white-space: pre-wrap;
  top: 50%;
  right: 110%;
}

/* ------------------------------------------- RESPONSIVE STYLES --------------------------------------- */
@media (max-width: 1024px) {
  /* Projekt outcome sektion stables lodret på tablet */
  .img-seperator, .img-seperator-project, .img-seperator-about, .img-seperator-contact {
    background-size: cover;
    background-position: center;
    width: 84%;
    height: 10rem;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 2em;
    margin: 2em auto;
    border-radius: 10px;
    position: relative;
  }
  .img-seperator h1, .img-seperator-project h1, .img-seperator-about h1, .img-seperator-contact h1 {
    font-size: 2.5em;
    color: rgb(204.3559322034, 222.6440677966, 216.313559322);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    z-index: 2;
  }
  #projects-banner {
    background-image: url("img/projects-banner.png");
  }
  #about-me-banner {
    background-image: url("img/about-me-banner.png");
  }
  #kontakt-mig-banner {
    background-image: url("img/contact-banner.png");
  }
  img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-top: 1rem;
  }
  #project-outcome,
  #project-outcome-pwa,
  #case-kemi,
  .project-details-KEMI {
    grid-template-columns: 1fr;
    text-align: justify;
  }
  .outcome-img {
    position: relative;
    width: 50%;
    top: auto;
    right: auto;
    transform: none;
    margin: 1rem auto 0;
  }
  #reflektion-video {
    width: 100%;
    height: auto;
    margin-top: 1em;
    margin-left: 0;
    position: relative;
  }
  .outcome-img-kemi {
    position: absolute;
    width: 30%;
    top: 28%;
    right: 1em;
    transform: none;
    margin: 1rem auto 0;
    transform: scaleX(-1);
  }
  .about-me-section {
    width: 100%;
    margin: 0 auto;
  }
  .my-img {
    width: 70%;
    margin: 0 auto 2em auto;
  }
  #skills-section {
    width: 100%;
    margin: 0 auto;
  }
  #main-section-ommig,
  #about-me-section,
  #my-img,
  #timeline-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2em;
    grid-template-areas: "my-img" "about-me-section" "timeline-section" "skills-section";
    margin: 0 auto;
  }
  #main-section-ommig .my-img,
  #about-me-section .my-img,
  #my-img .my-img,
  #timeline-section .my-img {
    width: 80%;
    margin: 0 auto;
  }
  .my-img-caption {
    font-size: 1.5rem;
    margin: 1em auto 20%;
    position: relative;
  }
  #skills-section {
    width: 100%;
    margin-left: 0;
  }
  #skills-ommig {
    width: 85%;
    margin: 0 auto;
    overflow-y: auto;
    overflow-x: hidden;
    height: 400px;
  }
  .container {
    padding: 0 5%;
    margin: 0 50px;
  }
  .box {
    width: 90%;
  }
  .box span {
    left: -30px;
    top: 52%;
    position: absolute;
  }
  .box span:after {
    left: -6px;
  }
  .box .title {
    font-size: 1rem;
  }
  .box .sub-title {
    font-size: 0.7rem;
  }
  .time-dot {
    right: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }
  .overlay-text {
    font-size: 0.9rem;
    padding: 0.5em;
    text-justify: auto;
  }
  #img-mascot {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    width: 80%;
    margin: 0 auto;
  }
  .mascot {
    width: 95%;
  }
  .mascot-phone {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  /* Projektgalleri */
  .project-details {
    grid-template-columns: 1fr;
  }
  .clickable-img {
    max-height: 18rem;
  }
  /* SHOW ONLY ON MOBILE */
  #desktop-hidden-img {
    display: block;
    width: 80%;
    margin: 2rem auto 0;
  }
  .hidden-img {
    width: 100%;
  }
}/*# sourceMappingURL=style.css.map */