
body {
    background: #212735;
}

input#userInput {
    width: calc(100% - 45px);
    max-width: calc(100% - 45px);
    margin-bottom: 10px;
    padding: 20px;
}

div#chat {
    height: calc(100vh - 200px);
    background: #181818;
    margin-bottom: 10px;
    color: white;
    padding: 20px;
    overflow-y: scroll;
    text-align: justify;
    line-height: 1;
    border: solid 20px #181818;
    width: calc(100% - 100px) !important;
    top: 30px;
    left: 10px !important;
}

div#chat p {
    margin: 25px auto;
    max-width: 768px;
}

div#chat img {
    width: auto;
    height: auto;
    max-width: 768px;
    max-height: 80%;
    margin: 15px auto;
    border: solid 5px black;
    display: block;
}

button#userSubmit {
    width: 100%;
    color: white;
    background: #202636;
    padding: 20px;
    border: 0;
    cursor: pointer;
}
button#userSubmit:hover {
    background: #7900ff;
}

div#chat, input#userInput, button#userSubmit {
    border-radius: 10px;
}

/*===../fonts===*/

@font-face {
font-family: 'calibri-regular';
src: url('../fonts/calibri-regular.eot');
src: local('☺'), url('../fonts/calibri-regular.woff') format('woff'),
    url('../fonts/calibri-regular.ttf') format('truetype'),
    url('../fonts/calibri-regular.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Calibri-Bold';
src: url('Calibri-Bold.eot');
src: local('Calibri Bold'), local('Calibri-Bold'),
    url('../fonts/Calibri-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Calibri-Bold.woff2') format('woff2'),
    url('../fonts/Calibri-Bold.woff') format('woff'),
    url('../fonts/Calibri-Bold.ttf') format('truetype'),
    url('../fonts/Calibri-Bold.svg#Calibri-Bold') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Futura-Bold';
src: url('../fonts/Futura-Bold.eot');
src: local('☺'), url('../fonts/Futura-Bold.woff') format('woff'),
    url('../fonts/Futura-Bold.ttf') format('truetype'),
    url('../fonts/Futura-Bold.svg') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'AVENGEANCE';
src: url('../fonts/AVENGEANCE MIGHTIEST AVENGER.eot');
src: local('☺'),
    url('../fonts/AVENGEANCE MIGHTIEST AVENGER.woff') format('woff'),
    url('../fonts/AVENGEANCE MIGHTIEST AVENGER.ttf') format('truetype'),
    url('../fonts/AVENGEANCE MIGHTIEST AVENGER.svg') format('svg');
font-weight: normal;
font-style: normal;
}


* {
    font-family: 'Futura-Bold';
    font-weight: 100 !important;
    font-size: medium;
    text-align: left;
}

button#userSubmit {
    font-family: AVENGEANCE;
}

p {
    font-family: calibri-regular;
    font-size: 20px;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
}

button#userSubmit {
    position: fixed;
    bottom: 5px;
    left: 0;
    z-index: 1;
}

input#userInput {
    position: fixed;
    bottom: 65px;
    width: calc(100% - 60px);
    z-index: 1;
}

div#chat {
    position: fixed;
    width: calc(100% - 55px);
}

div#chat,
input#userInput {
    left: 5px;
}

div#chat > img:last-child {
    margin-bottom: 200px;
}

input#userInput {
    bottom: 0;
    z-index: 2;
}
input#userInput {
    left: 0;
    border-radius: 0;
    border: none;
    width: calc(100% - 100px);
    height: 15px;
}

button#userSubmit {
    text-align: right;
    font-size: 7px;
    padding: 25px;
    padding-right: 12px;
}

button#userSubmit:hover {
    background: #202636;
    color: #ffdc00;
}

button#userSubmit {
    width: calc(100% - 5px);
    border-radius: 30%;
}

div#chat img {
    width: 100%;
}

input#userInput {
    border-radius: 0 40px 40px 0;
}

#chat > div.segment > img {
    height: 100% !important;
    width: auto;
    display: inline;
    margin-left: 20px;
    max-height: calc(100% - 45px);
}

#chat > div.segment {
    max-width: 666px;
    margin: auto;
}

#chat > div.segment > p {
    display: inline;
    width: 60%;
    padding: 0;
    margin: 15px;
    font-size: 12px;
    padding: 10px;
}

