
html, body{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.game {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    width: 100%;
    padding: 20px 0;
}


.gameLocation img {
    max-width: 80vw; 
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}


.map {
    width: 90%;     
    max-width: 80vw;
    margin: 0 auto;  
}

#map {
    width: 100%;    
    height: 500px;  
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.game h1{
    background-color: #4f2e1dab;
    padding: 10px 24px;
    border-radius: 7px;

}


.stats {
    width: 90%;
    max-width: 800px;
    margin: 20px auto; 
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
}

#scroe {
    margin: 0;
    font-size: clamp(0.8rem, 7vw, 1.5rem);
    text-align: left;
    background-color: #4f2e1dab;
    padding: 10px 24px;
    border-radius: 7px;
}

.gameButtons {
    padding-top: 15px;
    display: flex;
    margin: 0 auto;
    gap: 100px;
}


.stats .feedbackMessage{
    display: flex;
    margin: auto;
    justify-content: center;
    padding-bottom: 25px;
    font-size: 30px;
    
}

.stats .feedbackMessage #feedbackMessage{
    padding: 17px 24px;
    border-radius: 12px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999;
}

.hidden {
    display: none;
}

.modalContent {
    background-color: #2c1a11;
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    position: relative;

    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


#closeModal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.modalContent p {
    white-space: pre-line; /* preserves line breaks in JS string */
    font-size: 1.2rem;
}