body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 2em;



}

h4 {
    text-align: center;
    text-shadow: #a8a8a8 2px 3px 2px;
}


.numberDisplay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 150px;
    min-height: 150px;
}

.dice {
  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 3px solid #333;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  user-select: none;
  transition: transform 200ms ease;
}

.diceHide {
    display: none;
}

.numberLabel {
    font-size: 25px;
    margin-bottom: 10px;
    margin-top: 10px;

    position: absolute;


}

.errorLabel {

    color: red;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    text-shadow: 0px 0px 0px rgb(0, 0, 0);
}

.countContainer {
    margin: 100px;
    width: 550px;
    height: 600px;
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
}

.buttonContainer {
    display: grid;
    font-size: 20px;
    grid-template-columns: auto;
    margin-top: 20px;
    align-items: center;
    justify-items: center;
}

.input-container {
    margin: 10px;
    flex-direction: row;
    align-items: center;
    position: relative;
    display: flex;
}

.input-container label {
    margin-bottom: 5px;
    font-size: 12px;    
    position: absolute;
    top: -0px;
    left: 10px;
    background-color: rgba(59, 74, 138, 0.7);
    border-radius: 8%;
    color: white;
    padding: 2px 5px;
    z-index: 1;
    box-shadow: #ccc 1px 1px 2px;

}

.input-box {
    padding: 10px;
    margin: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 150px;
    text-align: center;
}

.buttonContainer button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #4a5ab8;
    color: white;
    cursor: pointer;
    margin: 20px;
}

.buttonContainer button:hover {
    background-color: #3b4a8a;
    transition: background-color 0.3s ease;
    box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.15);
}

.buttonContainer button:active {
    transform: scale(0.95);
}

