* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.container {
    max-width: 1140px;
    width: 90%;
    margin: 0 auto;
}
h1 {
    text-align: center;
    padding: 0.5rem;
}
.tax-calculator-div {
    width: 100%;
    border: 3px solid lightgray;
    border-radius: 0.75rem;
    margin: 1.25rem auto 1.25rem;
}
form {
    background-color: rgba(45, 163, 111, 0.2);
    color: #333;
    padding: 0.75rem 0.87rem;
    border: 1px solid rgba(45, 163, 111, 0.2);
    border-radius: 0.25rem;
    padding-bottom: 6.12rem;
}
.control-group {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    vertical-align: baseline;
    padding: 1.25rem;
}
.control-label {
    padding-right: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    align-self: center;
}
.controls {
    display: flex;
    height: 1.69rem;
    margin: auto;
    margin-right: 0;
}
.salary-input {
    margin-right: 0.33rem;
    font-size: 1rem;
    width: 6rem;
    border: none;
    outline: none;
    padding: 0 0.33rem;
}
.salary-input:hover {
    border:2px solid blue;
}
.radio-input{
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.5rem;
    align-self: center;
}
span {
    align-self: center;
}
.checkbox-input {
    height: 1.5rem;
    width: 1.5rem;
    align-self: center;
}
.select-input {
    font-size: 1rem;
    width: 6rem;
    border: none;
    outline: none;
    padding: 0 0.33rem;
}
.select-input:hover {
    border:2px solid blue;
}

.calculator-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
tr td {
    height: 2.3rem;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-weight: 400;
    padding: 0.25rem 1rem;
    text-align: left;
    min-width: 5rem;
    font-size: 1rem;
}
tr td:nth-child(2) {
    text-align: right;
    padding-left: 0;
    min-width: 5rem;
}
.bg-green {
    background-color: #2da36f;
    color: white;
}

.annotation-div {
    width: 100%;
}
h2 {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 3rem;
}
li {
    list-style-position: inside;
    display: list-item;
    line-height: 1.5rem;
    padding: 0.25rem;
}

@media(max-width:720px) {
    .control-label {
        font-size: 1rem;
    }
}
@media(max-width:540px) {
    h1 {
        font-size: 1.5rem;
    }
    .control-group {
        margin-bottom: 0.25rem;
        padding: 0.5rem;
    }
    .salary-input {
        font-size: 0.75rem;
        width: 4rem;
    }
    .controls {
        height: 1.2rem;
    }
    .radio-input {
        height: 1rem;
        width: 1rem;
    }
    span {
        font-size: 0.75rem;
    }
    .checkbox-input {
        height: 1rem;
        width: 1rem;
    }
    .select-input {
        font-size: 0.75rem;
        width: 4rem;
    }
}
