body, h1,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif}
.w3-row-padding img {margin-bottom: 12px}
/* Set the width of the sidebar to 120px */
.w3-sidebar {width: 120px;background: #222;}
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */
#main {margin-left: 120px}
/* Remove margins from "page content" on small screens */
.w3-padding-64 {
    padding-top: 20px !important;
    padding-bottom: 64px !important;
}
h3 {
    font-size: 40px;
}
.w3-xlarge {
    font-size: 40px !important;
}

.w3-padding-24 {
    padding-bottom: 0px !important; /* nu aktiveret */
}

a {
  text-decoration: none;
}

.kompetenceliste {
  display: grid;
  grid-template-columns: 1fr 1fr; /* to kolonner */
  gap: 15px 40px; /* lodret og vandret afstand */
}


.skill {
  display: flex;
  flex-direction: column;
}

.skill label {
  margin-bottom: 5px;
}

.skill input[type=range] {
  width: 100%;
  accent-color: white; /* gør slider hvid */
}

.kompetenceliste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skill label {
  margin-bottom: 8px;
  font-weight: 500;
  color: white;
}

/* Range slider styling */
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #444;
  outline: none;
  transition: background 0.3s ease;
  cursor: default; /* du har sat dem disabled, så ingen hånd */
}

/* Track hover animation */
.skill:hover .slider {
  background: linear-gradient(90deg, #292928, #cbcac6);
}

/* Thumb (selv om den er disabled, kan vi style den) */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cbcac4;
  cursor: pointer;
  transition: transform 0.3s ease;
}


.projekterflex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    margin-right: 20px;
}


.projekterflexaccordion {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 billeder pr. række */
  justify-items: center; /* centrer billeder i deres kolonne */
   align-items: center;
}

.projekterflexaccordion img {
  max-width: 180px;
  width: 100%;
}

.kompetence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.kompetence-item {
  text-align: center;
  color: white;
}

.kompetence-item i {
  font-size: 32px;
  margin-bottom: 10px;
  color: white; /* ikonerne hvide */
  transition: transform 0.3s;
}

.kompetence-item:hover i {
  transform: rotate(10deg) scale(1.2);
}

.kompetence-item p {
  margin: 0;
  font-size: 14px;
}

.accordion-header {
  display: flex;
  align-items: center; /* eller center */
  gap: 1rem; /* giver afstand mellem elementer */
  justify-content: space-evenly;
   
        box-shadow: 0 0 10px #fff;

}

.accordion-header:hover {
    box-shadow: 0 0 10px #fff;
}

.accordion-btn {
  background: transparent;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Tegn stregen rundt */
.accordion-btn::before,
.accordion-btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.accordion-btn::before {
  top: 0;
  left: 0;
}

.accordion-btn::after {
  bottom: 0;
  right: 0;
}

.accordion-btn:hover::before {
  width: 100%; /* topstregen tegnes */
}

.accordion-btn:hover::after {
  width: 100%; /* bundstregen tegnes */
}

/* Lodrette sider */
.accordion-btn span::before,
.accordion-btn span::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 0;
  background: #fff;
  transition: all 0.3s ease;
}

.accordion-btn span::before {
  top: 0;
  left: 0;
}

.accordion-btn span::after {
  bottom: 0;
  right: 0;
}

.accordion-btn:hover span::before {
  height: 100%; /* venstre side tegnes */
}

.accordion-btn:hover span::after {
  height: 100%; /* højre side tegnes */
}


.w3-large {
    font-size: 40px !important;
}
.w3-half {
    width: 33%;
}

.ikonerflex {
    display: flex;
    justify-content: space-around;
}
.grafikflex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ikoner {
    width: 8%;
}
.w3-text-grey, .w3-hover-text-grey:hover, .w3-text-gray, .w3-hover-text-gray:hover {
    color: #757575 !important;
}

.herovid {
    height: 85vh;
    width: 85vw;
}

.animationer {
    height: 50vh;
    width: 20vw;
}

.teaser {
    height: 20vh;
    width: 20vw;
}

.w3-row-padding-1 {
    display: flex;
    justify-content: space-around;
}

.w3-circlelogo {
    border-radius: 0%;
}

.w3-light-grey, .w3-hover-light-grey:hover, .w3-light-gray, .w3-hover-light-gray:hover {
    background-color: #000000 !important;
}

.w3-hover-light-grey:hover {
    background-color: #000000;
}

.accordion {
  background-color: #000000;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #000000 ;
}

.accordion,
.accordion:hover,
.w3-button.accordion,
.w3-button.accordion:hover {
  background-color: #000000 !important;
  color: #ffffff !important; /* så teksten ikke forsvinder */
}

.panel {
  padding: 0 18px;
  background-color: rgb(0, 0, 0);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}


@media only screen and (max-width: 600px) {#main {margin-left: 0}}