* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  height: 90vh;
  width: 90vh;
  position: relative;
  border: 2px solid black;
  border-radius: 50%;
  background: radial-gradient(circle, #f0f0f0, #ccc);
}
@media (max-width: 600px) {
  .container {
    width: 100vw;
    height: 100vw;
  }
}
@keyframes rotate {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

.small-img {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 2s, transform 0.3s;
  border-radius: 50%;
  object-fit: cover;
  animation: rotate 1s ease;
  animation-delay: 2s;
}

.small-img1 {
  width: 80px;
  height: 80px;
  transform: translate(0, 0);
}

.small-img1:hover {
  transform: scale(1.2);
}

.main-img {
  height: 200px;
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: contain;
  z-index: 10;
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 2.5s step-end;
}

.selected-img {
  border: 5px solid red;
  rotate: 1turn;
  transition: all 0.75s;
}

.changed-main {
  animation: zoom-out 1s;
}

@keyframes zoom-out {
  0% {
    scale: 0.25;
  }

  50% {
    scale: 2;
  }

  100% {
    scale: 1;
  }
}

/*
    Project: Pokémon Selector — The Element Wheel
    File: styles.css
    Description:
        Handles the visual layout of the Pokémon wheel.
        Includes animations, circular positioning of Pokémon images,
        responsive layout rules, and dynamic styles for background changes.

    Author: Arun Neupane (@arundada9000)
    Repository: https://github.com/arundada9000/pokemon

    Notes:
        - Uses custom theme colors to match each Pokémon.
        - Designed to be clean, responsive, and mobile-friendly.

    Last Updated: 2025
*/
