/* ? Font Importing */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,500;1,600;1,700;1,800;1,900&display=swap');


/* ? CSS Reset */
* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    ;
}

/* ? Smooth Scrolling */
html,
body {
    height: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ? CSS Color | Roots */

:root {
    --textColor: #303030;
    --bodyColor: #ffffff;
    --boxElm: #f5f5f5;
    --borderColor: 1px solid #cccccc;
    --greenAlert: #6bdc61;
    --greenAlertClose: #246828;
    --redAlert: #dd4f4f;
    --redAlertClose: #93000055;
}

/*? Loader  */
#loader {
    background: #fff;
    height: 100vh;
    background-size: 20%;
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000000;
}

#loader h1 {
    font-weight: 500;
    position: relative;
    font-size: 30px;
    /* color: #191919; */
}

#loader h1 span {
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

/* ? HTML - ScrollBar */


html::-webkit-scrollbar {
    width: 0;
}

/* ? Body */

body {
    transition: all 0.5s;
}


/* ? Navbar */

#navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    width: 100%;
    position: fixed;
    z-index: 1000000;
    top: 0;
}

#navbar #logo a {
    text-decoration: none;
}

#navbar #logo a h1 {
    color: var(--textColor);
    font-size: 20px;
    font-weight: 500;
}

#navbar #logo a h1 span {
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

/* ? Settings */

#navbar #settings {
    display: flex;
    align-items: center;
}

#navbar #settings .settingBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background: var(--bodyColor);
    margin-left: 10px;
    border: var(--borderColor);
    cursor: pointer;
}

#navbar #settings .settingBtn i {
    font-size: 22px;
    color: var(--textColor);
}

/** SideBar */
#sideBar {
    position: fixed;
    right: 0;
    display: flex;
    justify-content: flex-start;

    align-items: flex-start;
    flex-direction: column;
    width: 280px;
    background: #f5f5f5;
    height: 100%;
    z-index: 1000000;
    padding: 20px;
    /* margin: 10px; */
    transition: 0.5s;
    transform: translateX(400px);
}

#sideBar #close {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 20px;
    color: #181818;
    border-radius: 3px;
    cursor: pointer;
    /* transition: 0.5s; */

}

#sideBar a {
    display: flex;
    position: relative;
    top: 50px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ccc;
    /* display: inline; */
    width: 100%;
    margin: 6px 0px;
    border-radius: 3px;
    text-decoration: none;
    color: #181818;
    text-underline-offset: 3px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.5s;
}

#sideBar #terms {
    position: absolute;
    bottom: 110px;
    width: 100%;

}

#sideBar a:hover {
    text-decoration: underline;
    color: #008386;
}

#sideBar #terms a {
    width: 86%;
    text-decoration: underline;
    color: #008386;
}

/** Main Hone */
#mainHome {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    position: relative;
    top: 130px;
}

#mainHome h1 {
    font-size: 3rem;
    text-align: center;
    font-weight: 600;
}

#mainHome h2 {
    font-size: 17px;
    text-align: center;
    font-weight: 400;
    width: 80%;
}

/** SIP Code */
.row {

    /* background: #005354; */

}

#sipcal {
    width: 80%;
    position: relative;
    left: 10%;
    top: 250px;
    /* background: #005354; */
}

.credit {
    position: absolute;
    bottom: 5px;
    right: 10px;
    opacity: 0.8;
    font-size: 12px
}

#myChart {
    max-height: 460px;
}

.chartDiv {
    max-height: 523px;
    /* background-color: #eee; */
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative;
    font-size: 18px;
    letter-spacing: 1px;
}

.display_result {
    font-size: 22px;
    color: #009497;
    font-weight: 600;
}

.form-range {
    width: inherit !important;
    margin: 10px 0;
}

.text_input {
    height: 40px;
    float: right;
    outline: 0;
    border: 1px solid #ccc;
    padding-left: 15px;
    border-radius: 5px;
}

