* {
  margin: 0;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}

body {
    background: #F5F5F5;
    color: #090012;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
h2 {
  font-weight: 400;
}

h3 {
  font-weight: 400;
  font-size: 2rem;
}

p{
  font-size: 1.1rem;
}




/* start til fade-up elementer */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}





/* Galleri på forside layout */
.index_gallery section {
  min-height: 85vh;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery a {
  display: block;
  text-decoration: none;
}

.index_gallery img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 1rem;
}

.pro_index{
  margin-top: 1rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.ekstra_styl{
  margin-bottom: -14rem;
}

.navn_nav{
  display: none;
}


.overlay_text_titel{
  color: black;
  font-size: 1.5rem;
}
.overlay_text_p{
  display: none;
}
.overlay_text_div{
  padding: 0.5rem;
}





select{
  margin-left: 0.8rem;
  margin-top: 0.4rem;
  background: #F5F5F5;
  padding: 2px 4px;
  border: none;
  border-radius: 3px;
  font-size: 1.3rem;
  font-family: "Inter", sans-serif;
}




  header {
    border-bottom: 1px solid #ccc;
  }
  
  .top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #F5F5F5;
  }

  .icon{
    display: none;
}
  
  .logo_img {
    max-width: 40px;
  }
  
  .top-bar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: black;
  }

  .navbar .responsive{
    color: #090012;
    border-radius: 1;
  }

  .navbar a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  #current {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }

  #current:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #acacac;
  }
  






  .hero {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    flex-wrap: wrap;
  min-height: calc(100vh - 80px);
  align-items: center;
  position: relative;
    margin-top: 70px;
  }
  
  .hero .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;   /* fylder hele hero-sektionens højde */
    min-height: calc(100vh - 80px);
  }
  
  .hero h1 {
    font-family: "Castoro Titling", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3.6rem;
    line-height: 93%;
    margin-top: 2rem;

  }
  
  .subtitle {
    font-family: "Inter", sans-serif;
    font-size: 2.3rem;
  }

  .info_text {
    font-size: 1.9rem;
    max-width: 100%;
    padding-bottom: 30px;
    margin-bottom: 2rem;
  }

  .ess_link_h3 {
    margin-bottom: 0.7rem;
    font-size: 1.9rem;
  }
  
  .ess_link{
    padding: 0;
    list-style: none;
    margin-bottom: 3.5rem;
  }
  
  .ess_link_li {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
  }
  
  .hero ul a {
    color: #090012;
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  .hero ul a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #acacac;
  }

  
  .hero .image img {
    display: none;
  }

  
  
  




  
  .skill-tags {
    overflow: hidden;
    background-color: #484E7C;
    color: white;
    white-space: nowrap;
    padding: 10px 0;
    margin-top: -80px;
  }

  .track{
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
  }

  
  .track-content {
    display: flex;
  }

  .track-item{
    display: inline-block;
    margin-right: 70px;
    font-size: 1.1rem;
  }

  .skill-tags:hover .track {
    animation-play-state: paused;
  }  

  .track{
    overflow: hidden;
  }


  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }




  .cursor {
    display: inline-block;
    margin-left: 5px;
    animation: blink 1s infinite;
    opacity: 1;
  }

  .cursor.blink {
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    0%, 50%, 100% {
      opacity: 1;
    }
    25%, 75% {
      opacity: 0;
    }
  }
  







  .kontakt_text {
    font-size: 1.7rem;
    max-width: 95%;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .info_text2 {
    font-size: 1.7rem;
    max-width: 95%;
    margin: 0 auto;
  }

  

  .contact-button {
    background: #484E7C;
    color: #F5F5F5;
    border: none;
    padding: 15px 25px;
    margin-bottom: 2rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    display: block;
    margin: 0 auto;
  }

  .contact-button:hover {
    opacity: 0.7;
  }

.about_pics img{
  width: 100%;
  height: auto;
}
.about_pics img{
  width: auto;
  max-height: 240px;
}
  .about_pics{
    margin: 2rem 1rem 5rem 1rem;
    display: grid;
    grid-template-areas: 
    "pi1 pi2"
    "link pi3";
  }
  .about_pic1{
    grid-area: pi1;
  }
  .about_pic2{
    grid-area: pi2;
  }
  .about_pic3{
    grid-area: pi3;
    
  }
  .about_link{
    grid-area: link;
    padding-top: 50%;
  }
  




  
  footer {
    text-align: center;
    
  }

  footer a {
    text-decoration: none;
  }
  
  .socials svg {
    fill: #484E7C;           /* Farven på ikonerne */
    transition: opacity 0.3s ease, fill 0.3s ease;
    margin: 0.2rem 0.9rem;
  }
  
  .socials svg:hover {
    opacity: 0.3;          /* Når man holder musen over */
  }
  
  
  .copyright {
    margin: 1rem 0 1.5rem 0;
    font-size: 0.8rem;
    font-weight: 200;
  }

  .find_mig_info{
    margin-top: 1rem;
  }








  .evner{
    max-width: 95%;
    margin: 0 auto;
    margin-bottom: 8rem;
  }
  .info_text1 {
    font-size: 1.7rem;
    margin-bottom: 1.3rem;
  }
  .evne_text, .enve_ingrup_text{
    font-size: 2rem;
  }


  .card {
    position: relative;
    height: auto;
    border-radius: 1rem;
    
    margin-bottom: 10rem;
  }
  
  
   
  
  /* Indhold */
  .card-content {
    text-align: center;
    position: relative;
    z-index: 1;
    color: black;
    padding: 24px;
  }

  .card-content .info_text1{
    text-align: left;
    margin-left: 0.8rem;
  }

  .iridescence {
    position: absolute;
    inset: -60%;
    z-index: 0;
    background-size: 400% 400%;
  
  }


  .typewriter-container {
    font-family: monospace;
    font-size: 2rem;
    color: black;
    overflow: hidden;
  }
  #typed-text {
    font-size: 2rem;
    white-space: pre-line;
  }
  
  
  
  
  
  
  
  


  




   /* tablet */
   @media screen and (min-width: 785px) {
    .navn_nav{
      display: block;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      height: 5rem;
      width: auto;
      margin-top: -2rem;
    }
    
    .hero {
      min-height: auto;
      max-height: 800px;
      align-items: flex-start;
    }
    select{
      margin-left: 1rem;
      font-size: 1.1rem;
    }

    .hero h1 {
      font-size: 5rem;
    }
    
    .subtitle {
      font-size: 3rem;
      margin-bottom: 2rem;

    }

    .info_text {
      margin-top: 6rem;
      margin-bottom: 2rem;
      max-width: 80%;
    }

    .hero .image img {
      display: block;
      width: 700px; 
      height: 350px; 
      object-fit: cover;
      object-position: -20% 0;
      position: absolute;
      right: -20%;
      top: 380px;
      z-index: -1;
    }

    .hero .text {
      display: flex;
      flex-direction: column;
      justify-content: start;
      height: 100%;   /* fylder hele hero-sektionens højde */
      min-height: calc(100vh - 80px);
      margin-bottom: 20px;
    }




    
    .image-container {
      position: relative;
      overflow: hidden;
      aspect-ratio: 1 / 1;
      max-width: 1100px;
      width: 90%;
    }    
    
    
    .image-container img {
      position: relative;
      z-index: 2; /* FORAN teksten */
    
      width: 100%;
      height: 100%;
      object-fit: cover;
    
      transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }       
    
    
    .overlay-text {
      position: absolute;
      top: 0;
      right: 0;
    
      width: 42%;
      height: 100%;
    
      background: #484E7C;
      display: flex;
    
      padding: 1.2rem;
    
      z-index: 1; /* BAG billedet */
    }
    .overlay-text_høj{
      border-radius:  0 1rem 1rem 0;
      padding: 2rem;
    }
    .overlay-text_ven{
      border-radius:  1rem 0 0 1rem;
    }
    
    
    .overlay_text_titel{
      color: white;
      font-size: 2rem;
    }
    .overlay_text_p{
      display: block;
      color: white;
      font-size: 1.2rem;
      margin-top: 1rem;
    }
    .overlay_text_div{
      padding: 15px;
    }
       

    .image-container:hover img {
      transform: translateX(-40%);
    }    

    .image-container img, .overlay-text {
      will-change: transform;
    }

    .pro_index--reverse .overlay-text {
      left: 0;
      right: auto;
    }
    
    .pro_index--reverse .image-container:hover img {
      transform: translateX(40%);
    }
    

    


    .navbar {
      display: flex;
      align-items: center;
      justify-content: center; /* centrer nav-navn */
      gap: 20px; /* mellemrum mellem navn og dropdown */
      flex: 1; /* fylder pladsen mellem logo og højre kant */
    }

    .navbar select {
      margin-left: auto; /* skubber dropdown til højre */
    }


    .info_text1 {
      margin-bottom: 1.5rem;
    }


    .about_me{
      margin-top: 10rem;
    }
    .about_pics img{
      width: auto;
      max-height: 525px;
    }

    .about_pics{
      display: grid;
      grid-template-areas: 
      "pi1 pi2"
      "link pi3";
      margin-bottom: 10rem;
      
    }
    .about_pic1{
      grid-area: pi1;
    }
    .about_pic2{
      grid-area: pi2;
    }
    .about_pic3{
      grid-area: pi3;
    }
    .about_link{
      grid-area: link;
      padding-top: 20%;
    }



    .card {
      margin: auto;
      width: 75%;
      padding: 3rem 0;
    }
    .iridescence {
      background-size: 800% 800%;
    }


    
    
    
   }




  /* desktop */
