.header {
  background-color: #368542;
  border-radius: 20px;
  margin: 10px;
  display: flex;
  justify-content: center; /*den her sammen med nedenstående giver en perfekt centrering*/
  align-items: center;
  position: relative;
}

.divOverlayX {
  margin: 4em;
  position: relative;
  aspect-ratio: 2.6 / 1; /* en anden mulighed - passer med størrelsesforholdet på billedet - width skal være 100%*/
  width: 100%;
}

.billedeClass {
  width: 100%;
  height: auto;
}

.billedeClass img {
  width: 100%;
  height: auto;
  display: block;
}

.HeaderTitel {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; /*den her sammen med nedenstående giver en perfekt centrering*/
  align-items: center;
}

.flex-container {
  /* div container som indeholder titel på modul og og hvilket tema */
  display: flex;
  flex-direction: column; /* gør at modul og tema står over hinanden*/
  align-items: center; /* gør at de bliver centreret ift hinanden */
}

.titleBig {
  background-color: rgba(54, 133, 66, 0.85);
  padding: 30px;
}

.titleSmall {
  background-color: rgba(54, 133, 66, 0.85);
  padding: 20px;
}

@media (max-width: 799px) {
  /*det her gør at hvis det er en skærm som er mindre end 799px så laves header om til at have et mindre billede */
  .divOverlayX {
    aspect-ratio: none;
    margin: 1em;
  }
  .titleBig {
    padding: 10px;
  }

  .titleSmall {
    padding: 10px;
  }
  h1 {
    font-size: 2.5em;
  }
}
.textHeader {
  color: #efbd57;
}
/* skifter farve så det passer med temaet - ændrer class fra general.css */

/* skifter farve så det passer med temaet - ændrer class fra general.css */
.barsGoo {
  color: #efbd57;
}

/* skifter farve så det passer med temaet - ændrer class fra general.css */
.øvelseBoxElement {
  border-left: solid #368542 0.2em;
}

.headerØv {
  color: #368542;
}

.tooltip {
  border-bottom: 1.5px dotted #368542;
}

.tooltip-text {
  color: #368542;
}

.brug-sprog-instr {
  border-left: solid #368542 0.2em;
}

/* a.01 */
/* css til slideshow */

.PerfectCenter {
  /* den her klasse er også i generel*/
  padding-top: 40px;
}

.mySlides {
  /* en klasse som gør at alle slidesene ikke vises som udgangspunkt*/
  display: none;
}

.dot,
.dotA02,
.dotA03,
.dotB02,
.dotB03 {
  width: 15px;
  height: 15px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block; /*display: inline-block allows to set a width and height on the element. Also, with display: inline-block, the top and bottom margins/paddings are respected*/
  cursor: pointer;
  margin: 0em 0.2em;
  transition: background-color 0.6s ease; /*her angiver jeg en transition på 0,6 sek når farven ændres*/
}

.dots-container {
  position: absolute;
  bottom: 10%;
  width: 100%;
}

.active,
.dot:hover,
.dotA02:hover,
.dotA03:hover,
.dot:active,
.dotB02:active,
.dotB03:active {
  background-color: #717171;
}

.slideshow-container {
  /*den her container bruger jeg til dr-øvelsen*/
  width: 100%;
  height: 20em;
  /* border: solid yellow; */
  position: relative;
  padding: 0.3em 0em 5em 0em;
}

.slideshow-container02 {
  /*den her container bruger jeg til dr-øvelsen*/
  width: 100%;
  /*height: 20em;*/
  /*border: solid yellow;*/
  position: relative;
  padding: 0.3em 0em 5em 0em;
}

.slideshow-container-bøj-skema {
  /*den her container bruger jeg til dr-øvelsen*/
  width: auto;
  height: auto;
  /* border: solid yellow; */
  position: relative;
  padding: 0.3em 0em 5em 0em;
}

.flex-horizontal-center {
  display: flex;
  justify-content: center;
}

.flex-prev-next {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* border: solid red 1px; */
}

.flexbox-next {
  position: absolute;
  top: 0;
  right: 0;
}

.flexbox-prev {
  position: absolute;
  top: 0;
  left: 0;
}

.prev-next {
  font-size: 2em;
  color: #bbb;
  /* border: solid blue; */
  padding: 1em;
  transition: 0.6s ease;
}

.prev {
  position: absolute;
  top: 33%;
  left: 0;
}

.next {
  position: absolute;
  position: absolute;
  top: 33%;
  right: 0;
}

