@font-face {
    font-family: "dogica";
    src: url("fonts/press-start/prstartk.ttf");
}

html {
    background-color: rgb(29, 29, 29);
}

a {
    text-decoration: none;
}

#hamburger-menu {
    display: inline-block;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: 5%;
}

#bar1,
#bar2,
#bar3 {
    width: 35px;
    height: 5px;
    background-color: gray;
    margin: 6px 0;
    transition: 0.4s;
    z-index: 10;
}

.change #bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change #bar2 {
    opacity: 0;
}

.change #bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

#overlay {
    position: absolute;
    width: 390px;
    left: 7px;
    top: 10%;
}

.flex-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

#item1 {
    background-color: aqua;
}

#item2 {
    background-color: brown;
}

#rpg-text-container {
    background-color: black;
    border-style: double;
    border-color: rgb(109, 109, 109);
    font-family: 'dogica';
    padding-bottom: 1px;
}

#rpg-text {
    color: white;
    font-size: 15px;
    line-height: 1.5em;
    padding: 4px 4px 4px 4px;
}

#link-form {
    font-size: 15px;
    color: white;
}

#link-form:hover {
    color: rgb(255, 255, 138);
}

#button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-style: none;
    width: fit-content;
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 5px;
}

#previous {
    opacity: 0%;
}

button, input[type="submit"], input[type="reset"] {
	background: black;
	color: white;
	border: none;
    font-family: dogica;
	cursor: pointer;
	outline: inherit;
    width: 100%;
}

.rpg-button {
    cursor:pointer;
    color: white;
    border-style: solid;
    border-color: white;
    border-radius: 4px 4px;
    border-width: 1px;
    font-size: 15px;
    padding: 5px;
}

.rpg-button:hover {
    border-color: rgb(255, 255, 138);
}

#rpg-img-container {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    border-style: double;
    border-width: 1px;
    border-color: white;
    background-color: #f4f2ad;
}


#rpg-img-character {
    width: 50%;
}

#rpg-img-sprite {
    vertical-align: middle;
    background-color: grey;
    background-image: linear-gradient(45deg, #c8c8c8 25%, transparent 25%, transparent 75%, #c1c1c1 75%), linear-gradient(45deg, #bfbfbf 25%, transparent 25%, transparent 75%, #ccc 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px; 
    width: 100%;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

#go-back{
    font-family: 'dogica';
    padding-left: 20%;
    background-color: black;
}

/* Chrome version 29 and above */
@media screen and (-webkit-min-device-pixel-ratio:0)
and (min-resolution:.001dpcm) {
#rpg-img-sprite{ width:50%; }
}
#achieved {
    color: #91d8c1;
    font-family: dogica;
}

#foot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
