@font-face {
    font-family: 'CustomFont';
    src: url(../data/customfont.woff2) format('woff2-variations');
}


.game {
    width: 329px;
    height: 240px;
    zoom: 1;
    transform-origin: 0 0;
}

    .game.zoomed {
        width: 329px;
        height: 240px;
        zoom: 2;
        transform-origin: 0 0;
    }

body {
    background-color: black;
    background-repeat: repeat;
    font-family: 'CustomFont';
    /*background: radial-gradient(circle,rgba(15, 6, 6, 1) 0%, rgba(53, 105, 143, 1) 25%, rgba(51, 80, 222, 1) 50%, rgba(53, 105, 143, 1) 75%, rgba(19, 27, 41, 1) 100%);*/
}

#titless {
    margin: auto;
    margin-top: 2rem;
    padding-left: 1rem;
    width: 64rem;
    background-color: midnightblue;
    font-family: 'CustomFont';
    color: lime;
    font-size: 2.8rem;
}

#containernav {
    margin: auto;
    margin-top: 2rem;
    padding-left: 1rem;
    width: 64rem;
    background-color: midnightblue;
    font-family: 'CustomFont';
    color: lime;
    font-size: 1.8rem;
}

#container {
    margin: auto;
    margin-top: 1.5rem;
    padding-left: 1rem;
    padding-bottom:0.5rem;
    padding-top:0.5rem;
    width: 64rem;
    background-color: midnightblue;
    font-family: 'CustomFont';
    color: lime;
    font-size: 1.8rem;
}

#nexttoheader {
    text-align:center;
    font-size:2rem;

}
#thehead {
    background-image: url(../files/data/toprepeat.png);
}
#header {
    position: relative;
    margin: auto;
    height: 11em;
    background-image: url(headerbk.png);
    background-position: right 0 bottom -1.1rem;
    background-size: 60rem;
    border-radius: 0.8em 0.8rem 0 0;
}

#logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 8rem;
    filter: drop-shadow(0 0 1rem white);
}

#title {
    position: absolute;
    bottom: 1.8rem;
    right: 1rem;
    width: 40rem;
    filter: drop-shadow(0.2rem 0.5rem 0.25rem black);
    font-size: 10px;
}


#nav {
    margin: 1px;
    font-weight: bold;
    text-align: left;
    background-color: rgb(0, 0, 0);
    width: 100%;
    padding: -1px;
    text-align: left;
    font-family: 'CustomFont';
    color: lime;
}

.navtext {
    font-family: 'CustomFont';
    padding-left: 0rem;
    word-spacing: 0.9rem;
    color: lime;
}

.fullbar {
    background-color: rgba(0, 0, 0, 0.452);
    
    margin: 0 -0.6rem;
    /* add back negative margin value */
    padding: 0.25rem 0.6rem;
}

#main {
    margin: 1rem;
    font-family: 'CustomFont';
}

.margined {
    margin: 1rem;
}

.textright {
    width: 100%;
    text-align: right;
}

a {
    color:lime;
    text-decoration: none;
}

img {
    image-rendering: auto;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
}

a:hover {
    color:grey;
}

.center {
    width: 384px;
    margin: auto; 
    text-align: center;   
    height: 360px;
    overflow: hidden;
    margin:24px 0px 0px 0px;
    text-align:center;
}

.double {
    display: flex;
}

.dbig {
    flex: 1;
    margin-right: 2rem;
}

.dsmall {
    width:16rem;
    text-align: center;
    margin: auto;
}

.thumb {
    width: 15rem;
}

h2 {
    margin-bottom:0;
}

.download {
    margin: auto;
    padding-top:0.5rem;
    width: 40rem;
    background-color: #4a4a7a;
    border-radius: 0.5rem;
    border: 0.2rem solid #ffffff;
}

.dlink {
    justify-content: center;
    margin: auto;
    width: 10rem;
    height: 2.4rem;
    font-size: 1rem;
    background-color: #910d1a;
    border-radius: 0.5rem;
    line-height: 2.4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.qa {
    border-radius: 0.5rem;
    background-color: #2e3a57;
    margin-bottom: 1.5rem;
}

.question {
    border-radius: 0.5rem 0.5rem 0 0;
    padding:0.5rem;
    background-color: #910d1a;
    font-weight:bold;
}

.answer {
    padding:0.5rem;
    font-style:italic;
}


.accordion {
    background: rgb(46,58,87);
    background: linear-gradient(180deg, rgba(46,58,87,1) 35%, rgba(37,47,70,1) 100%);
    color: #FFF;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    border-radius: 0.5rem;
  }
  
  .active, .accordion:hover {
    background: rgb(46,58,87);
    background: linear-gradient(180deg, rgba(46,58,87,1) 35%, rgba(54,70,109,1) 100%);

  }

  .active {
    border-radius: 0.5rem 0.5rem 0 0;
  }
  
  .panel {
    padding: 0 18px;
    display: none;
    background-color: #36466d; 
    overflow: hidden;
    border-radius: 0 0 0.5rem 0.5rem;
  }















@keyframes flicker {
    0% {
        opacity: 0.27861;
    }

    5% {
        opacity: 0.34769;
    }

    10% {
        opacity: 0.23604;
    }

    15% {
        opacity: 0.90626;
    }

    20% {
        opacity: 0.18128;
    }

    25% {
        opacity: 0.83891;
    }

    30% {
        opacity: 0.65583;
    }

    35% {
        opacity: 0.67807;
    }

    40% {
        opacity: 0.26559;
    }

    45% {
        opacity: 0.84693;
    }

    50% {
        opacity: 0.96019;
    }

    55% {
        opacity: 0.08594;
    }

    60% {
        opacity: 0.20313;
    }

    65% {
        opacity: 0.71988;
    }

    70% {
        opacity: 0.53455;
    }

    75% {
        opacity: 0.37288;
    }

    80% {
        opacity: 0.71428;
    }

    85% {
        opacity: 0.70419;
    }

    90% {
        opacity: 0.7003;
    }

    95% {
        opacity: 0.36108;
    }

    100% {
        opacity: 0.24387;
    }
}

@keyframes textShadow {
    0% {
        text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    5% {
        text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    10% {
        text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    15% {
        text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    20% {
        text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    25% {
        text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    30% {
        text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    35% {
        text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    40% {
        text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    45% {
        text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    50% {
        text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    55% {
        text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    60% {
        text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    65% {
        text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    70% {
        text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    75% {
        text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    80% {
        text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    85% {
        text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    90% {
        text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    95% {
        text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }

    100% {
        text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
    }
}

.crt::after {
    content: " ";
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.08);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

.crt::before {
    content: " ";
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom:0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 6px, 8px 100%;
    pointer-events: none;
}

.crt {
    animation: textShadow 1.6s infinite;
}
