body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

.slider {
  height: 100vh;
  width: 100vw;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
}

.slide.active {
  opacity: 1;
}

.header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
}

.login-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.login-icon img {
  width: 50px;
  transform: rotate(-10deg);
  transition: transform 0.3s ease-in-out;
}

.login-icon:hover img {
  animation: shake 0.6s ease-in-out infinite;
}

.text-left,
.text-right {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 30px;
  color: white;
  text-shadow: 1px 1px 2px black;
}

.text-left {
  margin-right: -10px;
}
.text-right {
  margin-left: -10px;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.home-icon img {
  width: 200px;
  height: auto;
  cursor: pointer;
}

.home-icon img:hover {
  transform: scale(1.1);
}
