* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Styletile men css basically - 
så vi nemt kan ændre uden at skal rode efter det hele*/
:root {
  --font-size-primary: 3vw;
  /* --font-size-secondary:  1.2vw;  */
  --font-primary: "montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --text-primary: #ffffff;
  --text-secondary: #000000;
  --bg-primary: #000000;
  --bg-secondary: rgba(0, 0, 0, 0.6); /* overlay effekt */
  --bg-accent: #fba808;
}

/* ---------------------------- basics --------------------------*/
body {
  background-color: black;
  margin: 0;
}

/* så scrollbaren ikke er synlig */
   body::-webkit-scrollbar{
    display: none; 
  } 

h1 {
  font-family: "montserrat", sans-serif;
  font-size: 5vw;
}

h2 {
  font-family: var(--font-primary);
  font-size: 3vw;
  border-left: solid 3px var(--bg-accent);
  color: var(--text-primary);
  text-align: center;
  margin-top: 5%;
  margin: 0 30%;
}

h3 {
  font-family: var(--font-primary);
  color: var(--text-primary);
  font-size: 1.5vw;
}

h4 {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  font-size: 3vw;
  font-weight: lighter;
}


p {
  font-family: var(--font-primary);
  color: var(--text-primary);
}

a {
  font-family: var(--font-primary);
  text-decoration: none;
}

.gul{
  color: var(--bg-accent);
}


/* ----------------------- knapper --------------------------------- */
.knap1 {
  background-color: #fba808;
  color: var(--text-secondary) !important;
  transition: 0.3s;
  font-weight: bold;
  text-align: center;
  padding: 1% 3%;

}
.knap2 {
  background-color: rgba(0, 0, 0, 0.6);
  border-color: var(--bg-accent);
  border-width: 3px;
  border-style: solid;
  padding: 1.2% 3%;
  color: var(--text-primary);
  text-decoration: none;
  font-family: "montserrat", sans-serif;
  transition: 0.3s;
  font-weight: bold;
}

.centerKnap {
  margin:3%;
  text-align: center;
}

button{
  border: solid var(--bg-accent) 4px;
}

/* ---------------------------- nav bar --------------------*/

#laptopNav a {
  text-decoration: none;

}

#logo {
  height: auto;
  width: 100%;
  max-width: 300px;
}

.mobile-nav {
  display: none;
}

.mobile-nav.is-active {
  display: flex;
}

/* -------------------------------- landing ------------------------------- */
.landing {
  color: white;
  margin-left: 2%;
}

.landing p {
  font-family: "montserrat", sans-serif;
  margin-bottom: 5%;
}

.videopladsholder {
  height: 100%;
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
}

video {
  width: 90%;
  border-radius: 15px;
  margin:auto;
}

.brødtekst {
  z-index: 1;
  margin: 5% 5% 2.5% 5%;
  font-family: "montserrat", sans-serif;
  font-size: 1.2vw;
}

.brødtekst a {
  text-decoration: underline;
  color: #fba808;
}

.brødtekst p {
  color: white;
  padding-left: 2.5%;
  border-left: 3px solid #fba808;
}

/* ------------------------------ linjefag ----------------------------------- */

.sectionMKort h2 {
  /* kan det ikke bare være h2 generelt? for der er mange overskrifter med orange linje,
    og så kan vi bruge h3 som overskriften uden linjen? */

  color: white;
  font-family: "montserrat", sans-serif;
  font-size: 3vw;
  border-left: solid 3px #fba808;
  text-align: center;
  margin-top: 5%;
}

.linjefagsikoner {
  max-height: 150px;
  width: auto;
  display: flex;
  justify-content: space-around;
  margin: 2% 10%;
  transition: 1s;
}


