/* stil til headerX et stort billede - slet hvis du ikke bruger den */
.header {
  background-color: #dc4e7b;
  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(220, 78, 123, 0.85);
  padding: 30px;
}

.titleSmall {
  background-color: rgba(220, 78, 123, 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 det om*/
  .divOverlayX {
    aspect-ratio: none;
    margin: 1em;
  }
  .titleBig {
    padding: 10px;
  }

  .titleSmall {
    padding: 10px;
  }
}

.textHeader {
  color: #f3d430;
}

.barsGoo {
  color: #f3d430;
}

@media (max-width: 799px) {
  /*det her gør at hvis det er en skærm som er mindre end 799px så laves det om*/
  .barsGoo {
    background-color: white;
    border-radius: 8px;
  }
}

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

.headerØv {
  color: #dc4e7b;
}

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

.tooltip-text {
  color: #dc4e7b;
}

.tooltipTip {
  color: #f3d430;
}

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

/* a.01 */
/* 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;
  align-items: center;
  margin-top: 0.3rem;
}

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

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

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

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

/* a.02 */

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

@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*/
  .gridOvers {
    grid-template-columns: auto;
  }
}

.dansk {
  background-color: white;
  color: #86868b;
}

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

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

.feedback {
  color: #ff5300;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

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

.ikonS {
  color: green;
  font-size: 1.2em;
}

.ikonF {
  color: red;
  font-size: 1.2em;
}

.hideVis {
  visibility: hidden;
}

/* b.01 */

.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: 20px 30px 40px 30px;
}

.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: #f3d430;
}

.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: left;
  line-height: 150%;
}

.tTip:hover {
  cursor: pointer;
}

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

/* b.02 */
.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;
}

/* b.03 */

.ordforråd-gridB02 {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1.5rem;
  font-size: 1.2rem;
  margin: 40px 80px 100px 80px;
}

.ikonB02 {
  font-size: 1.4em;
  color: #86868b;
  transition: 0.6s ease;
  position: relative;
}

.ikonB02:hover {
  color: #dc4e7b;
  cursor: pointer;
}

.input-spansk {
  border: none;
  border-bottom: 1px solid #86868b;
  font-size: 1em;
  outline: none;
  padding: 10px;
  transition: 0.3s ease;
}

/* b.04 */

.ordCon {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0px 40px 0px;
}

.ordCon02 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 0px 40px 0px;
}

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

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

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

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

.feedd {
  position: relative;
  float: right;
}

.feeCon {
  position: relative;
}

/* c.01 */

.extra {
  font-weight: bold;
  text-align: center;
  margin: 1rem 7rem 3rem 7rem;
}

@media (max-width: 799px) {
  /*det her gør at hvis det er en skærm som er mindre end 799px så laves det om*/
  .extra {
    margin: 1rem 1rem 3rem 1rem;
  }
}

.bilT {
  padding: 0rem;
  margin: 0rem;
  font-style: italic;
}

/* c.02 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 100px 30px;
}

@media (max-width: 799px) {
  /*det her gør at hvis det er en skærm som er mindre end 799px */
  .grid-containerC02 {
    grid-template-columns: auto auto auto auto;
    gap: 1.2rem;
    margin: 0px;
  }
}

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

@media (max-width: 799px) {
  .grid-headingC02 {
    grid-column: 1 / 5;
  }
}

.gridSpørgsmål {
  grid-column: 1 / 2;
  margin-right: 20px;
  display: flex;
  align-items: center;
  color: #86868b;
}

