body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F2B279;
}

.jaget {
    width: 100%;
    height: auto;
    border-radius: 15px;
    padding-top: 10px;
    padding-bottom: 5px;
}

.wrapper { 
    display: flex;
    flex-wrap: wrap;
}

.flex-item-left {
    flex: 50%;
}

.flex-item-right {
    flex: 50%;
    font-size: large;
    padding-left: 10px;
}

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

.flex-item-image {
  flex: 33%;
  padding: 5px 5px 5px 5px;
}

.topnav {
    background-color: #593F42;
    overflow: hidden;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }

  .topnav .menulinks {
      float: right;
  }
  
  .topnav a:hover {
    background-color: #D9AC9C;
    color: black;
  }
  
  .topnav .active {
    background-color: #F2E3B3;
    color: black;
  }
  
  .topnav .icon {
    display: none;
  }
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .flex-item-left, .flex-item-right {
        flex: 100%;
        font-size: large;
    }
  }

  @media screen and (max-width: 600px) {
    .topnav.responsive {
	position: relative;
    }
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }  

@media screen and (min-width: 601px) {
      .jaget {
          width: 100%;
      }
  }

  * {box-sizing:border-box}

  .slideshow-wrapper {
    flex: 100%;
  }
  
  .slideshow-container {
    position: relative;
    margin: auto;
  }
  
  .slides {
    display: none;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 20px 20px;
    height: 100vh;
    background-position: center;
  }

  .slide-image-1 {
    background-image: url('/img/slide-show.jpg');
  }

  .slide-image-2 {
    background-image: url('/img/skide-show2.jpg');
  }

  .slide-image-3 {
    background-image: url('/img/slide-show3.jpg');
  }

  .text {
    color: #f2f2f2;
    font-size: 18px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  .numbertext {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

.slide-image {
    max-height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-aspect-ratio: 2/3) {
    .slides {
        background-size: auto 100%;
    }
}

@media screen and (min-aspect-ratio: 2/3) {
    .slides {
        background-size: 100% auto;
    }
}

@media screen and (max-width: 600px ) {
  .flex-item-image {
    flex: 100%;
  }
}

@media screen and (min-width: 601px) and (max-width: 1200px) {
  .flex-item-image {
    flex: 50%;
  }

  .image-card {
    max-width: 540px;
  }
}

.contactinfo {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5vh;
  font-size: large;
  align-items: center;
  text-align: center;
  height: 80vh;
  justify-content: center;
  max-width: 95vw;
}

.contactinfo p {
  font-size: xx-large;
}
 .contactinfo ul {
   list-style: none;
   font-size: x-large;
 }

 .contactinfo li {
   margin-top: 10px;
 }

.image-card {
  width: auto;
  height: auto;
  border-radius: 15px;
  border: solid black 2px;
  margin: 5px 5px 5px 5px;
  justify-content: center;
}

.image-card img {
  padding-top: 10px;
  width: 95%;
}

.no-image-card {
  width: auto;
  height: auto;
}

.description {
  font-size: x-large;
  text-align: center;
}

.full-view {
  top: 0;
  bottom:0;
  position:fixed;
  overflow-y:scroll;
  overflow-x:hidden;
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  width: 100vw;
  display: none; /*sätts till flex när bilden ska visas*/
  justify-content: center;
  align-items: center;
}

.full-view img {
  height: 95vh;
}
