.header {
  background-color: #411e60;
  border-radius: 20px;
  margin: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.divOverlay {
  margin: 4em;
  position: relative;
  aspect-ratio: 2.6 / 1;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.flexBillede {
  flex: 1; /* Distributes space evenly */
  max-width: calc(33.33% - 1em); /* Ensures they fit with the gap */
}

.HeaderTitel {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titleBig {
  background-color: rgba(65, 30, 96, 0.65);
  padding: 30px;
}

.titleSmall {
  background-color: rgba(65, 30, 96, 0.65);
  padding: 20px;
}

.textHeader {
  color: #4ccb91;
}

/*slut header02*/

.barsGoo {
  color: #4ccb91;
}

.øvelseBoxElement {
  border-left: solid #411e60 0.2em;
}

.headerØv {
  color: #411e60;
}

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

.tooltip-text {
  color: #411e60;
}

.tooltipTip {
  color: #411e60;
}

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

/* a.01 */

/* match*/

.xxtra {
  text-align: left;
  padding: 20px;
}

.ekstraElem {
  transition: 0.3s ease;
  position: relative;
  background-color: white;
}

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

/*media queries skal komme efter den klasse som de regulerer for at virke*/
@media (max-width: 1200px) {
  .a01Grid {
    grid-template-columns: auto auto;
  }
}

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

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

.testClass {
  color: red;
}

.blueBorderZ {
  background-color: rgba(0, 82, 150, 0.1); /* 10% opacity */
  border: solid #005296;
}

.redBorderZ {
  border: solid red;
}

.greenBorderZ {
  border: solid green;
}

.slutZ {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  top: 0px;
}

.heroWrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dispZ {
  display: none;
}

.slutImgZ {
  width: 200px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.slutImgZ:hover {
  border: solid blue 1px;
  cursor: pointer;
}

.slutHeadZ {
  color: #368542;
  font-size: 1.4em;
}

.slutPZ {
  border-bottom: solid #bbb;
  color: #86868b;
  padding: 10px;
  text-align: center;
}

.fade-in {
  display: block;
  animation: fade-in 2.3s ease-in forwards;
}

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

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

.Instru {
  color: #86868b;
  font-size: 1.1rem;
  text-align: justify;
  line-height: 120%;
  padding: 0px;
  margin: 7px;
}

/* a.02 */

.gridOvers {
  display: grid;
  grid-template-columns: auto;
  gap: 2em;
}

@media (max-width: 1200px) {
  .gridOvers {
    grid-template-columns: auto;
  }
}

.spansk {
  border: solid 1px #86868b;
  color: #86868b;
  position: relative;
}

.spansk,
.dansk {
  padding: 15px 20px;
}

.dansk {
  padding: 15px 20px;
}

.spansk {
  padding: 10px 20px;
}

::placeholder {
  /*ændrer farven på placeholder text i input*/
  color: #bbb;
  font-style: italic;
}

.inputSpanOvers {
  border: none;
  border-bottom: 1px solid #86868b;
  font-size: 1em;
  outline: none;
  padding: 5px;
  transition: 0.4s ease;
  background-color: #ebebec;
  position: relative;
}

.feedB {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  justify-content: end;
}

.mark {
  border-bottom: solid #86868b;
  font-style: italic;
}

.ikonS {
  color: green;
  font-size: 1.2em;
  position: absolute;
  top: 0px;
  right: 0px;
}

.ikonF {
  color: red;
  font-size: 1.2em;
  position: absolute;
  top: 0px;
  right: 0px;
}

.hideVis {
  visibility: hidden;
}

/* a.03 */

.gridOversQ {
  display: grid;
  grid-template-columns: auto;
  gap: 2em;
}

@media (max-width: 1200px) {
  .gridOversQ {
    grid-template-columns: auto;
  }
}

.spanskQ {
  border: solid 1px #86868b;
  color: #86868b;
  position: relative;
}

.spanskQ {
  padding: 10px 20px;
}

.inputSpanOversQ {
  border: none;
  border-bottom: 1px solid #86868b;
  font-size: 1em;
  outline: none;
  padding: 5px;
  transition: 0.4s ease;
  background-color: #ebebec;
  position: relative;
}

.feedBQ {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  justify-content: end;
}

.ikonSQ {
  color: green;
  font-size: 1.2em;
  position: absolute;
  top: 0px;
  right: 0px;
}

.ikonFQ {
  color: red;
  font-size: 1.2em;
  position: absolute;
  top: 0px;
  right: 0px;
}

.hideVisQ {
  visibility: hidden;
}

.tooltipBil {
  position: relative;
  display: inline-block;
}

.tooltipBilCont {
  position: absolute;
  bottom: 170%; /* du rykker den 170% væk fra bottom, så er den over tooltip men til højre for det*/
  left: 50%; /* du rykker den 50% mod venstre, så er den inde over tooltip */
  z-index: 2;
  background-color: white;
  visibility: hidden;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #bbb;
  border: solid #bbb;
  font-family: arial;
  font-weight: normal;
  font-size: 14px;
  color: #86868b;
  line-height: 150%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 510px;
  margin-left: -255px;
}

@media (max-width: 799px) {
  .tooltipBilCont {
    width: 300px;
    margin-left: -150px;
  }
}

.tooltipBil:hover {
  cursor: pointer;
}

.tooltipBil:hover .tooltipBilCont {
  visibility: visible;
}

.bilToolT {
  width: 48%;
  height: auto;
}

.bilToolT:first-of-type {
  margin-right: 0.2rem;
  border-right: solid #bbb;
}

/* skal den her bruges??? */
/* css til slideshow som kan genbruges - tilføj fx 01 til alle navne på klasser, variabler samt id med chat gpt*/

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

/*behold*/
.dot {
  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*/
}

/*behold*/
.dotsCon {
  position: absolute;
  bottom: 10%;
  width: 100%;
}

/*behold*/
.active,
.dot:hover,
.dot:active {
  background-color: #717171;
}

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

/*behold*/
.justCont {
  display: flex;
  justify-content: center;
}

/*behold*/
.flexPreNex {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*behold*/
.flexNext {
  position: absolute;
  top: 0;
  right: 0;
}

/*behold*/
.flexPrev {
  position: absolute;
  top: 0;
  left: 0;
}

/*behold*/
.prevNext {
  font-size: 2em;
  color: #bbb;
  padding: 1em;
  transition: 0.6s ease;
}

/*behold*/
.prevNext:hover {
  color: #717171;
  cursor: pointer;
}

/*behold*/
.tal {
  color: #86868b;
}
/* slut på css til slideshow */

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

/*behold*/
.flexCol {
  display: flex;
  flex-direction: column;
}

/*behold*/
.word {
  background: white;
  display: inline-block;
  padding: 8px 20px 8px 8px;
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #4ccb91;
}

/*behold*/
.respon {
  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;
}

/*behold*/
.respon:hover {
  background-color: black;
}

/*behold*/
.arrow {
  padding-right: 4px;
}

/* b.01 */

.flexCen {
  display: flex;
  align-items: center;
  margin-top: 0.8rem;
  align-items: normal;
  margin-bottom: 15px;
}

.tekstIn {
  color: #86868b;
  font-size: 1.1rem;
  text-align: justify;
  line-height: 150%;
  margin: 0px;
}

.pencil-icon {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: auto;
}

.item04 {
  border: solid #008080 1px;
  margin: 5px;
  border-radius: 30px 30px 30px 30px;
}

.ordConi {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 2.5rem;
}

.ordi {
  /*width: 100px;*/
  color: #86868b;
  border: solid grey 1px;
  font-size: 1em;
  margin: 10px;
  padding: 10px;
  border-radius: 15px;
  transition: 0.6s ease;
}

.tTip {
  position: relative;
  display: inline-block;
  color: #411e60;
}

.tTip-text {
  position: absolute;
  bottom: 140%; /* du rykker den 100% væk fra bottom, så er den over tooltip men til højre for det*/
  left: 50%; /* du rykker den 50% mod venstre, så er den inde over tooltip */
  margin-left: -100px; /* du justerer med en negativ margen */
  z-index: 2;
  width: 200px;
  background-color: white;
  visibility: hidden;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 2px 2px 2px #bbb;
  border: solid #bbb;
  font-family: arial;
  font-weight: normal;
  font-size: 14px;
  color: black;
  text-align: center;
  line-height: 150%;
}

.tTip:hover {
  cursor: pointer;
}

.tTip:hover .tTip-text {
  visibility: visible;
}

/* b.02 */

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

.c04MainContain {
  margin-bottom: 75px;
}

.c04Flex-container {
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  /*padding: 30px;*/
  height: auto;
  transition: 0.6s ease;
  flex-direction: row-reverse;
}

.c04Flex-element {
  border: solid grey 1px;
  font-size: 1.2em;
  margin: 5px;
  padding: 8px;
  height: 2em;
  border-radius: 15px;
  transition: 0.6s ease;
  color: #86868b;
  background-color: white;
  /*text-align: center;*/
}

.danskAdj {
  color: white;
  background-color: #bbb;
}

.c04Flex-element:hover {
  box-shadow: 0px 8px 16px 0px;
  cursor: pointer;
}

.blueBorder {
  background-color: rgba(0, 82, 150, 0.2);
}

.redBorder {
  border: solid red;
}

.svarCss {
  /*omdøb den her ved lejlighed da den hedder b men skulle have hedet c*/
  background-color: white;
  color: #86868b;
  font-size: 1.2em;
  margin: 5px;
  padding: 8px;
  height: 2em;
  border: solid green;
  border-radius: 15px;
  transition: 0.4s ease;
  background-color: white;
}

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

.disp {
  display: none;
}

.slutImg {
  width: 200px;
  height: auto;
  border-radius: 50%;
  justify-self: left;
  margin-right: 10px;
}

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

.slutHead {
  color: #368542;
  font-size: 1.4em;
}

.slutP {
  border-bottom: solid #bbb;
  color: #86868b;
  padding: 10px;
}

.fade-in {
  display: block;
  animation: fade-in 2.3s ease-in forwards;
}

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

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

/* b.03 */

.item0x {
  margin: 5px;
}

.ordiX {
  /*width: 100px;*/
  color: #86868b;
  border: solid grey 1px;

  font-size: 1em;
  margin: 10px;
  padding: 10px;

  transition: 0.6s ease;
}

.ordConX {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding: 20px 30px 40px 30px;
}

/* c.01 */

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

.flexLyd {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.port {
  width: 200px;
  height: auto;
  border-radius: 50%;
}

.ulInfo {
  border: solid #bbb;
  border-radius: 8px;
  padding: 10px 20px 10px 0px;
  margin-left: 10px;
  color: #86868b;
  margin-bottom: 1.4rem;
}

.ulInfo li {
  margin-bottom: 10px;
}

.data {
  color: black;
  border-bottom: dotted #86868b;
}

/* c.02 */

.flexCen {
  display: flex;
  align-items: center;
  margin-top: 0.8rem;
  align-items: normal;
  margin-bottom: 15px;
}

.tekstIn {
  color: #86868b;
  font-size: 1.1rem;
  text-align: justify;
  line-height: 150%;
  margin: 0px;
}

.pencil-icon {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: auto;
}

.boxBil {
  width: 300px;
  height: auto;
}

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

/* c.03 */

/* falso correcto */
/* grid container til sandt falskt */
.grid-containerC02 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  font-size: 1.2em;
  margin: 20px 30px 30px 30px;
}

.grid-headingC02 {
  grid-column: 1 / 4;
  /*text-align: center;*/
  /*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;
  margin-right: 20px;
  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;
}

@media (max-width: 799px) {
  /*det her gør at hvis det er en skærm som er mindre end 799px så laves det om*/
  .grid-containerC02 {
    grid-template-columns: auto auto auto auto;
    margin: 0px;
    gap: 1.5rem;
  }
  .grid-headingC02 {
    grid-column: 1 / 5;
  }
  .spørgsmålC02 {
    grid-column: 1 / 5;
  }
  .sandtC02 {
    grid-column: 1 / 3;
  }

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

  .falsktC02,
  .sandtC02 {
    width: 100px;
    height: 100px;
  }
}

.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;
}

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

.port02 {
  width: 150px;
  height: auto;
  border-radius: 50%;
}

/* d.01 */

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

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

@media (max-width: 799px) {
  .dTekst-holder {
    width: 100%;
    margin: 0px 0rem 5rem 0rem;
    padding: 2rem;
  }
}

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

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

/*liste fra María*/
.note-container {
  position: relative;
  background: #fffbe6;
  border: 2px solid #f3d430;
  border-radius: 15px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem 2rem 2rem 5rem;
  width: 500px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  margin: 2rem auto;
}

@media (max-width: 799px) {
  .note-container {
    width: 100%;
  }
}

.flag-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  opacity: 0.7;
}

.pencil-icon {
  position: absolute;
  top: -20px;
  right: -10px;
  width: 30px;
  transform: rotate(-20deg);
  opacity: 0.8;
}

.note-content h3 {
  margin-top: 0;
  color: #dc4e7b;
  font-size: 1.5rem;
}

.note-content ol {
  padding: 0;
  margin: 1rem 0 0 0;
}

.note-content li {
  margin: 0.8rem 0;
  font-size: 1.2rem;
  color: #333;
}

.note-content span {
  position: relative;
  cursor: help;
  text-decoration: underline dotted;
}

.note-content span::after {
  content: attr(title);
  position: absolute;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1.5rem);
  transition: opacity 0.2s ease;
  z-index: 10;
  left: 0;
  top: -1.5rem;
}

.note-content span:hover::after {
  opacity: 1;
}

/*gør at alle elementerne få 100% width for at tilpasse til mobil */

@media (max-width: 799px) {
  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }
}
