body {
    font-family: 'Ari-W9500', sans-serif;
    padding: 0%;
    margin: 0%;
    background: black;
    min-height: 100vh;
    color: white;
    font-size: 18pt;
    display: flex;
    flex-direction: column;
}
@supports (min-height: 100svh) {
    body{
        min-height:100svh;
    }
}

h1 {
    text-align: center;
    font-weight: lighter;
}

.container {
    display: block;
    min-height: 100vh;
    margin: 0 auto;
    width: 100%;
    box-sizing: content-box;
    overflow: scroll;
    top: 0em;
    bottom: 3em;
    flex: 1;
}
@supports (min-height: 100svh) {
    .container{
        min-height:100svh;
    }
}

.center {
  position: relative;
  box-sizing: border-box;
  padding: 2em;
}

/*footer {
  background-color: black;
  position:absolute;
  width: 100%;
  bottom: 0em;
  height: calc(18*3pt);
  text-align: center;
  font-size: 12pt;
  padding: 1em 2em;
  box-sizing: border-box;
}

.footer-links nav {
  margin-bottom: 1em;
}

.footer-links nav a {
  margin: 0 10px;
  color: #f8f8f8;
  text-decoration: none;
}

.footer-links nav a:hover {
  text-decoration: underline;
}*/

footer {
  background-color: black;
  color: yellow;
  text-align: center;
  font-size: 12pt;
  padding: 1em 2em;
  box-sizing: border-box;
}

.footer-links {
  padding: 20px 0;
  text-align: center;
  font-size: 12pt;
}

.footer-links nav a {
  margin: 0 15px;
  color: #f8f8f8;
  text-decoration: none;
}


.button {
    position: relative;
    opacity: 1.0;
    border: white solid 4px;
    background-color: black;
    box-sizing: border-box;
    padding: 0.5em;
    flex: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s ease-in, background-color 0.2s ease-in, opacity 0.3s ease-in;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.button:hover {
    background-color: #222;
}

.button:active {
    background-color: #FFF;
    border-color: #FFF;
    transition: border-color 0.0s ease-in, background-color 0.0s ease-in, opacity 0.3s ease-in;
}
.button.disabled {
    background-color: #333;
    border-color: #888;
    color: #888;
    cursor: not-allowed;
}

.playnow {
    border-color: rgb(255, 230, 121);
    background-color: rgb(255, 190, 51);
    color: black;
    font-weight: bold;
    font-size: 1.2em;
}


.playnow:hover {
    background-color: rgb(255, 200, 83);
}

.playnow:active {
    background-color: white;
    transition: border-color 0.0s ease-in, background-color 0.0s ease-in, opacity 0.3s ease-in;
}


p {
    margin: 0;
    padding: 0;
}

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

.btn-anim::after {
    content: "";
    opacity: 0.4;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    animation: shine 2s ease-out infinite;
    animation-delay: 3s;
}
.btn-anim:nth-child(1)::after {
    animation-delay: 3.2s;
}
.btn-anim:nth-child(2)::after {
    animation-delay: 3.4s;
}
.btn-anim:nth-child(3)::after {
    animation-delay: 3.6s;
}
@keyframes shine {
    0% {
        background-color: rgba(255, 255, 255, 0.0);
        transition-property: background-color;
    }
    5%{
        background-color: rgba(255, 255, 255, 1.0);
        transition-property: background-color;
    }
    60%{
        background-color: rgba(255, 255, 255, 0.0);
        transition-property: background-color;
    }
}

@media screen and (min-width: 1000px) {
    body {
        background: linear-gradient(to top, #141414, #241111);
    }

    .container {
        min-height: unset;
    }

    .center {
    margin: 2em 0;
    width: 1000px;
    left:50%;
    transform: translateX(-50%);
    }

    #character {
        width: 1000px;
        left:50%;
        transform: translateX(-50%);
        bottom: 10em;
    }

    #textboxes {
        width: 1000px;
        border-width: 4px;
        bottom: 6em;
        left:50%;
        transform: translateX(-50%);
    }

    #textbox {
        border-width: 4px;
    }

    #choices {
        flex-direction: row;
        padding: 0;
        align-items: stretch;
    }

    .continue {
        left: 50%;
        transform: translateX(-50%);
        width: 1000px;
    }
}
