* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-image: url(fotbollströjor/foretagbakgrund.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  min-height: 120vh;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* Sidebar  */
.sidebar {
  position: fixed;
  left: -275px;
  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;
  border-bottom: 1px solid black;
}

.sidebar ul a {
  list-style: none;
  text-decoration: none;
  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 {
  height: 100vh;
  transition: all .5s;
}
.logga img {
  width: 70px;
  height: auto;
  z-index: 500;
  position: absolute;
  right: 75px;
  top: 10px;
}
footer {
  position: absolute;
  left: 0;
  bottom: -1175px;
  width: 100%;
  background: rgb(243, 243, 243);
  color: black;
  padding: 50px;
  text-align: center;
  height: 30px;
}
.prod-btn {
  display: inline-block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  padding: 12px 34px;
  font-size: 15px;
  background: transparent;
  position: absolute;
  top: 300px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  white-space: nowrap;
}

.prod-btn:hover {
  border: 1px solid #4CAF50;
  background: #4CAF50;
  transition: 1s;
}
.huvudtext h1 {
  position: relative;
  top: 20px;
  text-align: center;
  font-size: 50px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.mindretext h1 {
  position: relative;
  top: 30px;
  text-align: center;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

svg {
  position: relative;
  top: 4px;
  right: 10px;
}
.anpassa {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding-top: 50px;
  position: relative;
  top: 250px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  position: relative;
  top: 50px;
}

.anpass {
  width: 300px;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.container img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.anpass:hover img {
  opacity: 10;
}

.anpass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.anpass:hover::after {
  opacity: 1;
}

.anpasstext {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: transparent;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 10px;
  transition: bottom 0.3s ease;
  font-size: xx-large;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.anpass:hover .anpasstext {
  bottom: 200px;
}
/* Responsiva anpassningar */
@media (max-width: 768px) {
  .huvudtext h1 {
    font-size: 16px;
    position: relative;
    top: 30px;
  }
  body{
    background-image: none;
  }
  
  .mindretext h1 {
    font-size: 10px;
    position: relative;
    top: 40px;
  }
  
  .logga img {
    width: 50px;
    right: 20px;
  }
  
  label #btn {
    left: 20px;
    font-size: 30px;
  }
  
  .anpass {
    width: 250px;
  }
  
  .anpasstext {
    font-size: x-large;
  }
  
  footer {
    position: relative;
    bottom: -1000px;
    margin-top: 100px;
  }
}