#chat > div.segment {
    max-width: 768px;
    margin: 15px auto;
    background: white;
    height: inherit;
    color: #181818;
}


/* @ 768px mobile */
@media screen and (max-width: 768px) {
    .segment, .segment * {
        /* height: min-content !important; */
        display: inline-block;
    }
    
    div#chat {
        width: calc(100% - 100px) !important;
    }

    #chat > div.segment > img {
        height: auto !important;
        width: 100%;
    }

    #chat > div.segment > img {
        height: auto !important;
        width: calc(100% - 50px);
        max-height: unset;
    }

    #chat > div.segment > p {
        width: auto;
    }

}


#info > div > p {
    font-family: AVENGEANCE;
}

#chat > div.segment > img {
    margin-right: 20px;
}

div#chat {
    max-width: 768px;
    position: relative;
}

input#userInput {
    text-align: center;
}

.selection {
    margin: 10px;
}

select#languageSelect, select#artStyleSelect {
    width: 100%;
    margin: 10px;
    padding: 10px;
}

button#startButton {
    width: calc(100% - 20px);
    text-align: center;
    margin: auto;
    display: block;
    background: #1f2434;
    color: white;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: AVENGEANCE;
}

button#startButton:hover {
    background: #7900ff;
    color: #ffdc00;

}


.blurb {
    background: #fcf3c4;
    border: solid 1px black;
    border-radius: 5px;
}


.segment {
    width: 100% !important;
    padding-bottom: 65% !important;
    height: auto !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position-y: center !important;
}



.segment {
    position: relative;
    border: solid 5px white;
}

.segment > p:nth-child(1).blurb {
    top: 5px;
    position: absolute;
    left: 5px;
}

.segment > p:last-child.blurb {
    bottom: 5px;
    position: absolute;
    right: 5px;
}

@media screen and (max-width: 768px) {

    div#chat {
        margin: auto;
        padding: 0;
        width: calc(100% - 20px) !important;
        left: 0 !important;
        height: calc(100vh - 90px) !important;
        top: 0;
        border: solid 10px #181818;
        overflow-x: hidden;
        position: fixed;
    }

    .segment > p:nth-child(1).blurb {
        top: 0px;
        left: 0px;
        margin: 5px !important;
    }

    .segment > p:last-child.blurb {
        bottom: 0px;
        right: 0px;
        margin: 5px !important;
    }

    p.blurb {
        font-size: 8px !important;
    }

    #chat > div.segment > p {
        width: auto;
        max-width: 80%;
    }

    .segment {
        width: calc(100% - 10px) !important;
    }

    input#userInput, button#userSubmit {
        position: fixed !important;
        top: auto !important;
        height: 5px !important;
        max-height: none !important;
        bottom: 1% !important;
    }

    .container {
        margin: 0;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}


html, body {
    margin: 0;
    position: fixed;
    width: 100%;
    height: 100%;
}

input#userInput, button#userSubmit {
    display: none;
}



@font-face {
    font-family: 'Laffayette_Comic_Pro';
    src: url('../fonts/Laffayette_Comic_Pro.otf') format('opentype');
    src: local('☺'),
        url('../fonts/Laffayette_Comic_Pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
    
p.blurb {
    font-family: 'Laffayette_Comic_Pro';
    /* font-family: sans-serif !important; */
    text-transform: uppercase;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 1.6;
    text-align: center;
}

input {
    font-family: 'Laffayette_Comic_Pro';
}

#chat > div.segment > p {
    max-width: 60%;
    margin: 5px;
    width: auto;
}

button#userSubmit {
    border-radius: 0 30% 30% 0;
}


#chat > div.segment:nth-child(1) > p.blurb {
    bottom: 5px;
    right: 5px;
    left: auto;
    top: auto;
}

* {
    transition: all 0.5s !important;
}


p.blurb {
    max-height: 70px !important;
    height: auto !important;
    overflow-y: scroll;
    z-index: 9;
}

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }









  /* FRAMES */



@media screen and (max-width: 768px) {
    #chat > div.segment {
        width: calc(100% - 10px) !important;
        margin: 0 !important;
        display: block;
    }
    #chat > div.segment {
        width: calc(100% - 10px) !important;
    }
}

  .segments {
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 0;
    border: solid 5px white;
}


