* {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
}

p {
    text-align: center;
}

#content-box {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
}

#pid-box {
    padding: 1rem 2rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
    border: 5px solid #f82f28;
    border-radius: 1rem;
}

#pid-box p {
    width: 100%;
    text-align: center;
}

#pid {
    font-size: 3rem;

}

h1 {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

#please-check-box {
    padding: 1rem 2rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
    border: 5px solid #c4b004;
    border-radius: 1rem;
}

#please-check-box p {
    text-align: center;
    margin-top: 0.2rem;
}

#green-box {
    padding: 1rem 2rem;
    margin: 0 0.75rem 0.75rem 0.75rem;
    border: 5px solid #04c41e;
    border-radius: 1rem;
}

#green-box p {
    text-align: center;
    margin-top: 0.2rem;
}

.emphasis {
    font-weight: 600;
    text-decoration: underline;
}

#bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.cf-turnstile {
    margin-bottom: 1rem;
}

#button-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#vote-button-y,
#vote-button-n {
    box-sizing: border-box;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    margin: 0 0.75rem 0.75rem 0.75rem;
    transition: 0.5s;
    border-radius: 1rem;
}

#vote-button-y {
    background-color: #50e97e;
    border-bottom: 5px solid #49c76f;
    padding: 2rem 0;
}

#vote-button-n {
    background-color: #a1a1a1;
    border-bottom: 5px solid #777777;
    padding: 0.5rem 0;
}

#vote-button-y:hover {
    border-bottom: 8px solid #49c76f;
}

#vote-button-n:hover {
    border-bottom: 8px solid #636363;
}

#vote-button-y:active {
    border-bottom: 0px solid #49c76f;
}

#vote-button-n:active {
    border-bottom: 0px solid #636363;
}

#vote-button-y:disabled,
#vote-button-n:disabled {
    background-color: #727272;
    color: #464646;
    border-bottom: 5px solid #636363;
    cursor: default;
}

#vote-button-y span {
    font-size: 1rem;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0.5s;
}

#loading-screen p {
    margin-top: 0.5rem;
}

.loading {
    width: 4rem;
    height: 4rem;
    border: 10px solid #FFF;
    border-radius: 50%;
    border-top: 10px solid rgba(0, 0, 0, 0);
    transform: rotate(45deg);
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% {
        border-top: 10px solid rgba(0, 0, 0, 0);
        border-right: 10px solid white;
        border-bottom: 10px solid white;
        border-left: 10px solid rgba(0, 0, 0, 0);
    }

    25% {
        border-top: 10px solid rgba(0, 0, 0, 0);
        border-right: 10px solid rgba(0, 0, 0, 0);
        border-bottom: 10px solid white;
        border-left: 10px solid white;
    }

    50% {
        border-top: 10px solid white;
        border-right: 10px solid rgba(0, 0, 0, 0);
        border-bottom: 10px solid rgba(0, 0, 0, 0);
        border-left: 10px solid white;
    }

    75% {
        border-top: 10px solid white;
        border-right: 10px solid white;
        border-bottom: 10px solid rgba(0, 0, 0, 0);
        border-left: 10px solid rgba(0, 0, 0, 0);
    }

    100% {
        border-top: 10px solid rgba(0, 0, 0, 0);
        border-right: 10px solid white;
        border-bottom: 10px solid white;
        border-left: 10px solid rgba(0, 0, 0, 0);
    }
}