/* styling font-family and view height for entire body */
body {
    font-family: 'Roboto', sans-serif;
    height: 100vh;
}

/* hiding elements with this class added */
.hide {
    display: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
    background-color: blueviolet;
    color: gainsboro;
}

#showScores {
    text-decoration: none;
    color: gainsboro;
}

/* styling all sections */
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    margin: auto;
    margin-top: 5%;
    padding: 2%;
    border: 2px solid blueviolet;
    border-radius: 2rem;
    box-shadow: 8px 8px 8px 8px rgba(54, 17, 89, 0.5);
    background-color: gainsboro;
}

section h1,
section h3,
section p {
    text-align: center;
}

section p {
    font-weight: 600;
}

button {
    background-color: gainsboro;
    color: blueviolet;
    border: 2px solid blueviolet;
    border-radius: .25rem;
    width: auto;
    margin: .5%;
}

/* setting hover style for buttons */
button:hover {
    background-color: blueviolet;
    color: gainsboro;
    border: 2px solid rgb(117, 117, 117);
    border-radius: .25rem;
    cursor: grab;
}

/* hiding elements with this class added */
.hidden {
    visibility: hidden;
}

#scoreRecord {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#highScoreList {
    list-style: none;
    padding: 0;
}

/* changing width of sections when screen size hits 768px */
@media screen and (max-width: 768px)  {
    section {
        width: 80%;
    }
}
  