body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #5c5f63;
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    
}

.page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.container {
    margin: 0 auto;
    /* width: 100%; */
    max-width: 1200px;
    padding-left: 12px;
    padding-right: 12px;
}

.flex {
    display: flex;
}

.home-team-actions {
    padding: 2rem 0;
    padding-bottom: 5rem;
    display: flex;
    justify-content: center;
}

.btn {
    position: relative;
    font-family: 'Play', serif;
    padding: 15px 40px;
    background: #4d69ae;
    border-radius: 5px;
    color: #f8f8fa;
    font-size: 20px;
    line-height: 24px;
    transition: box-shadow .2s;
    border: none;
    cursor: pointer;
    font-weight: normal;
    height: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

@keyframes glowing {
      0% { background-color: #4d69ae; box-shadow: 0 0 5px #4d69ae; }
      50% { background-color: #4d50ae; box-shadow: 0 0 20px #4d50ae; }
      100% { background-color: #4d69ae; box-shadow: 0 0 5px #4d69ae; }
      }
.btn {
    animation: glowing 1300ms infinite;
}

.home-calculator {
    /* background: linear-gradient(94.55deg, #f1f8ff 8.62%, #fcfafa 97.73%); */
    /* padding-top: 5em; */
    /* height: 100vh; */
}   

.home-calculator-title {
    text-align: center;
    font-weight: 700;
    font-family: 'Play', sans-serif;
    font-size: 48px;
    line-height: 56px;
    color: #444b4f;
    /* margin-top: 40px; */
}

@media (max-width: 600px) {
    .home-calculator-title {
        text-align: start;
    }
}

@media (max-width: 470px) {
    .home-calculator-title {
        font-size: 30px;
    line-height: 40px;
    }
}


.home-calculator-input {
        justify-content: center;
        margin-top: 3em;
}

.home-calculator-input-title {
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: -25px;
    color: #595d62;
}

@media (max-width: 470px) {
    .home-calculator-input-title {
        font-size: 16px;
        line-height: 25px;
    }
}

.home-calculator-input-payment {
    max-width: 600px;
    width: 100%;
    height: 50px;
    position: relative;
    left: 0%;
    right: 0%;
    top: 26.45%;
    bottom: 20.66%;
    background-color: #fff;
    border-radius: 15px 15px 0 0;
    align-items: center;
    justify-content: center;
}
.home-calculator-input-payment-number {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    font-family: 'Open Sans', sans-serif;
    color: #201e1e;
}
        

/* home-calculator-input-range { */
input[type='range'] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    max-width: 600px;
    width: 100%;
    position: relative;
    margin-top: 27px;
}

/* Removes default focus */
input[type='range']:focus {
    outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
input[type='range']::-webkit-slider-runnable-track {
    background-color: #4d69ae;
    border-radius: .5rem;
    height: 2px;
}

            /* slider thumb */
input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    margin-top: -6.5px;
    /* Centers thumb on the track */
    background-color: #4d69aa;
    border-radius: .5rem;
    height: 15px;
    width: 15px;
}

            /* // input[type='range']:focus::-webkit-slider-thumb {
            // outline: 3px solid #4d69aa;
            // outline-offset: .125rem;
            // } */

/*********** Firefox styles ***********/
input[type='range']::-moz-range-track {
    background-color: #4d69ae;
    border-radius: .5rem;
    height: 2px;
}

/* slider thumb */
input[type='range']::-moz-range-thumb {
    background-color: #4d69aa;
    border: none;
    border-radius: .5rem;
    height: 15px;
    width: 15px;
}

            /* // input[type='range']:focus::-moz-range-thumb {
            // 	outline: 3px solid #4d69aa;
            // 	outline-offset: .125rem;
            // } */
        /* } */

.home-calculator-input-interval {
    justify-content: space-between;
}

.home-calculator-input-interval > span {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}


.range-btn {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
}

@media (min-width: 600px) {
    .range-btn {
        display: none;
    }
}

.home-calculator-output {
    justify-content: center;
    margin-top: 3em;
    flex-direction: column;
}

.home-calculator-output-items {
    border: 2px solid #80b564;
    border-radius: 16px;
    flex-direction: column;
    max-width: 805px;
    width: 100%;
    align-self: center;
}

.home-calculator-output-item {
    justify-content: space-between;
}

@media (max-width: 650px) {
    .home-calculator-output-item {
        padding: .5rem 1rem;
    }
}


.first {
    background-color: #fff;
    border-radius: 16px 16px 0 0;
}

.second {
    background-color: #f5f7f9;
}

.third {
    background-color: #eaecf1;
    border-radius: 0 0 16px 16px;
}

.first-top-mobile {
    background-color: #fff;
    border-radius: 16px 16px 0 0;
}

.third-top-mobile {
    background-color: #eaecf1;
}

.first-bottom-mobile {
    background-color: #fff;
}

.third-bottom-mobile {
    background-color: #eaecf1;
    border-radius: 0 0 16px 16px;
}

.home-calculator-output-footnote {
    max-width: 805px;
    width: 100%;
    align-self: center;
    margin-top: 10px;
}



@media (max-width: 650px) {
    .max-output {
        display: none;
    }
}


@media (min-width: 650px) {
    .mobile-output {
        display: none;
    }
}

.description-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #40568b;
}

@media (min-width: 650px) {
    .description-text {
        padding: 16px 24px;
    }
}

@media (max-width: 650px) {
    .description-text {
        font-size: 16px;
    }
}


.available-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 28px;
    color: #201e1e;
    align-self: center;
}

@media (min-width: 650px) {
    .available-text {
        padding: 16px 24px;
    min-width: 199px;
}
}

@media (max-width: 650px) {
    .available-text {
        font-size: 16px;
        min-width: 170px;
    }
}

@media (max-width: 450px) {
    .available-text {
        min-width: 140px;
        font-size: 13px;
    }
}