.segments.horizontal {
    width: 100%;
    height: 50%;
    position: absolute;
}

.segments.horizontal:nth-child(2) {
    bottom: 0;
}

.segments.vertical {
    width: calc(50% - 5px);
    height: 100%;
}
.segments.vertical:nth-child(2) {
    right: 0;
}

.segments.vertical-horizontal {
    width: calc(50% - 5px);
    height: 100%;
}

.segments.vertical-horizontal:nth-child(2) {
    right: 0;
    top: 0;
    height: 50%;
}

.segments.vertical-horizontal:nth-child(3) {
    right: 0;
    bottom: 0;
    height: 50%;
}


.segments.horizontal-vertical {
    width: 100%;
    height: calc(50% - 5px);
}

.segments.horizontal-vertical:nth-child(2) {
    right: 0;
    top: 0;
    height: calc(50% - 5px);
}

.segments.horizontal-vertical:nth-child(3) {
    right: 0;
    bottom: 0;
    height: calc(50% - 5px);
}

.segments.grid {
    width: calc(50% - 5px);
    height: calc(50% - 5px);
}

.segments.grid:nth-child(2) {
    right: 0;
    top: 0;
}

.segments.grid:nth-child(3) {
    left: 0;
    bottom: 0;
}

.segments.grid:nth-child(4) {
    right: 0;
    bottom: 0;
}

#chat > div.segment:nth-child(1) > p.blurb {
    position: absolute;
}


.segments {
    border-bottom: none !important;
    border-right: none !important;
}

#chat > div.segment {
    border-bottom: solid 10px white !important;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none;
}

#chat > div.segment:last-child {
    border-bottom: solid 10px white !important;
}

#chat > div.segment > p {
    display: block;
    z-index: 0;
    position: absolute;
}

#chat > div.segment > p:last-child {
    right: 0;
    bottom: 0;
}


.segments.horizontal-vertical:nth-child(1), .segments.horizontal-vertical:nth-child(3) {
    right: 0;
    bottom: 0;
    height: 50%;
    width: 50%;
}

.segments.horizontal-vertical:nth-child(1) {
    top: 0;
}

.segments.horizontal-vertical:nth-child(2) {
    height: 100%;
    left: 0;
    width: 50%;
}

.segments.horizontal-vertical:nth-child(3) {
    border-left: none;
}

#chat > div > div.selection.hideOnStart {
    width: calc(100% - 10px);
}

div#chat, div#chat .segment, .segments {
    border-color: black !important;
    background-color: black;
}


#chat > div.segment:last-child {
    border-bottom: solid 10px black !important;
}

div#chat {
    background-color: white;
    color: #212735;
}

select#languageSelect, select#artStyleSelect {
    width: calc(100% - 30px);
}

div#chat {
    border-width: 5px;
    border-radius: 0;
    width: calc(100% - 50px) !important;
}

input#userInput {
    background: #fcf3c4;
}

#restart {
    display: none;
}

div#restart {
    z-index: 9 !important;
    position: fixed;
    left: 0;
    bottom: 0;
    margin: 5px;
    color: white;
    padding: 5px;
    border-radius: 100%;
    cursor: pointer;
}

div#restart:hover {
    background: #ffdc00;
    transform: rotate(360deg);
}


@media screen and (max-width: 768px) {

    div#chat {
        width: calc(100% - 10px) !important;
    }

    div#reload {
        position: absolute;
        top: -10px;
        right: -10px;
        transform: scale(0.4);
    }


    #chat > div.segment:last-child {
        margin-bottom: 100px !important;
    }

}

.segments.grid {
    border-left: none;
}



div#reload {
    background: #1f2434;
    border-radius: 100%;
    cursor: pointer;
}

div#reload:hover {
    background: #ffdc00;
    transform: scale(0.4) rotate(360deg);
}

@media screen and (min-width: 768px) {

.segment {
    left: -5px;
}

div#reload {
    position: absolute;
    left: calc(100% + 40px);
    top: calc(50% - 30px);
    background: #1f2434;
    border-radius: 100%;
    cursor: pointer;
}

div#reload:hover {
    background: #ffdc00;
    transform: rotate(360deg);
}
.container {
    position: relative !important;
}

.container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto;
    height: 100vh;
    overflow: scroll;
}

