@font-face {
    font-family: 'moderndos';
    src: url('moderndos8x16-webfont.woff2') format('woff2'),
        url('moderndos8x16-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "moderndos", sans-serif;
    font-weight: normal;
    padding: 0;
    margin: 0;
    /* box-sizing: border-box; */
}

body {
    background-color: rgb(93, 93, 93);
}

.container {
    display: block;
    outline: 4px double black;
    outline-offset: -10px;
    padding: 40px;
    background-color: rgb(189, 189, 189);
    max-width: 280px;
    margin: 20px auto;
}

.shadow {
    box-shadow: 8px 8px 2px rgba(0, 0, 0, 0.4);
}


p:before {
    position: relative;
}

h3 {
    padding: 10px;
}

em {
    font-style: normal;
    color: rgb(203, 45, 45);
}

button {
    padding: 10px 10px;
    font-size: 1rem;
    border: none;
    background-color: rgb(73, 175, 149);
    margin: 2px;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.buttons button:hover {
    background-color: rgb(85, 204, 174);

}

/* .buttons button:active, */
.btnActive {
    box-shadow: 4px 4px 1px rgba(0, 0, 0, 0.4);
    transform: translate(4px, 4px);
}

#btnEnter {
    grid-column: 4;
    grid-row: 4/6;
}

.display {
    background-color: rgb(73, 175, 149);
    margin-bottom: 20px;
    margin-top: -15px;
    color: white;
    padding: 20px;
    text-align: end;
}

.display p {
    min-height: 20px;
}

.display #line1 {
    color: rgb(91, 91, 91);
}

.display p:first-child {
    margin-bottom: 10px;
}

.container h4 {
    display: inline-block;
    position: relative;
    top: -40px;
    left: 50%;
    transform: translate(-50%);
    background-color: rgb(189, 189, 189);
    padding: 0 10px;
    text-align: center;
}

h4.footer {
    top: 40px;
    color: rgb(93, 93, 93);
    
}