@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

.navbar-custom {
    background-color: #923239 !important;
}

.loan-calculator {
    font-family: "Inter", sans-serif;
    /*margin: 30px auto;*/
    /*width: 98%;*/

    border-radius: 8px;
    color: #14213d;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.hide {
    display: none !important;
}

.sun {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease-in 0.1s;
}

    .sun.visible {
        pointer-events: auto;
        opacity: 1;
        transition: opacity 0.2s ease-in 0.1s;
    }

.moon {
    pointer-events: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    opacity: 0;
    display: hidden;
    transition: opacity 0.2s ease-in 0.1s;
}

    .moon.visible {
        pointer-events: auto;
        opacity: 1;
        transition: opacity 0.2s ease-in 0.1s;
    }

.dark-mode {
    background-color: #000;
    color: white;
}

    .dark-mode .loan-calculator {
        background: #212222;
        color: #fff;
    }

.loan-calculator,
.loan-calculator * {
    box-sizing: border-box;
}

    .loan-calculator .top {
        background: #923239;
        color: #fff;
        padding: 10px;
        /*width: 20%;*/
    }

.end {
    font-weight: 800;
}

.subtop {
    border: 0;
    border-radius: 6px;
}

.loan-calculator form {
    padding-right: 10px;
    padding-left: 10px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}

    .loan-calculator form .group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        /*padding-bottom: 40px;*/
        justify-content: space-between;
    }

    /*.loan-calculator .title {
    margin-bottom: 16px;
}*/

    .loan-calculator form input {
        font-size: 20px;
        padding: 5px 0px 5px 20px;
        border-radius: 10px;
        width: 100%;
        color: #000;
    }

.loan-calculator .result {
    display: flex;
    /*width: 40%;*/
    /*justify-content: space-between;*/
    align-items: center;
    /*padding: 32px;*/
    background: #fff;
    /*box-shadow: 12px 12px 50px -11px rgba(0, 0, 0, 0.2);*/
}

    .loan-calculator .result .left {
        /*width: 100%;*/
        padding: 8px 32px;
    }

.loan-calculator .left h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.loan-calculator .left h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.loan-calculator .result .value {
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(20, 33, 61, 0.2);
}

    .loan-calculator .result .value::before {
        content: "\20B9";
        font-size: 27px;
        font-weight: 400;
        margin-right: 6px;
        opacity: 0.4;
    }

.loan-calculator .group1 {
    text-align: center;
}

    .loan-calculator .group1 .calculate-btn {
        background: #e63946;
        color: #fff;
        border: none;
        padding: 8px 32px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: 900;
        cursor: pointer;
        margin: 24px 0;
    }

.loan-calculator .right {
    width: 50%;
}

.start {
    float: right;
    cursor: pointer;
    right: 80px;
    box-sizing: border-box;
    padding: 12px;
    background: none;
    border: none;
    justify-content: center;
    align-items: center;
    position: relative;
}

.head {
    font-family: "Poppins", sans-serif;
    text-align: center;
    /*padding: 30px;*/
}

.footer {
    position: relative;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    background: #923239;
    max-height: 200px;
    padding: 15px 0px 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.connect {
    font-weight: 900;
}

.innerspan {
    margin-right: 30px;
}

.social-icon {
    display: flex;
    margin: 0px;
    padding: 0px;
}

.social-icon__item {
    list-style: none;
}

.social-icon__link {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.3s;
}

    .social-icon__link:hover {
        transform: translateY(-8px);
    }

.menu__link {
    font-size: 1.2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
}

.footer p {
    color: #fff;
    font-size: 1rem;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 300;
}

.wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("https://i.ibb.co/wQZVxxk/wave.png");
    background-size: 500px 100px;
}

    .wave#wave1 {
        z-index: 1000;
        opacity: 1;
        bottom: 0;
        animation: animateWaves 3s linear infinite;
    }

    .wave#wave2 {
        z-index: 999;
        opacity: 0.5;
        bottom: 2px;
        animation: animate 3s linear infinite !important;
    }

    .wave#wave3 {
        z-index: 1000;
        opacity: 0.2;
        bottom: 4px;
        animation: animateWaves 2s linear infinite;
    }

    .wave#wave4 {
        z-index: 999;
        opacity: 0.7;
        bottom: 6px;
        animation: animate 2s linear infinite;
    }

@keyframes animateWaves {
    0% {
        background-position-x: 170px;
    }

    100% {
        background-positon-x: 0px;
    }
}

@keyframes animate {
    0% {
        background-position-x: -150px;
    }

    100% {
        background-positon-x: 0px;
    }
}

@media (max-width: 750px) {
    .loan-calculator {
        /*width: 100%;*/
        /*max-width: 600px;*/
        min-height: 1400px;
        display: flex;
        flex-direction: column;
    }

        .loan-calculator .top {
            width: 100%;
        }

        .loan-calculator form {
            padding-left: 0px;
            padding-right: 0px;
        }

            .loan-calculator form .group {
                flex-direction: column;
                gap: 20px;
            }

    /*.loan-calculator .result {
        flex-direction: column;
        text-align: center;
    }*/

    .footer {
        font-size: 0.2rem;
        text-align: center;
    }

    .innerspan {
        display: block;
        margin-bottom: 12px;
    }

    .start {
        top: 20px;
        right: 45px;
    }
}

.foreground-div {
    position: relative;
    z-index: 2;
    background: #f5f6f8;
}

.background-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    z-index: 1;
    overflow: auto;
}
