@import url('https://fonts.googleapis.com/css2?family=Bitcount+Ink:wght@100..900&family=Share+Tech&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
header {
    background-color: aliceblue;
}

header h1 {
    color: black;
    text-align: center;
    font-family: Bitcount Ink, sans-serif;
}

/* Main */
main {
    background-color: white;
}

/* Footer */
footer {
    background-color: lightgray;
}

.creator {
    text-align: center;
    font-size: 20px;
    padding: 50px;
    font-family: Share Tech, sans-serif;
    color: black;
}
/* Scoreboard */
.scoreboard {
    border: 3px solid black;
    width: 200px;
    margin: 20px auto;
    color: black;
    text-align: center;
    font-size: 25px;
    border-radius: 4px;
    padding: 15px 20px;
    font-family: Share Tech, sans-serif;
    position: relative;
}

.user-score, .computer-score {
    background-color: lightpink;
    font-size: 18px;
    color: black;
    padding: 2px 10px;
}

#human {
   float: left;
   position:absolute;
   top: 20px;
   left: -25px;
}

#bot {
    float: right;
    position:absolute;
    top: 20px;
    right: -25px;
}

.result {
    font-size: 40px;
    color: black;
}

.result > p {
    text-align: center;
    font-family: Bitcount Ink, sans-serif;
}

#welcome, #welcome-text {
    text-align: center;
    font-family: Share Tech, sans-serif;
    color: black;
}
/* Options */
.options {
    text-align: center;
    margin: 50px 0;
}

.option {
    display: inline-block;
    padding: 10px;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.option:hover {
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

#action-message {
    text-align: center;
    font-size: 25px;
    color: black;
    font-family: Share Tech, sans-serif;
}
/* Dialog style */

dialog {
  border: 2px solid black;
  border-radius: 8px;
  padding: 20px;
  font-family: Share Tech, sans-serif;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

dialog::backdrop {
  background-color: hsl(250, 100%, 50%, 0.25);
}

#show-rules {
    display: block;
    margin: 12px auto; 
    padding: 8px 14px;
    font-family: Share Tech, sans-serif;
    border: 2px solid black;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

@media (max-width: 300px) {
  header h1 {
    font-size: 1.5rem;
  }

  #welcome, #welcome-text {
    font-size: 0.9rem;
  }

  .scoreboard {
    flex-direction: column;
    font-size: 1.2rem;
  }

  .option img {
    width: 80px;
    height: 80px;
  }

  #action-message {
    font-size: 1rem;
  }
}