@media screen and (min-width: 1089px) {
  body {
    scroll-snap-type: y proximity;
    scroll-padding-top: 80px;
  }

  .hero {
    display: flex;
    justify-content: space-between;
    padding: 30px 30px 0 30px;
    flex-wrap: wrap;
    min-height: calc(100vh - 80px);
    align-items: center;
    position: relative;
    margin-top: 70px;
    max-height: none;
  }

  header{
    margin: auto;
    width: 95%;
  }
  
  .hero .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;   /* fylder hele hero-sektionens højde */
    min-height: calc(100vh - 80px);
    max-width: 100%;
  }
  
  .hero h1 {
    font-family: "Castoro Titling", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 9rem;
    margin-bottom: -2rem;
  }
  
  .subtitle {
    font-family: "Inter", sans-serif;
    font-size: 3rem;
    margin-bottom: 3.5rem;
  }

  .info_text {
    margin-top: 0;
    margin-bottom: 3.5rem;
    font-size: 2rem;
    max-width: 50%;
  }


  .evner{
    max-width: 75%;
    margin: 8rem auto 0 auto;
  }
  .evne_text, .enve_ingrup_text{
    font-size: 3rem;
  }



  .about_me{
    display: flex;
    justify-content: space-evenly;
    margin-top: 15rem;
  }
  .big_contact_info{
    width: 40%;
  }

  
  .image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    max-width: 700px;
    width: 90%;
    margin-bottom: 7rem;
  } 

  .pro_index_left{
    margin-left: -30rem;
  }
  .pro_index_right{
    margin-right: -30rem;
  }

  
  .hero .image img {
    width: 1400px; 
    height: 700px; 
    object-fit: cover; 
    object-position: -20% 0;
    position: absolute;
    right: -19%;
    top: 40px;
    z-index: -1;
  }




  .card {
    margin: auto;
    width: 65%;
    padding: 5rem 2rem;
  }
  .iridescence {
    background-size: 1500% 1500%;
  }
  .typewriter-container {
    font-family: monospace;
    font-size: 3rem;
    overflow: hidden;
  }
  #typed-text {
    font-size: 3rem;
  }

 
  


  .kontakt_text {
    margin-bottom: 2rem;
  }



  .footer_p {
    font-size: 2rem;
    max-width: 50%;
    margin: 0 auto;
    margin-top: 2rem;
    
  }



  

}