.outer_div {
    min-height: 100px;
    /* background-color: #eee; */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.outer_div2 {
    min-height: 100px;
    padding: 20px 70px 20px 30px;

}

.hide-span {
    opacity: 0;
    z-index: -9
}

.inner_div {
    /* border-left: 5px solid #0ebeff; */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 10px;
    position: relative;
}

.row {
    --bs-gutter-x: 0 !important;
}

.slider_box {
    /*     position: absolute;
      right: 20px;
      align-items: center; */
}

#result {
    width: 98.5%;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #fff;
    height: 30px;
    width: 15px;
    border-radius: 3px;
    background: #009497;
    cursor: pointer;
    margin-top: -10px;
    /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
    /* box-shadow: 0px 0px 0px #000000, 0px 0px 3px #0d0d0d; */
    outline: 0;
}

#showValue,
#showValue2,
#showValue3 {
    position: absolute;
    border: 1px solid #005354;
    width: 40px;
    height: 30px;
    background: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008386;
    top: 45px;
    left: 0px;
}

#showAmps {}

#showValue:before,
#showValue2:before,
#showValue3:before {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid transparent;
    border-bottom: 7px solid #008386;
    height: 0px;
    width: 0px;
    position: absolute;
    /* left: 0; */
    top: -12px;
}

.thisthis {
    font-weight: 300;
    font-size: 11px;
    float: right;
    line-height: 2;
}

.text-center {
    text-align: center;
    padding: 10px 0;
}

@media only screen and (max-width: 500px) {
    .text_input {
        margin-left: 10px;
        font-size: 18px;
        padding: 5px;
        width: 100px;
    }

    #textValue,
    #textValue2 {
        font-size: 16px;
        padding: 2px;
    }

    .outer_div2,
    .outer_div {
        padding: 10px;
    }

    .inner_div {
        margin: 0;
    }

    .slider_box {
        padding-right: 0;
    }

    .inner_div {
        padding: 0;
    }

    .thisthis {
        width: 95px;
        line-height: 2;
    }

    .result_text {
        font-size: 12px
    }

    .display_result {
        font-size: 16px;
    }
}

@media only screen and (max-width: 300px) {
    .result_text {
        font-size: 10px
    }

    .display_result {
        font-size: 13px;
    }

    #textValue,
    #textValue2,
    #textValue3 {
        font-size: 12px;
    }

    .col-4 {
        font-size: 12px;
    }
}

/** Home Code */

body #heading {
    text-align: center;
    font-weight: 600;
    position: relative;
    top: 200px;
}

body #heading span {
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    padding-right: 10px;
}

@media (max-width:1000px) and (min-width:310px) {
    #sipcal {
        width: 90%;
        position: relative;
        left: 5%;
        /* background: #005354; */
    }
}

/**  How To Use - Code */

#howtouse {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    top: 350px;
    /* padding: 20px; */

    margin-bottom: 50px;
    left: 18%;
    width: 100%;
}

#howtouse h1 {
    /* display: flex;
    align-items: flex-start; */
    position: relative;
    left: 1%;
    font-weight: 500;
    font-size: 1.5rem;
    /* flex-wrap: wrap; */
}

#howtouse div {
    padding: 10px;
    margin: 10px;
    /* background: #f5f5f5; */
    border: 1px solid #ccc;
    border-radius: 7px;
    width: 62%;
}

#howtouse div p {
    text-decoration: none;
    position: relative;
    left: 0;
    font-size: 18px;
    padding: 10px;
}

#howtouse h1 span {
    /* display: flex; */
    /* font-weight: 600; */
    /* flex-direction: column; */
    /* align-items: flex-start; */
    margin-left: 6px;
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

#howtouse strong {
    font-weight: 600;
}

#mainHome h1 {
    font-weight: 600;
}

