/* Grundlæggende styling for hele siden */
body {
    margin: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background-color:#fdf9f0;
    padding-top: 70px; /* hvis headeren er 70px høj */
    overflow-x: hidden; /* fjerner horisontal scroll hvis noget stikker ud */
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* altid mindst 100% af skærmen */

    /* Skift farve på markeret tekst */
::selection {
  background: #ec9ad5; /* baggrundsfarven ved markering */
  color: white;        /* tekstfarven ved markering */
}
/* For Firefox skal du bruge en vendor-prefix */
::-moz-selection {
  background: #ec9ad5;
  color: white;
}

}




/* scrollbar */
::-webkit-scrollbar{
 width: 20px;
}
::-webkit-scrollbar-track{
 background: hsl(0, 0%, 100%);
}
::-webkit-scrollbar-thumb{
 background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc);
 border-radius: 100vw;
 border: 5px solid hsl(0, 0%, 100%);
height: 10vw;
}
::-webkit-scrollbar-thumb:hover{
 background: linear-gradient(50deg, #febbbd94, #fad0c49a, #ec9ad5a4, #9ce6fca8, #8cd9fcaf);
}

html{
    scroll-behavior: smooth;
}


/* Styling for header */
header {
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.255);
    position: fixed; /* Sørger for, at z-index fungerer */
    top: 0;          /* øverst på siden */
    width: 100%;     /* fylder hele bredden */
    z-index: 100;   /* sørger for, at headeren ligger over alt andet */
     transition: top 0.3s ease; /* glidende bevægelse */
     box-sizing: border-box; /* sikrer at padding ikke "udvider" headeren */
   
}

/* Logo */
.logo img {
    width: 60px;
}

/* Styling for navigation links */
nav {
    display: flex;
    align-items: center;
}

/*mobil*/
@media (max-width: 767px) {

.nav-links {
    list-style: none;
    display: none;
    margin: 0;
    padding: 0;
    border-radius: 10px; /* Giver bløde hjørner (valgfrit) */
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.255); /* Tilføjer en subtil skygge */
    z-index: 10; /* Sørger for, at den vises over alt andet */

}
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    font-weight:bold;
    position: relative;
}
.nav-links a:hover {
    color: #000000a9;
}
.nav-links a::after {
    content: ''; /* stregen under kommer fram*/
    position: absolute;
    bottom: -4px; 
    left: 0;
    width: 100%;
    height: 2px; 
    background-color: #000000; 
    transform: scaleX(0); 
    transition: transform 0.3s ease; 
}

.nav-links a:hover::after {
    transform: scaleX(1); 
}

a.underline {
    text-decoration: underline;
    text-underline-offset: 5px; /* Flytter understregningen ned */
    text-decoration-thickness: 3px; /* Gør understregningen tykkere */

}

/* Burger menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

/* Burger menus streger */
.bar {
    width: 35px;
    height: 4px;
    background-color:#000000;
    
}

/* Styling for desktop */
@media (min-width: 767px) {
    .nav-links {
        list-style: none;
        display: none;
        margin: 0;
        padding: 0;
    }
}
    @media (min-width: 769px) {
header {
        padding: 5px 20px;
    }

/* Logo */
.logo img {
    width: 70px;
}
}

/* Mobil-først styling */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        flex-direction: column;
    }

    .burger {
        display: flex;
    }


    .nav-links a {
        font-size: 16px;
        font-weight:bold;
    }
}

/* Styling for desktop */
@media (min-width: 767px) {

    .nav-links {
        display: flex;
    }

    .nav-links li {
        margin-left: 30px;
    }
}


/* Dropdown menu*/
.dropdown {
    position: relative;
}

/* Standard pil peger ned */
.dropdown .arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.5s ease;
    font-size: 15px;
    transform: rotate(0deg); /* pil peger ned som standard */
    color: #000;
}

/* Når musen hover over dropdown, roter pilen */
.dropdown:hover .arrow {
    transform: rotate(-180deg); /* pil peger op når dropdown vises */
}

/* Fjern pilen på mobil (max-width: 767px) */
@media (max-width: 767px) {
    .dropdown .arrow {
        display: none;
    }
}

