@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Varela+Round&family=Lato:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #000212;
    color: #fff;
    font-family: sans-serif;
    margin: 0;
    font-family: 'Lato', system-ui, sans-serif;
}

h1 {
    font-weight: 400;
    text-align: center;
    font-family: 'Fredoka One', system-ui, sans-serif;
}

h2 {
    font-family: 'Varela Round', system-ui, sans-serif;
    text-align: center;
}

nav {
    background-color: #2859A5;
    top: 0;
    left: 0;
    margin: 0px;
    width: 100%;
    height: 3.75rem;
    display: flex;
}

a {
    cursor: pointer;
    color: #3784ff;
    text-decoration: none;
}

a:hover {
    color: #001e81
}

form {
    flex-direction: column;
}

input {
    font-size: 1rem;
}

select,
input[type="text"],
input[type="number"],
textarea {
    -webkit-appearance: none;
    appearance: none;
    overflow-y: auto;
    text-align: center;
    height: 30px;
    border-radius: 10px;
}

button,
input[type="submit"] {
    border: none;
    cursor: pointer;
}

button > img {
    height: 70%;
}

table {
    border-collapse: collapse;
    border: 1px solid #fff;
}

td,
th {
    border: 1px solid #fff;
    padding: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    margin: auto 10px;
    padding: 0 4px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-family: 'Varela Round', system-ui, sans-serif;
}

.nav-item:hover {
    color: #bbb;
}

.nav-item-right {
    position: absolute;
    right: 0;
    margin-top: 20px;
}

#navLogo {
    height: 3.75rem;
    align-self: center;
    margin: 0 12px 0 16px;
}

#error {
    text-align: center;
    color: #f00;
    background-color: #fdd;
    font-size: 30px;
    margin: 6px auto;
}

.btn {
    height: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: all 200ms linear;
    padding: 10px 20px;
    letter-spacing: 1px;
    background-color: #2859A5;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Varela Round', system-ui, sans-serif;
}

.btn:active,
.btn:focus,
.btn:hover {
    background-color: #fff;
    color: #2859A5;
}

.btn[disabled] {
    background-color: #333;
    color: #666;
    cursor: not-allowed;
}

.btn-square {
    border-radius: 0;
    aspect-ratio: 1;
    padding: 0;
}

.btn-source {
    height: 5rem;
}

.btn-source:hover {
    filter: brightness(85%);
}

.center-x,
.center-y {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.center-x {
    flex-direction: row;
}

.center-y {
    flex-direction: column;
}

.hide-highlight {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.blur {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 100;
    -webkit-backdrop-filter: blur(.5rem) brightness(0.35);
    backdrop-filter: blur(.5rem) brightness(0.35);
}

#qr {
    position: fixed;
    width: 90vmin;
    height: 90vmin;
    z-index: 100;
    left: 50%;
    margin-left: -50vmin;
}

.hidden {
    display: none !important;
}

.selected {
    border: #f00 3px solid;
}

#climbTable {
    margin-left: 3rem;
    margin-bottom: 1rem;
}