@media (max-width:450px) and (min-width:220px) {
    body {
        /* background: #181818; */
    }

    #howtouse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        /* top: 300px; */
        /* padding: 20px; */
        left: 3%;
        width: 100%;
    }

    #howtouse h1 {
        display: flex;
        align-items: flex-start;
        position: relative;
        left: 2%;
        font-size: 1.5rem;
    }

    #howtouse div {
        padding: 10px;
        margin: 10px;
        /* background: #f5f5f5; */
        border: 1px solid #ccc;
        border-radius: 7px;
        width: 83%;

    }

    #howtouse div p {
        text-decoration: none;
        position: relative;
        left: 0;
        padding: 10px;
    }

    #howtouse #h1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #howtouse #h1 span {
        /* display: flex; */
        margin-left: 0px;
        /* flex-direction: column; */
        /* align-items: flex-start; */
    }

    #mainHome h1 {
        font-size: 2rem;
        font-weight: 600;
        width: 80%;
        left: 10%;
    }

    body #mid {
        position: relative;
        /* top: 70px; */
    }

    #mainHome h1 {
        font-size: 2.3rem;
        font-weight: 600;
        width: 90%;
    }

    #mainHome h2 {
        width: 90%;
    }

    #mid #midText {
        width: 90%;
    }

    .outer_div {
        padding: 20px;
        width: 100%;
    }

    #result {
        width: 100%;
    }

    #howtouse .borderx {
        width: 89%;
    }

    #howtouse .borderx p {
        padding-bottom: 0px;
    }
}

@media (max-width:768px) and (min-width:600px) {
    body {
        /* background: #000; */
    }

    #howtouse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        /* top: 100px; */
        /* padding: 20px; */
        /* left: 18%; */
        width: 100%;
    }

    #howtouse h1 {
        display: flex;
        align-items: flex-start;
        position: relative;
        left: 2%;
        font-size: 1.5rem;
    }

    #howtouse div {
        padding: 10px;
        margin: 10px;
        /* background: #f5f5f5; */
        border: 1px solid #ccc;
        border-radius: 7px;
        /* width: 63%; */
    }

    #howtouse div p {
        text-decoration: none;
        position: relative;
        left: 0;
        padding: 10px;
    }
}

@media (max-width:600px) and (min-width:520px) {
    body {
        /* background: #000; */
    }

    #howtouse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        /* top: 50px; */
        /* padding: 20px; */
        left: 10%;
        width: 100%;
    }

    #howtouse h1 {
        display: flex;
        align-items: flex-start;
        position: relative;
        left: 2%;
        font-size: 1.5rem;
    }

    #howtouse div {
        padding: 10px;
        margin: 10px;
        /* background: #f5f5f5; */
        border: 1px solid #ccc;
        border-radius: 7px;
        width: 75%;
    }

    #howtouse div p {
        text-decoration: none;
        position: relative;
        left: 0;
        padding: 10px;
    }

    #mainHome h1 {
        font-size: 2.3rem;
        font-weight: 600;
    }
}

@media (max-width:519px) and (min-width:425px) {
    #howtouse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
        /* top: 50px; */
        /* padding: 20px; */
        left: 5%;
        width: 100%;
    }

    #howtouse h1 {
        display: flex;
        align-items: flex-start;
        position: relative;
        left: 2%;
        font-size: 1.5rem;
    }

    #howtouse div {
        padding: 10px;
        margin: 10px;
        /* background: #f5f5f5; */
        border: 1px solid #ccc;
        border-radius: 7px;
        width: 83%;
    }

    #mainHome h1 {
        font-size: 2.3rem;
        font-weight: 600;
    }
}

@media (max-width:1600px) and (min-width:900px) {
    #mainHome h1 {
        width: 60%;
    }

    #mainHome h2 {
        width: 60%;
    }
}

#mid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    position: relative;
    top: 330px;
    background: #015e60;
    height: 250px;
    margin-top: 70px;
    margin-bottom: 50px;
}

#midText {
    text-align: center;
    position: relative;
    /* top: 0px; */
    width: 50%;
    color: #fff;
    margin: 50px 30px;
    font-size: 18px;
}

#findPin {
    position: relative;
    margin: auto;
    text-align: center;
    height: 50px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #181818;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    top: -35px;
    box-shadow: 10px 10px 0px #181818;
    transition: 0.5s;
    color: #181818;
    /* margin-bottom: 40px; */
}