/* Skjuler menuen som udgangspunkt */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%; /* Lige under linket */
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    z-index: 20;
}

/* Styling af dropdown links */
.dropdown-menu li {
    padding: 4px 20px;
    margin: 0;             /* Fjern mellemrum */
}

.dropdown-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    display: block;
    padding: 10px 20px;
    
}

.dropdown-menu li a:hover {
    background: #f3f3f3;
}

/* Når man holder musen over, vises menuen */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Skjul dropdown-menu på mobil */
@media (max-width: 767px) {
    .dropdown-menu {
        display: none !important; /* sørger for, at den ikke vises */
    }
}

/* Forside sektion */
.frontpage {
    margin-top:0px;
    height: auto;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;  
    z-index: -1; /* Sørger for, at billedet ikke blokerer interaktion med andre elementer*/
}

/* Styling for desktop */
@media (min-width: 769px) {
.frontpage {
    margin-top: -60px;
}
}

/* Styling af forside billede*/
.frontpage-image {
    width: 100%;
    object-fit: cover; 
    z-index: -1; /* Holder billedet under andre elementer */
    opacity: 1; /* 1 = fuldt synlig, 0 = helt usynlig */
}


.video-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%; /* hvor meget der skal fades */
   background: linear-gradient(to bottom, rgba(140,217,252,0) 0%, #fdf9f0 100%);
  pointer-events: none;

}

/* Tekst i venstre side */
.text-left {
  position: absolute; /* hele tekstblokken placeres */
  top: 10vw;
  left: 5vw;
  right: 50vw;
  max-width: 100vw;
  color: #ffffff;
  text-shadow: 0px 4px 5px rgb(4, 4, 4);
}

    .text-left h1 {
        margin: 0;
        font-family: "Dancing Script", serif;
        font-size: 8vw;
        font-optical-sizing: auto;
        font-weight: 550;
        font-style: normal;
        border-radius: 20vw;
    }

    .text-left h2 {
  margin-top: 2vw; /* giver afstand under h1 */
  font-size: 1.8vw;
  font-weight: 500;
  line-height: 1.3;   /* gør teksten mere læsbar */
  word-wrap: break-word; /* bryder ord hvis de er for lange */
}

/* Mobil styling */
@media (max-width: 767px) {
.text-left h2 {
  font-size: 2.5vw;
}
}



/* Mobil-først styling */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-links a {
        font-size: 16px;
    }

}


/* Mine Projekter */
.section-title {
    font-size: 40px;
    margin-bottom: 20px;
   background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc) ;
   background-clip: text; 
   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    filter: drop-shadow(0 4px 1px rgba(0, 0, 0, 0.299));
     /* drop-shadow i stedet for text-shadow */
}

/* Mine Projekter (navne)*/
/*1.Semester*/
.section-undertitle1 {
font-size: 25px;
    margin-bottom: 20px;
   background: linear-gradient(50deg, #8cd9fc, #9ce6fc);
   background-clip: text; 
   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     -webkit-background-clip: text;
     filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.299));
     /* drop-shadow i stedet for text-shadow */
}

/*2.Semester*/
.section-undertitle2 {
font-size: 25px;
    margin-bottom: 20px;
   background: linear-gradient(80deg, #fad0c4 ,#febbbd);
   background-clip: text; 
   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.299));
     /* drop-shadow i stedet for text-shadow */
}

/*3.Semester*/
.section-undertitle3 {
font-size: 25px;
    margin-bottom: 20px;
   background: linear-gradient(50deg, #ec9ad5,#febbbd);
   background-clip: text; 
   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
     -webkit-background-clip: text;
     filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.299));
     /* drop-shadow i stedet for text-shadow */
}


/* Styling for desktop */
@media (min-width: 769px) {
.section-title {
    font-size: 100px;
    margin-bottom: 30px;
}
.section-undertitle1{
    font-size: 45px;
    margin-bottom: 30px;
}
.section-undertitle2{
    font-size: 45px;
    margin-bottom: 30px;
}
.section-undertitle3{
    font-size: 45px;
    margin-bottom: 30px;
}
}


