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

.divOverlayX {
  margin: 4em;
  position: relative;
  aspect-ratio: 2.6 / 1;
  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;
  align-items: center;
}

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

.titleBig {
  background-color: rgba(232, 155, 26, 0.8);
  padding: 30px;
}

.titleSmall {
  background-color: rgba(232, 155, 26, 0.8);
  padding: 20px;
}

@media (max-width: 799px) {
  .divOverlayX {
    aspect-ratio: none;
    margin: 1em;
  }
  .titleBig {
    padding: 10px;
  }

  .titleSmall {
    padding: 10px;
  }
}

.textHeader {
  color: #d33e2d;
}

.barsGoo {
  color: #d33e2d;
}

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

.headerØv {
  color: #e89b1a;
}

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

.tooltip-text {
  color: #e89b1a;
}

.tooltipTip {
  color: #e89b1a;
}

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

/* a.01 */

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

.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;
  position: relative;
}

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

.feed {
  position: absolute;
  top: 0px;
  right: 0px;
  visibility: hidden;
}

/* a.02 */

.pencil-icon {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: auto;
}
.centerr {
  display: flex;
  justify-content: center;
  align-items: center;
}
.skrivDiv {
  width: 200px;
}

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

.skrivBil {
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: solid 1px #e89b1a;
  border-radius: 16px;
}

/* a.03 */
/* 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: #d33e2d;
}

/*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.04 */

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

/* b.01 */

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

.info {
  font-size: 1.2rem;
}

.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-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 */

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

.slideshow-container-new {
  width: 100%;
  position: relative;
  padding: 0.3em 0em 5em 0em;
}

.dot-new {
  width: 15px;
  height: 15px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  margin: 0em 0.2em;
  transition: background-color 0.6s ease;
}

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

.dot-new:hover,
.dot-new:active {
  background-color: #717171;
}

.active,
.dot:hover,
.flex-horizontal-center {
  display: flex;
  justify-content: center;
}

.flex-prev-next {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

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

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

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

.counter-new {
  color: #86868b;
}

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

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

.icon-new:hover {
  color: #86868b;
}

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

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

/* b.02 */

/* css til slideshow */

.dotX {
  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-containerX {
  position: absolute;
  bottom: 10%;
  width: 100%;
}

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

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

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

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

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

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

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

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

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

.talSlideShowX {
  color: #86868b;
}

.startTest {
  margin-left: 10px;
  margin-right: 10px;
}

.place {
  color: #efbd57;
  margin-top: 0px;
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.test-main {
  border: solid #bbb;
  border-radius: 15px;
  width: 350px;
  height: 350px;
  margin: 20px;
  background-color: white;
  position: relative;
}

.test-main:hover {
  color: #005296;
}

.test-quest {
  font-size: 1.5rem;
  color: #86868b;
  padding: 30px;
  margin: 0px;
  border-bottom: solid #bbb;
  border-radius: 15px 15px 0px 0px;
  text-align: center;
}

.test-answ-cont {
  padding: 15px 15px;
}

.testP {
  position: absolute;
  top: -60px;
  left: 0px;
  color: #e89b1a;
  font-size: 1.5em;
}

.laEstP {
  font-size: 1.1em;
  color: #d33e2d;
  margin-bottom: 5px;
}

.arrow {
  color: #e89b1a;
  border: solid #bbb;
  border-radius: 50%;
  margin: 0px;
  padding: 0px;
  position: absolute;
  bottom: -45px;
  right: 70px;
  transition: 0.4s ease;
}

.arrow:hover {
  color: #bbb;
  cursor: pointer;
}

.answ {
  border: solid #bbb;
  width: 100%;
  padding: 20px;
  font-size: 1.3rem;
  color: #86868b;
  border-radius: 15px;
  transition: 0.4s ease;
  margin-bottom: 25px;
  margin-top: 15px;
}

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

.p {
  margin: 0px;
}

.answ:hover {
  color: #005296;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* b.04 */

/* b.05 */

.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: 6rem;
  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;
  }
}

/* c.01 */

.relative {
  position: relative;
}

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

.flexiiIm {
  display: flex;
  align-items: center;
  justify-content: center;
}
.imBilleder {
  width: 25%;
  height: auto;
  border: solid white;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.imCenter {
  width: 40%;
  height: auto;
  margin-left: 1rem;
  margin-right: 1rem;
  border: solid white;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* c.02 */

.container {
  display: flex;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  gap: 2rem;
  position: relative;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.box {
  padding: 1rem;
  border-radius: 8px;
  background-color: #e3e3e3;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.box.shake-temp {
  animation: shake 0.3s;
}

.box.correct {
  background-color: #d4edda;
  cursor: default;
  pointer-events: none;
}

.box.selected {
  background-color: rgba(0, 102, 255, 0.2);
}

.hidden {
  opacity: 0;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem;
  border-radius: 12px;
  opacity: 0;
}

.overlay.show {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.overlay img {
  width: 50%;
  max-width: 100%;
}

.overlay h2 {
  position: absolute;
  top: 2rem;
  font-size: 2rem;
  color: #4caf50;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.overlay button {
  position: absolute;
  bottom: 2rem;
  background-color: #d33e2d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

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

/* d.01 */

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

.understreg {
  border-bottom: #bbb solid 1px;
  padding-bottom: 5px;
}
/* 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 #e89b1a 1px;
  margin: 5px;
  border-radius: 8px;
}

.item01xM {
  border: solid #dc4e7b 1px;
  margin: 5px;
  border-radius: 8px;
  min-height: 307px;
}

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

.item04M {
  border: solid #a73156 1px;
  margin: 5px;
  border-radius: 8px;
}

.item04xM {
  border: solid #a73156 1px;
  margin: 5px;
  border-radius: 8px;
  min-height: 307px;
}

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

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

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

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

.head04xM {
  color: #a73156;
  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.8rem;
  font-weight: bold;
  text-align: center;
  animation: colorShiftM 8s infinite linear;
}

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

.vocAndPencil {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.pencil-vocab {
  width: 2.2rem;
  height: auto;
  margin-left: 1rem;
}

.item06M {
  border: solid #5a6e5d 1px;
  margin: 5px;
  border-radius: 8px;
  min-height: 307px;
}

.head06M {
  color: #5a6e5d;
  font-size: 1.2em;
  text-align: center;
  padding-top: 30px;
}

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