.prev-next:hover {
  color: #717171;
  cursor: pointer;
}

.talSlideShow {
  color: #86868b;
}
/* slut css til slideshow */

/*css til DR's nyhedquiz (sandt / falsk etc*

/* vælg den rigtige form (baseret på DRs nyhedsquiz)*/

.flex-box-column {
  display: flex;
  flex-direction: column;
}

.translate-word {
  background: white;
  display: inline-block;
  padding: 8px 20px 8px 8px;
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #368542;
}

.translate-word-response {
  background-color: #333333;
  color: white;
  padding: 8px;
  width: fit-content; /*tilpasser en div til indholdet */
  margin-bottom: 2px;
  cursor: pointer;
  transition: 0.6s ease;
  display: flex;
  align-items: center;
}

.arrow {
  padding-right: 4px;
}

.translate-word-response:hover {
  background-color: black;
}
/*slut på css til drs nyhedsquiz*/

/* a.02 */

/*start på css til øvelse med bøjningsskema a.03*/

.bøj-skema-grid {
  display: grid;
  grid-template-columns: auto auto auto;
  /*margin: 20px 75px 100px 75px;*/
  gap: 5px;
}

div.bøj-skema-grid > * {
  padding: 5px;
  background-color: white;
  border-radius: 5px;
}

.skema-titel {
  grid-column: 1 / 4;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 5px;
}

.skema-header {
  grid-column: 1 / 4;
  text-align: center;
  font-size: 1.1em;
}

.skema-kol01 {
  grid-column: 1 / 2;
  color: #86868b;
  font-style: italic;
  font-size: 0.8em;
}

.skema-kol02 {
  grid-column: 2 / 3;
  color: #86868b;
}

.skema-kol03 {
  /*input som jeg stiler*/
  grid-column: 3 / 4;
  border: none;
  font-size: 16px;
  outline: none;
  transition: 0.2s ease;
}

::placeholder {
  /*ændrer farven på placeholder text i input*/
  color: #ebebec;
}

/* a.03 match */
/* a.03 er kopieret fra tema01 b.03*/

.a01Grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  margin: 50px 50px 100px 50px;
  gap: 20px;
  font-size: 1.3em;
  /*width: 860px;
  height: 340px;*/
}

@media (max-width: 1200px) {
  /*det her gør at hvis det er en skærm som er mindre end 1200px så laves øvelseBox om til display row i stedet*/
  .a01Grid {
    grid-template-columns: auto auto;
  }
}

.a01GridElement {
  background-color: white;
  border-radius: 7px;
  /*width: 200px;*/
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #86868b;
  transition: 0.3s ease;
}

.a01Grid > div:hover {
  box-shadow: 5px 5px 10px #86868b;
  color: black;
  cursor: pointer;
}

.testClass {
  color: red;
}

.position-tip {
  position: absolute;
  right: 30px;
  bottom: 30px;
}

.blueBorder {
  border: solid #005296;
}

.redBorder {
  border: solid red;
}

/* b.01 */
/*b.01 jeg har copy pasted direkte fra w3schools. Der er flere ting som jeg ikke er sikker på hvordan fungerer*/

.perfect-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card:hover {
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

/*.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
} */

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: white;
}

