body {
    font-family: Arial, sans-serif;
    background-color: #2c5327;
    display: flex;
    flex-direction: column;
    width: 90vw;
    font-size: 5vh;
}
.calculator {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 10%;
    height: fit-content;
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
h1 {
    color: #2c5327;
    margin-bottom: 5vh;
    font-size: 8vh;
    text-align: center;
}
.calculator .input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5vh;
}
.calculator .input-group-lateral {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 5vh;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}
.input-group label,
.input-group-lateral label {
    margin-bottom: 2vh;
    font-size: 4vh;
    text-align: center;
}
.input-group input {
    width: 90%;
    padding: 1vh;
    margin-bottom: 2vh;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.calculator button,
.modal button {
    width: 90%;
    padding: 1vh;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    
}
.calculator button:hover,
.modal button:hover {
    background-color: #0056b3;
}
.calculator p,
.modal p {
    font-size: 3vh;
    font-weight: 900;
    text-align: justify;
}
.result {
    margin-top: 20px;
    font-weight: 900;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.modal.show {
    display: block;
    opacity: 1;
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.hidden {
    display: none !important;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}