
body, 
.menuButton, 
.submitButton, 
.selectDropdown, 
footer {
   font-family: 'Handjet', sans-serif;
    font-weight: 700; /* forces bold */
  }

/* General page styling */
body {
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Menu and role containers centered vertically and horizontally */
#menu, #showRoles, #showContinue, #showTimer, #gameRoom, .gameRoom {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    height: 100vh;
}
a{
    color:white;
    background-color: black;
    text-decoration: none;
}

/* Menu button style */
.menuButton {
    background-color: black;
    font-size: 1rem;
    color: white;
    border: none;
    height: 120px;
    width: 80%;
    max-width: 90%;
    margin: 10px auto;
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center; /* vertical centering */
    line-height: normal;
    transition: all 0.2s ease;
}

.submitButton {
    display: inline-block;
    background-color: black;
    font-size: 1rem;
    color: white;
    text-decoration: none; /* remove underline from <a> */
    border: none;
    height: 70px;
    line-height: 70px; /* center the text vertically */
    width: 80%;
    max-width: 80%;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menuButton:hover, .submitButton:hover {
    color: black;
    background-color: white;
    font-size: 1.1rem;
}

/* Player and impostor counters */
#players, #impostors {
    font-size: 1.2rem;
}

/* Buttons for setup (like + / -) */
.setupButtons {
    background-color: black;
    color: white;
    font-size: 1.5rem;
    border: 1px solid white;
    height: 35px;
    width: 35px;
    margin: 15px 60px;
}

.setupButtons:hover {
    color: black;
    background-color: white;
    font-size: 1.8rem;
}

/* Head bar with logo and header */
#head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-height: 80px;
}

#logo {
    max-width: 100px;
    max-height: 80px;
    font-size: 1.2rem;
    text-align: center;
}

/* Dropdown menu */
#dropdown {
    font-size: 1.2rem;
    width: 90%;
    max-width: 700px;
    text-align: left;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.labelDropdown {
    font-size: 1.2rem;
    width: 300px;
    text-align: start;
    margin-bottom: 10px;
    margin-left: 10px;
}

.selectDropdown {
    background-color: black;
    color: white;
    font-size: 1.2rem;
    margin-left: 20px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    width: 300px;
}

.option {
    padding: 10px;
}

/* Role and word display */
#role, #word {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Headings */
.h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Make text and buttons responsive */
@media (max-width: 600px) {
    .menuButton {
        font-size: 1.2rem;
        height: 80px;
        margin: 15px;
        vertical-align:middle;
    }

    .setupButtons {
        margin: 10px 30px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    #dropdown {
        flex-direction: column;
        align-items: flex-start;
    }

    .labelDropdown, .selectDropdown{
        width: 85%;
        font-size: 1rem;
    }

    #players, #impostors, .h2, #role, #word {
        font-size: 1rem;
    }
}

 footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: black;
    color: white;
    overflow: hidden;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
  }

  .marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
    padding-left: 100%;
  }

  @keyframes marquee {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(0%);
    }
  }
