@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500');
*{
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}
body {
    height: 100vh;
    margin:0;
    font-family: 'Montserrat', sans-serif;
    background-image: url("C:\Users\walbir24\Documents\webbutveckling1\ovningar\Foretag\fotbollströjor\bbild.jpg");
    background-size: cover;        
    background-repeat: no-repeat;  
    background-position: center;   
    background-color: #ffffff;
}
.sidebar {
  position: fixed;
  left: -300px;
  width: 300px;
  height: 100%;
  background: #1e6b9e;
  transition: all .5s ease;
  z-index: 940;
  top: 0px;
}
.sidebar header {
  font-size: 22px;
  color: rgb(255, 255, 255);
  line-height: 70px;
  text-align: center;
  background: #1e6b9e;
  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;
}
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: -210px;
  top: 17px;
  font-size: 30px;
  color: black;
  padding: 4px 9px;
  transition: all .5s ease;
  position: fixed;
}
#check:checked ~ .sidebar{
  left: 0;
}
#check:checked ~ label #btn{
  left: 250px;
  opacity: 0;
  pointer-events: none;
}
#check:checked ~ label #cancel{
  left: 210px;
}
#check:checked ~ section{
  margin-left: 250px;
}
section{
  background: url(bg.jpeg) no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  transition: all .5s;
}
svg{
  width: 50px;
}
.huvud header{
  display: absolute;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  z-index: 10;
  background-color:#1e6b9e;
}
.huvud img{
  height: 65px;
  width: 65px;
  right: 20px;
  top: 5px;
  position: absolute;
}
.rubrikmobil{
  display: none;
}
.bild5 img{
  position: absolute;
  left: 30px;
  top: 100px;
  width: 600px;
  height: 450px;
}
h1{
  text-align: center;
  color: #ffffff;
}
.bakgrund img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
svg{
  position: relative;
  top: 4px;
  right: 10px;
}
.overlay{
  position: absolute;
  top: 320px;
  left: 25%;
  transform: translate(-50%, -50%);
  color: white;
  background: #1e6b9e75;
  padding: 20px;
  border: 10px;
  border-radius: 10px;
  max-width: 100vh;
  max-height: 75vh;
  min-height: 50vh;
}
.overlay h2{
  font-size:xx-large;
  margin-bottom:10%;
}
.overlay2{
  position: absolute;
  top: 320px;
  right: -300px;
  transform: translate(-50%, -50%);
  color: white;
  background: #1e6b9e75;
  padding: 20px;
  border: 10px;
  border-radius: 10px;
  max-width: 100vh;
  min-height: 75vh;
}
.overlay2 h2{
  font-size:xx-large;
  margin-bottom:10%;
}
.overlayhem{
  position: absolute;
  top: 320px;
  right: -300px;
  transform: translate(-50%, -50%);
  color: white;
  background: #1e6b9e75;
  border: 10px;
  padding: 10px;
  border-radius: 10px;
  max-width: 100vh;
  min-height: 70vh;
}
.overlayhem h2{
  font-size:xx-large;
  margin-bottom:10%;
}
footer{
  position: absolute;
  left: 0px;
  bottom: -200px;
  width: 100%;
  background: #1e6b9e;
  color: rgb(255, 255, 255);
  text-align: center;
  height: 30px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.w footer{
  position: absolute;
  left: 0px;
  bottom: -70px;
  width: 100%;
  background: #1e6b9e;
  color: rgb(255, 255, 255);
  text-align: center;
  height: 30px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* Responsiv design */
@media screen and (max-width: 768px) {
  body{
    background-color: #2e90d1;
  }

  .huvud header{
    padding: 0px;
    padding-top: 0px;
    position: absolute;
    top: 0px;
    min-height: 80px;
    min-width: 100%;
    background-color:#1e6b9e ;
  }
  .huvud h1{
    position: relative;
    top: 20px;
    font-size: x-large;
    content: 'Framtida städer';
  }
  .rubrikmobil{
    display:block;
  }
  .rubrik{
    display: none;
  }
  .bild5{
    display: none;
  }
  .overlayhem{
    max-width: 400px;
    position: relative;
    left: 250px;
    top: 300px;


  }
    /* Menyknappar */
  label #btn {
    left: 15px;
    top: 15px;
    font-size: 25px;
  }

  label #cancel {
    left: -165px;
    top: 10px;
    font-size: 25px;
  }
  /* Footer */
  footer {
    font-size: 14px;
    padding: 15px 0;
    position: absolute;
    bottom: -200px;
  }
  .sidebar{
    position: fixed;
    top: 0px;
  }
  .overlay2{
    top: 1200px;
    left: 265px;
    width: 70vh;
    max-height: none;
  }
  .overlay{
    top: 500px;
    left: 265px;
    width: 70vh;
    max-height: none;
  }
  .w footer {
    font-size: 14px;
    padding: 15px 0;
    position: absolute;
    bottom: -1000px;
  }
  .bakgrund{
    display: none;
  }

}
