html {
    scroll-behavior: smooth;
}

img {
    height: auto;
}

.share-txt {
    display: inline-grid;
}

.share-socials {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    text-align: center;
    font-family: Uniform Cond, sans-serif;
    font-weight: bold;
    font-size: 25px;
}

.title {
    width: 150%;
    margin-left: -20px;
    margin-top: -32px;
}

#lightbulb {
    display: flex;
    margin-right: 205px;
}

.share-logos {
    margin-top: 10px;
}

#share-logo {
    margin-right: 5px;
    margin-left: 100px;
}

.input-form {
    width: 900px;
    padding: 40px;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
}

.input-form h1 {
    margin: 0 0 30px;
    padding: 0;
    color: black;
    text-align: center;
    font-size: 24px;
}

.values {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.user-box {
    display: inline-block;
    width: 40%;
    margin-bottom: 12px;
}

.user-box input {
    margin-top: 5px;
    width: 90%;
    font-size: 16px;
    color: black;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid black;
    background-color: rgb(230, 230, 230);
    outline: none;
}

.user-box label {
    margin-bottom: 10px;
}

.form {
    text-align: center;
}

.header-self-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.self-cost-value {
    color: white;
    background-color: #54ab4a;
    margin-top: -8px;
    margin: 0 20px;
    padding: 9px 5px;
    border-radius: 25px;
    width: 270px;
    height: 40px;
    font-size: 15px;
}

.own-car,
.uber,
.self-cost {
    margin-bottom: 25px;
    background-color: rgb(230, 230, 230);
    border-radius: 15px;
}

.own-car h1,
.uber h1,
.self-cost h1 {
    padding: 20px;
    text-align: left;
}

.user-box #opp-box,
.user-box #loan-box,
.user-box #driver-box,
.user-box #parking-box {
    width: unset;
    margin-bottom: 0;
}

.checkbox-wrapper {
    margin-top: 11px;
}

#loan-box,
#opp-box {
    margin-left: 20px;
}

.loan {
    display: none;
}

.buying-option {
    font-weight: 600;
    margin-bottom: 25px;
}

.green-output {
    color: #54ab4a;
}

.output {
    display: none;
    color: black;
    text-align: left;
    display: none;
    font-size: 24px;
    width: 800px;
    padding: 40px;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
}

#left-arrow:hover {
    transform: translateX(-20%);
}

#left-arrow {
    display: flex;
    cursor: pointer;
    margin-left: 0;
}

.input-form form a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #44ca36;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 30px;
    letter-spacing: 4px
}

.input-form a:hover {
    background: #44ca36;
    cursor: pointer;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px #44ca36,
        0 0 25px #44ca36,
        0 0 50px #44ca36,
        0 0 100px #44ca36;
}

.input-form a span {
    position: absolute;
    display: block;
}

.input-form a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #44ca36);
    animation: btn-anim1 10s linear infinite;
}

@keyframes btn-anim1 {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.input-form a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #44ca36);
    animation: btn-anim2 10s linear infinite;
    animation-delay: 2.5s
}

@keyframes btn-anim2 {
    0% {
        top: -100%;
    }

    50%,
    100% {
        top: 100%;
    }
}

.input-form a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #44ca36);
    animation: btn-anim3 10s linear infinite;
    animation-delay: 5s
}

@keyframes btn-anim3 {
    0% {
        right: -100%;
    }

    50%,
    100% {
        right: 100%;
    }
}

.input-form a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #44ca36);
    animation: btn-anim4 10s linear infinite;
    animation-delay: 7.5s
}

@keyframes btn-anim4 {
    0% {
        bottom: -100%;
    }

    50%,
    100% {
        bottom: 100%;
    }
}

/* Tooltip */

[data-tooltip] {
    width: 17px;
    position: relative;
    cursor: pointer;
    background: #54ab4a;
    color: white;
    font-size: 12px;
    border-radius: 8px;
    padding: 0 0.5em;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    opacity: 0;
    width: 280px;
    transform: translateX(-80%);
    bottom: 25px;
    padding: 0.5em;
    background-color: #54ab4a;
    border-radius: 0.25em;
    color: white;
    text-align: center;
    transition: 0.2s;
}

[data-tooltip]:after {
    content: "";
    position: absolute;
    opacity: 0;
    bottom: 15px;
    margin-left: -5px;
    border: 5px solid #54ab4a;
    border-color: #54ab4a transparent transparent transparent;
    transition: 0.2s;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
}

.tooltip {
    position: relative;
    background: #54ab4a;
    display: inline-block;
    padding: 1px 8px;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    color: white;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
}

.tooltip .tooltip-text {
    font-size: 12px;
    width: 280px;
    visibility: hidden;
    position: absolute;
    bottom: 105%;
    left: 0;
    background: #54ab4a;
    color: white;
    border-radius: 4px;
    padding: 6px 10px;
    display: inline-block;
    margin: auto;
    text-align: center;
    transition: visibility 500ms;
}

.arb-tooltip {
    left: 130px !important;
}

.tooltip-text {
    transform: translateX(-77%);
}

/* Reset Button */

.form button {
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 19px;
    letter-spacing: 4px;
    position: relative;
    background-color: #54ab4a;
    border: none;
    color: #fff;
    padding: 12px 8px;
    width: 200px;
    text-align: center;
    transition-duration: 0.4s;
    overflow: hidden;
    box-shadow: 0 5px 15px #193047;
    border-radius: 4px;
    margin-bottom: 35px;
}

.form button:hover {
    background: #fff;
    box-shadow: 0px 2px 10px 5px #54ab4a;
    color: #000;
}

.form button:after {
    content: "";
    background: #54ab4a;
    display: block;
    position: absolute;
    padding-top: 300%;
    padding-left: 350%;
    margin-left: -20px !important;
    margin-top: -120%;
    opacity: 0;
    transition: all 0.8s
}

.form button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
}

.form button:focus {
    outline: 0;
}

.input-wrapper {
    position: relative;
}

.currency {
    position: absolute;
    color: #54ab4a;
    right: 40px;
    top: 3px;
}

.currency-arb {
    position: absolute;
    color: #54ab4a;
    left: 40px;
    top: 3px;
}

@media (max-width: 600px) {
    .form button {
        padding: 10px 0px;
        font-size: 15px;
        width: 140px;
    }

    .share-socials {
        margin-left: -10px;
        font-size: 15px;
    }

    .title {
        margin-top: -24px;
        /* margin-left: -10px; */
        font-size: 13px;
        /* margin-right: -20px; */
    }

    .share-logos {
        margin-top: 11px;
        margin-left: 32px;
        margin-right: 10px;
    }

    #share-logo {
        margin-top: 30px;
        margin-left: 15px;
    }

    .input-form {
        margin-top: 30px;
        margin-bottom: 40px;
        width: 330px;
        padding: 25px;
    }

    .input-form h1 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .input-form .user-box input {
        font-size: 14px;
        padding-top: 10px;
    }

    .header-self-cost {
        display: block;
    }

    .self-cost-value {
        margin: 0 auto;
        margin-bottom: 20px;
        width: 230px;
        font-size: 13px;
    }

    .calculate-btn {
        margin-top: 15px;
    }

    .output {
        margin-top: 12%;
        margin-bottom: 40px;
        width: 330px;
        font-size: 18px;
        padding: 20px;
    }

    #left-arrow {
        width: 30px;
    }

    /* 
    #driver-box, 
    #parking-box {
        margin: 0px auto !important;
        width: 130px !important;
    } */

    .user-box {
        width: 100%;
    }
}