.flip-card-back {
  background-color: rgba(0, 82, 150, 0.3);
  color: white;
  font-size: 2em;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.flipCardSpecial {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

.tipB01 {
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 0.5em;
  color: #ff5300;
}

/*ikon til udtale i b.01*/

.ikon {
  padding: 10px;
  border-radius: 50%;
  transition: 0.4s ease;
  font-size: 0.6em;
  z-index: 100;
}

.ikon:hover {
  color: #86868b;
}

.klikVend {
  font-size: 14px;
  position: absolute;
  bottom: 8px;
  right: 40%;
  color: white;
}

/* b.03 */
.flexCenter {
  display: flex;
  align-items: center;
  padding: 8px 0px 8px 5px;
}

/* c.01 */
/* jeg genbruger en del klasser fra slideshow i starten af dette dokuemnt. Men jeg modificerer også en del forneden */

.centerTxt {
  position: relative;
  text-align: center;
  padding: 1em;
}

.slideshowContImg {
  /*den her container bruger jeg til dr-øvelsen*/
  max-width: 1000px;
  position: relative;
}

.imgSlide {
  width: 100%;
  height: auto;
}

.imgSlide02 {
  height: auto;
  max-width: 596.84px;
  display: block;
  margin: auto;
}

.mySlidesC01 {
  display: none;
  max-width: 797px;
  /*max-height: 530px;*/
  position: relative;
}

.mySlidesY {
  display: none;
  max-width: 797px;
  /*max-height: 530px;*/
  position: relative;
}

.flex-horizontal-centerC01 {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 5%;
  left: 50%;
  z-index: 100;
  color: white;
}

.dotC01,
.dotY {
  width: 15px;
  height: 15px;
  background-color: white;
  border-radius: 50%;
  display: inline-block; /*display: inline-block allows to set a width and height on the element. Also, with display: inline-block, the top and bottom margins/paddings are respected*/
  cursor: pointer;
  margin: 0em 0.2em;
  transition: background-color 0.6s ease; /*her angiver jeg en transition på 0,6 sek når farven ændres*/
}
.dotC01:hover,
.dotY:hover {
  background-color: #717171;
}

.prev-nextImg {
  font-size: 2em;
  color: white;
  /* border: solid blue; */
  padding: 1em;
  transition: 0.6s ease;
}

.prev-nextImg:hover {
  color: #717171;
  cursor: pointer;
}

.billTekst {
  position: absolute;
  background-color: white;
  color: #717171;
  font-size: 18px;
  padding: 6px;
  top: 0px;
  left: 16px;
  z-index: 100;
}

.afsnitTekst {
  font-size: 1.1em;
  text-align: justify;
  font-family: verdana, serif;
  line-height: 150%;
  padding: 0em 5em 0em 5em;
  font-style: italic;
  color: #86868b;
}

.rundImg02 {
  width: 75px;
  height: auto;
  border-radius: 50%;
  justify-self: left;
  margin-right: 10px;
  border: solid #bbb 3px;
}

/* c.03 c.04 */
/* grid container til sandt falskt */
.grid-containerC02 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  font-size: 1.2em;
  margin: 20px 30px 100px 30px;
  width: 412px;
}

.grid-headingC02 {
  grid-column: 1 / 4;
  /*text-align: center;*/
  font-size: 1.1em;
  /*font-weight: bold;*/
  color: black;
  margin-bottom: 20px;
  margin-top: 15px;
  border-bottom: solid #86868b;
  padding-bottom: 10px;
  text-align: center;
}

.spørgsmålC02 {
  grid-column: 1 / 2;
  width: 300px;
  display: flex;
  align-items: center;
  color: #86868b;
}

.spørgsmålC02 p {
  /* den her klasse fjerner margin fra alle p-elementerne med spørgsmål i*/
  margin: 0px;
}

.sandtC02 {
  grid-column: 2 / 3;
}

.falsktC02 {
  grid-column: 3 / 4;
}

.falsktC02,
.sandtC02 {
  background-color: white;
  padding: 15px;
  border-radius: 10%;
  color: #bbb;
  width: 50px;
  height: 50px;
  display: flex;
  text-align: center;
  justify-content: center;
  transition: 0.6s ease;
}

.falsktC02:hover,
.sandtC02:hover {
  box-shadow: 0px 8px 16px 0px;
  cursor: pointer;
  color: #86868b;
}

.dispNone {
  display: none;
}

.fade-in {
  display: block;
  animation-delay: 0.5s;
  animation: fade-in 1.2s ease-in forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
    display: none;
  }

  100% {
    opacity: 1;
    display: block;
  }
}

.fade-out-02 {
  /* to add effects on events use js. You simply add the css class to the element with the effect through an eventlistener */
  animation: fade-out-02 0.03s ease-out forwards;
}
@keyframes fade-out-02 {
  0% {
    opacity: 1;
    display: block;
    /* visibility: visible;*/
  }

  100% {
    opacity: 0;
    display: none;
    /*visibility: visible;*/
  }
}

.red {
  color: red;
}

.green {
  color: green;
}

.corr {
  position: absolute;
  top: -18px;
  left: 0px;
  font-size: 12px;
}

/* c.05 */
/* jeg har taget øvelsen fra t01m05 c.02*/

.display-none {
  display: none;
}

.c02-flex-cont {
  display: flex;
  justify-content: space-between;
}

.c02-flex-cont p {
  padding: 20px;
  background-color: white;
  color: #86868b;
  border-radius: 15px;
  /*width: 220px;*/
  transition: 0.3s ease;
  margin: 10px;
  height: 60px;
}

