body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
  }
  .jmf-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }
  h2{
    text-align: left;
    font-weight: normal;
    max-width: 150vh;
    font-size: large;
  }
  .transparent-box {
    position: relative;
    top: 20px;
    width: 80%; /* Bredden på rutan */
    max-width: 800px; /* Maximal bredd */
    margin: 50px auto; /* Centrerar rutan på sidan */
    padding: 20px; /* Inre marginal för texten */
    background-color: rgba(202, 183, 183, 0.411); /* Vit bakgrund med 70% opacitet */
    border-radius: 10px; /* Rundade hörn */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Lägger till en skugga */
    text-align: center; /* Centrerar texten */
    color: #ffffff; /* Textfärg */
    font-family: 'Roboto', sans-serif; /* Modern font */
  }
  h1{
    font-weight: normal;
  }
  .bakgrund img{
    width: 100%;
    height: 150vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500');
*{
padding: 0;
margin: 0;
}
.sidebar {
  position: fixed;
  top: 0px;
  left: -300px;
  width: 300px;
  height: 100%;
  background: rgba(202, 183, 183, 0.411);
  transition: all .5s ease;
  z-index: 960;
}
.sidebar header {
  font-size: 22px;
  color: rgb(255, 255, 255);
  line-height: 70px;
  text-align: center;
  background: rgba(202, 183, 183, 0.411);
  user-select: none;
  z-index: 1000;
}
.sidebar ul a{
  display: block;
  height: 100%;
  width: 100%;
  line-height: 65px;
  font-size: 20px;
  color: rgb(255, 255, 255);
  padding-left: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid black;
  border-top: 1px solid rgba(255,255,255,.1);
  transition: .4s;
  list-style: none;
text-decoration: none;
}
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{
  position: fixed;
  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;
}
.huvud header{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  background: rgba(202, 183, 183, 0.411);
  color: rgb(255, 255, 255);
  text-align: center;
  height: 60px;
  padding-top: 20px;
}
.huvud img{ 
    height: 65px;
    width: 65px;
    right: 20px;
    top: 5px;
    position: absolute;
    z-index: 1000;
    border-radius: 5px;
}
svg{
  position: relative;
  top: 4px;
  right: 10px;
}
footer{
  position: absolute;
  left: 0px;
  bottom: -200px;
  width: 100%;
  background:rgba(202, 183, 183, 0.411) ;
  color: rgb(255, 255, 255);
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  height: 30px;
  justify-content: center;
}
@media screen and (max-width: 768px){ 
  *{
    padding-right: 0px;
    padding-left: 0px;
  } 
  h2{
    max-width: fit-content;
    font-size: medium;
    padding-top: 100px;
    padding-bottom: 100px;
  }   
   
}
p{display: none;}
h1{
  font-size: x-large;}