@media (max-width: 799px) {
  .gridSpørgsmål {
    grid-column: 1 / 5;
    margin-right: 0rem;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}

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

.gridSand {
  grid-column: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gridFalsk {
  grid-column: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 799px) {
  .gridSand {
    grid-column: 2 /3;
  }
}

@media (max-width: 799px) {
  .gridFalsk {
    grid-column: 3 / 4;
  }
}

.falsktC02,
.sandtC02 {
  background-color: white;
  padding: 15px;
  border-radius: 10%;
  color: #bbb;
  width: 70px;
  height: 70px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: 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;
}

.rundimgg {
  width: 125px;
  height: auto;
  border-radius: 50%;
  margin-right: 1rem;
}

/* c.03 */

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

@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*/
  .gridOvZ {
    grid-template-columns: auto;
  }
}

.danZ {
  background-color: white;
  color: #86868b;
}

.spanZ {
  border: solid 1px #86868b;
  color: #86868b;
}

.spanZ,
.danZ {
  padding: 15px 10px;
}

.danZ {
  padding: 15px 10px;
}

.spanZ {
  padding: 10px 10px;
  position: relative;
}

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

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

.feedbackZ {
  /*bruges den her?*/
  color: #ff5300;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
}

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

.feedQZ {
  display: flex;
  align-items: center;
  width: 40px;
  height: 43px;
  position: absolute;
  top: 2%;
  right: 2%;
}

.ikonSZ {
  color: green;
  font-size: 1.2em;
  position: absolute;
  top: 2%;
  right: 2%;
}

.ikonFZ {
  color: red;
  font-size: 1.2em;
  position: absolute;
  top: 2%;
  right: 2%;
}

.gemZ {
  visibility: hidden;
}

.fade-in-visZ {
  visibility: visible;
  animation: fade-in-vis 0.7s ease-in forwards;
}

@keyframes fade-in-visZ {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

.tooltipTip-text {
  bottom: 100%;
}

/* d.01 */

/* instuktionsboks */
.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 15px 50px 15px;
  }
}

@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 2rem;
  width: 300px;
  font-family: "Comic Sans MS", cursive, sans-serif;
  margin: 2rem auto;
}

.note-content h3 {
  margin-top: 0;

  color: #dc4e7b;
  font-size: 1.2rem;
  text-align: center;
  border-bottom: #dc4e7b 1px solid;
}

.note-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0rem;
}

.note-content li {
  margin: 0.8rem 0;
  font-size: 1rem;
  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;
}

/* d.01 */

/* ordforråd d.01 */

/* opgave d brug sproget */

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

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

.ordiM:hover {
  cursor: pointer;
}
.ordiM:hover .tooltipVoc-textM {
  visibility: visible;
}
.ordiM:hover .tooltipVocM {
  color: #008080;
}

.griddM {
  padding: 5px;
  background-color: #ebebec;
  display: flex;
  justify-content: center;
  align-items: center;
}

.griddM > div {
  background-color: white;
  width: 30%;
}

@media (max-width: 799px) {
  .griddM {
    flex-direction: column;
    width: 100%;
  }
  .griddM > div {
    background-color: white;
    width: 100%;
  }
}

.item01M {
  border: solid #228b22 1px;
  margin: 5px;
  border-radius: 30px 0px 0px 30px;
}

.item01xM {
  border: solid #f3d430 1px;
  margin: 5px;
  border-radius: 50%;
  min-height: 307px;
}

.item02M {
  border: solid #bf00ff 1px;
  margin: 5px;
}

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

.item04xM {
  border: solid #228b22 1px;
  margin: 5px;
  border-radius: 50%;
  min-height: 307px;
}

.head01M {
  color: #228b22;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

.head01xM {
  color: #f3d430;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

.head02M {
  color: #bf00ff;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

.head04M {
  color: #008080;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

.head04xM {
  color: #228b22;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

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

.tooltipVoc-textM {
  position: absolute;
  bottom: 170%;
  left: 50%;
  margin-left: -80px;
  z-index: 2;
  width: 160px;
  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;
  text-align: left;
  line-height: 150%;
  text-align: center;
}

.vocab-boxM {
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 500px;
  margin: 2rem auto;
  font-family: sans-serif;
}

.vocab-boxM table {
  width: 100%;
  border-collapse: collapse;
}

.vocab-boxM th,
.vocab-boxM td {
  padding: 0.6rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.vocab-boxM thead {
  border-bottom: 2px solid #999;
}

.esM {
  color: #dc4e7b;
}

.vocab-headerM {
  font-family: sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  animation: colorShiftM 8s infinite linear;
  margin-bottom: 3rem;
}

@keyframes colorShiftM {
  0% {
    color: #bf00ff;
  }
  20% {
    color: #008080;
  }
  40% {
    color: #228b22;
  }
  60% {
    color: #f3d430;
  }
  80% {
    color: #dc4e7b;
  }
  100% {
    color: #228b22;
  }
}

/*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;
  }
}