.kortContainer {
  /* en container til alle kortene */
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.billedeKort {
  /* en til at bestemme str. på kort */
  height: 350px;
  width: 350px;
  /*background-color: aqua; */
  margin: 2%;
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
}

.linjefagKort {
  /* en til at bestemme overlay */
  height: 130px;
  width: 350px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border-radius: 15px;
  align-items: center;
  padding: 0 10%;
}

.ikon {
  width: 80px;
  height: 80px;
}

.billedkunst {
  background-image: url(images/billedkunstlinjefag.jpg);
}

.drama {
  background-image: url(images/dramalinjefag.jpg);
}

.esport {
  background-image: url(images/esportlinjefag.jpg);
}

.sport {
  background-image: url(images/sportlinjefag.jpg);
}

.musik {
  background-image: url(images/musiklinjefag.jpg);
}

/*------------------------------ blog ------------------------*/
/* ref video: https://www.youtube.com/watch?v=9HcxHDS2w1s
*/

.bloggen {
  background-color: #000f14;
  padding-top: 0.1%;
  margin-bottom: 5%;
}

.bloggen h2{
  margin: 2% 37%;
  /* jeg ved ikke hvorfor den abselut skal have mere en 30% for at sidde pænt,
  når alle andre steder er 30% nok ? >:C */
}

.blog {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin-top: 2%;
}

/*Styles fra YTvideo start*/
.carousel {
  width: 76vw; /*vores bredde*/
  height: 80vh; /*vores højde*/
  position: relative;
}

.carousel > ul { /*fordi ul har default padding og margin*/
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0; /*Så billederne ryger oven på hinanden*/
  opacity: 0; /*For at gemme billederne der ikke er "active"*/
  transition: 300ms opacity ease-in-out; /*Vi har sat transition til 300ms så effecten bliver tydeligere*/
  transition-delay: 300ms; /*Den nye slide fader færdig til data-active, før den gamle forsvinder*/
}

.slide > img {
  display: block; 
  width: 100%; /*100% bredde og højde så de udfylder .carousel*/
  height: 100%; /**/
  object-fit: cover;
  object-position: center;
  border-radius: 15px; /*vores*/
}
.slide[data-active] { 
  opacity: 1; /*transition ease mellem opacity 0 og 1*/
  transition-delay: 0;
  z-index: 1; /*active slide dukker altid op øverst*/
}

.carousel-button {
  position: absolute; /*Så vi frit kan rykke dem*/
  z-index: 2;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  border-radius: 5px; /*Så hjørnerne passer med vores afrundinger*/
  padding: 0 0.5rem;
  background-color: rgba(0, 0, 0, 0.248);
}

.carousel-button:hover /*hover state så knapperne bliver mere brugervenlige*/ {
  color: white;
  background-color: rgba(0, 0, 0, 0.778);
}

/*
.carousel-button:focus {
  outline: 1px solid black;
}*/

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem; /*Så knappen faktisk bliver rykket over til højre*/
} /*Styles fra youtubevideo slut*/

/* ----------------- efterskolernes aften og besøgsdag kort ------------ */

.besøgsKort {
  height: 500px;
  width: 500px;
  margin: 2%;
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
}

.besøg .kortContainer {
  flex-direction: column;
  justify-content: flex-end;
}

.besøgsdag {
  background-image: url(images/besøg.jpg);
  border-radius: 15px;
}

.efterskolernesAften {
  background-image: url(images/aften.jpg);
  border-radius: 15px;
}

.besøg .linjefagKort {
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  height: 200px;
  width: 500px;
  display: flex;
  background-color: var(--bg-secondary);
  border-radius: 15px;
  padding: 0 10%;
}

.besøg a {
  padding: 3% 12%;
  font-weight: bold;
}

.besøg img {
  max-height: 300px;
  display: flex;
  /* skal sidde nederst */
}

/* --------------------- gamle elev citater ---------- */

.gamleElever {
  background-color: #000f14;
  width: 100%;
  padding-top: 3%;
}

/* ---------------- Tilmeldings sektion --------- */

.tilmeldingContainer {
  display: flex;
  justify-content: center;
  margin: 7% 0;
}

.tilmelding p {
  text-align: center;
  margin: 2% 0;
}

