* {
    font-family: 'Courier New', Courier, monospace;
}

body {
    width: 80vw;
    margin: 0 auto;
}

#instructions {
    margin: 30px;
    padding: 30px;
    font-size: 1.3rem;
    background-color: rgb(216, 216, 216);
    text-align: justify;
    box-shadow: inset 3px 3px 10px rgb(110, 110, 110);
}
#instructions button {
    border: 0;
    width: 250px;
    height: 50px;
    font-size: 1.5rem;
    background-color: coral;
    color: white;
    font-weight: 800;
    box-shadow: 1px 1px 5px rgb(110, 110, 110);
    transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
}
#instructions button:hover {
    box-shadow: 3px 3px 10px rgb(110, 110, 110);
}
#instructions h1 {
    overflow: hidden; 
    border-right: 3px solid black;
    white-space: nowrap; 
    animation: 
        typing 3.5s steps(18, end),
        blink-caret .75s step-end infinite;
    width: 435px;
    color: coral;
    font-size: 2.5rem;
    margin: 0;
}
@keyframes typing {
    from { width: 0; }
    to { width: 435px; }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: coral; }
}
#instructions button:active {
    box-shadow: none;
}
#doors {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto 20px auto;
    text-align: center;

}
#doors img {
    margin: 0;
    height: 350px;
}
#doors .door {
    padding: 10px;
    margin: 0 15%;
    transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
}
#doors .door:hover {
    background-color: coral;
    cursor: pointer;
}
#started {
    display: none;
    background-color: black;
    color: white;
    padding: 10px;
    margin-left: 20px;
}
/* Modal */
#modal,
#you-won-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.432)
}
#modal .modal-wrapper,
#you-won-modal .modal-wrapper {
    background-color: coral;
    width: 36%;
    margin: 60px auto;
    text-align: center;
    padding: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
#you-won-modal .modal-wrapper {
    width: 250px;
}
.modal-wrapper h1 {
    padding: 0 0 10px 0;
    color: white;
    margin: 0;
    border-bottom: 2px solid white;
}
.modal-wrapper h2 {
    color: white;
    padding: 10px 0 0 0;
    border-top: 2px solid white;
}
.modal-wrapper button {
    width: 200px;
    height: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    background-color: rgb(46, 46, 46);
    border: 0;
    margin: 20px auto 0;
}
.modal-wrapper button:hover {
    background-color: rgb(0, 0, 0);
    cursor: pointer;
}
.modal-wrapper i {
    color: white;
    margin-bottom: 15px;
}
/* Footer */
footer {
    margin: 30px;
    padding: 30px;
    background-color: rgb(216, 216, 216);
    box-shadow: inset 3px 3px 10px rgb(110, 110, 110);
    color: black;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
}
footer a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}
footer a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 1100px) {
    body {
        width: 99vw;
    }
    #doors .door {
        margin: 2px;
    }
    #doors img {
        height: 300px;
    }
    #modal .modal-wrapper {
        width: 70%;
    }
}
@media only screen and (max-width: 800px) {
    body {
        width: 99vw;
    }
    #doors .door {
        margin: 2px;
    }
    #doors img {
        height: 300px;
    }
    #modal .modal-wrapper {
        width: 80%;
    }
}