body { display: grid; place-items: center; gap: 25px; grid-template-rows: auto 1fr auto; padding: 20px; margin: 0;
    font-family: "Tahoma", sans-serif; min-height: 95vh;
    background: fixed url(img/background.png) right no-repeat; background-size: cover; }
.visually-hidden { visibility: hidden; position: absolute; }

header { margin-left: auto; }
.links ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
@media  only screen and (max-device-width: 768px) { .links ul { flex-direction: column; } }
@media  only screen and ((min-device-width : 768px) and (max-device-width : 1024px)) { .links ul { flex-direction: column; } }
.header-link-button { display: flex; align-items: center; justify-content: center; height: 45px; width: 150px; background-color: #010409; }
.links a { font-size: 14px; text-decoration: none; color: #FFFFFF; }
a:hover { color: #A75BAC; }
a:visited { color: #c381c8; }

.poll-container {
    display: flex;
    justify-content: center;
    width: 95%;
    gap: 50px;
    padding: 30px;
}
@media  only screen and (max-device-width: 768px) { .poll-container { flex-wrap: wrap; } }

.poll {
    position: relative;
    border-radius: 0 35px;
    font-size: 20px;
    line-height: 10px;
    background-color: rgba(200, 222, 246, 0.5);
    padding: 20px;
    border: 2px solid #C8DEF6;
}

fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

legend {
    margin: 0;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 24px;
    line-height: 20px;
}

.poll-option {
    margin-bottom: 16px;
}

.poll-option:last-child {
    margin-bottom: 16px;
}

.answer {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.answer + label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-bottom: -2px;
    margin-right: 10px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-image: url('img/icon-checkbox.png');
}

.answer:checked  + label::before {
    background-image: url('img/icons-xbox.png');
}

.note {
    display: flex; flex-direction: column;
}

input[type="text"] {
    height: 22px;
    margin-left: 45px;
}

.color-block {
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.color-block label {
    margin: 0 10px;
}
input[class="color-note"] {
    width: 60%;
}

input[type="color"] {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
}

.submit-button {
    padding: 7px 16px;
    width: 165px;
    height: 30px;
    border-radius: 2px;
    background-color: #010409;
    color: #FFFFFF;
}

.game-site {
    width: 600px;
    min-height: 520px;
    border: 2px solid;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.game-site li {
    list-style: none;
}

.game-header-title {
    text-align: center;
}

.toggle-button {
    text-align: center;
    margin-left: 55px;
    padding: 10px 20px;
    border-radius: 5px;
}

.game-body {
    display: grid;
    column-gap: 20px;
    grid-column: span 2;
    grid-row: span 2;
    grid-template-columns: 200px 1fr;
    grid-template-areas: "nav play" "nav room";
}

.game-navigation {
    grid-area: nav;
    margin-top: 30px;
}

.navigation-link {
    text-align: center;
    font-size: 20px;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid;
}

.navigation-link:last-child {
    margin-bottom: 0;
}

.game-play {
    display: flex;
    justify-content: center;
    width: 300px;
    height: 180px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    grid-area: play;
    border: 2px solid;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.game-room {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 130px;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    grid-area: room;
    font-size: 24px;
    border: 2px solid;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}

.dark-theme {
    border-color: #256263;
    background-image: url(img/dark-body.png);
}

.dark-theme .game-header {
    color: #C8DEF6;
}

.dark-theme .navigation-link {
    background-color: #354663;
    color: #C8DEF6;
    border-color: #256263;
}

.dark-theme .game-play {
    border-color: #354663;
    background-image: url(img/dark-body.png);
}

.dark-theme .game-room {
    color: #FFFFFF;
    border-color: #354663;
    background-image: url(img/background-black.png);
}

.neon-theme {
    border-color: #fff;
    background-image: url(img/dark-body.png);
    box-shadow: 0 0 .2rem #fff,
              0 0 .2rem #fff,
              0 0 2rem #bc13fe,
              0 0 0.8rem #bc13fe,
              0 0 2.8rem #bc13fe,
              inset 0 0 1.3rem #bc13fe;
}

.neon-theme .game-header {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #0ff,
        0 0 80px #0ff,
        0 0 90px #0ff,
        0 0 100px #0ff,
        0 0 150px #0ff;
}

.neon-theme .navigation-link {
    background-color: #354663;
    color: rgba(255, 255, 255, 0);
    text-shadow: 0em 0em 3em #83ff00,
                 0em 0em 2em #83ff00,
                 1px 1px 5px #83ff00,
                 0px 0px 15px #83ff00,
                 1px 0px 0px white,
                -1px 0px 2px rgba(0, 0, 0, .5);
    border-color: #256263;
}

.neon-theme .game-play {
    border-color: #354663;
    background-image: url(img/dark-body.png);
    box-shadow: 0px 0px 10px 0px #fe1dad, 0px 0px 30px 0px #fe1dad,0px 0px 100px 0px #fe1dad, inset 0px 0px 30px #FE1DAD;
}

.neon-theme .game-room {
    color: #fff;
    text-shadow: 0 -40px 100px, 0 0 2px, 0 0 1em #ff4444, 0 0 0.5em #ff4444, 0 0 0.1em #ff4444, 0 10px 3px #000;
    border-color: #354663;
    background-image: url(img/background-black.png);
}

.light-theme {
    border-color: #256263;
    background-image: url(img/body-light.png);
}

.light-theme .game-header {
    color: #354663;
}

.light-theme .toggle-button {
    background-color: #354663;
    color: #C8DEF6;
    border-color: #256263;
}

.light-theme .navigation-link {
    background-color: #C8DEF6;
    color: #256263;
    border-color: #256263;
}

.light-theme .game-play {
    border-color: #354663;
    background-image: url(img/background-light.png);
}

.light-theme .game-room {
    color: #354663;
    border-color: #354663;
    background-image: url(img/background-room.png);
}

.switch-theme {
    border-color: #256263;
    background-image: url(img/dark-body.png);
}

.switch-theme .game-header {
    color: #C8DEF6;
}

.switch-theme .toggle-button {
    background-color: #C8DEF6;
    color: #256263;
    border-color: #256263;
}

.switch-theme .navigation-link {
    background-color: #354663;
    color: #C8DEF6;
    border-color: #256263;
}

.switch-theme .game-play {
    border-color: #354663;
    background-image: url(img/dark-body.png);
}

.switch-theme .game-room {
    color: #FFFFFF;
    border-color: #354663;
    background-image: url(img/background-black.png);
}

.bright-theme {
    border-color: #4E8AD5;
    background-image: url(img/bright-body.jpg);
}

.bright-theme .game-header {
    color: #C8DEF6;
}

.bright-theme .navigation-link {
    background-color: #8C65C2;
    color: #C8DEF6;
    border-color: #4E8AD5;
}

.bright-theme .game-play {
    border-color: #4E8AD5;
    background-image: url(img/background-bright.jpg);
}

.bright-theme .game-room {
    font-weight: bold;
    font-size: 28px;
    color: #010409;
    border-color: #4E8AD5;
    background-image: url(img/bright-room.jpg);
    background-position: center;
}

.hidden {
    display: none;
}

.shown {
    display: flex;
}
  
footer { margin-right: auto; }
footer a { text-decoration: none; color: #52275E; }