
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}


/* Set core body defaults */
body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

h1 {
  font-size: 3rem;
  margin-top: 0;
}

header {
  background-color: #fff;
  padding: 1em 0 1em 0;
  text-align: center;
}

.container {
  width: 80%;
  margin: 0 auto;
  position: relative;
}

.nav {
  width: 100%;
  color: #fff;
}

.nav-toggle {
  cursor: pointer;
  border: 0;
  width: 3em;
  height: 3em;
  padding: 0em;
  border-radius: 50%;
  background: rgb(83, 115, 93);
  color: white;
  transition: opacity 250ms ease;
  position: absolute;
  right: -10%;
  top: 10%;
}

.nav-toggle:focus,
.nav-toggle:hover {
  opacity: .75;
}

.hamburger {
  width: 50%;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  margin: 0 auto;
  height: 3px;
  background: white;
}

.hamburger::before,
.hamburger::after {
  content: '';
  width: 100%;
}

.hamburger::before {
  transform: translateY(-6px);
}

.hamburger::after {
  transform: translateY(3px);
}

.nav {
  display: none;
  visibility: hidden;
  height: 0;
  position: absolute; 
  font-size: 1rem;
}

.nav--visible {
  visibility: visible;
  height: auto;
  position: relative;
  display: block;
} 

.nav__list {
  margin: 0;
  padding: 0;
  list-style: none; 

}

.nav__item {
  margin-top: 0.75em;
}

.nav__link {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;;
}


.nav__link:hover,
.nav__link:focus {
  opacity: .65;
  text-decoration: underline;
}

.logo--skylt {
  max-width: 250px;
}

main {
  padding-bottom:2em;
  padding-top: 2em;
  justify-items: center;
  align-items: center;
  justify-content: center;
  align-content:baseline;
  background-color:rgb(217, 250, 215);
}

.video__container {
  width: 80vw;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2em;
  background-color: #fff;
}

.item {
  max-width: 25em;
  text-align: center;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2em;
  padding-top: 1em;
  font-size: 1.125rem;
}

.item--title {
  padding-top: 1em;
  padding-bottom: 1em;
}

.item img {
  max-width: 5em;
  margin-left: auto;
  margin-right: auto;
}

 .item1 {
  background-color:#7ef507;
  border: 1px solid #000;
}

.item2 {
  background-color:#a0fa46;
  border: 1px solid #000;
}

.item3 {
  background-color:#baf57f;
  border: 1px solid #000;
}

.item4 {
  background-color:#d3f7b0;
  border: 1px solid #000;
}

.item5 {
  background-color:#e7fad2;
  border: 1px solid #000;
}

@media screen and (min-width: 700px) {

  .container {
    display: flex;
  }
    
  .logo--skylt {
    max-width: 600px;
  }
}

@media screen and (min-width: 900px) {

  .nav-toggle {
    display: none;
  }

  .container {
    display: flex;
  }

  .logo--skylt {
    width: 350px;
  }

  .nav {
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content:flex-end;
    height: auto;
    position: relative;
  }

  .nav__list {
      display: flex;
      align-items: center;
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 0.9rem;
  }

  .nav__item + .nav__item {
    margin-left: 1em;
  }

  .nav__item {
    margin: 0;
  }
  
}
