@font-face {
        font-family: 'mplus-1p-regular';
        src: url('../../subset-mplus-1p-regular.ttf') format('truetype');
    }

    html, body {
        font-family: 'Renner', mplus-1p-regular, sans-serif;
        box-sizing: border-box;
        height: 100%;
        margin: 0;
    }

    @media screen and (min-width: 400px) {
        #main {
            width: 400px;
            height: 100%;
            max-height: 700px;
        }
    }

    @media screen and (max-width: 400px) {
        #main {
            width: 100%;
            height: 100%;
        }
        body{
            overflow: hidden;
        }
    }

    .text{
        position: absolute;
        top: 70%;
        width: 70%;
        background-color: white;
        font-size: 1.7em;
        border-radius: 40px;
        text-align: left;
        padding-top: 10px;
        padding-right: 60px;
        padding-left: 30px;
        padding-bottom: 10px;
        left: 15px;
        z-index: 2;
        border: solid;
    }

    #main {
        display: block;
        position: absolute;
        /*background-image: url("../../bg/interview.jpg");*/
        height: 100%;
        text-align: center;
        text-decoration: none;
        color: black;
    }

    .page {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        opacity: 0;

        background-repeat: no-repeat;
        background-size: auto 100%;
        background-position: center;
    }

    .tri{
        position: absolute;
        top: 70%;
        width: 100%;
        text-align: right;
        right: 50px;
        z-index: 2;
    }

    .white{
        color: white;
    }

    #p0{
        opacity: 1;
    }

    .choice{
        position: absolute;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    .choice div{
        position: relative;
        top: 50%;
        left:50%;
        margin-left: -40%;
        margin-top: 50px;
        width: 80%;
        background-color: white;
        font-size: 2em;
        border: solid;
    }

    .monologue {
        position: absolute;
        top: 70%;
        width: 65%;
        background-color: #4D4D4D;
        color: white;
        font-size: 1.7em;
        margin-right: 20px;
        margin-left: 20px;
        text-align: left;
        padding-top: 10px;
        padding-right: 60px;
        padding-left: 30px;
        padding-bottom: 10px;
        z-index: 2;
    }

    .speaker{
        position: absolute;
        top: 65%;
        height: 5%;
        width: fit-content;
        background-color: #2A2A2A;
        color: white;
        font-size: 1.1em;
        margin-left: 40px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 4px;
        padding-bottom: 4px;
        border-radius: 3px;
        z-index: 1;
    }
    .typewriter {
        overflow: hidden;
        white-space: nowrap;
        margin: 0 auto;
        animation: typing 1s steps(10, end)
    }

    @keyframes typing {
        from {
            width: 0
        }
        to {
            width: 100%
        }
    }