* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background-color: #162ddb
}

::-webkit-scrollbar-thumb:hover {
    background: #555
}

body .container {
    width: 100%;
    height: auto;
}

.brand-box {
    width: 100%;
    height: 50px;
    background: rgb(248, 178, 0);
    background: -webkit-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
    background: -o-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
    background: linear-gradient(to right, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
    display: flex;
}

.brand {
    display: inline-block;
    width: 60%;
    padding: 0px 10px;
    line-height: 50px;
    font-size: 28px;
}

.brand a {
    color: black;
}

.brand-box .bar {
    display: none;
    width: 30px;
    color: black;
    cursor: pointer;
    position: absolute;
    left: 5%;
    top: 10px;
}

.brand-box .brand {
    color: #06364b;
}

.brand-box .brand:visited {
    color: #0b709d;
}

.brand-box .bar div {
    width: 30px;
    height: 5px;
    background-color: black;
    margin-top: 4px;
    background-color: #06364b;
}

.brand-box .bar .nd {
    width: 20px;

}

.menu {
    line-height: 50px;
}

.menu a {
    text-align: center;
    text-decoration: none;
    font-size: 1.2vw;
    color: black;
    padding: 15px 5px;
    font-weight: 600;


}

.menu a:hover {
    background-color: rgba(248, 178, 0, 1);
}

.brand-box .cut {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 5%;
    top: 0px;
    cursor: pointer;
    font-size: 28px;
    color: #06364b;
    display: none;
}

.mob-cut {
    display: none;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: red;
    color: aliceblue;
    position: absolute;
    right: -25px;
    cursor: pointer;
}


/*Back-top*/

.back-top {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid #2B6CB0;
    position: fixed;
    bottom: 130px;
    right: 10px;
    text-align: center;
    font-size: 20px;
    color: green;
    transition: 0.4s;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    line-height: 35px;
    z-index: 9999;
    box-shadow: 0px 0px 3px #323232;
    background-color: aliceblue;
}

.back-top:hover {
    border: none;
    box-shadow: 1px 2px 4px #323232;
    background-color: #2B6CB0;
    color: white;
}

.share-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #2B6CB0;
    position: fixed;
    bottom: 85px;
    right: 10px;
    text-align: center;
    font-size: 20px;
    color: green;
    transition: 0.4s;
    border-radius: 5px;
    cursor: pointer;
    background-color: white;
    line-height: 40px;
    z-index: 9999;
    box-shadow: 0px 0px 3px #323232;
    background-color: aliceblue;
    display: none;
}

.share-btn:hover {
    border: none;
    box-shadow: 1px 2px 4px #323232;
    background-color: #2B6CB0;
    color: white;
}


.share-box {
    position: fixed;
    left: 0;
    top: 150px;
    display: flex;
    flex-direction: column;
}

.share-box a {
    margin: 5px;
}

.container .content {
    width: 80%;
    margin: 0px auto;

}

.top-text {
    text-align: center;
    padding: 20px;
    font-size: 18px;
}

.from-box {
    width: 60%;
    margin: 0px auto;
    border: 2px solid black;
    padding: 20px;
    font-size: 18px;
}

#calcform {
    margin: 0px auto;
}

.inline {
    margin: 5px;
    margin: 10px 0px;
}

.m1 {
    width: 37%;
    height: 30px;
    font-size: 20px;
    margin: 5px 0px;
}

.m2 {
    width: 20%;
    height: 30px;
    font-size: 20px;
    margin: 5px 0px;
}

.check-box,
.end-text {
    font-weight: 600;

}

.btn-box {
    display: flex;
}

.btn-res {
    width: 47%;
    height: 30px;
    background-color: #d12c4d;
    border: none;
    margin: 5px 0px;
    font-size: 20px;
    font-weight: 600;
    margin-left: 5px;
}

.btn-res:hover {
    background-color: #ac0d2d;
}

.btn-cal {
    width: 47%;
    height: 30px;
    background-color: cornflowerblue;
    border: none;
    margin: 5px 0px;
    font-size: 20px;
    font-weight: 600;

}

.btn-cal:hover {
    background-color: #2763ce;
}

.d-none {
    display: none;
    padding: 20px 0px;
}

.f-25 {
    font-size: 24px;
    color: crimson;
}

.mb-2 {
    font-size: 20px;
}

.result label {
    background-color: #09ef12;
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 5px;
    font-weight: 600;

}

.output {
    padding: 20px;
}

.art-box {
    margin-top: 50px;
    padding: 10px;
}

.art-box h1,
h2,
h3,
h4,
p {
    padding: 5px 0px;
}

.main-img {
    display: block;
    width: 60%;
    padding: 10px;
    margin: 0px auto;

}

.faq{
    background-color: #ffcf76;
    padding: 20px 5px;
    text-align: center;
    margin-top: 10px;
}
.faq span{
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
    
    
}

.foot {
    width: 100%;
    background-color: aliceblue;
}

.foot .copy {
    text-align: center;
    padding: 20px 5px;

}

.copy p a {
    color: #000065;
}

/*Responsive*/

@media only screen and (max-width: 800px) {
    .menu {
        display: none;
        width: 90%;
        height: 100vh;
        position: fixed;
        top: 50px;
        background: rgb(248, 178, 0);
        background: -webkit-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
        background: -o-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
        background: linear-gradient(to right, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);

    }

    .menu a {
        display: block;
        text-align: center;
        text-decoration: none;
        font-size: 16px;
        color: black;
        padding: 0px;
        margin: 0px 5px;
        font-weight: 600;
    }


    .brand-box .bar {
        display: block;
    }

    .mob-cut {
        display: block;
    }

    .brand {
        width: 100%;
        text-align: center;
        font-size: 5vw;
    }

    .content {
        width: 100%;
    }

    .from-box {
        width: 100%;
    }

    .m1 {
        width: 35%;
        height: 30px;
        font-size: 20px;
    }

    .m2 {
        width: 20%;
        height: 30px;
        font-size: 20px
    }

    .btn-res {
        width: 45%;
    }

    .btn-cal {
        width: 45%;
    }

    .share-btn {
        display: block;
    }

    .share-box {
        display: none;
    }



}

@media only screen and (max-width: 500px) {
    .menu {
        display: none;
        width: 90%;
        height: 100vh;
        position: fixed;
        top: 50px;
        background: rgb(248, 178, 0);
        background: -webkit-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
        background: -o-linear-gradient(left, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);
        background: linear-gradient(to right, rgba(248, 178, 0, 1) 0%, rgba(255, 140, 0, 1) 100%);

    }

    .menu a {
        display: block;
        text-align: center;
        text-decoration: none;
        font-size: 17px;
        color: black;
        padding: 0px;
        margin: 0px 5px;
        font-weight: 600;
    }


    .brand-box .bar {
        display: block;
    }

    .mob-cut {
        display: block;
    }

    .brand {
        width: 100%;
        text-align: center;
        font-size: 5vw;
    }

    .container .content {
        width: 100%;
        padding: 5px;

    }

    .from-box {
        width: 100%;
        font-size: 16px;
    }

    .m1 {
        width: 37%;
        height: 30px;
        font-size: 18px;
    }

    .m2 {
        width: 20%;
        height: 30px;
        font-size: 18px
    }

    .btn-res {
        width: 47%;
    }

    .btn-cal {
        width: 47%;
    }

    .share-btn {
        display: block;
    }

    .share-box {
        display: none;
    }
    
    .main-img {
        width: 100%;
    }



}