.tilmelding p a {
  color: #fba808;
}

.tilmelding p a:hover {
  color: #fba808;
  text-decoration: underline;
}

.tilmelding .knap1 {
  font-weight: bold;
  border: 4px solid var(--bg-accent)
}

/* ----------------- Instagram sektion ---------------- */

.instaContainer {
  height: auto;
  text-align: center;
}

.instaContainer h2 {
  margin-bottom: 2%;
}

.instaContainer a{
  color: var(--text-primary);
}


/* ---------------------------- footer ---------------------- */

footer {
  margin-top: 5%;
  background-color: #000f14;
}

footer a{
  color: var(--text-primary);
}

.footerLogo {
  margin-left: 10.5%;
}

.footerContainer {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.venstreSide {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  line-height: 2;
  border-left: 3px solid var(--bg-accent);
  padding-left: 3%;
  max-height: 550px;
  max-width: 500px;
  margin-top: 2%;
  padding-bottom: 3%;
}

.venstreSide .knap1 {
  max-width: 50%;
  text-align: center;
  font-weight: bold;
  padding: 2% 2%;
}

.venstreSide a img {
  width: 40px;
  height: auto;
  margin: 2%;
}

.textContainer h3 {
  margin: 4% 0 1% 0;
}

.højreSide {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  line-height: 2;
  margin-left: 2%;
}

.højreside iframe {
  border-radius: 15px;
  margin: 2% 0; 
  max-width: 500px;
  height: 500px;
}

/* ---------------- billedkunst underside --------------
 ************** stadig under opbygning! ***********  */



#kunstTitel {
  margin-bottom: 5%;
}

.fylde{
  padding: 2% 3%;
}

.moerkBg{
  background-color: #000F14; /* mørk navy */
  padding-bottom: 1%;
}

/* ---- landing ---- */

.textContainer{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 2% 0;
}

.textIndhold{
  width: 90%;
  margin: auto;
  padding: 2% 0 0 0;
}

.textIndhold p{
  padding-bottom: 2%;
}

.textIndhold img{
  width: 50%;
  height: auto;
  margin-top: 2%;
}

.textIndhold h2{
  font-size: 2vw;
  margin-bottom: 2%;
}


.textIndhold li{
  list-style: disc;
  margin-left: 2%;
  font-size: 1.5vw;
}

.textIndhold p{
  font-size: 1.5vw;
}


.ikonStr{
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2%;
}

/* ---- kunst grid med kort ---- */ 
.kunstKort{
  width:100%;
  height: auto;
  margin-top: 5%;
}

.kunstKort h2{
  text-align: center;
  margin: 2% 30%;
  font-size: 2vw;
}


.grid-container {
  display: grid;
  gap: 25px;
  margin: auto;
  width: 90%;
}

.grid-img{
  position: relative;
}

.grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  cursor: pointer;
  border-radius: 15pt;
}

.overlayOrange{
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  background-color:#fbaa08bf; /* de sidste to bogstaver er gennemsigtigheden */
  color: white;
  padding: 10% 0;
  text-align: center;
  border-radius: 15px;
}

.overlayOrange p{
  font-weight: bold;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  transition: opacity 0.1s ease-in-out;
}

