body {
    margin: 0;
}

h1, h2, p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#firstParagraph {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 25%;
    margin-right: 25%;
    border: none;
    padding: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

img .roundImg {
    border-radius: 50%;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #5B9BD5;
    overflow: hidden;
    width: 100%;
    align-items: center;
    display: flex;
}
  
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
}

.topnav button {
    float: left;
    color: #f2f2f2;
    background-color: #333;
    text-align: center;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
    border: none;
}

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

.sidenav {
    height: 100%;
    text-align: left;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: lightgray;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 0px;
}

.sidenav a {
    padding: 8px 12px 8px 24px;
    text-decoration: none;
    font-size: 24px;
    color: #333;
    display: block;
}

.sidenav .topRow {
    position: relative;
    padding: 8px 24px 8px 8px;
    text-decoration: none;
    text-align: left;
    color: #333;
    font-size: 24px;
    display: block;
}

.sidenav .closebtn {
    position: absolute;
    top: 8px;
    right: 24px;
    font-size: 32px;
    font-weight: bold;
}

#hangmanGameArea {
    position: relative;
    width: 100%;
}

#hangmanPicture {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
}

.gameLetter {
    background-color: white;
    font-size: 3em;
    font-weight: 500;
    text-decoration: underline;
    color: black;
    margin-left: 8px;
    margin-right: 8px;
}

.inputLetter {
    background-color: white;
    border: 1px black solid;
    font-size: 2em;
    font-weight: 500;
    color: black;
    text-align: center;
    margin: 4px;
    width: 36px;
}

.inputLetterGray{
    background-color: gray;
}

.inputLetterGreen{
    background-color: green;
}

#userInputArea {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
}

#gameResult {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    font-size: 3em;
    font-weight: 500;
    text-align: center;
}

@media screen and (max-width: 500px) {
    .topnav a {
        float: none;
        display: block;
        width: 100%;
        text-align: left; /* If you want the text to be left-aligned on small screens */
    }
}
