body {
    background-color: #2a313a;
    font-family: 'Montserrat', Arial, sans-serif;
}

#container {
    margin: 0 auto;
    width: 1050px;
}

#header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
}

#game {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: white;
    border: 2px solid #ddd;
    margin-top: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#game h1 {
    font-size: 50px;
    font-weight: 700;
    margin-top: 0;
}

#game p {
    font-size: 18px;
    margin-top: -10px;
    font-style: italic;
    margin-bottom: 5px;
}




button {
    color: white;
    height: 50px;
    width: 120px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    background-color: #4c8eaf;
    border: 2px solid #81a8bc;
    cursor: pointer;
    font-size: 17px;

    transition: all 0.3s ease;
}

button:hover {
    background-color: #3f7792;
    box-shadow: 0 3px #66666642;
    transform: translateY(-2px);
}

button:active {
    background-color: #3f7792;
    box-shadow: 0 1px #66666642;
    transform: translateY(0);
    transition-duration: 0.01s;
}

#game_gui {
    display: block;
    position: relative;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 0 13px 13px 0;
}

#game_infos {
    font-size: 14px;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}


.dialog-contents {
    margin: 50px;
}


#dialogContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.15s ease;
}

.dialog-box {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.dialog-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.dialog-close, .dialog-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    height: 50px;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15pt;
    width: 100%;
    cursor: pointer;
}

.dialog-close span {
    text-align: center;
}



input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    width: 75px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    border: 2px solid #ddd;
    background-color: #fff ;
    display: inline-flex;
    overflow: hidden;
    height: 50px;
    border-radius: 10px;
    border: solid #c2c4c6;
    border-width: 2px;
    transform: translateY(-6px);
}

.number-input,
.number-input * {
    box-sizing: border-box;
}

.number-input button {
    outline: none;
    -webkit-appearance: none;
    background-color: #eeeeee;
    color: #212121;
    border: none;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    border-radius: 0;
    height: auto;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0;
    transform: translate(0, 0);
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    width: 0.5rem;
    height: 2px;
    background-color: #212121;
    transform: translate(-50%, -50%);
}

.number-input button:hover {
    box-shadow: none;
    background-color: #c2c4c6;
    transform: translate(-3px,0);
}

.number-input button:hover.plus {
    transform: translate(3px,0);
}

.number-input button:active, .number-input button:active.plus {
    box-shadow: none;
    transform: translate(0, 0);
    transition-duration: 0.01s;
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 5rem;
    padding: .5rem;
    border: 0;
    text-align: center;
    outline: none;
}
