body {
    background-color: #EFEFEF;
    color: #1A1A1A;
    font-family: "Space Grotesk", sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}


.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background-color: #EFEFEF;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cf9905;
    font-family: "Workbench", sans-serif;
}

.main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 1rem;
    color: #cf9905;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-family: "Workbench", sans-serif;
}

.main-nav a:hover {
    color: #977005;
}



.footer {
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
    background-color: #EFEFEF;
}

.logo.footer {
    font-size: 1rem;
    color: #cf9905;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    font-family: "Workbench", sans-serif;
}

.logo.footer:hover {
    color: #977005;
}

.upper-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}




.index-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 5rem;
}

.instruction-container {
    align-items: flex-start;
    justify-content: center;
    margin-top: 0rem;
    flex-wrap: wrap;
}

.game-mode-tabs {
    display: flex;
    flex-direction: row;
}

.game-mode-tab {
    border-radius: 5px;
    margin-right: .5rem;
    font-size: 1rem;
    padding: 5px 10px;
    cursor: pointer;
    font-family: inherit;
}

.game-mode-tab.active {
    background-color: #cf9905;
}

.header.index {
    margin-bottom: .5rem;
    font-size: 1.5rem;
}

.header.arithmetic-type {
    font-size: 1rem;
}

.description-text {
    font-weight: 200;
}

.description-text.range {
    margin-left: 2rem;
}

.arithmetic-type-container {
    align-items: flex-start;
    justify-content: center;
    margin-top: 2rem;
}

.range-input {
    border-radius: 5px;
    font-family: inherit;
    max-width: 50px;
}

.duration-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

.duration-selector {
    border-radius: 5px;
    font-family: inherit;
    margin-left: .5rem;
}

.submit-btn {
    border-radius: 5px;
    margin-right: .5rem;
    font-size: 1rem;
    padding: 5px 10px;
    cursor: pointer;
}

.label.duration {
    font-size: 1rem;
    font-weight: 800;
    margin-right: .5rem;
}

.label.lobby-code {
    font-size: 2rem;
    font-weight: 800;
    margin-right: .5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #cf9905;
}

input:focus + .slider {
  box-shadow: 0 0 1px #cf9905;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.game-mode-tab-container {
    margin-top: 3rem;
}

.hosting-method-container {
    display: flex;
    flex-direction: column;
}

.join-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 1rem;
}

.join-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.lobby-input {
    font-size: 1.5rem;
    border-radius: 5px;
    padding: 5px;
    font-family: inherit;
    margin-top: 1rem;

}

.form-errors {
    margin-bottom: .1rem;
}

.error-message {
    color: #FF375F;
    font-family: inherit;
    font-size: 0.9rem;
}