body{
    background-color: black;
    margin: 0;
    padding: 0;
}
#heading{
    font-family: 'Permanent Marker', cursive;
    font-size: 50px;
    text-align: center;
    color: rgb(57, 227, 57);
    font-weight: bolder;
    text-shadow: 2px 2px rgb(36, 149, 36);
    margin-top: 10px;
    /* animation: upDown 1s ease-in-out infinite alternate; */
}

#game{
    width: 60%;
    height: 500px;
    border-color: white;
    border-style: solid;
    margin: auto;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.749);
    align-items: center;
    text-align: center;
}

#Matrix{
    position: fixed;
    width : 100%;
    height : 100vh;
    z-index: -1;
    overflow-x: hidden;
}

#boss{
    display: flex;
    justify-content: center;
    align-items: center;
}

#dialogue{
    text-align: center;
    justify-content: center;
    display: inline-block;
    width: 180px;
    height: 150px;
    margin-bottom: 90px;
    background-image: url('./assets/dialoguebox.png');
    background-size: 180px 150px;
    font-family: monospace;
    animation: upDown 1s ease-in-out infinite alternate;
    font-size: 10px;
}


#bot{
    display: inline-block;
    width: 90px;
    height: 180px;
    margin-top: 50px;
    margin-left: 150px;
    background-image: url('./assets/boss.png');
    background-size: 90px 180px;
}

/* up and down effect keyframes */
@keyframes upDown{
    0%{
        transform: translateY(0px);
    }
    50%{
        transform: translateY(10px);
    }
    100%{
        transform: translateY(0px);
    }
}

#ui{
    display: flex;
    align-items: center;
    justify-content: center;
}

#guess{
    color:white;
    font-family: monospace;
    font-size: 30px;
}

#guesst{
    color: black;
    font-size: 22px;
    font-family: monospace;
    margin : 10px;
}

#submit{
    font-size: 22px;
    font-family: monospace;
    background-color: rgb(57, 227, 57);
    border-radius: 10px;
    box-shadow: 2px 2px rgb(36, 149, 36);
}

#score{
    color: white;
    font-family: monospace;
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
}

#inst{
    display: inline-block;
    text-align: left;
    color: #ff4a54;
    font-family: monospace;
    font-size: 16px;
    margin-top: 40px;
    margin:auto;
    margin-top: 20px;
}


@media screen and (max-width: 1100px) {
    #guess{
        font-size: 16px;
    }
    #guesst{
        font-size: 16px;
    }
    #submit{
        font-size: 16px;
    }
    #inst{
        font-size: 14px;
    }
}

@media screen and (max-width: 745px) {
    #guess{
        font-size: 16px;
    }
    #guesst{
        font-size: 16px;
    }
    #submit{
        font-size: 16px;
    }
    #inst{
        font-size: 14px;
    }
    #ui{
        flex-direction: column;
    }
    #score{
        font-size: 16px;
    }
    #game{
        height: auto;
    }

    
}

@media screen and (max-width: 715px) {
    #game{
        padding: 10px;
        margin-bottom: 20px;
    }
    #guess{
        font-size: 16px;
    }
    #guesst{
        font-size: 16px;
    }
    #submit{
        font-size: 16px;
    }
    #inst{
        font-size: 14px;
    }
    #ui{
        flex-direction: column;
    }
    #score{
        font-size: 14px;
    }
    #game{
        height: auto;
    }
    #boss{
        display:flexbox;
    }
    
    #dialogue{
        text-align: center;
        justify-content: center;
        width: 144px;
        height: 120px;
        margin-bottom: 90px;
        background-image: url('./assets/dialoguebox.png');
        background-size: 144px 120px;
        font-family: monospace;
        animation: upDown 1s ease-in-out infinite alternate;
        font-size: 10px;
    }
    
    
    #bot{
        width: 72px;
        height: 144px;
        margin-top: 50px;
        background-image: url('./assets/boss.png');
        background-size: 72px 144px;
        margin-left: 0px;
    }
    #heading{
        font-size: 36px;
    }
}