/**
 * COPYRIGHT 2023 Micah De Silva
 */
 body {
    font-family: 'Source Sans Pro', sans-serif;
    padding: 1vw;
    background-color: #003049;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh; /* Make the body take up the full viewport height */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: calc(0.5em + 1vw);
    overflow: hidden;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
}

#digits, #operators, #intermediate-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1vh;
}

.digit, .intermediate, .operator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 8vh;
    width: 8vh;
    margin: 1vh;
    border-radius: 50%;
    font-size: 4vh;
    color: white;
    cursor: pointer;
    animation: fadeIn .2s ease-in-out;
}

.digit {
    background-color: #118ab2;
}

.intermediate {
    background-color: #ef476f;
}

.operator {
    background-color: #ffd166;
    color: black;
}

#user-expression, #evaluation {
    min-height: 3vh;
    margin: 1vh 0;
    padding: 1vh;
    border-radius: 0.5em;
    background-color: white;
    box-shadow: 0px 0.3em 1.5em rgba(0,0,0,0.2);
}

#targets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1vh;
}

.target {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 8vh;
    width: 8vh;
    margin: 1vh;
    border-radius: 50%;
    font-size: 4vh;
    border-radius: 50%;
    color: black;
    background-color: #06d6a0;
    cursor: pointer;
    transition: opacity .3s ease;
}

.target.achieved {
    opacity: 0.5;
    font-size: 1.5vh;
}

.expression {
    font-size: 0.8em;
}

#button-container {
    display: flex;
    justify-content: space-around;
    margin: 2vh 0;
}

button {
    padding: 1em 2em;
    border-radius: 0.3em;
    background-color: #073b4c;
    color: white;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color .3s ease;
}

button:hover {
    background-color: #ef476f;
}

/* anims */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