@media screen and (min-width: 2089px) {
  .hero .image img {
    width: 2000px; 
    height: 1000px; 
    object-fit: cover; 
    object-position: -20% 0;
    position: absolute;
    right: -19%;
    top: 250px;
    z-index: -1;
  }

  .hero h1 {
    margin-top: 4rem;
    font-size: 15rem;
  }
  .subtitle {
    font-size: 6rem;
  }

  .info_text {
    font-size: 3rem;
    padding-bottom: 60px;
  }

  .image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    max-width: 1100px;
    width: 70%;
  } 

  .overlay_text_p{
    font-size: 1.5rem;
  }

  .evner{
    max-width: 50%;
    margin: 8rem auto 0 auto;
  }

}









  /* Burgermenu */
@media screen and (max-width: 600px){
  .top-bar .icon{
      display: block;
      font-size: 1.5rem;
      position: absolute;
      top: 0;
      right: 0;
      padding: 15px;
      background-color: #F5F5F5;
      padding-left: 500px;
      padding-bottom: 5px;
  }
  .top-bar a{
      display: none;
  }
  .responsive a{
      display: block;
      font-size: 1.2rem;
      padding-top: 10px;
  }
  .responsive{
      flex-direction: column;
      align-items: center;
      padding: 30px 0px;
  }
  
  .top-bar{
      margin: 0;
  }
  .responsive #forside{
      margin-top: 28px;
  }
  .top-bar #forside{
      border-radius: 0;
  }
}
  