body {
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #222;
    color: #fff;
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#svg-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
}

.container {
    text-align: center;
    width: 100%;
    height: 100%;
}

.header {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    margin: auto;
    text-align: center;
    z-index: 9000;
}

h1 {
    font-size: 40px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    margin-bottom: 10px;
}

h5 {
    margin: 0;
    font-size: 16px !important;
}

#sub-header {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.option-subtext {
    font-size: 18px;
    font-weight: 600;
}

.option-vote-text {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 5px;
}

.index {
    font-size: 24px;
    font-weight: 600;
    margin: 0 10px;
    opacity: 0.5;
}

.smaller-circ {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3b3b3b;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
}

.center-circ {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #3b3b3b;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.75);
    margin: auto;
    z-index: 9000;
}

.index.current {
    font-size: 32px;
    font-weight: 750;
    opacity: 1;
}

.faded {
    opacity: 0.6;
}

.question {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 9000;
}

.option {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
    width: 50%;
    height: calc(100% - 20px);
    margin: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    flex-direction: column;
    user-select: none;
}

.option:hover {
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.75);
}

#inverse-a-bar {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(50% - 20px);
    height: calc(100% - 20px);
    transition: height 0.3s, border-radius 0.3s;
    border-radius: 5px;
    background-color: rgba(39,163,224,1);
    z-index: -1;
}

#a-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    transition: height 0.3s, border-radius 0.3s;
    width: calc(50% - 20px);
    height: calc(0px);
    border-radius: 0 0 5px 5px;
    background-color: rgba(2,109,162,1);
    z-index: -1;
}

#inverse-b-bar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: calc(50% - 20px);
    height: calc(100% - 20px);
    transition: height 0.3s, border-radius 0.3s;
    border-radius: 5px;
    background-color: #e44646;
    z-index: -1;
}

#b-bar {
    position: absolute;
    bottom: 10px;
    right: 10px;
    transition: height 0.3s, border-radius 0.3s;
    width: calc(50% - 20px);
    height: calc(0px);
    border-radius: 0 0 5px 5px;
    background-color: rgb(187, 45, 45);
    z-index: -1;
}

.option-text {
    margin-top: auto;
    font-size: 28px;
    font-weight: 700;
    color: white;
    font-family: "Inter", sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    margin-bottom: 5px;
    max-width: 60%;
    z-index: 9000;
}

#report-issue {
    position: absolute;
    cursor: pointer;
    user-select: none;
    left: 22px;
    bottom: 22px;
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    padding: 15px;
    color: white;
    text-decoration: none;
    background-color: #3b3b3b;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#report-issue:hover {
    background-color: #2b2b2b;
}

#percent-left {
    margin-top: auto;
    align-self: center;
}

#percent-right {
    margin-top: auto;
    align-self: center;
}

.percent {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 5px;
}

#option-a {
    background-color: transparent;
}

#option-a:hover {
    background-color: #0088cc;
}

#option-b {
    background-color: transparent;
}

#option-b:hover {
    background-color: #cc3333;
}

.disclaimer {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
}

/* begin overlay styles */

#init-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    opacity: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#logo {
    max-height: 10vh;
    max-width: 60%;
}

#overlay-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: fit-content;
    padding: 20px;
    border-radius: 10px;
    background-color: #3b3b3b;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#overlay-form fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 90%;
    padding: 20px;
}

#overlay-form fieldset div label {
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

#switch-game-type {
    user-select: none;
    border: none;
    display: grid;
    background-color: none;
    grid-template-columns: 50% 50%;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    padding: 15px;
    color: white;
    text-decoration: none;
    position: relative;
    width: 65%;
}

#switch-game-type input {
    position: absolute;
    height: 1px;
    width: 1px;
    opacity: 0;
    border-radius: 15px;
}

#switch-game-type label {
    cursor: pointer;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
    background-color: #6d6d6d;
    z-index: 2;
}

#switch-game-type input:checked + label {
    background-color: #5cb85c; /* Active color */
    color: white;
}

#twitch-type-option:checked + label {
    background-color: #5cb85c;
    color: white;
}

#single-type-option:checked + label {
    background-color: #5cb85c;
    color: white;
}

#channel-name {
    border: rgb(99, 99, 99) 2px solid;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: #3b3b3b;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

#channel-name:disabled {
    background-color: #353535;
}

#start-button {
    cursor: pointer;
    user-select: none;
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 700;
    padding: 15px;
    color: white;
    text-decoration: none;
    background-color: #4c7c58;
    transition: background-color 0.1s ease;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

#start-button:hover {
    background-color: #30583a;
    outline: 2px solid #ffffff;
}

#toggle-bg {
    position: absolute;
    background-color: #4a4a4a;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    z-index: 1;
}