*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body{
    min-height: 100vh;
    background-color: #0b6455;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@view-transition{
    navigation: auto;
}

main{
    width: min(800px, 100%);
    background-color: rgb(213, 246, 217);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

h1{
    color: #0b6455;
    margin-bottom: 20px;
}

.jar{
    width: 150px;
    height: 170px;
    margin: 15px auto 25px;
    border: 8px solid #0b6455;
    border-radius: 20px 20px 45px 45px;
    background-color: white;
    color: #0b6455;
    font-size: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jar.answer{
    color: #0b6455;
    border-color: #0b6455;
}

label{
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input{
    width: 100%;
    height: 45px;
    padding: 8px;
    margin-bottom: 15px;
    border: 2px solid #0b6455;
    border-radius: 6px;
    font-size: 18px;
    text-align: center;
}

button{
    background-color: #0b6455;
    color: white;
    border: 0;
    border-radius: 6px;
    padding: 11px 18px;
    margin: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover{
    background-color: #021f1a;
}

.message{
    color: white;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 8px;
}

.error{
    background-color: rgb(228, 12, 55);
}

.warning{
    background-color: rgb(224, 171, 36);
}

.success{
    background-color: #0b6455;
}

#history{
    margin-top: 20px;
    color: #0b6455;
}
