* {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

p {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

footer {
  height: 200px;
  width: 100%;
  z-index: 4;
  opacity: 40%;
  background: linear-gradient(to bottom, rgba(0, 0, 255, 0), rgb(160, 1, 150));
}

footer p {
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 12px;
  padding-top: 150px;
  z-index: 5;
  opacity: 100%;
}

header {
  height: 100px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  overflow: hidden;
}

.logo {
  margin: 40px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  font-size: 20px;
  color: black;
  text-decoration: none;
  height: 100%;
}

.sections {
  display: flex;
  justify-content: space-between;
  align-items: right;
  width: 450px;
  margin-left: auto;
  margin-right: 40px;
  margin-top: 50px;
}

.sections a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  transition: transform 0.2s ease-in-out;
}

.sections a:hover {
  animation: bounce 0.2s;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

.sections a.active {
  color: rgb(160, 1, 150);
  font-weight: bold;
}

.button:hover {
  animation: bounce 0.2s;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  margin-right: 20px;
  cursor: pointer;
}

#brandperior {
  background-color: black;
}

.bar {
  width: 35px;
  height: 4px;
  margin: 4px 0;
  background-color: white;
  transition: all 0.3s ease;
}

.hamburger-menu {
  display: none;
  position: absolute;
  background-color: rgb(255, 255, 255, 0.8);
  top: 100px;
  left: 0;
  width: 100%;
  padding: 15px;
  z-index: 9999;
}

h2 {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

h5 {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.hamburger-menu ul {
  list-style-type: none;
  margin-left: 8%;
}

.hamburger-menu ul li {
  padding: 15px;
}

.hamburger-menu ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}

.hamburger-menu ul li a:hover {
  animation: bounce 0.2s;
}

.button {
  padding: 10px;
  border-radius: 8px;
  background-color: orange;
  font-weight: bold;
  font-size: 16px;
  border: none;
  box-shadow: 0 1em 1em rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-decoration: none;
  color: black;
  margin-top: 15px;
}

.button:hover {
  background-color: yellow;
}

/* Slideshow */

.slideshow {
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000000;
}

.slideshow-container {
  position: relative;
  max-width: 50%;
  margin: auto;
  overflow: hidden;
  padding: 40px;
  border-radius: 3%;
  background-color: white;
}


.slide {
  display: none;
}

.slide img {
  width: 100%;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(25, 25, 25, 0.5);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 10%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Bouncy Button */


.bouncy-button {
  width: 60px;
  height: 60px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
              0 0 15px rgba(0, 123, 255, 0.6),
              0 0 30px rgba(0, 123, 255, 0.4);
  animation: bounce-button 1.5s infinite, glow 1.5s infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  margin-top: 20px;
}

.bouncy-button:hover {
  background-color: #0056b3;
}

/* Animation för studs */
@keyframes bounce-button {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 1000px) {
  .sections {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
  }

  .hamburger-menu.active {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }
}

@media (max-width: 580px) {
  .hamburger {
    margin-right: 20pxpx;
  }

  .logo {
    font-size: 12px;
  }
}
