/* Cursor personalizado */
body {
  cursor: url("../assets/cursor/yamiyugicursor.png");
}

button,
a,
img:hover,
button:hover,
a:hover {
  cursor: url("../assets/cursor/yamiyugicursorGLOW.png");
}

/* Vídeo de fundo */
.bg-video {
  position: absolute;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.bg-video .video {
  height: 100vh;
}

.bg-video::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Container principal */
.container {
  position: relative;
  z-index: 3;
  display: flex;
  height: 100vh;
}

/* Lado esquerdo */
.container__left {
  width: 35%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/* Lado direito */
.container__right {
  width: 65%;
  min-width: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

/* Caixa de pontuação */
.score-box {
  background-color: #fff;
  padding: 30px;
}

/* Moldura padrão */
.frame {
  border: 3px solid #000;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Detalhes da carta */
.card_details {
  background-color: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  width: 100%;
}

.card-name {
  font-size: 0.8rem;
}

.card-type {
  font-size: 1rem;
}

/* Container das cartas */
.card-box__container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.3rem;
}

/* Container do duelo */
.card-versus__container {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  padding-top: 0.1rem;
  height: 300px;
}

.versus-top,
.versus-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.versus-bottom {
  margin-top: 1rem;
}

/* Botão do próximo duelo */
#next-duel {
  display: none;
}

/* Caixa das cartas */
.card-box {
  height: 9rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}

/* Carta no campo */
.card-infield {
  height: 11.2rem;
  width: 8rem;
  border: 1px solid #fff;
  border-radius: 8px;
}

/* Efeito de hover nas cartas */
.card {
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.2);
}
