body {
    display: block;
    margin: 0px;
    font-size: x-large;
}

.flex_container {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    align-items: flex-start;
    margin: 0 auto;
    background-color: lightblue;
    padding: 0.25em;
    border-radius: 0.25em;
}

.flex_row {
    display: flex;
    flex-direction: row;
    gap: 0.25em;
    align-items: center;
    /* height: 2em; */
    line-height: 2em;
    padding: 0 0.25em;
}

/* Buttons styles start */
button {
    cursor: pointer;
    text-align: center;
    width: 5em;
    min-height: 2em;
    font-size: 1em;
}

button:active {
    transform: scale(0.95);
}

.result {
    font-size: 1em;
}

/* Button styles end */

h1 {
    text-align: center;
}

.nojs {
    background-color: lightsalmon;
    align-items: center;

}

.yesjs {
    background-color: lightgreen;
    align-items: center;
}

.links {
    background-color: cyan;
}

input {
    display: block;
    font-size: 1em;
}

@media only screen and (min-width:481px) and (max-width:850px) {
    .flex_container {
        max-width: 80%;
    }

}

@media (max-width: 480px) {
    .flex_container {
        max-width: 100%;
    }
    body {
        font-size: 1em;
    }
}

@media (min-width: 851px) {
    .flex_container {
        max-width: 50%;
    }
}