
body {
  font-family: 'Josefin Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background-color: var(--primaryColor);
    color: var(--textColorDark);
}

form{
    padding-top: 2em;
}

.login-page {
    width: 360px;
    max-width: 90vw;
    padding: 25vh 0 0;
    margin: auto auto 10rem auto;
}

.signup-page {
    width: 480px;
    max-width: 90vw;
    padding: 25vh 0 0;
    margin: auto auto 10rem auto;
}
.forgot-password-page {
    width: 480px;
    max-width: 90vw;
    padding: 25vh 0 0;
    margin: auto auto 10rem auto;
}
.reset-password-page {
    width: 480px;
    max-width: 90vw;
    padding: 25vh 0 0;
    margin: auto auto 10rem auto;
}

.change-password-page {
    color: var(--textColorDark);
    background-color: var(--secondaryColor);
    width: 620px;
    max-width: 90vw;
    padding: 3em 3.5em;
    -webkit-box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
            box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
    text-align: left;
    margin: 8rem auto 20rem auto;
}

.change-password-success {
    color: var(--textColorDark);
    background-color: var(--secondaryColor);
    width: 620px;
    max-width: 90vw;
    padding: 3em 3.5em;
    -webkit-box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.5), 0 5px 5px 0 rgba(200, 200, 200, 0.12);
    box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.5), 0 5px 5px 0 rgba(200, 200, 200, 0.12);
    text-align: center;
    margin: 20rem auto 20rem auto;
}

.center-box {
    color: var(--textColorDark);
    background-color: var(--secondaryColor);
    width: 620px;
    max-width: 90vw;
    padding: 3em 3.5em;
    text-align: center;
    -webkit-box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
            box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
    margin: 20rem auto 10rem auto;
}

.members-form {
    position: relative;
    z-index: 1;
    background-color: var(--secondaryColor);
    color: var(--textColorDark);
    max-width: 90vw;
    padding: 4em 4.5em;
    text-align: center;
    -webkit-box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
            box-shadow: 0 0 20px 0 rgba(255,255,255,0.5), 0 5px 5px 0 rgba(200,200,200,0.12);
}
.consent-form-group a {
  color:blue !important;
}

.members-form a:not(.theme-button) {
  color: var(--textColorDark);
} 

.members-form a:not(.theme-button):hover {
  color: var(--textColorDarkish);
} 

.members-form .big {
    max-width: 90vw;
}

.members-form input{
    outline: 0;
    background-color: var(--secondaryColorDarker);
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.members-form input:not([type=checkbox]){
    width: 100%;
}

.members-form select {
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
}

.members-form small {
    color: var(--helpText);
}

.members-form button {
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #4CAF50;
  width: 100%;
  border: 0;
  padding: 15px;
  color: var(--textColorLight);
  font-size: 14px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
}
.members-form button:hover,.members-form button:active,.members-form button:focus {
  background: #43A047;
}

.github-login {
    margin: 1.25rem 0;
}

.members-form a.github-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 56px;
    padding: 0.95rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: #24292f;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.1;
    box-shadow: 0 10px 24px rgba(27, 31, 35, 0.18);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.members-form a.github-button:hover,
.members-form a.github-button:focus {
    background: #1b1f23;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(27, 31, 35, 0.24);
}

.github-button__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
}

.github-button__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.github-button__label {
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

@media screen and (max-width: 420px) {
    .members-form a.github-button {
        gap: 0.7rem;
        padding: 0.9rem 1rem;
        font-size: 14px;
    }

    .github-button__icon,
    .github-button__icon svg {
        width: 20px;
        height: 20px;
    }
}

.members-form .message {
  margin: 15px 0 0;
  color: var(--helpText);
  font-size: 12px;
}
.members-form .message a {
  color: #4CAF50;
  text-decoration: none;
}
.members-form .register-members-form {
  display: none;
}

.pw-reset-button {
    text-transform: uppercase;
    outline: 0;
    background: #4CAF50;
    width: 100%;
    border: 0;
    padding: 15px;
    color: var(--textColorLight);
    font-size: 14px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    .center-box {
        padding: 2rem 1rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

p.hidden {
    display: none;
}
