
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  background-color: #7841f7;
}

.bg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 15%;
  background: #5c2dd5;
  border-radius: 5rem 5rem 0  0;
}

.game {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  gap: 10rem;
  background-color: #7841f7;
}


.logo {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: .2rem;
}

.nav .logo .ball1 {
  gap: 1rem;
}

.nav .logo .ball-o {
  width: 1.5rem;
  height: 1.5rem;
  background-color:#fe6389;
  border: 3px solid #161616;
  border-radius: 50%;
  margin-bottom: .2rem;
  box-shadow: 0px 1.5px 0px 1px #000;
}

.nav .logo .ball-p {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #fccd61;
  border: 3px solid #161616;
  border-radius: 50%;
  margin-bottom: .2rem;
  box-shadow: 0px 1.5px 0px 1px #000;
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MENU GAME<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.board {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.board-game {
  width: clamp(300px, 45vw, 600px);
  height: auto;
  padding: 5rem;
  gap: 2rem;
  position: relative;
  background: #8055e6;
  border: 5px solid #161616;
  border-radius: 3rem;
  box-shadow: 0px 20px 0px 0px #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.card-game {
  width: 80%;
  height: 5rem;
  border: 3px solid #161616;
  border-radius: 1rem;
  box-shadow: 0px 10px 0px 0px #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-cpu {
  background: #fe6389;
  color: #f1f1f1;
  font-weight: bold;
  font-size: 1.5rem;
}

.multiplayer {
  background: #fccd61;
  color: #161616;
  font-weight: bold;
  font-size: 1.5rem;
}

.rules {
  background: #f1f1f1;
  font-weight: bold;
  font-size: 1.5rem;
  color: #161616;
}