* {
    margin: 0;
}

button {
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0 25px 25px 25px;
}

.btn {
    background-color: #505b67;
    border-radius: 10px;
}

.btn-restart {
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-square  {
    width: 150px;
    height: 150px;
    background-color: #393e46;
    transition: background-color .25s ease;
}

.sign {
    font-size: 80px;
    margin-bottom: 10px;
}

.score-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 400px;
    padding: 10px;
    margin: 0 auto;
}

.score-box {
    width: 170px;
}

.score {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.score-info {
    font-size: 32px;
}

.main {
    text-align: center;
    margin-top: 25px;
}

.title {
    font-variant: small-caps;
    font-size: 50px;
    letter-spacing: 5px;
    text-align: center;
    color: goldenrod;
}

.header {
    display: flex;
    justify-content: center;
    font-family: 'LG A100', sans-serif;
    padding: 20px 0;
    background-color: #393e46;
}

body {
    background-color: #505b67;
    line-height: 1.6;
    font-family: 'TT Marxiana Trial', sans-serif;
    font-size: 20px;
    color: rgb(223, 221, 224);
}

html {
    min-height: 100%;
}

/* MODALS */

.modal {
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 300px;
  padding: 30px;
  border-radius: 10px;
  background-color: #393e46;
  text-align: center;
  font-size: 30px;
  user-select: none;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.modal-title {
  font-size: 40px;
  font-weight: bold;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.6;
}

.overlay.active {
  display: block;
}