/* Projekter kolonne */
.projects-section {
    text-align: center;
    padding: 20px;
}

/* Grid kolonner-layout - Mobil først */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;
   
}

/* Kolonner på større skærme */
@media (min-width: 767px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
}










/* Projektkort */
.project {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.299));
}

.project img {
    width: 100%;
    display: block;
    transition: all 0.6s ease;
}

/* Hover-effekt */
.project:hover img {
    transform: scale(1.06);
}

/* Teksten i kassen */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.655), rgba(255, 255, 255, 0));
    opacity: 1;
    color: rgb(255, 255, 255);
    text-align: left;
    
}

.project:hover .overlay {
    transform: translateY(0);
}

/* Tekst på overlay */
.small-text {
    font-size: 1.5vw;
    color:#ffffff;
    transform: translateY(38px);  /* Flyt titlen nedad */
}

.project-title {
    font-size: 2vw;
    font-weight: bold;
    margin-bottom: 1vw;
    padding-right: 8vw;
}

/* mobil-stiling */
/* carousel */
@media (max-width: 767px){
/* Gør hele gitteret til en vandret række */
  .projects-grid {
    display: flex;                 /* vandret layout */
    overflow-x: auto;              /* gør det muligt at scroll’e vandret */
    scroll-snap-type: x mandatory; /* “snapper” til hver boks */
    -webkit-overflow-scrolling: touch; /* glatter scroll på mobil */
    gap: 30px;                     /* afstand mellem projekterne */
    padding: 25px;
  }

  /* Skjul scrollbar for pænere udseende */
  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  /* Hver projektboks får fast bredde */
  .project-wrapper {
    flex: 0 0 80%;                 /* hver fylder 80% af skærmens bredde */
    scroll-snap-align: center;     /* centrér boksen når man slipper scroll */
    position: relative;
  }

  /* Projektkort styling bevares */
  .project {
    border-radius: 20px;
    overflow: hidden;
  }

  /* Justér tekststørrelser for mobil */
  .overlay {
    padding: 5vw;
  }

  .small-text {
    font-size: 4vw;
  }

  .project-title {
    font-size: 5vw;
    margin-top: 7vw;
  }

  /* Justér blomsterne så de ikke forsvinder */
  .flower-top-right,
  .flower-bottom-left {
    width: 40px;
  }
}




/* Styling for blomsterne i project dellen på pc */
/* wrapper omkring hvert projekt */

.project-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-wrapper.flower-top-right,
  .project-wrapper.flower-bottom-left{
 width: 65px; 
  }

  /* animation ved hover */
.project-wrapper:hover .flower-top-right {
  transform: rotate(20deg) scale(1.1);
  transition: all 0.8s ease;
}

.project-wrapper:hover .flower-bottom-left {
  transform: rotate(-20deg) scale(1.1);
  transition: all 0.8s ease;
}







    


/* uiverse.io - knap 2 */
.button {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10rem;
  transition: all 0.02s;
  font-weight: bold;
  cursor: pointer;
  color: rgb(37, 37, 37);
  z-index: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.253);
}

.button:hover {
  background: rgb(193, 228, 248);
  color: rgb(33, 0, 85);
  transition: all 0.4s ease;
    transform: scale(1.04);
   
}

.button:active {
  transform: scale(0.8);
}