div#chat {
    overflow: visible;
}

.segment {
    overflow: visible !important;
}

div#chat {
    position: relative !important;
    margin: auto;
}

div#chat {
    overflow: visible;
    height:auto !important;
    top: 20px;
    margin-bottom: 150px;
}


}

.segments {
    animation: inOutZoom 16.18s infinite ease-in-out;
}

@keyframes inOutZoom {
    0% {
        transform: 1;
    }
    50% {
        transform: 0.97;
    }
    100% {
        transform: 1;
    }
}


.glassShatter {
    transition: all 1.5s;
    transform: scale(0) !important;

}


body {
    background-image: url('../images/bk.jpg') !important;
    background-size: contain !important;
}

div#chat {
    background-color: #ffffff7a;
}

.segments {
    border-color: black !important;
}


div#infoModal {
    z-index: 1;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #00000073;
}

#infoModal > div.modal {
    position: absolute;
    top: 1%;
    right: -100%;
    text-align: right;
    color: red;
    animation: slideinOut 3s ease-in-out;
    font-size: 22px;
}
#infoModal > div.modal > p {
    font-family: monospace;
}

@keyframes slideinOut {
    0% {
        right: -100%;
    }
    15% {
        right: 1%;
    }
    85% {
        right: 1%;
    }
    100% {
        right: -100%;
    }
}

#infoModal {
    display: none;
    top: 0;
}


div#reload {
    display: none;
}

#chat > div.segment:last-child > div#reload {
    display: block;
}

.segments.horizontal-vertical:nth-child(1), .segments.horizontal-vertical:nth-child(3) {
    width: calc(50% - 10px);
}


img#logo {
    position: fixed;
    width: 200px;
    top: 10px;
    left: calc(50vw - 100px);
    z-index: 9;
}

div#container {
    top: 70px;
}

div#header {
    background: #1f243487;
    width: 100vw;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
}


@media screen and (max-width: 768px) {
div#chat {
    height: calc(100vh - 170px) !important;
    top: 90px;
}

}


input#userInput {
    width: calc(100% - 120px);
}

button#userSubmit {
    border-radius: 0 30px 30px 0;
    font-size: 12px;
}


video#loadingVideo {
    position: relative;
    margin: auto;
    width: 300px;
    display: block;
    border-radius: 100%;
    border: solid 10px black;
}

img#logo {
    left: 20px;
}

.segment {
    padding-bottom: 75% !important;
}


div#chat {
    left: 0 !important;
    top: 10px;
}

#info > div > p, #info > div > p > * {
    font-family: AVENGEANCE;
    font-size: 22px;
}


img#storyImageHeader {
    width: calc(100% - 60px);
    padding: 30px 30px 0;
    max-width: 768px;
    display: block;
    margin: 0 auto;
}

img#logo {
    position: fixed;
    width: 250px;
    left: 0px !important;
    top: 0px !important;
}


div#loading {
    position: relative;
    display: block;
    width: 100%;
    height: 400px;
    padding-top: 10px;
}


video#loadingVideo {
    position: relative;
    margin: 0;
    width: 40%;
    float: left;
    margin-left: 5%;
}

#loading > p {
    display: block;
    float: left;
    margin-left: 45px !important;
    margin-top: 45px !important;
    width: 45%;
    font-size: 45px !important;
    font-family: AVENGEANCE;
}

.openbubble {
    animation: openbubble 4s ease-in-out;
}

@keyframes openbubble {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(0.97);
    }
    100% {
        transform: scale(1);
    }
}


@media screen and (max-width: 768px) {

    div#chat {
        top: 160px;
        height: calc(100vh - 240px) !important;
    }

    div#info {
        width: 95%;
        margin: auto;
    }

    #loading > p {
        margin: 20px 0 20px 10px !important;
        font-size: 30px !important;
    }
    img#storyImageHeader {
        max-height: 60px;
        width: auto;
        max-width: calc(100vw - 60px);
    }
}

@media screen and (min-width: 768px) {

.segment {
    border-right: solid 15px !important;
    left: -10px;
}

}


input#userInput {
    border-radius: 0 10px 10px 0;
}

input#userInput {
    border-radius: 10px;
    left: 2px;
    bottom: -1px !important;
}


video#loadingVideo {
    border-top: 10px;
    border-bottom: 10px;
}