.modal-content {
  max-width: 60%; 
  height: auto;
  margin: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease-in-out;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* ---------- mød lærene sektion --------- */


.laerer{
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.laerer img{
  width: 100%;
  height: aut0;
}


h5{
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1.5vw;
}

.overlay{
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  background-color: var(--bg-secondary);
  color: white;
  padding: 10% 0;
  text-align: center;
  border-radius: 15px 15px 0 0;
}

.overlay p{
  font-weight: bold;
}


/* --------------- de andre linjefagssider ------------ */

.containerRow{
  display: flex;
  flex-direction: row;
  width: 90%;
  margin: auto;
  justify-content: space-evenly;
}

.containerColumn{
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
}


.containerColumn li{
  list-style: disc;
  margin-left: 2%;
}


.billedePosRel{
  position: relative;
  margin: 2% 0 2% 2%;
}

.linjeHori{
  max-width: 350px;
  height: 5px;
  margin: 6% 0;
}

.textIndhold h2{
  margin: 2% 26%;
}

.autoGallery{
  display:flex;
  justify-content: center;
  align-items: center;
}

.pil{
  height: 50px;
  width: 50px;
  font-size: 40pt;
  align-items: center;
  background: none;
  color: var(--bg-accent);
  border:none;
}

.musikGallery{
  position: relative;
  border-radius: 15px;
}

.musikGallery img{
  border-radius: 15px;
}

.overlaySort{
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  max-height: 230px;
  background-color: var(--bg-secondary);
  color: white;
  padding: 3% 2% 5% 2%;
  border-radius: 15px 15px 0 0;
}

.overlaySort p{
  margin-bottom: 7%;
  margin-top: 2%;
}




.plads{
  margin-top: 5%;
}


/* ---------------- Tilmeldingsblanket undersider ------------ */
#blanketinfo{
  display: flex;
  flex-direction: column;
  margin-top: 2%;
}

#blanketinfo h2{
  padding: 0 2%;
}

#blanketinfo p{
  text-align: center;
  margin: 1% 17% 2% 17%;

}

.etKortIMidten{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  margin: 0 0 5% 0;
}

form{
  background-color: #000f14;
  border-radius: 15px;
  width: 65%;
  padding: 5%;
}

.gul{
  color: var(--bg-accent);
}

form h6{
  font-family: var(--font-secondary);
  color: var(--text-primary);
  font-size: 1.5vw;
  font-weight: 400;
  margin: 4% 0 1% 0;
}

label{
  color: var(--text-primary);
  font-family: var(--font-primary);
  
}

form .textLabel{ /*margin virker ikke*/
  font-family: var(--font-secondary);
  color: var(--text-primary);
  font-size: 1.5vw;
  margin: 4% 0 1% 0;
}

ul li{
  list-style: none;
  margin-bottom: 1%;
  color: #ffffff;
  font-family: var(--font-primary);
}

.tekstinput{
  background-color: #000f14;
  border-radius: 15px;
  border: #fba808 solid 3px;
  font-family: var(--font-primary);
  font-weight: bold;
  color: var(--text-primary);
  padding: 1.2%;
  width: 90%;
  margin: 1% 0 3% 0;
}

.kortmbgfarve{
  background-color: #fba808;
  border-radius: 15px;
  width: 65%;
  padding: 5%;
}

.kortubgfarve{
  border-radius: 15px;
  border: #fba808 solid 3px;
  width: 65%;
  padding: 5%;
}

#programli{
  margin-left: 5%;
}

#programli li{
  list-style-type: disc;
}

#laesMereKort{
  background-image: url(images/læsmeregruppebillede.jpg);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  width: 52%;
  height: 450px;
}

#laesMereOverlay{
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 5%;
}

#laesMereOverlay h3{
  font-size: 2.5vw;
}

#laesMereOverlay p{
  font-size: 1vw;
}

#laesMereOverlay .knap2{
  text-align: center;
  margin: 2% auto;
  padding: 2% 4%;
}

/*-----------------------------Bekræftelsesside----------------------*/

.bekræftelse{
  border: solid #fba808 3px;
  border-radius: 15px;
  text-align: center;
  width: 65%;
  padding: 3% 0;
}

.bekræftelse img{
  height: 100px;
}

.bekræftelse h2{
  margin: 5% auto 2.5% auto;
  border: none;
}

.bekræftelse p{
  margin: 3% 0 5% 0;
}

.bekræftelse > .knap1{
  padding: 1.5% 3%;
  border:none;
}



/*-----------------------------INDmeldelsesside----------------------*/
.femkort{
  width: 74.5%;
  /*background-color: aqua;
  /*height: 105vh;*/
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 5%;
}

