body {
    font-family: Arial, sans-serif;
    text-align: center;
    align: center;
    font-size: 2.0em;
    width: 75%;
    margin: 0px auto;
}

.row {
    display: flex;
    align: center;
margin:0 auto;
width: 100%;
    margin-bottom: 35px;
}
input[type="text"] {
    width: 75%;
    height: 35px;
    margin: 2px;
    text-align: left;
    align: center;
    font-size: 0.57em;
}

input[type="submit"] {
    width: 75%;
    height: 45px;
    margin: 10px 10px;
    padding: 10px 10px;
    text-align: center;
    align: center;
    text-transform: uppercase;
    font-size: 0.75em;
    background-color: #000;
    color: #fff;
}

.p {
    font-size: 1.00em;
    text-align: left;
    line-height:1.0em;
    padding: 25px 0px;
}

h1 {
    font-size: 1.50em;
    margin: 5px;
    text-align: center;
    align: center;
    line-height:1.15em;
}

h2 {
    font-size: 1.25em;
    margin: 20px 5px;
    text-align: center;
    align: center;
    line-height:1.00em;
}

h3 {
    font-size: 0.85em;
    margin: 25px 5px;
    text-align: center;
    align: center;
    line-height:.75em;
}

h4 {
    font-size: 0.55em;
    margin: 25px 5px;
    text-align: center;
    align: center;
    line-height:1.00em;
}

.button {
    margin-top: 10px;
    padding: 5px 10px;
    text-align: center;
    align: center;
    font-size: 0.75em;
    background: #3366ff;
    color: #fff;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
}

.letter-button {
    font-size: 0.55em;
}

#result {
    margin: 20px;
    font-size: 0.80em;
}

#error-message {
    margin: 20px;

}

#resetButton {
  display: block;
  margin: 0 auto;
  display: none;
    font-size: 0.8em;
}
.container {
    display: flex;
    flex-direction: column;
    padding: 1em;
}

#.game {
    margin-bottom: 1em;
}

#.ads {
    /* no specific styles needed */
}
    .game {
        margin-right: 1em;
        margin-bottom: 0;
      #  flex: 2;  /* takes up 2/3 of the container's width */
    }

    .ads {
        flex: 1;  /* takes up 1/3 of the container's width */
    }

/* Navigation styles */
.nav-button {
    display: flex;
    justify-content: center;
    font-size: 0.70em;
    color: #000;
  box-sizing: border-box;
  border: 1px solid #222;
  border-radius: 1px;
    padding: 10px 10px;
    text-decoration: none;
    background: #f8f8f8;
}

.nav-button a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #008000;
    border-radius: 4px;
    background-color: #eaedf4;
    transition: background-color 0.3s;
}

.nav-button a:hover {
    background: #008000;
    color: #fff;
}

.bottom-nav {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    font-size: 0.75em;
    color: #fff;
}

.bottom-nav a {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    transition: background-color 0.3s;
}

.bottom-nav a:hover {
    background-color: #008000;
    color: #fff;
}

@media (min-width: 600px) {
    .container {
        flex-direction: row;
    }

    .game {
    width: 75%;
    margin: 0px auto;
      #  flex: 1;  /* takes up 2/3 of the container's width */
    }

    .ads {
        flex: 0;  /* takes up 1/3 of the container's width */
    }
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 0.75em;
  resize: none;
    align: center;
    font-family: Arial, sans-serif;
}

label {
  color: #000;
    font-size: 1.0em;
  font-weight: bold;
  width: 100%;
  float: left;
 # background-color: #0d6efd;
  margin: 10px 0px;
    text-align: center;
    align: center;
}
label:after { content: ": " }

