* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}

body {
    background: white;
    min-height: 100vh;
    font-family: "Poppins";

}

.calculator {
    display: flex;
    flex-direction: column;
    padding: 15px;
    align-items: center;
    width: 100%;
}

.container {
    background-color: white;
    width: 800px;
    padding: 20px;
    border: 4.5px solid rgb(223, 107, 40);
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 1rem;
    text-align: center;
}

.row-parking {
    display: flex;
    flex-direction: row;
    margin-block: 20px;
    text-align: center;
    justify-content: center;
    width: 80%;
    
}
.row-parking input {
    font-size: 20px;
    width: 150px;
    height: 60px;
    border-radius:5px;
    border: 2px solid #f18805;
    color: #f18805;
    text-align: center;
}
.row-parking h3 {
    text-align: center;
    margin-top: 20px;
}
.row-parking .plus{
    right: 25px;
    margin-top: 11px;
    font-size: 28px;
}
.row-parking .minus{
    left: 25px;
    margin-top: 8px;
    font-size: 33px;
}

.revenue input{
    width: 200px !important;
    height: 65px !important;
    font-size: 28px !important;
}
.revenue h3{
    font-size: 22px;
}

.mobile-row-params {
    justify-content: none;
    flex-direction: none;
    margin-bottom: 1rem;
    text-align: none;
    align-items: none;
}
.row-params {
    display: flex;
    justify-content: center;
    flex-direction: row;
    /* margin-bottom: 1rem; */
    text-align: center;
}

.col-display input {
    font-size: 22px;
    color: white;
    margin: 5px;
    width: 150px;
    height: 50px;
    border-radius:7px;
    text-align: center;
}
.col-display h3 {
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
}
.col-display h6 {
    margin-top: -5px;
    font-size: 11px;
}