.touafem, .treuafem{
  width: 49%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.touafem .trin:first-child{
  height: 56%;
}

.touafem .trin:nth-child(2){
  height: 41%;
}

.touafem .trin:first-child .knap1{
  padding: 2%;
}

.touafem .trin:first-child p{
  margin-bottom: 5%;
}

.trin{
  background-color: #000f14;
  border-radius: 15px;
  padding: 6%;
}

#trinubg{
  display: flex;
  flex-direction: row;
  height: 21%;
}

#trinubg img{
  border-radius: 15px;
  height: 100%;
}

#trinubg div{
  width: 75.5%;
  padding: 6%;
}

#trinubg div a{
  color: #fba808;
}

#trinubg div a:hover{
  text-decoration: underline;
}

.treuafem .trin:nth-child(3){
  height: 41%;
}


/*----------------------------------------Mobil---------------------------------*/

@media screen and (max-width: 780px) {
  #laptopNav {
    display: none;
  }

  #mobilNav {
    display: block; 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }


  


/* ---------------- burger menu ----------------------------- */
.hamburger{
    display: block;
    cursor: pointer;
    margin-right: 5%;
    width: 40px;
    height: 40px;
}
.hamburger .bar, .hamburger:after, .hamburger:before{
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin: 10px 0px;
    transition: 0.5s;
    background-color: var(--bg-accent);
}
.hamburger.is-active:before {
    /* Rotér top linjen 45 grader og vip den ned på hæjre side*/
    transform: rotate(45deg) translate(10px, 9px);
}

.hamburger.is-active:after {
    /* rotér bund linjen -45 grader og vip den op på hjøre side */
    transform: rotate(-45deg) translate(9px, -10px);
}
.hamburger.is-active .bar{
    opacity: 0;
}

.mobile-nav{
  display: none;

}
.mobile-nav.is-active{
  left: 0;
  flex-direction: column;
  align-items: center;
  position: fixed;
  width: 100%;
  min-height: 100vh;
  transition: 0.5s; 
  z-index: 5;
  background-color: var(--bg-secondary);
}

.mobile-nav > div{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: left;
}


.mobile-nav a{
  color: var(--bg-accent);
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 10pt;
  margin: 1% 0;
}

.mobile.nav .knap1{
  border: none;
}


/* til accordian-delen af burger menu */
.accordion {
  cursor: pointer;
  margin: 2%;
  width: 100%;
  text-align: left;
  transition: 0.4s;
  background-color: hsla(0, 0%, 0%, 0); /* gør den gennemsigtig */
  border:none;

  /* og til texten */
  text-align: center;
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 12pt;
}


.panel {
  display: flex;
  display: block;
  flex-direction: column;
}


/* knapper og basics som headings*/

  .knap1,
  .knap2,
  .centerknap a {
    font-size: 12pt;
    border-radius: 15px;
  }

  .centerKnap .knap1 {
    width: 40%;
    height: auto;
    font-weight: bold;
    margin: 2%;
    padding: 1.5% 3%;
    margin-bottom: 4%;
  }

  h1 {
    font-size: 20pt;
  }

  h2 {
    font-size: 16pt;
    height: 10%;
    margin: 0 30%;
  }

  h3 {
    font-size: 3.5vw;
  }

  p {
    font-size: 10pt;
  }

  .landing {
    position: relative;
    margin: 3% 0 0 5%;
  }

  .landing p {
    margin-bottom: 3%;
  }

  .videopladsholder {
    flex-direction: column;
  }

  .linjefagsikoner img {
    height: 40px;
  }

  .billedeKort {
    height: 250px;
    width: 250px;
  }

  .linjefagKort {
    height: 70px;
    width: 250px;
  }

  .ikon {
    width: 50px;
    height: 50px;
  }

  /* instagram sektion */
  .kunBilleder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    margin-bottom: 10%;
  }

  .instaGrid {
    display: grid;
    grid-template-columns: auto auto auto;
    max-width: 100%;
    row-gap: 2%;
    column-gap: 2%;
    justify-content: center;
  }

  .grid-item {
    border-radius: 15px;
    padding: 2%;
  }

  .instaGrid img {
    max-width: 100px;
  }


  /* footer */
  .footerContainer {
    display: flex;
    width: 100%;
    justify-content: space-around;
    flex-direction: column;
  }

  footer {
    margin: 0 2% 2% 2%;
  }


