:root {
    --background: #121212;
    --font-color: #ffffff;
    --font: "Roboto Mono", monospace;
}
html {
    background: var(--background);
    color: var(--font-color);
    font-family: var(--font);
    overflow-wrap: break-word;
}
h1 {
    text-align: center;
    font-family: var(--font);
    color: var(--font-color);
    font-size: 2.5rem;
    margin-top: 75px;
}
p {
    text-align: center;
    font-family: var(--font);
    color: var(--font-color)
}
a {
    text-decoration: none;
    color: #625bff;
}
.flex-container {
  display: flex;
  flex-direction: row;
}
@media (max-width: 800px) {
    .flex-container {
        flex-direction: column;
        align-items: center;
    }
    .door-container {
        margin-bottom: 20px;
    }
}
nav {
    position: fixed;
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: left;
    background: #252525;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
}
nav > a {
    display: block;
    color: var(--font-color);
    text-decoration: none;
    padding: 7px;
    position: relative;
    margin: 7px;
    cursor: pointer;
    border-radius: 5px;
}
nav > a:hover {
background: #2f4f4f /* darkslategray */
}
#doors-container {
    justify-content: space-evenly;
}
.door {
    width: 150px;
    height: 250px;
    background: lightblue;
    transform-origin: left;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}
/* .door:active {
animation: open-door 0.5s forwards; This is just to test the animation. 
} */
@keyframes open-door {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(-120deg);
    }
}
.door-number {
    font-size: 75px;
    margin-top: 10px;
    color: black;
}
.left-align {
    text-align: left;
}
.status {
    color: black;
}
.winOrLoseImg {
    position: relative;
    margin: auto;
    width: 140px;
    height: auto;
    object-fit: contain;
    z-index: -2;
    top: -180px
}
.door-container {
    width: 150px;
    height: 250px;
    border-radius: 10px;
    border-width: 3px;
    border-left-width: 0px;
    border-style: solid;
    border-color: white;
}
#doorReset {
    display: block;
    margin: auto;
    width: 300px;
    height: 60px;
    border: solid white;
    border-radius: 10px;
    background: #179eff;
    font-family: var(--font);
    font-size: 1.5rem;
    margin-top: 20px;
    cursor: pointer;
}