.row-param-box {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.subtext-row {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.col-secondary-params input {
    font-size: 15px;
    margin: 5px;
    width: 120px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 15px;
}
.col-secondary-params h3 {
    font-size: 20px;
}
.col-secondary-params h6 {
    margin-top: -5px;
    font-size: 11px;
}

.col-secondary-params span{
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}
.col-secondary-params .row{
    margin-bottom: -2px;
}
.second-row input {
    margin-left: none;
    margin-right: none;
}
.material-symbols-outlined {
    font-weight: 400 !important;
    font-size: 22px !important;
    position: relative;
    bottom: 3px;
    cursor: pointer;
    user-select: none;
}
.error {
    color: red;
    text-align: center;
    width: 77%;
    margin: 0 auto;
    visibility: hidden;
}

.plus {
    right: 45px;
    position: relative;
    color:#f18805;
    top: 5px;
}
.minus {
    left: 45px;
    top: 5px;
    position: relative;
    color:#f18805;
}

.parking-minus {
    top: 0px;
}
.parking-plus {
    top: 0px;
}


.myPlot {
    width: 100%;
}

.end-info-all {
    display: flex;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 1rem;
    text-align: center;
}
.end-info-block {
    margin-top: 20px;
    margin-right: 40px;
    margin-left: 40px;
}
.end-info-block img {
    margin-right: 5px;
    mix-blend-mode: multiply;
    width: 2.5rem;
    height: 2.5rem;
 }
.end-link {
    color: black;
    font-size: 18px;
    font-weight: bold;
}
.end-desc {
    color: black;
    font-size: 14px;
}

.contact  {
    width: 600px;
    margin-top: 15px;
    padding: 12px 0;
    background: rgb(223, 107, 40);
    color: white;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    margin-bottom: 15px;
    border: 1px solid black;
    text-align: center;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 2px rgb(223, 107, 40);
    border-radius: 15px;
    background-color: white;
    width: 600px;
    max-width: 80%;
    z-index: 2;
    overflow: visible;
    text-align: center;
}
.modal.active {
    transform: translate(-50%, -50%) scale(1);
}
.modal img {
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    border-radius: 70%;
    z-index: 3;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid rgb(223, 107, 40);
}
.modal-header {
    padding: 10px 10px;
    border-radius: 5px;
}
.modal-header .title {
    font-size: 20px;
    font-weight: bold;
    justify-content: center;
    text-align: center;
}
.modal-body {
    padding: 10px 20px;
}
.modal-body ul{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-body li{
    font-size: 17px;
}
.modal .close-button {
    width: 80%;
    margin-top: 5px;
    padding: 10px 0;
    background: rgb(223, 107, 40);
    color: black;
    cursor: pointer;
    outline: none;
    font-size: 1rem;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    margin-bottom: 15px;
    border: 1px solid black;
    font-weight: bold;
}
#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
}
#overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Used to hide uptick arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* Apparently some margin are still there even though it's hidden */
}
input[type=number] {
    -moz-appearance---:textfield; /* Firefox */
}

@media (max-width: 575.98px) { 
    .calculator {
        padding: 5px;
    }

    .container {
        margin-top:10px;
        width: 100%;
        overflow: hidden;
    }

    .row-parking {
        display: block;
        flex-direction: column;
        margin-block: 0;
        text-align: center;
        justify-content: center;
        width: 80%;
    }
    .row-parking input {
        font-size: 20px;
        width: 165px;
        height: 50px;
    }
    .row-parking h3 {
        font-size: 16px;
        margin-top: 0px;
    }
    .row-parking .plus{
        margin-top: 17px;
        font-size: 22px;
    }
    .row-parking .minus{
        margin-top: 17px;
        font-size: 25px;
    } 

    .revenue input{
        width: 170px !important;
        height: 60px !important;
        font-size: 28px !important;
    }
    .revenue h3{
        font-size: 22px;
    }
    .col-display input {
        width: 120px;
        height: 45px;
        margin-left: 28px;
        margin-right: 28px;
    }
    .col-display h3 {
        margin-left: 12px;
        margin-right: 12px;
        font-size: 15px;
    }
    .col-display h6 {
        margin-top: -3px;
        font-size: 10px;
    }

    .row-params {
        margin-bottom: -20px;
    }

    .col-secondary-params input {
        font-size: 14px;
        width: 90px;
        height: 32px;
        margin-left: 8px;
        margin-right: 8px;
        margin-bottom: 1px;
        margin-top: 15px;
    }
    .col-secondary-params h4 {
        font-size: 12px;
        margin-bottom: 1px;
    }
    .col-secondary-params h6 {
        font-size: 10px;
    }
    .col-secondary-params span{
        width: 100%;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }
    .second-row input {
        margin-left: 20px;
        margin-right: 20px;
    }
    .col-secondary-params .row{
        margin-bottom: -6px;
    }
    .material-symbols-outlined {
        font-weight: 400 !important;
        font-size: 20px !important;
        position: relative;
        bottom: 3px;
        cursor: pointer;
        user-select: none;
    }

    .plus {
        right: 22px;
        top: 6px;

    }
    .minus {
        left: 22px;
        top: 7px;
    }
    .second-plus {
        right: 34px;
        top: 6px;

    }
    .second-minus {
        left: 34px;
        top: 7px;
    }
    .parking-plus {
        right: 40px;
        top: 1px;

    }
    .parking-minus {
        left: 39px;
        top: 2px;
    }
    
    .myPlot {
        width: 143%;
        margin-left: -50px;
    }
    .myPlot .g-gtitle .gtitle{
        font-size: 5px;
    }
      
    .end-info-all {
        display: block;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    .end-info-block {
        margin-bottom: 20px;
    }
    .end-info-block img {
        width: 2.2rem;
        height: 2.2rem;
     }
    .end-link {
        font-size: 16px;
    }
    .end-desc {
        font-size: 13px;
    }

    .contact  {
        width: 80%;

    }


    .modal {
        top: 50%;
    }
    .modal-header .title {
        font-size: 17px;
    }
    .modal-body {
        padding: 0px 20px;
    }
    .modal-body ul{
        margin-left: -30px;
    }
    .modal-body li{
        font-size: 12px;
    }
    .modal .close-button {
        margin-top: 0px;
        padding: 5px;
    } 
}