/* besøgskort */

.besøgsKort {
  height: 300px;
  width: 300px;
}

  
  /* gamle elev sektion */
  .elevContainer {
    display: flex;
    flex-direction: column;
    padding: 5%;
    justify-content: center;
    height: auto;
  }

  #mobilVersion {
    display: block;
  }

  #laptopVersion {
    display: none;
  }

  .LasseOgMia {
    width: 100%;
    padding: 0 1.5%; /*luft i siderne*/
  }

  .LasseOgMia img {
    border-radius: 15px;
    width: 100%;
  }

  .LasseOgMia h3 {
    margin: 4% 0 3% 0;
    text-align: center;
  }

  .LasseOgMia h4 {
    font-size: 16pt;
    font-family: var(--font-secondary);
    margin: 2% 0 2% 0;
    font-style: italic;
  }

  .column1,
  .column2 {
    margin: 0 6%;
  }

  /* tilmeldingssektion */

  .tilmelding {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    border: 4px solid var(--bg-accent);
    padding: 5% 10%;
    margin: 5%;
    gap: 5%;
  }

  .tilmelding h4 {
    font-size: 20pt;
    margin-bottom: 5%;
  }

  .tilmelding .knap1 {
    font-weight: bold;
    padding: 2% 4%;
    margin-top: 5%;
  }
  

  /* instagram sektion */

  .kunBilleder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    margin-bottom: 10%;
  }

  .instaGrid {
    display: none;
  }

  .grid-item {
    border-radius: 15px;
    padding: 2%;
  }

  .instaGrid img {
    max-width: 100px;
  }

  .instaReel{
    display: flex;
    width: 100%;
    justify-content: space-around;
  }



  /* footer */

  .højreside{
    margin-left: 4%;
  }
  

.højreside iframe {
  border-radius: 15px;
  margin: 2% 0; 
  max-width: 250px;
  height: 250px;
}

  /*****************Indmelding************/
  .touafem, .treuafem{ /*lidt resposive*/
    width: 100%;
    height: auto;
  }




  /* ******** billedkunst underside ******** */
  #kunstTitel {
    font-size: 22pt;
  }

  /* **** billedkunst grid *** */
.grid-container {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

.grid-container{
 max-width: 400px;
}

.laerer{
    max-width: 200px;
    margin:2%;
}

.læreImg{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ikonStr{
  max-width: 50px;
}

.containerRow{
  display: flex;
  flex-direction: column;
}


/* ----- billedkunst sektioner med h2 -------- */

.kunstKort h2{
  font-size: 14pt;
  margin: 10%;
}

.textIndhold img{
  width: 100%;
  height: auto;
}

.textIndhold p{
  font-size: 10pt;
}

.textIndhold li{
  font-size: 10pt; 
}

.textIndhold h2{
  font-size: 14pt;
  margin: 10%;
}

.overlay h5{
  font-size: 12pt;
}

.containerColumn p{
  font-size: 10pt;
}

.containerColumn li{
  font-size: 10pt;
  margin-left: 5%;
}

.containerColumn h5{
  font-size: 12pt;
}

.containerColumn h3{
  font-size: 14pt;
}

.billedePosRel{
  margin: auto;
  margin-top: 5%;

}


}



/*----------------------------------------------Laptop------------------------------------*/

@media screen and (min-width: 780px) {
  #laptopNav {
    display: block;
  }

  #mobilNav {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  #laptopNav {
    font-family: "montserrat", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
  }

  .hamburger{
    display: none;
}

  .knap1,
  .knap2,
  .cetnerknap a {
    font-size: 1.2vw;
    border-radius: 15px;
  }

