* {
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background-color: #1e1e1e;
  color: #fff;
}

h1 {
  color: white;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  animation: fadeIn 2s;
}

p {
  font-size: 1rem;
  margin: 0 1rem;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #17a2b8;
}

.swf {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
  animation: fadeInUp 1s;
}

.images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}

.games-container {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 1rem;
  margin: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  animation: slideInRight 1s;
  margin-top: -500px;
}

.games-container h2 {
  color: white;
}

.slideshow-container {
  position: relative;
  max-width: 200px;
  margin: auto;
  overflow: hidden;
  margin-bottom: 50px;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  animation: fadeIn 1s;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.slide img:hover {
  transform: rotate(2deg);
  filter: hue-rotate(45deg) contrast(1.1);
}

.slide a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.slide a:hover {
  color: lightblue;
}

.slide p {
  transition: color 0.3s;
}

.slide p:hover {
  color: rgb(0, 255, 98);
}



.prev, .next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px;
  user-select: none;
}

.prev {
  left: 10px;
  transform: translateY(-50%);
}

.next {
  right: 10px;
  transform: translateY(-50%);
}

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

@media only screen and (max-width: 768px) {
  .swf {
    max-height: 500px;
    width: 100%;
    padding: 0.5rem;
  }

  p {
    font-size: 0.875rem;
    margin: 0 0.5rem;
  }

  .games-container {
    max-width: 90%;
    margin: 10px auto;
  }

  .slideshow-container{
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .swf {
    max-height: 400px;
    width: 100%;
    padding: 0.5rem;
  }

  .slideshow-container{
    display: none;
  }

  p {
    font-size: 0.75rem;
    margin: 0 0.5rem;
  }

  .images {
    margin-top: 0.5rem;
  }

  .games-container {
    max-width: 100%;
    margin: 5px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}
