@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shippori+Antique+B1&display=swap');

:root {
    --base-color: #223030;
    --trim-color: #2d4038;
    --trim-color-hover: #446658;
    --text-color: #f7f7f7;
    --link-color: #ccffee;
    --link-color-hover: #e6fff7;
}

.icon-16 {
  width:calc(8px + 0.48vw);
  height:calc(8px + 0.48vw);
  margin: 0.12vw;
}
.icon-32 {
  width:calc(16px + 0.95vw);
  height:calc(16px + 0.95vw);
  margin: 0.24vw;
}
.icon-64 {
  width:calc(32px + 1.9vw);
  height:calc(32px + 1.9vw);
  margin: 0.48vw;
}

.clickable {
  transition:0;
}
.clickable:hover {
    transform: scale(1.05);
}

.nav-item {
    margin-left:5px;
    font-size:24px;
    padding:4px;
    display: inline-block;
    vertical-align: center;
    transition: 0.2s;
}
.nav-item:hover {
    /* font-size:28px; */
    /* padding:0; */
}
.nav-menu {
    margin-top: 5px;
    background-color:var(--trim-color);
    padding:6px;
    margin-bottom:0px;
    border-radius:20px;
    transition: 0.2s;
}
.nav-menu:hover {
    background-color:var(--trim-color-hover);
}

.sidebar {
    transition:0.2s;
    font-size:24px;
    width:95%;
    height: calc(auto + 1.9vw);
    float:none;
    align-self: center;
    display:none;
    background-color:var(--trim-color);
    margin:auto;
    border-radius:20px;
    position: relative;
}
.sidebar p {
    padding:5px 15px;
    display:block;
}
.sidebar:hover {
    background-color:var(--trim-color-hover);
}
.g-recaptcha {
    display: inline-block;
}
.hide-mobile {
    display:block;
}
.attendance_checkbox {
    transform: scale(2);
    margin:15px
}
.attendance_table {
    border: 1px double black;
    background-color:var(--trim-color);
    width:75%;
}
.attendance_table td, .attendance_table th {
    width:25%;
    border: 1px double black;
    padding: 10px;
    margin:5px;
    background-color:var(--trim-color);
    font-size:24px;
}
.attendance_table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
}
@media (max-width: 1000px) {
    .ufa-image {
        width:80%;
        margin:15px;
    }

    .game-image-left {
        width:calc(400px + 11.9vw);
        float:none;
        margin:auto;
        margin-bottom:10px;
    }
    .game-image-right {
        width:calc(400px + 11.9vw);
        float:none;
        margin:auto;
        margin-bottom:10px;
    }

    .hide-mobile {
        display:none;
    }
}

.user-description {
    background-color:var(--trim-color);
    width:600px;
    padding:15px;
    border-radius:20px;
}
.community_post {
    background-color:var(--trim-color);
    border-radius:7px;
    padding:1px 20px;
    margin:15px 0;
    width:90%;
    inline-size: 90%;
    overflow-wrap: break-word;
}
.community_quote {
    background-color:var(--base-color);
    border-radius:7px;
    padding:1px 20px;
    margin:15px 0;
    width:70%;
    inline-size: 70%;
    overflow-wrap: break-word;
    padding-bottom:15px;
}
.community_timestamp {
    color:#7f7f7f;
    font-size:16px;
    text-decoration: underline;
    text-decoration-color: #7f7f7f;
    -webkit-text-decoration-color: #7f7f7f;
}
.community_timestamp:hover {
    color:#6b6b6b;
    font-size:16px;
    text-decoration: underline;
    text-decoration-color: #6b6b6b;
    -webkit-text-decoration-color: #6b6b6b;
}
.community_delete_button {
    background-color:#b84242;
    color:white;
    border: none;
    margin:5px;
    font-size:16px;
}
.community_quote_button {
    background-color:#d4d4d4;
    color:#262626;
    border: none;
    margin:5px;
    font-size:16px;
}

.billboard {
    background-color:var(--trim-color);
    border-radius:7px;
    padding:1px 20px;
    margin:15px 0;
    width:90%;
    inline-size: 90%;
    text-align:center;
    padding-bottom:15px;
}
.billboard-message {
    width:75%;
}

.bottom {
    display:inline;
    bottom: calc(32px + 1.9vw);
    margin:15px;
    height:auto;
    margin-top: calc(32px + 1.9vw);
    margin-bottom: calc(16px + 0.95vw);
}
/* .bottom {
  display:block;
    width: calc(32px + 1.9vw);
    right: calc(32px + 1.9vw);
    top: calc(32px + 1.9vw);
    left: auto;
    z-index: 100;
    margin:15px;
    height:auto;
    position: absolute;
    margin-top: calc(32px + 1.9vw); */
    /* margin-bottom: calc(16px + 0.95vw);
} */

.game {
    padding: 50px;
}
.game-text {
    vertical-align: top;
    text-align: center;
    margin:50px 50px;
}
.game-text a {
    font-size: 24px;
    padding:10px;
    margin-top:10px;
}

.game-image-left {
    width:calc(400px + 11.9vw);
    float: left;
}
.game-image-right {
    width:calc(400px + 11.9vw);
    float: right;
}

.textbox {
    width:40%;
    vertical-align: top;
    text-align: center;
    margin:60px 5px;
}

.link {
    width:250px;
    height:78px;
    margin: 15px;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: 0.2s;
}
.link:hover {
    width:255px;
    height:80px;
}

.link-label {
    text-decoration: none;
    vertical-align: middle;
    font-size: 28px;
}
.quiz-select {
    width:calc(256px + 15.238vw);
    height:calc(32px + 3.8095vw);
    text-align:center;
    font-size:28px;
    border-radius:20px;
    font-family: 'Atkinson Hyperlegible', sans-serif;
}

input {
    border-radius:15px;
    font-size:22px;
    padding:5px;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    transition:0.2s;
}
input:hover {
    background-color:#c9c9c9;
}
select {
    border-radius:15px;
    font-size:22px;
    padding:5px;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    transition:0.2s;
}
select:hover {
    background-color:#c9c9c9;
}
button {
    border-radius:15px;
    font-size:22px;
    padding:10px;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    transition:0.2s;
}
button:hover {
    background-color:#c9c9c9;
}

.sidebar-button {
  margin:5px;
  width:36px;
  height:36px;
  background-color:var(--trim-color);
  color:var(--text-color);
  /* float:right; */
  border-radius: 3px;
  align-self: center;
  transition:0.2s;
  text-align: center;
  vertical-align: middle;
  font-size:15px;
  border: 0;
}
.sidebar-button:hover {
    background-color:var(--trim-color-hover);
}

canvas {
  image-rendering: optimizeSpeed;             /* Older versions of FF          */
  image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
  image-rendering: -webkit-optimize-contrast; /* Safari                        */
  image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
  image-rendering: pixelated;                 /* Awesome future-browsers       */
  -ms-interpolation-mode: nearest-neighbor;   /* IE                            */
}

body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 20px;
    background-color:var(--base-color);
    color:var(--text-color);
    margin:0 10%;
    padding-bottom: 50px;
}
a {
    color:var(--link-color);
    transition:0.2s;
}
a:hover {
    color:var(--link-color-hover);
}
h2 {
    font-size: 30px;
}

hr {
    opacity: 0;
}