/* ----------------- drop down-----------------
**** ref: w3schools *** */
.dropbtn {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-weight: bold;
  font-size: 1.2vw;
  padding: 16px;
  border: none;
  cursor: pointer;
}


.dropbtn:hover, .dropbtn:focus {
  transition: 0.3s;
  transform: scale(1.1);
  color: var(--bg-accent);
  
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-secondary);
  min-width: 160px;
  overflow: auto;
  border: var(--bg-accent);
  z-index: 1;
  border-radius: 15px;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
}

.dropdown-content a {
  color: rgb(255, 255, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover{
  color: var(--bg-accent);
  background-color: var(--bg-secondary);
}



.show {
  display: block;
}


/* ------------ hover effekter ------------ */

#readmore:hover {
  transition: 3s;
  transform: scale(1.1);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0px 3px 0px var(--text-primary);
}

.knap1:hover {
  transition: 0.3s;
  background-color: var(--bg-secondary);
  border: 4px solid var(--bg-accent);
  color: var(--text-primary) !important;
}
.knap2:hover {
  background-color: var(--bg-accent);
  color: var(--text-secondary);
}

  h2 {
    margin: 0 30%;
  }

  p {
    font-size: 15pt;
  }

  .centerKnap .knap1 {
    width: 250px;
    height: 25px;
    font-weight: bold;
    margin-top: 2%;
    padding-left: 2.7%;
    margin-bottom: 4%;
  }

  .landing {
    position: absolute;
    top: 45%;
    left: 5.8%;
  }


  .linjefagsikoner img {
    height: 80px;
  }

  
  .linjefagsikoner img:hover {
    transition: 0.3s;
    transform: scale(1.1);
    box-shadow: 0px 3px 0px var(--bg-accent);
  }

  /* gamle elev sektion */

  .elevContainer {
    display: flex;
    flex-direction: row;
    padding: 2%;
    justify-content: center;
    height: auto;
  }

  #mobilVersion {
    display: none;
  }

  #laptopVersion {
    display: block;
  }

  .LasseOgMia {
    width: 40%;
    padding: 0 1.5%; /*luft i siderne*/
  }

  .LasseOgMia img {
    border-radius: 15px;
  }

  .column1 {
    padding-left: 10%;
    max-width: 400px;
  }

  .column2 {
    padding-left: 10%;
    max-width: 400px;
  }

  .LasseOgMia h3 {
    margin: 4% 0 3% 0;
  }

  .LasseOgMia h4 {
    font-size: 2vw;
    font-family: var(--font-secondary);
    margin: 2% 0 2% 0;
    font-style: italic;
  }

  /* tilmeldingssektion */

  .tilmelding {
    width: 75%;
    height: auto;
    padding: 2%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    border: 4px solid var(--bg-accent);
    padding: 5% 10%;
  }



  /* instagram sektion */
  .kunBilleder {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
  }

  .instaGrid {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    max-width: 100%;
    row-gap: 2%;
    column-gap: 2%;
    justify-content: center;
  }

  .instaContainer a:hover{
    color: var(--bg-accent);
  }

  .grid-item {
    border-radius: 15px;
    padding: 2%;
  }

  .instaGrid img {
    max-width: 180px;
  }

  .instaReel{
    display: none;
  }

  /* ****** Billedkunst underside **** */
  #kunstTitel {
    font-size: 4vw;
  }


  footer a:hover{
    transition: 0.3s;
    transform: scale(1.1);
    box-shadow: 0px 2px 0px var(--bg-accent);
  }


  /* billedkunst grid */
  .grid-container {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  

  .læreImg{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  

  .ikonStr{
    max-width: 100px;
  }

  .containerRow{
    display: flex;
    flex-direction: row;
  }

  
.containerColumn p{
  font-size: 1.5vw;
}

.containerColumn li{
  font-size: 1.5vw;
}

}
