body {
    /* width: 1000px; */
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 3px 5px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}     
         
h1, h2 {
    text-align: center;
}
.mistakes {
    width: 200px;
    text-align: center;
    font-size: 1.5rem;
    color: darkgreen;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 10px;
    margin-right: 10px;
}
.text-center {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 500px;
    align-self: center;
    flex-wrap: wrap;
    min-height: 373px;
}
#wordSportlight {
    color: darkgreen;
    background: rgba(240, 239, 239, 0.6);
    padding: 15px;
    border-radius: 5px;
    min-width: 180px;
    /* width: 100%; */
    /* font-size: 2rem; */
}
.btn {
    background: lightgreen;
    border:darkslategray 2px solid;
    transition: 0.4s;
}
.btn:hover {
    background: darkslategray;
    color: lightgreen;
}
.btn:focus {
    background: grey;
}
.btn:active {
    background: grey;
}
.picture {
    width: 200px;
    height: 200px;
}
.picture img {
    object-fit: contain;
}
.container {
    margin: 0;
}
.header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%;
}
.heading {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    flex-wrap: wrap;
}
.btn-back {
    width: 50%;
    text-align: center;
    margin: 0 auto;
    outline: none;
    border: none;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 2rem;
    color: black;
    display: flex;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.guess-word {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* min-height: 360px; */
    /* margin-top: 40px; */
    width: 70%;
    /* box-shadow: 5px 5px 10px rgba(0,0,0,0.1); */
    border-radius: 10px;
    /* background: yellow; */
}
#keyboard {
    min-height: 192px;
}
.guess-word img {
    object-fit: contain;
    position: center;
}
.hangman-pic {
    /* height: 400px; */
    width: 30%;
    /* background: blue; */
    /* overflow: hidden; */
}
.hidden {
    display: none;
}
.hangman-pic img {
    width: 100%;
}

.levels {
    width: 40%;
    height: 50px;
    display: flex;
    justify-content: center;
}
.level img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}

    @media  screen and (max-width: 1000px) {
    body {
        width: 100%;
        box-shadow: none;
    }
    .header {
        justify-content: center;
    }
}

@media  screen and (max-width: 800px) {
    .header {
        width: 100%;
    }
    .picture {
        height: 150px;
    }
    .mistakes{
        font-size: 1rem;
    }
    .heading h1, .heading h2, a {
        font-size: 1.2rem;
    } 
}

@media screen and (max-width: 500px) {
    .mistakes{
        font-size: 1rem;
    }
    .heading h1, .heading h2, a {
        font-size: 1.2rem;
    } 
    .guess-word {
        box-shadow: none;
        margin: 0;
    }
    .text-center {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .header {
        width: 100%;
    }
    .picture {
        height: 100px;
    }
    #hangmanPic {
        height: 150px;
        /* width: 100%; */
    }
}

@media screen and (max-width: 350px){
    .header {
        justify-content: center;
    }
    .text-center {
        flex-wrap: wrap;
        width: 100%;
    }
    .mistakes {
        font-size: 0.8rem;
    }
    .header {
        width: 100%;
    }
    .picture {
        height: 100px;
    }
    #hangmanPic {
        height: 150px;
        /* width: 100%; */
    }
}
