#g_machine-canvas {
    image-rendering: pixelated;
    border: 2px solid black;
    pointer-events: none;
    /* margin-right: 5rem; */
    margin-left: 15rem;
}

#g_wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    /* padding: 2rem; */
    padding-top: 10rem;
}

#g_header {
    position: fixed;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    left: 0;
    right: 0;
    margin: auto;
    height: 5rem;
    top: -6rem;

    transition: top 1s;

}

#g_header.visible {
    top: 0;
}

#g_header-info {
    width: 35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

#g_prompt {
    display: inline-block;
    font-size: 1.5rem;
}

#g_timer {
    font-size: 1.5rem;
}

.dynamic-popup {
    position: fixed;
    width: 41rem;
    height: fit-content;
    background-color: white;
    border: 2px solid black;
    
    z-index: 10;
    left: 0;
    right: 0;
    margin: auto;
    padding: 1rem;
    transition: all 1s ease-out;
    top: -25rem;
}

.popup-middle {
    top: 50%;
    transform: translateY(-50%);
}

#g_prompt-popup p {
    text-align: center;
    font-size: 3rem;
    margin-top: 3rem;
}

#g_prompt-popup h1 {
    text-align: center;
    border-bottom: 2px solid black;
    padding-bottom: 2rem;
}

.size-0 {
    font-size: 0;
    transition: font-size 1s ease-out;
}

#g_machine-text {
    /* width: 100%;
    height: 100%; */
    position: absolute;
    bottom: 0;
    margin-left: 15rem;
    margin-bottom: 8rem;
    width: 604px;
    text-align: center;
    overflow-wrap: break-word;
}

#g_machine-text p {
    display: inline-block;
    font-size: 1rem;
}

#g_machine-canvas-overlay {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 0;
    left: 0;
    border: 2px solid black;
    margin-left: 15rem;
    image-rendering: pixelated;
    pointer-events: none;

}

#g_forfeit-popup p{
    margin-bottom: 2rem;
}

#g_forfeit-popup h1{
    margin-top: 0.5rem;
    text-align: center;
    font-size: 3rem;
}

#g_continue-buttons {
    display: flex;
    justify-content: space-between;
    margin: 1rem;
    margin-top: 2rem;
}

#g_continue-buttons button {
    padding: 1rem;
}

#g_forfeit-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    z-index: 5;
    opacity: 0%;
    transition: opacity 1.5s ease;
    pointer-events: none;
}

.opacity50 {
    opacity: 60% !important;
    pointer-events: all !important;

}

#g_comic {
    display: flex;
    width: 100vw;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

#g_comic div {
    display: flex;
    align-items: center;
}

#g_comic button {
    margin: 1rem;
}

#g_comic-image {
    image-rendering: pixelated;
    margin: auto;
    border: 2px solid black;
    pointer-events: none;
}