@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Quicksand:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'EB Garamond', sans-serif;
}

/* background image */

body {
    background-image: url("../images/project-img/bgrnd-img.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #D9D9D9; /* background colour while image is loading */
}

/* game area */
.game-area {
    width: 100%;
    margin: auto;
    text-align: center;
}

.scores {
    margin-bottom: 6px;
}

p, button {
    font-family: 'Quicksand', sans-serif;
}

/* buttons */
button {
    font-size: 20px;
    font-weight: 400;
    background-color: goldenrod;
    color: black;
    border-color: goldenrod;
    border-radius: 1rem;
    border-style: hidden;

    padding: 8px;
}

button:hover {
    background-color: black ;
    color: white;
}

.reset {
    color: white;
    background-color: black;
}

.reset:hover {
    background-color: white;
    color: black;
}

/* heading and paragraphs */
h1 {
    font-size: 45px;
    padding-bottom: 15px;
    padding-top: 10px;
}

p {
    padding-bottom: 15px;
}

.choose {
    padding-bottom: 25px;
}

.hidden {
    display: none;
}

.disabled {
    pointer-events: none;
    background-color: darkgray;
  }

.answer {
    display: inline-flex;
    padding-top: 55px;
    padding-bottom: 55px;
}

.word {
    margin-right: 1.5rem;
    font-size: 25px;
    max-width: 50vw;
    display: inline-flex;
}

/* scores area */
.scores {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    color: white;
    max-width: 20rem;
    padding: 20px 10px;
    border-radius: 4rem;
}

/* footer */
.footer {
    font-size: 15px;
    text-align: center;
    position: relative;
    padding-top: 25px;
}

.fine-print {
    font-size: 15px;
}

/* hints */
.hint {
    padding-top: 15px;
}

/* 404 page */

#four-content {
    text-align: center;
    padding: 15px;
}

/* media queries */
@media only screen and (max-width: 1147px) {
    body {
      background-color: #D9D9D9;
      background-image: none;
    }
  }

  @media only screen and (max-width: 420px) {
    .answer, .word {
        max-width: 90%;
    }
  }

