body {
    background: rgba(245, 245, 245, 0.94);
    display: flex;
    width: 100%;
    height: 100vh;
}

.window {
    align-self: center;
    border-radius: 10px;
    border: 1px solid #333333;
    width: 70vw;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 10px auto;
}

/* Desktop */
@media (min-width: 640px) {
    .window-overlay {
        left: 400px;
        top: 300px;

        width: 426px;
        height: 426px;
    }

    .window-overlay > img {
        width: 384px;
        height: 384px;
    }

    .window {
        max-height: calc(100vh - 120px);
    }
}

/* Mobile */
@media only screen and (max-width: 640px) {
    body {
        height: -webkit-fill-available;
        font-size: 15px;
    }

    .window {
        width: 95vw;
        max-height: calc(100vh - 20px);
    }

    .window-overlay {
        width: 300px;
        height: 300px;
        left: calc(50vw - 150px);
        top: calc(20vh);
    }

    .window-overlay > img {
        width: 256px;
        height: 256px;
    }
}

.console-container {
    overflow-y: scroll;
}

.window-overlay {
    background-color: rgba(245, 245, 245, 1.0);
    margin: auto;
    align-self: center;
    border-radius: 10px;
    border: 1px solid #333333;
    position: absolute;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.window-overlay > img {
    margin: auto;
    display: block;
    border-radius: 5%;
}

.window-controls {
    display: flex;
    flex-direction: row;
    border-bottom: 2px solid #333333;
    flex: 0;
}

.window-button {
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 18px;
    border-radius: 10px;
    margin: 4px;
}

.window-button-red {
    background-color: rgb(237, 106, 94);
    color: rgb(150, 68, 61);
}

.window-button-green {
    background-color: rgb(97, 195, 83);
    color: rgb(55, 114, 48);
}

.window-button-yellow {
    background-color: rgb(245, 191, 79);
    color: rgb(117, 93, 38);
}

.console {
    flex: 1;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.console-spacer {
    flex: 1
}

.console > .code, .console > a {
    line-break: anywhere;
}

.console > p, .console > a {
    font-family: monospace;
    color: #000;
    margin-bottom: 4px;
    padding: 0px;
    display: block;
}