.hoverEffect {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hoverEffect div {
  background: rgb(222, 0, 75);
  background: linear-gradient(
    90deg,
    rgba(222, 0, 75, 1) 0%,
    rgba(191, 70, 255, 1) 49%,
    rgba(0, 212, 255, 1) 100%
  );
  border-radius: 40rem;
  width: 11rem;
  height: 11rem;
  transition: 0.4s;
  filter: blur(20px);
  animation: effect infinite 3s linear;
  opacity: 0.5;
}

.button:hover .hoverEffect div {
  width: 11rem;
  height: 11rem;
}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes jello-vertical {
  0% {
    transform: scale3d(1, 1, 1);
  }
  30% {
    transform: scale3d(0.75, 1.25, 1);
  }
  40% {
    transform: scale3d(1.25, 0.75, 1);
  }
  50% {
    transform: scale3d(0.85, 1.15, 1);
  }
  65% {
    transform: scale3d(1.05, 0.95, 1);
  }
  75% {
    transform: scale3d(0.95, 1.05, 1);
  }
  100% {
    transform: scale3d(1, 1, 1);
  }
}

.project:hover .button {
    display: inline-block;
    
}

/* hvid pil */
.button:hover .svg svg {
  animation: jello-vertical 1s both;
  transform-origin: left;
}

.button .svg {
  display: inline-block;      /* sørger for at SVG’en står på linje */
  vertical-align: middle;     /* lodret justering ift. teksten */
}

.button svg {
  display: block;             /* fjerner ekstra mellemrum i SVG’en */
}


/* Footer styles */
.footer-title {
  width: 100%;
  text-align: center;
  font-size: 20px;
}

/* Generel footer styling */
.footer {
    background-color: #ffffff; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.185);
    padding: 20px;
    margin-top: 50px;
}


  .footer-content {

    display: flex;
    justify-content: center; /* Centrerer ikonerne vandret */
    align-items: center; /* Justerer ikonerne lodret */
    gap: 40px; /* Mellemrum mellem ikoner */
    bottom: 0;
  }
  
  /* Generel ikon-styling */
  .footer-icon img {
    transition: transform 0.3s ease, filter 0.3s ease; /* Glidende overgange ved Hover-effekt */
    filter: brightness(0); /* Sort standardfarve */
    
  }
  
  /* Hover-effekt for alle ikoner */
  .footer-icon:hover img {
    filter: none; /* Vis ikonets originale farve */
    transform: scale(1.2); /* Forstør ved hover */
  }
  
  /* størrelse for Instagram */
  .footer-icon.instagram img {
    width: 46px;
    height: 46px;
  }
  
  /* størrelse for Facebook */
  .footer-icon.facebook img {
    width: 53px;
    height: 53px;
  }
  
  /* størrelse for Gmail */
  .footer-icon.gmail img {
    height: 30px;
  }
  
  
/* Projekt side*/
/* Hovedindhold */
/* Mobil-først (standardindstilling for små skærme) */
.content1 {
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
}

/* Min Overskrift */
.content1 h1 {
    margin: auto;
    padding-top: 30px;
    padding-bottom:30px;
    text-align: center;
    font-size: 10vw;
    background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc) ;
    background-clip: text;            /* standard */
   -webkit-background-clip: text;     /* WebKit-browsere */
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
     filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.299));
     /* drop-shadow i stedet for text-shadow */
}

/* Layout-container */
.layout-container1 {
    display: grid;
    grid-template-columns: 1fr; /* Enkelt kolonne som standard */
    gap: 50px;
    align-items: start;
    padding-bottom: 0px;
    padding-top: 0px;
}

/* Video styling */
.image-container1 video {
    width: 100%; /* Fylder containerens bredde */
    display: block;
  border-radius: 10px; /* lidt mindre radius end parent */
}

/* Billede-styling for alle siderne */
.image-container1 img {
   display: block;
  width: 100%;
  border-radius: 10px; /* lidt mindre radius end parent */
}

.image-container1 {
    order: 1; /* Sørger for, at billeder altid kommer efter tekst */
    display: inline-block;
  border-radius: 15px; /* hvor runde hjørnerne skal være */
  padding: 5px; /* tykkelsen på kanten */
  background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);

  
    
    
}
.image-container3 {
 /*carousel*/
    gap: 40px;             /* afstanden mellem kasserne */  
    display: flex;
    flex-wrap: nowrap;          /* vigtig */
    overflow-x: auto;           /* scroll i stedet for hidden */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 0 0 auto;            /* forhindrer at de vokser forskelligt */
  aspect-ratio: 10 / 9;      /* samme proportion */
  width: auto;
  height: auto;
  object-fit: cover;          /* beskær for at udfylde rammen */   
}

/*styling af mit bilede*/
.image-container2{
    text-align: center;
    padding-left:5vw;
    
}
.image-container2 img{
    display: inline-block;
    height: 200px;  
    width: auto;
    border-radius: 10px; 
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.253);
}
/* kolonner på større skærme */
@media (min-width: 768px) {
    .image-container2 img{
    height: 300px;
}
}

