﻿body
{
    font-family: Arial, Helvetica, sans-serif;
    background-color: pink;
    margin: auto;
    padding: 0;
    font-size: 16px;
}

#bg{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    margin: auto;
    transition: background-color 0.4s;
}

.yellow{
    background-color: rgb(247, 210, 58) !important;
    color: white;
}

.red{
    background-color: rgb(237, 77, 80) !important;
    color: white;
}

.green{
    background-color: rgb(56, 178, 115) !important;
    color: white;
}

.purple{
    background-color: rgb(12, 52, 83) !important;
    color: white;
}

.logo{
    position: relative;
    top: 10px;
    display: block;
    padding: 5px;
    width: 200px;
    background-color: white;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    color: rgb(237, 77, 80);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
}

#viewport{
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    top: 4em;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#prompts{
    display: block;
    position: relative;
    width: 95%;
    margin: auto;
    height: 90%;
}

.inputRow input, .inputRow p{
    display: inline;
}

.prompt{
    color: black;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.prompt > h2{
    font-size: 2em;
    margin: 20px 20px;
    color: white;
}

.promptCard{
    position: relative;
    width: 100%;
    border-radius: 15px;
    box-shadow: 3px 3px 20px rgba(0,0,0,0.4);
    background-color: white;
    flex-grow: 10;
}

.enterFromRight{
    animation-name: enterFromRight;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

.exitToLeft{
    animation-name: exitToLeft;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

.enterFromLeft{
    animation-name: enterFromLeft;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

.exitToRight{
    animation-name: exitToRight;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

@keyframes enterFromRight{
    from{left: 100vw;}
    to{left: 0px;}
}

@keyframes exitToLeft{
    from{left: 0px;}
    to{left: -100vw;}
}

@keyframes enterFromLeft{
    from{left: -100vw;}
    to{left: 0px;}
}

@keyframes exitToRight{
    from{left: 0%;}
    to{left: 100vw;}
}

.hidden{
    display: none;
}

.progressBar{
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.progressSection{
    height: 100%;
    flex: 1 1 auto;
}

.controls{
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 15px;
    bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.controls .button{
    margin: 0px;
    margin-right: 15px;
}

.buttonColumn{
    width: 100%;
    max-height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.buttonColumn .button{
    margin-top: 15px;
    margin-bottom: 0px;
    background-color: lightgray;
}

.buttonColumn .button:first-of-type{
    margin-top: 30px;
}

.button{
    text-align: center;
    margin: 30px;

    border-radius: 10px;
    #box-shadow : 7px 10px rgba(0,0,0,0.4);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.4);

    transition: background-color 0.3s;

    flex: 1 1 auto;
}

.backButton{
    flex: 1 1 auto;
    background-color: rgb(220,220,220);
}

.nextButton{
    flex: 2 1 auto;
    color: white;
}

p{
    font-size: 1.5em;
    margin: 30px;
}