body {
    text-align: center;
    margin: 0;
    padding: 0;
    font-family: Tahoma;
    background-color: #789477;
    text-transform: uppercase;
    color: rgb(221, 221, 221);
    display: flex;
    justify-content: center;
}
.main-content {
    width: 100%;
    max-width: 400px;
}

h1 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 30px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-bottom: solid;
    border-color: #c2c2c2;
    background-color: #2f4858;
    color: white;
    font-size: 24px;
}
h2 {
    margin-bottom: 40px;
    font-size: 26px;
    color: white;
}
form {
    margin-top: 20px;
}
form p {
    padding-top: 20px;
}

input {
    border: 0;
    border-bottom: solid;
    width: 60%;
    font-size: 32px;
    text-align: center;
    background-color: #789477;
    border-color: rgb(221, 221, 221);
    color: rgb(221, 221, 221);
}
input:focus {
    outline: none;
    color: white;
    border-color: white;
}

.predictions {
    text-transform: uppercase;
    color: white;
    background-color: #376269;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-bottom: 0;
    margin-top: 40px;
    border-top: solid;
    border-color: rgba(0, 0, 0, 0.345);
}
.predictions h2 {
    padding-top: 0;
    padding-left: 5%;
    padding-right: 5%;
    color: rgb(205, 205, 205);
}
.predictions footer p {
    margin-bottom: 0;
    padding-top: 0.5em;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 2em;
    font-size: 12px;
    color: rgb(155, 153, 153);
    text-transform: none;
}
.spending-dist {
    padding-top: 0;
    margin-top: 40px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.spending-layout {
    display: flex;
    justify-content: center;
}
.spending-layout p {
    width: 45%;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: solid;
    font-size: 26px;
    font-weight: bold;
    color: #b680a9;
}
#left-sub-result {
    border-right: solid;
    border-right-width: 1px;
    border-color: rgb(142, 142, 142);
}
#right-sub-result {
    border-left: solid;
    border-left-width: 1px;
    border-color: rgb(142, 142, 142);
}

#main-result {
    font-size: 40px;
    padding: 0;
    margin-top: 25px;
    margin-bottom: 0;
    font-weight: bold;
    color: #b680a9;
}

.hidden {
    display: none;
}

#range-warning {
    color: rgb(245, 146, 146);
    margin-top: 40px;
    margin-bottom: 0;
    padding-bottom: 20px;
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold;
    margin-left: 10%;
    margin-right: 10%;
    background-color: #2f4858;
    text-transform: uppercase;
    border: solid;
    border-color: red;
    border-radius: 20px;
}
span {
    padding-bottom: 10px;
    display: block;
    font-size: 20px;
}
#range {
    margin-top: 5px;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 20px;
    color: rgb(210, 210, 210);
}