@font-face {
    font-family: HeyYouGuys;
    src: url(https://never-say-die.com/fonts/heyyouguys.ttf);
}

@font-face {
    font-family: Ballet;
    src: url(https://never-say-die.com/fonts/Ballet.ttf);
}

hr {width: 100%; height: 2px; background-color: #333; border: none;}
br {clear:both;}

body {
    background-color: #000;
    font-family: "Comic Sans MS", "Comic Sans";
    color: #eee;
    font-size: 1.5vw;
}

h1, h2, h3, h4 {
    color: #eee;
    color: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 1.25em;
    font-family: HeyYouGuys;
    text-shadow: -1px -1px 1px #eee, 0 0 0 #111, 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    padding: 1px;
    margin: 1px;
}

h1 {text-shadow: -2px -2px 2px #eee, 0 0 0 #111, 0 0 4px #c00, 0 0 6px #c90, 4px 4px 8px #111;}

.small {font-size: 2vw;}
.xs {font-size: 1vw;}

#countdown {
    color: #fff;
    font-size: 8vw;
    text-align: center;
    line-height: 1.25em;
    font-family: HeyYouGuys;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    padding: 1px;
    margin: 1px;
}

h1 {font-size: 8vw;}
h2 {font-size: 6vw;}
h3 {font-size: 4vw;}
h4 {font-size: 3vw;}

p {
    font-size: 1.5vw;
    color: #ccb;
    text-align: center;
}

a {
    color: #eee;
    text-decoration: none;
}

span.timer {
    width: 20vw;
}

audio {text-align: center;}

div#splash {
    position: relative;
    width: 98vw;
    height: 98vh;
    overflow: hidden;
}

#splash .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("I_Have_The_Key1.jpg");
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: 100%;
    height: 100vh;
    z-index: 0;
    opacity: 0.1;
    transition: opacity 1s ease-in-out;
}

#splash .content {
    position: relative;
    z-index: 1;
}

#title, #who {z-index: 2 !important;}

.fade-text span {
    opacity: 0;
    display: inline-block;
}

#pw {
    padding: 0;
    margin: 0;
    border: none;
    background-color: #000;
    background-color: rgba(0,0,0,0);
    color: #eee;
    font-family: HeyYouGuys;
    text-shadow: -2px -2px 2px #eee, 0 0 0 #111, 0 0 4px #c00, 0 0 6px #c90, 4px 4px 8px #111;
    font-size: 8vw;
    text-align: right;
    width: 19vw;
    z-index: 2;
}

input[type=text]:focus {
  border: 2px solid #111;
}

#pp-btn {
    position: absolute;
    top: 0;
    left: 0;
    margin: 2px;
    padding: 2px;
    z-index: 3;
    font-size: 4vw;
    color: #eee;
    display: none;
}

#pp-btn:hover {
    color: #fff;
}
#neversaydie, #goodenough {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    text-align: center;
    z-index: 4;
    display: none;
}

#test {
    text-align: center;
    font-size: 2vw;
    font-family: Ballet;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
}

#ourtime {
    font-size: 3vw;
    font-family: Ballet;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
}

#oath {
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    width: 100vw;
    font-family: Ballet;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    height: auto;
}

#oath-ft1, #oath-ft2, #oath-ft3, #oath-ft4, #oath-ft5, #oath-ft6 {
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50vw;
    width: 100vw;
    transform: translateX(-50%);
    text-align: center;
}

#oath-ft1 {width: 53vw; top: -5vw;}
#oath-ft2 {width: 56vw; top: 0;}
#oath-ft3 {width: 50vw; top: 5vw;}
#oath-ft4 {width: 41vw; top: 10vw;}
#oath-ft5 {width: 62vw; top: 15vw;}
#oath-ft6 {width: 47vw; top: 20vw;}

p.fill-text {
    position: relative !important;
    font-size: 3.6vw;
    text-align: left !important;
}

#menu {
    position: absolute;
    display: none;
    flex-direction: column;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 5;
    opacity: 0;
}
#menu-l {
    width: 40vw;
    height: 96vh;
    padding: 1vh;
    margin: 1vh;
}
#menu-r {
    height: 96vh;
    width: auto;
    text-align: center;
    padding: 1vh;
    margin: 1vh;
}
#menu-top {
    display: flex; 
    justify-content: space-between;
}
#cover {
    width: auto;
    height: 96%;
}
#cyndi {
    width: auto;
    height: 96%;
}
@media (max-aspect-ratio: 4/3) {
  #menu-top {
      display: inline;
      justify-content: center;
  }
  #menu-l {
      width: 96vw;
      height: auto;
      padding: 1vw;
      margin: 1vw;
  }
  #menu-r {
      width: 96vw;
      height: auto;
      padding: 1vw;
      margin: 1vw;
  }
  #cover {
      width: 96%;
      height: auto;
  }
  #cyndi {
      width: 96%;
      height: auto;
  }
}

.menu-link {
    color: #eee;
    text-align: center;
    line-height: 1em;
    font-family: HeyYouGuys;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    padding: 1px;
    margin: 1px;
    font-size: 3vw;
}

#g1:hover, #g2:hover, #g3:hover, #g4:hover, #g5:hover {
    color: #c90;
    color: rgba(204,135,0,0.7);
    cursor: pointer;
} 

#g1a:hover, #g2a:hover, #g3a:hover, #g1b:hover, #g2b:hover, #g3b:hover, #g1c:hover, #g2c:hover, #g3c:hover, a:hover {
    color: #c90;
    cursor: pointer;
}

#g1a, #g1b, #g1c, #g2a, #g2b, #g2c, #g3a, #g3b, #g3c, #g4a, #st-pause {display: none;}

.disabled {cursor: not-allowed;}

.q {
    text-align: center;
    font-family: HeyYouGuys;
    font-size: 4vw;
    color: #eee;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    display: none;
}

.a {
    text-align: center;
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 2vw;
    color: #ddd;
    display: none;
}

div.a>span:hover {
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

#hint {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1vw;
    color: #111;
    text-shadow:
        1px 1px 2px #223,
        -1px -1px 2px #223,
        0 0 5px #667,
        0 0 10px #334;
}

#disclaimer {
    position: relative;
    bottom: 0;
    width: 100vw;
}

.disclaimer>h4 {
    font-family: Ballet;
    color: #111;
}

.disclaimer>p {
    font-family: "Comic Sans MS", "Comic Sans";
    font-size: 1vw;
    color: #333;
}

#g5modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("I_Have_The_Key1.jpg");
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;
    background-size: 100%;
    height: 100vh;
    z-index: 10;
}

.disabled:hover {
    cursor: not-allowed;
    color: #C33;
}

#viewer {
    display: none;
    grid-template-columns: 4vw 1fr 4vw;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-color: rgba(0,0,0,0.2);
    height: 100vh;
    z-index: 11;
}

#viewer-prev, #viewer-next {
    height: 100vh;
    width: 5vw;
    font-size: 4vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#viewer-prev:hover, #viewer-next:hover, #viewer-close:hover {
    color: #c90;
    cursor: pointer;
}

#viewer-main {
    display: grid;
    grid-template-rows: 1fr 4vw;
}

#viewer-close {
    font-family: HeyYouGuys;
    color: #eee;
    text-shadow: 0 0 2px #c00, 0 0 3px #c90, 2px 2px 4px #111;
    width: 100%;
    text-align: center;
    bottom: 0;
    margin: 2px;
    height: 2vw;
}

#viewer-window {
    width: 90vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1vw;
    margin-bottom: 0.5vw;
}
img.viewer {
    height: 100%;
}