body {
  height: 100vh;
  margin: 0;
  background-color: #444c56;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  min-height: 3.125rem;
}

/*--Footer med info--*/
footer {
  margin-top: auto;
  background: #2d333b;
  color: white;
  font-size: 1.2rem;
  padding: 1rem 1rem;
  text-align: center;
  z-index: 1;
}


/*--Hele hoved innholdet sin article-*/
article {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  font-size: 1.1rem;
}

/*--Fjerner blå farge fra link i footer--*/
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

a[href^="mail"] {
  color: inherit;
  text-decoration: none;
}

/*-----Hoved tekst----*/
.section {
  color: whitesmoke;
  text-align: center;
  max-width: 71rem;
}

/*-IM INFO TEKST-*/
.imsection {
  color: whitesmoke;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.bigp {
  max-width: 50rem;
}

.liten {
  font-size: 0.95rem;
}

.oppgaver {
  float: left;
  margin: auto;
  color: whitesmoke;
  text-align: center;
}

/*------Amalie Skram VGS bilde kode-----*/
.aside {
  width: 100%;
  display: flex;
  justify-content: center;
}

/*------Bilde properties + glow-----*/
.aside img {
  border-radius: 2%;
  width: 70rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-width: 100%;
}

/*------IM INFO LISTE-----*/
.liste {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.imBilde {
  width: 50rem;
  max-width: 100%;
  border-radius: 5%;
}

.youtube {
  display: flex;
  margin: auto auto 0;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.yt {
  display: flex;
  margin: auto;
  object-fit: contain;
}

/*-Gjør slik at bilde og tekst automatisk justerer seg for telefon, og for enheter med opp til 4k res.-*/
@media screen and (max-width: 4000px) {
  html {
    font-size: 24px;
  }
}

@media screen and (max-height: 1400px) {
  html {
    font-size: 21px;
  }
}

@media screen and (max-height: 1100px) {
  html {
    font-size: 19.5px;
  }
}

@media screen and (max-height: 1000px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-height: 900px) {
  html {
    font-size: 15px;
  }
}

@media screen and (max-height: 750px) {
  html {
    font-size: 13px;
  }
}

@media screen and (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .aside img {
    object-fit: contain;
    width: 100%;
  }

  .section {
    color: whitesmoke;
    margin: auto;
    max-width: 70rem;
  }

  .imBilde {
    display: flex;
    margin-bottom: 1rem;
  }

  .mid {
    text-align: center;
  }

  .youtube {
    margin: auto;
  }

  .yt {
    display: flex;
    position: relative;
    height: 400px;
    max-width: 100%;
  }
}