body, h1 {
    margin: 0px;
    padding: 0px;
}

p, main, footer {
    margin: 20px;
    padding: 0px;
}

nav a {
    text-decoration: none;
    color: white;
}

nav {
    background-color: #333;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

header, nav {
    font-family: 'Rubik', sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    align-self: flex-start;
}

nav div {
    align-self: center;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}

#result {
    font-size: 35px;
    background: darksalmon!important;
}

/* Responsive styles using media queries */
@media (max-width: 768px) {
    /* Add any specific styling for smaller screens here */
}

@media (min-width: 768px) and (max-width: 1200px) {
    /* Add any specific styling for medium-sized screens here */
}

@media (min-width: 1200px) {
    /* Add any specific styling for larger screens here */
}

#result, #hints {
    margin: 20px;
}

div#yourscore, div#bestscore {
    font-size: 1.5rem;
}

div#yourscore {
    float: left;
}

div#bestscore {
    float: right;
}

#uguess {
    font-size: 1.4rem;
    text-align: center;
    width: 90%;
}

p#instructions {
    border: 1px solid #fff;
    background-color: #444;
    color: #fff;
    padding: 10px;
}

.hhint {
    border: 1px solid #fff;
    background-color: #666;
}

p#result {
    border: 1px solid #fff;
    background-color: #555;
}

button {
    border-radius: 5px;
    font-size: 1.2rem;
    
}

button {
    background-color: #333; /* Set button background color to dark gray */
    color: #fff; /* Set text color to white */
    border: none; /* Remove button border */
    padding: 10px 20px; /* Add padding for better visibility and look */
    font-size: 16px; /* Set font size */
    letter-spacing: 1px; /* Add spacing between letters for more visual appeal */
    text-transform: uppercase; /* Convert text to uppercase for emphasis */
  
    /* Add hover effect */
    transition: background-color 0.3s ease;
}
  
button:hover {
    background-color: #555; /* Darken button background color on hover */
}
  
button:focus {
    outline: none; /* Remove default focus outline */
}

section {
    width: 80%;
    margin: auto;
}

ul {
    text-align: left;
}

#guessdv input {
    width: 80%;
}
#guessdv button {
    width: 90px;
    margin: 10px;
}

main {
    max-width: 790px;
    margin:auto;
}

button[disabled=""] {
    background-color: rgb(33,33,33,0.5);
}


@keyframes newh {
    0% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
    100% { transform: translateX(0); }
  }
  
  .newh {
    animation-name: newh;
    animation-duration: 3s;
    animation-iteration-count: 1;
    /* Use the following line to keep the element at its final position after animation */
    /* animation-fill-mode: forwards; */
  }

  #myscoremoji {
      position: sticky;
      bottom: 5px;
      background-color: black;
      border: solid 1px white;
      border-radius: 3px;
  }