* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  background-color: beige;
  min-height: 1000px;
}

header {
  width: 100%;
}

header>h1 {
  text-align: center;
  border: 1px solid black;
  background-color: burlywood;
}

header>h2 {
  text-align: center;
}

.menyh2 {
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
}

nav>ul {
  display: flex;
  flex-direction: row;
  max-width: 100%;
}

nav>ul>li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid black;
  background-color: sandybrown;
  height: 2rem;
  text-align: center;
  margin: 10px;
  width: 6rem;
}

nav>ul>li>a {
  color: rgb(30, 17, 99);
  display: block;
  width: 100%;
  font-size: 1.1rem;
}

.Nu {
  text-align: center;
  font-size: 1.5rem;
}

/* Slideshow container */
.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #ffff00;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

main>div.table>table {
  margin: auto;
}

main>div.table>table {
  width: 60%;
  background-color: sandybrown;
}

main>div.table>table>tbody>td>tr {
  font-family: 'Franklin Gothic Medium';
}

.ombild {
  margin: 10%;
  width: 80%;
}

main>h2.index {
  text-align: center;
}

main>div.table>table,
main>table>tbody>tr>th,
main>div.table>table>tbody>tr>td {
  border: black solid 5px;
  border-collapse: collapse;
}

main>div.table>h3 {
  text-align: center;
}

.omp {
  margin: auto;
  text-align: center;
  font-size: 1.5rem;
  max-width: 620px;
}

footer {
  margin: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* surfplatta */
@media screen and (min-width: 601px) {
  .table {
    max-width: 700px;
    margin: auto;
  }

  main>div.table>table {
    width: 85%;
    height: 225px;
  }

  nav>ul>li {
    width: 7rem;
    height: 3rem;
  }

  nav>ul>li>a {
    font-size: 1.25rem;
  }
}

/* Dator */
@media screen and (min-width: 1025px) {
  main>div.table>table {
    width: 100%;
    height: 300px;
  }

  .slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
  }

  nav>ul>li {
    width: 10rem;
    height: 3.5rem;
  }

  nav>ul>li>a {
    font-size: 1.5rem;
  }
}