.c02-flex-cont p:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.b02svar {
  /*omdøb den her ved lejlighed da den hedder b men skulle have hedet c*/
  background-color: white;
  color: #86868b;
  border-radius: 5px;
  padding: 10px;
  margin-top: 3px;
  border-bottom: solid green;
}

.transition02 {
  transition: 0.7s ease;
}

/* opgave d brug sproget */

.dFlex-element {
  border: solid grey 1px;
  font-size: 1.2em;
  margin: 5px;
  padding: 8px;
  height: 2em;
  border-radius: 15px;
  transition: 0.6s ease;
}

.dFlex-element:hover {
  box-shadow: 0px 8px 16px 0px;
}

.dFlex-container-plus {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center; /*den her sammen med nedenstående giver en perfekt centrering*/
  align-items: center;
}

.plusAbsolut {
  position: absolute;
  top: 50%;
  margin-top: auto;
  margin-bottom: auto;
  left: 96%;
  font-size: 2em;
  border: solid #bbb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center; /*den her sammen med nedenstående giver en perfekt centrering*/
  align-items: center;
  color: #86868b;
  background-color: white;
  z-index: 1;
}

.plusAbsolutTop {
  position: absolute;
  bottom: 94%;
  margin-left: -15px;
  margin-bottom: auto;
  left: 50%;
  font-size: 2em;
  border: solid #bbb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center; /*den her sammen med nedenstående giver en perfekt centrering af plustegnet inde i sin div*/
  align-items: center;
  color: #86868b;
  background-color: white;
  z-index: 1;
}

.dFlex-container {
  position: relative;
  border-radius: 15px;
  margin: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 30px;
  height: auto;
}

.dBoks01 {
  color: #620096;
  width: 170px;
  text-align: center;
}

.dBoks02 {
  /*width: 100px;*/
  color: #bbb;
  text-align: center;
}

.dBoks03 {
  color: #009659;
  text-align: center;
}

.dBoks04 {
  color: #005296;
  text-align: center;
}

.brug-sprog-instr {
  background-color: white;
  border-radius: 2%;
  margin-top: 50px;
}

.dTekst-holder {
  width: 500px;
  margin: 0px 60px 100px 60px;
}

.tekstInstr {
  color: #86868b;
  font-size: 1.1em;
  text-align: justify;
  line-height: 150%;
}

.flexCenter {
  display: flex;
  align-items: center;
}

.imgHolder {
  display: flex;
  justify-content: end;
}

.rundImg02 {
  width: 75px;
  height: auto;
  border-radius: 50%;
  margin: 10px;
  border: solid #bbb 3px;
}

/*d.01 nyt slidehow test*/

.slideshowContainer {
  max-width: 1000px;

  position: relative;
}

.imageSlide {
  width: 100%;
  height: auto;
}

.imageSlide02 {
  width: auto;
  max-height: 596.84px;
  display: block;
  margin: auto;
}

.imageContainer {
  display: none;
  max-width: 797px;
  position: relative;
}

.imageContainerY {
  display: none;
  max-width: 797px;
  position: relative;
}

.flexHorizontalCenterContainer {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 5%;
  left: 50%;
  z-index: 100;
  color: white;
}

.dotD01,
.dotY {
  width: 15px;
  height: 15px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  margin: 0em 0.2em;
  transition: background-color 0.6s ease;
}

.dotD01:hover,
.dotD01:active,
.dotY:hover {
  background-color: #717171;
}

.prevNextIcon {
  font-size: 2em;
  color: white;
  padding: 1em;
  transition: 0.6s ease;
}

.prevNextIcon:hover {
  color: #717171;
}

.slideText {
  position: absolute;
  background-color: white;
  color: #717171;
  font-size: 18px;
  padding: 6px;
  top: 0px;
  left: 16px;
  z-index: 100;
}

.additionalText {
  font-size: 1.1em;
  text-align: justify;
  font-family: verdana, serif;
  line-height: 150%;
  padding: 0em 5em 0em 5em;
  font-style: italic;
  color: #86868b;
}

.roundImage02 {
  width: 75px;
  height: auto;
  border-radius: 50%;
  justify-self: left;
  margin-right: 10px;
  border: solid #bbb 3px;
}

@media (min-width: 768px) {
  /* This means “apply these styles when the viewport width is 768px or larger */
  .slideshowContImg {
    min-height: 592px;
  }
}

@media (min-width: 768px) {
  /* This means “apply these styles when the viewport width is 768px or larger */
  .slideshowContainer {
    min-height: 592px;
    min-width: 753px;
  }
}
