* {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
}

body {
    background-image: url('https://www.alura.com.br/assets/img/imersoes/dev-2021/dia-07-super-trunfo-bg.png');
    background-size: cover;    
}

.container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;

    color: white;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero img {
    width: 25rem;
}

button {
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;

    margin-top: -2rem;
   }
   
   button.play {
    font-weight: 600;
    color: #382b22;
    text-transform: uppercase;
    padding: 1.25em 2em;
    background: #fff0f0;
    border: 2px solid #b18597;
    border-radius: 0.75em;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: background 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1);
   }
   
   button.play::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f9c4d2;
    border-radius: inherit;
    -webkit-box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
    box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
    -webkit-transform: translate3d(0, 0.75em, -1em);
    transform: translate3d(0, 0.75em, -1em);
    transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
   }
   
   button.play:hover {
    background: #ffe9e9;
    -webkit-transform: translate(0, 0.25em);
    transform: translate(0, 0.25em);
   }
   
   button.play:hover::before {
    -webkit-box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
    box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
    -webkit-transform: translate3d(0, 0.5em, -1em);
    transform: translate3d(0, 0.5em, -1em);
   }
   
   button.play:active {
    background: #ffe9e9;
    -webkit-transform: translate(0em, 0.75em);
    transform: translate(0em, 0.75em);
   }
   
   button.play:active::before {
    -webkit-box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
    -webkit-transform: translate3d(0, 0, -1em);
    transform: translate3d(0, 0, -1em);
   }

.wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

#carta-jogador, #carta-maquina {
    width: 250px;
    height: 300px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size:cover;
    background-repeat: no-repeat;
    border-radius: 33px;
}

#carta-jogador, #carta-maquina p {
    margin: 10px;
  }

.carta-status {
    height: 160px;
    margin: 1rem;
    color: rgb(0, 0, 0);
}

.resultado-final {
    color: white;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bolder;
    padding: 1rem;
    border: 2px solid rgb(73, 34, 34);
    background-color: black;
}

form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.carta-subtitle {
  z-index: 2;
  position: absolute;
  top: 20px;
  left: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
}

#opcoes {
    text-align: start;
    font-weight: bold;
    font-size: 20px;
    color: white;
  }

.carta-status input {
    margin: 12px 10px;
}

.btn-play button {
    width: 15rem;
}

.card {
    border-radius: 50px;
    background: #e0e0e0;
    box-shadow: 20px 20px 60px #bebebe,
                  -20px -20px 60px #ffffff;
   }

   /* MOBILE RESPONSIVE   */

@media screen and (max-width: 609px) {
   .hero img {
    width: 20rem;
   }

   .container {
    margin-top: -2rem;
   }

   .container form {
    align-items: center;
   }

   .wrapper {
    width: max-content;
    display: flex;
    flex-direction: column;
   }


  }