*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #a0a2ae;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background: #000 url('images/background.jpg') no-repeat 50% 50%;
    background-size: cover;
}

footer {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    padding: 20px 0 20px 50px;
}

footer a {
    color: inherit;
    text-decoration: underline;
    padding: 0 12px 0 0;
}
footer a:hover {
    text-decoration: none;
}
footer a img {
    max-width: 32px;
}

#computer-scale {
    width: 90%;
    max-width: 700px;
    max-height: 700px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    #computer {
        transform: scale(0.32);
        transform-origin: 5% 0;
    }
    #computer-scale {
        max-height: 320px;
    }
}
/* Tablets iPads (Portrait) */
/* Laptops and Desktops */
@media (min-width: 481px){
    #computer {
        transform: scale(0.6);
        transform-origin: 25% 0;
    }
}

#computer {
    width: 857px;
    height: 888px;
    display: block;
    background: transparent url('images/monitor.png') no-repeat 50% 50%;
}

#computer .monitor {
    margin: 0 100px 50px 100px;
    padding-top: 100px;
    display: block;
}

#terminal {
    display: block;
    text-align: center;
}
#terminal input {
    margin: 0 auto;
}

#terminal, #terminal input, #back-button, #right-button {
    font-family: 'VT323', monospace;
    font-size: 40px;
}

#back-button {
    visibility: hidden;
    position: fixed;
    margin-top: -10px;
    margin-left: 20px;
    font-size: 60px;
}

#right-button {
    visibility: hidden;
    position: fixed;
    margin-top: 10px;
    margin-left: 590px;
    font-size: 60px;
}

.animation-ready a:hover, .animation-ready a:focus {
    border-color: #89895C;
}

.animation-ready a {
    border: 2px solid transparent;
}

.animation-ready #back-button, .animation-ready #right-button {
    visibility: visible;
}

#terminal, .terminal__line {
    line-height: 1.25;
    overflow: hidden;
    margin: 0;
    white-space: nowrap;
}
.terminal__line {
    margin: 0 auto;
}

#terminal input {
    width: 80%;
    display: block;
    background-color: transparent;
    border: 2px solid #89895C;
    color: #89895C;
}

input.fake-pass-thing {
    font-family: text-security-square !important;
}

/* Links */

a {
    text-decoration: none;
    color: #d17c78;
    outline: none;
}

#terminal div.center {
    /* text-align: center; */
}

.monitor {
    color: #89895C;
}

.monitor main {
    background-color: transparent;
}

.monitor a, .monitor .btn {
    color: #89895C;
}

span.red {
    color: #fc424c;
}

/************************/
/* Transitions 			*/
/************************/


@keyframes move {
    0% {
        right: 5000px;
    }
    30% {
        right: 2000px;
    }
    100% {
        right: 0;
    }
}

@keyframes move {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Type animation by Lea Verou http://lea.verou.me/2012/02/simpler-css-typing-animation-with-the-ch-unit/ */
@keyframes typing {
    from {
        width: 0;
    }
}

@keyframes scaleUp {
    from {
        height: 0;
    }
    to {
        height: 1.5em;
    }
}