/* priker under bilder og vidoene så man kan se at am kan skrovle */
.video-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
  gap: 10px;
}

.video-carousel-dots button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background-color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.video-carousel-dots button.active {
  background-color: rgb(0, 0, 0);
  transform: scale(1.3);
}

@media (min-width: 768px) {
  .video-carousel-dots {
    display: none; /* skjul på større skærme */
  }
}








/* Tekstkasse */
.text-container1 {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.text-container1::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 5px; /* kantens tykkelse */
  border-radius: 15px;
  background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc);
  mask: 0;
  -webkit-mask: 0
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}

.text-container1 h2 {
    margin-top: 0;
    margin-bottom: auto;
    font-size: 25px;
    color: #000000;
}

.text-container1 p {
    margin: 10px 0;
    line-height: 1.4; /* linjeafstand for bedre læsbarhed */
    color: #000000; /* Tekstfarve for kontrast */
    font-size: 1em; /* Standard tekststørrelse */
}


/* Layoutændringer for større skærme */
@media (min-width: 769px) {
    .layout-container1 {
        grid-template-columns: 1fr 1fr; /* To kolonner */
        gap: 30px; /* Afstand mellem kolonner */
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 30px;
    }

    .content1 h1{
        font-size: 6vw;
        padding-right: 100px;
        padding-left: 100px;
        padding-top:60px;
        padding-bottom: 10px;
    }
    .image-container1,
    .text-container1 {
        order: 0; /* Normal rækkefølge for desktop */
    }
}

.content2 img{
    width: 100%;
    position: absolute; /* Sørger for, at det dækker hele siden */
    top: 0;
    left: 0;
    background-size: cover; /* Sørger for, at billedet dækker hele området */
    z-index: -1; /* Sørger for, at det er bag alt andet */

}





/* Styling for blomsterne */
/* Øverste højre hjørne */
.flower-top-right {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px; /* Juster størrelse på blomsten */
    z-index: 1; /* Sørger for at billedet vises ovenpå */
      pointer-events: none;
}

/* Nederste venstre hjørne */
.flower-bottom-left {
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 50px; /* Juster størrelse på blomsten */
    z-index: 1; /* Sørger for at billedet vises ovenpå */
      pointer-events: none;
}

/* Styling for blomsterne på lille mobil */
/* Øverste højre hjørne */
@media (max-width: 320px){
.flower-top-right {
 right: -10px;
    width: 50px; /* Juster størrelse på blomsten */
}}





/* Knap taget fra Uiverse.io lavet af cssbuttons-io */ 

button2 {
  position: relative;
  padding: 15px 30px;
  background: #febbbd;
  font-size: 25px;
  color: #ffffff;
  border: 4px solid #febbbd;
  border-radius: 10px;
  box-shadow: 0 0 0 #fad0c4;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
   display: inline-block; /* vigtigt så den ikke fylder hele linjen */
   left: 60%;
   top: 15px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
   
}

.star-1 {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
}

