@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500');
*{
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    background:rgb(243, 243, 243);
    height: 120vh;
    margin:0;
    font-family: 'Montserrat', sans-serif;
}
.ljud{
  position: absolute;
  right: 220px;
  top: 100px;
  text-align: center;
}
.sidebar {
  position: fixed;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #faf8f8;
  transition: all .5s ease;
  z-index: 960;
}
.sidebar header {
  font-size: 22px;
  color: rgb(0, 0, 0);
  line-height: 70px;
  text-align: center;
  background: #faf8f8;
  user-select: none;
  z-index: 1000;
}
.sidebar ul a{
  display: block;
  height: 100%;
  width: 100%;
  line-height: 65px;
  font-size: 20px;
  color: rgb(0, 0, 0);
  padding-left: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: .4s;
}
ul li:hover a{
  padding-left: 50px;
}
.sidebar ul a i{
  margin-right: 16px;
}
#check{
  display: none;
}
label #btn,label #cancel{
  position: absolute;
  background: #ffffff;
  border-radius: 3px;
  cursor: pointer;
}
label #btn{
  left: 40px;
  top: 25px;
  font-size: 35px;
  color: black;
  padding: 6px 12px;
  transition: all .5s;
  z-index: 950;
  
}
label #cancel{
  z-index: 1000;
  left: -195px;
  top: 17px;
  font-size: 30px;
  color: black;
  padding: 4px 9px;
  transition: all .5s ease;
}
#check:checked ~ .sidebar{
  left: 0;
}
#check:checked ~ label #btn{
  left: 250px;
  opacity: 0;
  pointer-events: none;
}
#check:checked ~ label #cancel{
  left: 195px;
}
#check:checked ~ section{
  margin-left: 250px;
}
section{
  background: url(bg.jpeg) no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  transition: all .5s;
}
h6{
  text-align:center;
  color: white;
  position: absolute; top:115vh; right: 45%;
  font-family:'Times New Roman', Times, serif;
}


h3{
  position: absolute;
  top: 1350px;
  right: 560px;
  color: black;
  font-size: 15px;
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
}
.huvud img{
    width: 70px;
    height: auto;
    z-index: 500;
    position: absolute;
    left: 550px;
    top: 10px;

}
.container img {
  width: 240px;
  height: auto;
}
.text{
    position: relative;
    left: 50%;
    top: 22%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 15px;
    max-width: 450px;
    height: 500px;
    text-align: center;
    font-size: large;
}
.text3{
  position: absolute;
  left: 50%;
  top: 1500px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 15px;
  max-width: 450px;
  height: 500px;
  text-align: center;
  font-size: large;
}
.text2{
  position: absolute;
  left: 150px;
  top: 800px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 15px;
  max-width: 450px;
  height: 650px;
  text-align: center;
  font-size: large;
}
.bild img{
  position: absolute;
    left: 150px;
    top: 27.5%;
    min-width: 350px;
    height: auto;
}
.bild2 img{
  position: absolute;
  right: 150px;
  top: 800px;   
  height: auto;
  width:450px ;
}
.bild3 img{
  position: absolute;
    left: 150px;
    top: 1500px;
    width: 450px;
    height: auto;
}
.huvud{
  width: 100%;
  max-width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 10px;
  position: absolute;
  background-color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  }
.huvud header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.title{
  position: relative;
  left: 250px;
  bottom: 5px;
  font-weight: bold;
  font-size: 35px;
  font-family:sans-serif;
}
footer{
  position: relative;
  left: 0px;
  bottom: -1700px;
  width: 100%;
  max-width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #ffffff;
  color: black;
  text-align: center;
  height: 30px;
  font-size: large;
}
svg{
  position: relative;
  top: 4px;
  right: 10px;
}
  @media screen and (max-width: 768px) {

    body {
        height: auto;
        overflow-x: hidden;
    }

    /* --- Header & titel --- */
    .title {
        left: 0;
        font-size: 20px;
        text-align: center;
        width: 100%;
    }

    /* --- Menyknappar --- */
    label #btn {
        left: 15px;
        top: 15px;
        font-size: 28px;
        padding: 5px 10px;
    }

    label #cancel {
        left: -200px;
        top: 15px;
    }

    /* --- Ljudspelare --- */
    .ljud {
        position: relative;
        right: 0;
        top: 20px;
        width: 100%;
        text-align: center;
    }

    audio {
        width: 90%;
    }

    /* --- Textblock görs flytande --- */
    .text,
    .text2,
    .text3 {
        position: relative;
        left: 0;
        top: 0;
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        height: auto;
        font-size: 16px;
    }

    /* --- Bildblock görs flytande --- */
    .bild img,
    .bild2 img,
    .bild3 img {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        display: block;
    }

    /* --- Titelboxen högst upp --- */
    .huvud {
        position: relative;
        padding: 10px 0;
    }

    /* --- Footer --- */
    footer {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        height: auto;
        padding: 20px;
    }
}
}