#findPin:hover {
    box-shadow: 0px 0px 0px #012c2d;
}
#howtouse a {
    color: #008386;
}

@media (max-width:400px) and (min-width:300px) {

    #navbar {
        position: fixed;
        top: 0;
        width: 100%;
        overflow-x: hidden;
    }

    #sipcal {
        overflow-x: hidden;
    }

    .outer_div {
        overflow-x: hidden;
    }

    .row .chartDiv {
        /* background: #000; */
        overflow-x: hidden;
    }
}

body p {
    margin: 0;
}


/** Explore Our Tools */
#howtouse #toolX {
    border: none;
}

#howtouse #toolX .etool {
    width: 98%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 10px;
    position: relative;
    left: -2%;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#howtouse #toolX .etool p {
    font-size: 17px;
    color: #005354;
    text-underline-offset: 4px;

}

#howtouse #toolX .etool i {
    height: 40px;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    color: #00867f;
    border-radius: 3px;
    border: 1px solid #ccc;
}

@media (max-width:1000px) and (min-width:800px) {
    body {
        /* background: #000; */
    }

    #howtouse #toolX .etool {
        width: 98%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        margin: 10px;
        position: relative;
        left: -3%;
        border: 1px solid #ccc;
        border-radius: 6px;
    }
}

@media (max-width:800px) and (min-width:600px) {
    body {
        /* background: #000; */
    }

    #howtouse #toolX .etool {
        width: 98%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        margin: 10px;
        position: relative;
        left: -4%;
        border: 1px solid #ccc;
        border-radius: 6px;
    }
}

@media (max-width:425px) and (min-width:300px) {
    body {
        /* background: #000; */
    }

    #howtouse #toolX .etool {
        width: 115%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        margin: 10px;
        position: relative;
        left: -20px;
        border: 1px solid #ccc;
        border-radius: 6px;
        /* background: #000; */
    }
}



/** Footer - Code */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    top: 340px;
}

.footer-container {
    display: flex;
    width: 100%;
    background: #f5f5f5;
}

.footer-container #first {
    width: 40%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
}

.footer-container #first h1 {
    font-weight: 500;
    font-size: 1.5rem;
    padding-bottom: 10px;
}

.footer-container #second {
    width: 25%;
    padding: 30px;
}

.footer-container #second h3 {
    font-weight: 500;
    font-size: 20px;
}

.footer-container #second ul {
    padding-top: 10px;
    position: relative;
    left:-35px;
}

.footer-container #second ul li {
    list-style: none;
    padding: 5px;
}

#second ul li a {
    text-decoration: none;
    color: #00867f;
}

.footer-container #third {
    width: 35%;
    padding: 30px;
}

.footer-container #third h3 {
    font-weight: 500;
    font-size: 20px;
}

.footer-container #third ul {
    padding-top: 10px;
    position: relative;
    left:-35px;
}

.footer-container #third ul li {
    list-style: none;
    padding: 5px;
}

.footer-container #third ul li a {
    text-decoration: none;
    color: #00867f;
}

.footer-container #third #div {
    display: flex;
    position: relative;
    /* left: -40px; */
    /* justify-content:space-around; */
}

.footer-container #third #div ul:nth-child(2) {
    position: relative;
    left: 5%;
}

.copyright {
    padding: 20px;
}

.copyright p {
    font-weight: 500;
}

.copyright p span {
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer #first h1 span {
    background: -webkit-linear-gradient(top left, #00eaff, #005354);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width:800px) {
    .footer-container {
        display: flex;
        width: 100%;
        background: #f5f5f5;
        flex-direction: column;
    }

    .footer-container #first {
        align-items: flex-start;
        justify-content: flex-start;
        width: 90%;
    }

    .footer-container #first p {
        text-align: left;
    }

    .footer-container #second {
        width: 90%;
    }

    .footer-container #third {
        width: 90%;
    }
}

@media screen and (max-width:770px) {
    .footer-container #first p {
        text-align: left;
        position: relative;
        left: 0;
        margin: 0;
    }

    .copyright p {
        text-align: center;
    }
}