.star-2 {
  position: absolute;
  top: 45%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-3 {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 1s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-4 {
  position: absolute;
  top: 20%;
  left: 40%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 0.8s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-5 {
  position: absolute;
  top: 25%;
  left: 45%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 0.6s cubic-bezier(0, 0.4, 0, 1.01);
}

.star-6 {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 0 #ffe100);
  z-index: -5;
  transition: all 0.8s ease;
}

button2:hover {
  background: transparent;
  color: #febbbd;
  box-shadow: 0 0 25px #fad0c4;
}

button2:hover .star-1 {
  position: absolute;
  top: -80%;
  left: -30%;
  width: 25px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

button2:hover .star-2 {
  position: absolute;
  top: -25%;
  left: 10%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

button2:hover .star-3 {
  position: absolute;
  top: 55%;
  left: 25%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

button2:hover .star-4 {
  position: absolute;
  top: 30%;
  left: 80%;
  width: 8px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

button2:hover .star-5 {
  position: absolute;
  top: 25%;
  left: 115%;
  width: 15px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

button2:hover .star-6 {
  position: absolute;
  top: 5%;
  left: 60%;
  width: 5px;
  height: auto;
  filter: drop-shadow(0 0 10px #ffe100);
  z-index: 2;
}

.fil0 {
  fill: #ffe100;
}

   /* Layoutændringer for større skærme */
@media (max-width: 768px) { button2 {
    left: 25%;
position: relative;
  padding: 15px 20px;
  font-size: 20px;
  border: 3px solid #febbbd;
  border-radius: 5px;

}
}


/*kontakt info er taget fra uiverse.io*/
  
.contact-form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
}

.contact-form label {
  color: black;
}

.contact-form .heading {
  text-align: center;
  padding-top: 10px;
  font-size: 30px;
  color: black;
  margin-bottom: 10px;
  font-weight: bold;
  display: block;
  
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 10px;
}

textarea {
  resize: none;
  height: 150px;
}

.contact-form input, .contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color: #ffffff;
  box-shadow: 0 0 5px #0000008a;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px #ff6384;
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
}

.contact-form button[type="submit"] {
  background-color:  #febbbd;
  color: #fff;
  border: 2px;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
  background-color:  #febbbda2;
}


/* kontakt info kase */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
 
}

.item {
  text-align: center;
  
  padding: 5px;
  
}

.icon {
  font-size: 30px;
  margin-top: 15px;
}

h4 {
  text-align: center;
  text-align: center;
  margin: 1px;
  font-size: 20px;
}

h5 {
  text-align: center;
margin: 10px;
  font-size: 30px;
  align-items: center;
}


/* Styling for på mobil */
@media (max-width: 768px){
h5 {
font-size: 20px;

}
.contact-form .heading {
font-size: 20px;

}
}



/*Om mig info kase = uiverse.io */
  .card {
  width: 280px;
  height: 280px;
  background: linear-gradient(50deg, #febbbd, #fad0c4, #ec9ad5, #9ce6fc, #8cd9fc);
  border-radius: 32px;
  padding: 5px;
  position: relative;
  box-shadow: #604b4a30 0px 70px 30px -50px;
  transition: all 0.5s ease-in-out;
  left: 50px;
}

/* Styling for på mobil */
@media (max-width: 768px){
.card {
 padding: 0px;
 left: -15px;
}}


.card .mail {
  position: absolute;
  right: 2rem;
  top: 1.4rem;
  background: transparent;
  border: none;
}

.card .mail svg {
  stroke: #ffffff;
  stroke-width: 3px;
}

.card .mail svg:hover {
  stroke: #000000;
}

.card .profile-pic {
  position: absolute;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  top: 5px;
  left: 5px;
  border-radius: 30px;
  z-index: 1;
  border: 0spx solid #ffffff;
  overflow: hidden;
  transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.card .profile-pic img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -o-object-position: 0px 0px;
  object-position: 0px 0px;
  transition: all 0.5s ease-in-out 0s;
}

.card .profile-pic svg {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 0px 0px;
  object-position: 0px 0px;
  transform-origin: 45% 20%;
  transition: all 0.5s ease-in-out 0s;
}

.card .bottom {
  position: absolute;
  bottom: 3px;
  left: 3px;
  right: 3px;
  background: #ffffff;
  top: 80%;
  border-radius: 29px;
  z-index: 2;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.card .bottom .content {
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 160px;
}

.card .bottom .content .name {
  display: block;
  font-size: 1.2rem;
  color: rgb(0, 0, 0);
  font-weight: bold;
}

.card .bottom .content .about-me {
  display: block;
  font-size: 0.9rem;
  color: rgb(0, 0, 0);
  margin-top: 1rem;
}

.card .bottom .bottom-bottom {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card .bottom .bottom-bottom .social-links-container {
  display: flex;
  gap: 1rem;
}

.card .bottom .bottom-bottom .social-links-container svg {
  height: 20px;
  fill: rgb(0, 0, 0);
  filter: drop-shadow(0 5px 5px rgba(165, 132, 130, 0.1333333333));
}

.card .bottom .bottom-bottom .social-links-container svg:hover {
  fill: #00000076;
  transform: scale(1.2);
}

.card .bottom .bottom-bottom .button4 {
  background: linear-gradient(50deg, #febbbd, #fad0c4);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
}

.card .bottom .bottom-bottom .button4:hover {
  background: #ffffff;
  color: #febbbd;
}

.card:hover {
  border-top-left-radius: 50px;
}

.card:hover .bottom {
  top: 20%;
  border-radius: 80px 29px 29px 29px;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.card:hover .profile-pic {
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  z-index: 3;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.card:hover .profile-pic:hover {
  transform: scale(1.3);
  border-radius: 0px;
}

.card:hover .profile-pic img {
  transform: scale(2.0);
  -o-object-position: 0px 0px;
  object-position: 0px 8px;
  transition: all 0.5s ease-in-out 0.5s;
}

.card:hover .profile-pic svg {
  transform: scale(2.5);
  transition: all 0.5s ease-in-out 0.5s;
}


/* skills */
.container .skill-box {
  width: 100%;
  margin: 25px 0;
}

.skill-box .title {
  padding-top: 10px;
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
}

.skill-box .skill-bar {
  height: 15px;
  width: 100%;
  border-radius: 10px;
  margin-top: 6px;
  background: rgba(0,0,0,0.1);
}

.skill-bar .skill-per {
  position: relative;
  display: block;
  height: 100%;
  width: 90%;
  border-radius: 8px;
  background: linear-gradient(50deg, #9ce6fc, #6dcffc);
  animation: progress 1s ease-in-out forwards;
  opacity: 0;
}

.skill-per.html {
   /*progreso de las diferentes lenguajes*/
  width: 50%;
  animation-delay: 0.1s;
}

.skill-per.wordpress {
         /*progreso de las diferentes lenguajes*/
  width: 60%;
  animation-delay: 0.1s;
}

.skill-per.canva {
      /*progreso de las diferentes lenguajes*/
  width: 90%;
  animation-delay: 0.2s;
}

.skill-per.photoshop {
      /*progreso de las diferentes lenguajes*/
  width: 70%;
  animation-delay: 0.3s;
}

.skill-per.indesign {
      /*progreso de las diferentes lenguajes*/
  width: 30%;
  animation-delay: 0.4s;
}

.skill-per.aftereffects {
      /*progreso de las diferentes lenguajes*/
  width: 10%;
  animation-delay: 0.5s;
}

.skill-per.tinkercad{
      /*progreso de las diferentes lenguajes*/
  width: 90%;
  animation-delay: 0.5s;
}


@keyframes progress {
  0% {
    width: 0;
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.skill-per .tooltip {
  position: absolute;
  right: -14px;
  top: -15px;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  background: black;
  z-index: 1;
}

.tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 10px;
  width: 5px;
  z-index: -1;
  background-color: #000000;
  transform: translateX(-50%) rotate(45deg);
}





/*fave på min steilteil*/
.container {
  height: 200px;
  width: 100%;
  border-radius: 1em;
  overflow: hidden;
  box-shadow: 0 10px 20px #dbdbdb;
  font-family: sans-serif;
}

.palette {
  display: flex;
  height: 86%;
  width: 100%;
}

.color {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  transition: flex 0.1s linear;
}

.color span {
  opacity: 0;
  transition: opacity 0.1s linear;
}

.color:nth-child(1) {
   background: #ec9ad5;
}

.color:nth-child(2) {
  background: #febbbd;
}

.color:nth-child(3) {
  background: #fad0c4;
}

.color:nth-child(4) {
  background: #9ce6fc;
}

.color:nth-child(5) {
  background: #8cd9fc;
}

.color:nth-child(6) {
  background: #fdf9f0;
  color: #000;
}

.color:nth-child(7) {
  background: #ffffff;
  color: #000;
}

.color:nth-child(8) {
  background: #000000;
}
 

.color:hover {
  flex: 2;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.color:hover span {
  opacity: 1;
}

#stats {
  height: 14%;
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5em;
  box-sizing: border-box;
  color: #bebebe;
}

#stats svg {
  fill: #bebebe;
  transform: scale(1.2);
}

/* Magic Wand Cursor */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
  