:root {
    /* --bg: #28a5fa; */
    --text: #eceff4;
    --accent: #88c0d0;
    --button: #5e81ac;
    --button-hover: #49688d;
    --input: #00000055;
    --input-text: #eceff4;
    --danger: #bf616a;
    z-index: -10000;
}

a.top-level {
    width: 80% !important;
}

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    /* background-color: var(--bg) !important; */
    background-color: transparent !important;
}

a {
    text-decoration: none;
}

/* Game */

.game-area {
    width: 100%;
    height: 100%;
    min-width: 500px;
    max-width: 1520px;
    margin: 0 auto;
    overflow: hidden;
}

.game {
    width: 100%;
    height: 100%;
    min-width: 500px;
    max-width: 1520px;
    margin: 0 auto;
    overflow: hidden;
}

.game input {
    background: none !important;
}

/* Site Header */

.header-container {
    /*position: fixed;*/
    display: inline-block;
    width: 100%;
    /*height: 100%;*/
    flex-direction: column;
}

.headerthing {
    /*top: -10.5%;*/
    top: -60px;
    width: 100%;
    z-index: 11;
    transition: top 0.3s;
    position: absolute;
    height: 60px;
}
.header {
    background-color: rgba(36,123,209,0.9);
    padding: 6px;
    height: 60px;
}
  
.visible {
    top: 0;
}

.arrowrotate {
    transform: rotate(180deg);
}

.collapse-container {
    margin-left: 75px;
    width: 50px;
}

.header-collapse {
    background-color: rgba(36,123,209,0.9);
    border-radius: 0 0 10px 10px;
    padding: 7px;
    width: 50px;
    /*margin-left: 75px;*/
    height: 40px;
}

.header-collapse-btn {
    justify-content: center;
    transition: transform 0.3s;
    cursor: pointer;
    background: none;
    border: none;
    margin-left: 4px;
}
.header-collapse-img {
    filter: invert(100%) saturate(0%) brightness(200%) contrast(100%);
    width: 15px;
    transform: rotate(90deg);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header-options {
    display: flex;
    flex-direction: row;
    float: left;
    margin-left: 70px;
    align-items: center;
}

.header-link {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-family: 'Burbank Small';
    font-weight: bold;
    transition: 0.2s;
}

.header-icon {
    margin-top: 10px;
    margin-bottom: 10px;
    filter: brightness(80%)
}

.header-link:hover {
    color: #FFCC00;
    text-decoration: underline;
}

/* Disclaimer */

.disclaimer-container {
    transition: display 0.2s;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width:100%;
    height:100%;
    z-index: 12;
}

.disclaimer {
    background-color: rgba(36,123,209,1);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 8px 8px 35px 35px;
    border-radius: 10px;
}

.disclaimer-visible {
    display: flex;
}

.disclaimer-text {
    color: white;
    font-size: 15px;
    text-align: center;
    font-family: 'Burbank Small';
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.disclaimer-btn {
    display: flex;
    align-items: end;
    justify-content: right;
}

.close-btn {
    cursor: pointer;
    border: none;
    background: none;
}

/* media stuff */
@media (max-width:630px) {
    .header-link {
        font-size: 15px;
    }
}

@media (max-width:500px) {
    .header-link {
        font-size: 12px;
    }

    .header {
        width: 100% !important;
    }
}

@media (max-width:560px) {
    .header-options {
        float: none;
        justify-content: center;
        margin-left: 10px;
        margin-right: 10px;
    }
    .collapse-container {
        margin-left: 30px;
    }
}
@media (max-width:680px){
    .disclaimer {
        width: 90%;
    }
}

/* collapse */

@media (max-width:760px) and (max-height:400px){
    .header-collapse {
        width: 25px;
        margin-left: 5px;
        margin-right: 5px;
        justify-content: center;
        height: 30px;
        padding: 6px 1px 1px 1px;
    }
    .header-collapse-btn {
        margin-left: 2px;
        margin-right: 2px;
    }
    .header-collapse-img {
        width: 8px;
    }
}


@media (max-width:1230px) and (max-height: 620px){
    .collapse-container {
        margin-left: 10px;
    }
}