* {
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    color: rgb(52, 86, 139);
    font-family: Arial, Helvetica, sans-serif;

}

/* use for hi i am naresh name  */
.name {
    color: rgb(52, 86, 139);
    text-shadow: 4px 10px 12px rgb(52, 86, 139);
    border: 2px;
    padding: 3px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(52, 86, 139);
    animation: colorchange 5s infinite ease;
}

@keyframes colorchange {
    0% {
        color: rgb(219, 50, 118);
    }

    25% {
        color: rgb(35, 103, 182);
    }

    50% {
        color: rgb(169, 169, 16);
    }

    75% {
        color: rgb(167, 80, 65);
    }

    100% {
        color: rgb(19, 132, 132);
    }
}

/* use nav container fluid */
.container-fluid {
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));
    border-radius: 5px;
}

#navbarNavAltMarkup {
    align-items: center;
    text-align: center;
    justify-content: center;
}

.navbar-nav a {
    color: white;
    font-weight: 900;
    margin: 5px 15px;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
}

.navbar-nav a:hover {
    color: rgb(245, 17, 104);
    text-decoration: underline;
    transition: 0.5s ease-in;
}

.profile {
    color: azure;
    font-size: 20px;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    font-weight: bold;
    border-radius: 10px;
    width: 50px;
    height: 50px;
}

/* use darkmode */
.dark_mode {
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 17, 27));
    border-radius: 20px;
    color: azure;
    position: fixed;
    bottom: 250px;
    right: 35px;
    width: 70px;
    box-shadow: 5px 10px 12px rgb(17, 51, 90);
}

.dark_mode i {
    border-radius: 10px;
    font-size: 30px;
    margin: 5px;
}

.dark-mode {
    background-color: rgba(17, 17, 15, 0.909);
    color: white;
}

fa fa-moon-o {
    display: none;
}

.sub_contain {
    /* border:  1px rgb(52, 86, 139); */
    border-radius: 5px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px;
    /* box-shadow: 5px 10px 18px rgb(52, 86, 139); */
}

.sub_contain img {
    width: 50%;
}

.sub_contain .mini_contain i {
    color: rgb(52, 86, 139);
    font-size: 30px;
    margin: 4px;
    box-shadow: 1px 1px 5px rgba(7, 42, 99, 0.443);
    border-radius: 15px;
    padding: 3px;
}


.sub_contain .mini_contain .fa-instagram:hover {
    color: rgb(202, 37, 120);
}

.sub_contain .mini_contain .fa-facebook-square:hover {
    color: rgb(55, 110, 219);
}

.sub_contain .mini_contain .fa-github:hover {
    color: black;

}

.sub_contain .mini_contain .fa-youtube:hover {
    color: rgb(213, 14, 14);
}

.sub_contain .mini_contain .fa-whatsapp:hover {
    color: rgb(20, 197, 20);
}

/* using time refresh */
/* using watch */
.watch {
    width: 15%;
    border: 1px solid azure;
    border-radius: 5px;
    padding: 7px;
    color: rgb(17, 51, 90);
    /* margin: 5px; */
    background-color: rgba(240, 255, 255, 0.53);
    font-weight: bolder;
    position: relative;
    left: 10%;
}


/* use text animation */
.word {
    font-family: 'Anton', sans-serif;
    perspective: 1000px;
    color: azure;
}

.word span {
    cursor: pointer;
    display: inline-block;
    font-size: 60px;
    font-weight: bold;
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    padding: 2px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(52, 86, 139);
    user-select: none;
    line-height: .8;
}

.word span:nth-child(1).active {
    animation: balance 1.5s ease-out;
    /* animation-iteration-count:infinite ; */
    transform-origin: bottom left;
}

@keyframes balance {

    0%,
    100% {
        transform: rotate(0deg);
    }

    30%,
    60% {
        transform: rotate(-45deg);
    }
}

.word span:nth-child(2).active,
.word span:nth-child(6).active {
    animation: shrinkjump 1s ease-in-out;
    transform-origin: bottom center;
}

@keyframes shrinkjump {

    10%,
    35% {
        transform: scale(2, .2) translate(0, 0);
    }

    45%,
    50% {
        transform: scale(1) translate(0, -150px);
    }

    80% {
        transform: scale(1) translate(0, 0);
    }


}

.word span:nth-child(3).active,
.word span:nth-child(5).active {
    animation: falling 2s ease-out;
    animation-delay: 4s;
    transform-origin: bottom center;
}

@keyframes falling {
    12% {
        transform: rotateX(240deg);
    }

    24% {
        transform: rotateX(150deg);
    }

    36% {
        transform: rotateX(200deg);
    }

    48% {
        transform: rotateX(175deg);
    }

    60%,
    85% {
        transform: rotateX(180deg);
    }

    100% {
        transform: rotateX(0deg);
    }

}

.word span:nth-child(4).active {
    animation: rotate 1s ease-out;
}

@keyframes rotate {

    20%,
    80% {
        transform: rotateY(180deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@media screen and (max-width:750px) {
    .word span {
        cursor: pointer;
        display: inline-block;
        font-size: 30px;
        font-weight: bold;
        background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
        padding: 2px;
        border-radius: 5px;
        box-shadow: 1px 1px 5px rgb(52, 86, 139);
        user-select: none;
        line-height: .8;
        overflow: hidden;
    }

    .sub_contain .mini_contain a {
        width: fit-content;
        height: fit-content;
        font-size: 10px;
    }

    .sub_contain .mini_contain i {
        font-size: 17px;
        margin: 1px;
    }

    .sub_contain .mini_contain i {
        color: rgb(52, 86, 139);
    }
}

/* use avatar profile animation */
.avatar {
    width: 350px;
    height: 350px;
    box-sizing: border-box;
    border: 1px solid rgb(52, 86, 139);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 8px 13px 12px rgb(17, 51, 90) !important;
    transform: translateY(0px);
    animation: move 3s ease-in-out infinite;
    align-items: center;
    justify-content: center;
    display: flex;
    background-size: cover;
}

.avatar img {
    width: 350px;
    height: auto;
}

@keyframes move {
    0% {
        box-shadow: 0 5px 15px 0 rgb(19, 27, 17);
        transform: translateY(0px);
    }

    50% {
        box-shadow: 0 5px 15px 0 rgb(19, 27, 17);
        transform: translateY(-20px);
    }

    100% {
        box-shadow: 0 5px 15px 0 rgb(19, 27, 17);
        transform: translateY(0px);
    }
}

@media screen and (max-width:700px) {
    .avatar {
        width: 250px;
        height: 180px;
        background-size: cover;
        margin-left: 10px;
        border: none;
        box-shadow: 8px 13px 12px rgb(17, 51, 90) !important;
    }

    .avatar img {
        width: 150px;
        height: 150px;
        background-size: cover;
    }

}

/* text animation */
.text_ani {
    color: rgb(218, 52, 135);
    font-weight: bolder;
    font-size: 3rem;
    line-height: 1.5;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    width: 550px;
    border: 3px rgb(17, 51, 90);
    border-radius: 40px 5px 35px 5px;
    padding: 2px;
    margin: 5px;
}

/* responsive phone */
@media only screen and (max-width: 768px) {
    .text_ani {
        color: rgb(218, 52, 135);
        font-weight: bolder;
        font-size: 2rem;
        line-height: 3.2;
        text-transform: none;
        white-space: nowrap;
        overflow: hidden;
        position: relative;
        width: 200px;
        border: 3px rgb(17, 51, 90);
        border-radius: 40px 5px 35px 5px;
        padding: 2px;
        margin: 2px;
    }
    .text_ani #text_main {
        font-size: 20px ;
    }
    .text_ani .message {
        background-color: rgba(240, 255, 255, 0.016);
        color: rgb(52, 86, 139);
        display: block;
        overflow: hidden;
        position: absolute;
        top: 30px;
        left: 117px;
        animation: openclose 6s ease-in-out infinite;
        font-size: 25px;
    }
    /* use time */
    .watch {
        width: 150px;
        height: 5vh;
        border: 1px solid azure;
        border-radius: 5px;
        padding: 20px;
        color: rgb(17, 51, 90);
        font-size: 9px;
        font-weight: bolder;
        background-color: rgba(240, 255, 255, 0.53);
        position: relative;
        left: 5%;
    }
}

.text_ani:hover {
    background: linear-gradient(rgba(52, 85, 139, 0.683), rgba(17, 27, 39, 0.6));
    box-shadow: 5px 10px 15px rgb(52, 86, 139);

}

.text_ani .text_main {
    font-size: 40px;
}

.message {
    background-color: rgba(240, 255, 255, 0.016);
    color: rgb(52, 86, 139);
    display: block;
    font-weight: bold;
    overflow: hidden;
    position: absolute;
    top: 0.2rem;
    left: 270px;
    animation: openclose 6s ease-in-out infinite;
}

.word1,
.word2,
.word3 {
    font-family: tahoma;
}


@keyframes openclose {
    0% {
        top: 0.2rem;
        width: 0;
    }

    5% {
        width: 0;
    }

    15% {
        width: 230px;
    }

    30% {
        top: 0.2rem;
        width: 230px;
    }

    33% {
        top: 0.2rem;
        width: 0;
    }

    35% {
        top: 0.2rem;
        width: 0;
    }

    38% {
        top: -4.5rem;

    }

    48% {
        top: -4.5rem;
        width: 190px;
    }

    62% {
        top: -4.5rem;
        width: 190px;
    }

    66% {
        top: -4.5rem;
        width: 0;
        text-indent: 0;
    }

    71% {
        top: -9rem;
        width: 0;
        text-indent: 5px;
    }

    86% {
        top: -9rem;
        width: 285px;
    }

    95% {
        top: -9rem;
        width: 285px;
    }

    98% {
        top: -9rem;
        width: 0;
        text-indent: 5px;
    }

    100% {
        top: 0;
        width: 0;
        text-indent: 0;
    }
}

/* use download cv btn */
.download_cv_btn {
    border: 1px rgb(17, 51, 90);
    border-radius: 17px 5px 7px 4px;
    margin: 5px;
    padding: 10px;
    color: azure;
    text-decoration: none;
    font-size: auto;
}

.download_cv_btn:hover {
    color: rgb(241, 49, 113);
    box-shadow: 5px 5px 5px 5px rgb(241, 49, 113);
}


/* skills */

.skill_progress {
    background-image: url(/images/progress_port.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 5px;
    /* padding: 5px; */
    align-items: center;
    justify-content: center;
    color: azure;
    box-shadow: 1px 1px 5px azure;
    font-weight: bolder;
    background: linear-gradient(rgb(37, 33, 52), rgb(52, 86, 139));
    padding: 70px;

}

/* heading tags style */
h1,
h2 {
    color: rgb(52, 86, 139);
}


/* use the qualification switch button */
.tab {
    overflow: hidden;
    border: 1px solid rgb(52, 86, 139);
    box-shadow: 2px 5px 10px rgb(52, 86, 139);
    border-radius: 5px;
    padding: 1px;
    width: fit-content;
    background-color: #f1f1f1;

}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    border: 2px solid rgb(52, 86, 139);
    border-radius: 5px;
    margin: 0.5px;
    color: rgb(52, 86, 139);
}

.tab button:hover {
    background-color: rgb(187, 195, 195);
}

.tab button.active {
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    color: azure;
}

.tabcontent {
    width: 38%;
    display: none;
    padding: 7px;
    border-bottom: 1px solid rgb(52, 86, 139);
    border-top: none;
    color: rgb(52, 86, 139);
}

strong {
    color: rgb(19, 17, 27);
}


#mySidenav a {
    position: absolute;
    left: -70px;
    transition: 0.3s;
    padding-left: 70px;
    margin: 5px;
    width: 100px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    border-radius: 0 5px 5px 0;
    box-shadow: 8px 10px 18px rgba(39, 42, 42, 0.559);

}

#mySidenav a:hover {
    left: 0;
}

#social_insta {
    top: 78%;
    background-color: #b93577a1;
}

#social_tweet {
    top: 87%;
    background-color: #2195f389;
}

#you_vid {
    top: 96%;
    background-color: #f443369e;
}

#social_link {
    top: 105%;
    background-color: rgba(46, 102, 169, 0.629)
}



#insta {
    top: 45px;
    background-color: #a03886a1;
    margin: 5px;
}

#mobile {
    top: 105px;
    background-color: #f3216e89;
    margin: 5px;
}

#youtube {
    top: 165px;
    background-color: #9c1a119e;
    margin: 5px;
}

#twitter {
    top: 225px;
    background-color: rgba(46, 125, 154, 0.629);
    margin: 5px;
}

/* bio-graphy */
.container .box {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 15px 50px;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 5px;
}

.container .box .body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease;
}



.container .box .body .imgContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;

}

.container .box .body .imgContainer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    /* box-shadow: 2px 5px 10px rgb(52,86,139); */
}

.container .box .body .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 255, 255, 0.626);
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
}

.container .box:hover .body {
    transform: rotateY(180deg);
}

.container .box .body .content div {
    transform-style: preserve-3d;
    padding: 20px;
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));
    transform: translateZ(100px);
    border-radius: 5px;
}

.container .box .body .content div h3 {
    letter-spacing: 1px;
}

/* button more */
.more_btn {
    padding: 5px;
    margin: 3px;
    background-color: azure;
    color: rgb(52, 86, 139);
    border: none;
    border-radius: 5px;
}

.more_btn:hover {
    color: rgb(245, 17, 104);
}

/*** Project Portfolio ***/
.portfolio-btn i {
    color: black;
}

.portfolio-btn i:hover {
    color: azure;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 100px !important;
    opacity: 0;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    padding-bottom: 30px !important;
}

/* device look container */
/* play_apple card */
.sub_container {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(52, 86, 139);
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(52, 86, 139);
    padding: 30px;
    background: linear-gradient(rgb(19, 17, 27), rgb(52, 86, 139));
}

h4 {
    color: rgb(245, 17, 104);
}

.store_card p {
    color: azure;
}

.store_card img {
    width: 80%;
    box-shadow: 5px 10px 18px rgb(19, 27, 17);
}

.store_card a {
    font-size: 30px;
    text-decoration: none;
    color: azure;
    margin: 3px;
}

.store_card a:hover {
    color: rgb(245, 17, 104);
}

@media(max-width:900px) {
    .sub_container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 30px;
    }

    .store_card {
        margin: 10px;
    }

    .smartphone_look {
        position: relative;
        right: 40px;

    }


}

/* device look */
.smartphone_look {
    position: relative;
    width: 350px;
    height: 600px;
    margin: auto;
    border: 16px rgb(19, 17, 27) solid;
    box-shadow: 1px 1px 5px azure;
    border-top-width: 60px;
    border-bottom-width: 60px;
    border-radius: 36px;
}

/* The horizontal line on the top of the device */
.smartphone_look:before {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(204, 216, 235);
    border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone_look:after {
    content: '';
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 50%;
    bottom: -65px;
    transform: translate(-50%, -50%);
    background: #333;
    border-radius: 50%;
}

/* The screen (or content) of the device */
.smartphone_look .phone_content {
    width: 320px;
    height: 500px;
    background: white;
}

/* service box */
.service_box {
    margin: 20px 0;
    padding: 40px 20px;
    text-align: center;
    border-radius: 5px;
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));
    transition: all 0.30s ease 0s;
    box-shadow: 2px 5px 10px rgb(56, 64, 77);
}

.service_box:hover {
    background-color: rgb(52, 86, 139);
}

.service_box .service_icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    font-size: 35px;
    background: #fff;
    line-height: 70px;
    border-radius: 50px;
    transform: translateY(0);
    transition: all 0.30s ease 0s;
}

.service_box:hover .service_icon {
    transform: translateY(-100%);
    background: linear-gradient(rgb(52, 86, 139), rgb(161, 6, 86));
    color: azure;
}

.service_box .service_icon i {
    color: solid black;
}

.service_box h3 {
    position: relative;
    top: 40px;
    margin: 0;
    color: azure;
    font-size: 23px;
    text-transform: capitalize;
    transform: translateY(0%);
    transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
}

.service_box:hover h3 {
    top: -40px;
}

.service_box p {
    color: azure;
    margin: 0;
    opacity: 0;
    transition: all 0.30s linear 0s;
}

.service_box:hover p {
    opacity: 1;
}

/* use the security picture */
.security_rule {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    border-radius: 5px;
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));

}

.security_rule img {
    width: 30%;
    height: 40vh;
    border-radius: 100px;
    margin: 10px;
}

.security_rule p {
    color: azure;
    font-weight: 250;
    font-size: 20px;
    font-style: oblique;
}

@media only screen and (max-width: 768px) {
    .security_rule {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
        padding: 25px;
        border-radius: 5px;
        background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));

    }

    .security_rule img {
        width: 40%;
        height: 25vh;
        border-radius: 100px;
        margin: 4px;
    }

    .security_rule p {
        color: azure;
        font-weight: lighter;
        font-size: 20px;
        font-style: oblique;
    }

}

/* use container slide items */
.item_container {
    display: flex;
    overflow-x: scroll;
    padding: 24px;
    width: 100%;
    scroll-snap-type: x mandatory;
    scroll-padding: 24px;
    border-radius: 8px;
    gap: 12px;
}

/* .item_container .item{
    width: 10%;
    height: 30vh;
    flex:auto;
    padding: 5px;
    border-radius: 8px;
    scroll-snap-align: start;
    animation-duration: 5ms ease;
    align-items: center;
    text-align: center;
    justify-content: center;
    border: 2px solid;

} */
/* grow up */
.grow_main{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border: 1px solid rgb(17, 51, 90);
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    color: azure;
    padding: 12px;
    border-radius: 5px;
}
.grow_main img{
    border-radius: 50%;
    margin: 3px;
    padding: 10px;
    width: 87%;
    height: 50vh;
    box-shadow: 5px 8px 10px black;
}
.detail .work .work_type h2{
    color: azure;
}
@media only screen and (max-width: 768px) {

    .grow_main{
        display: grid;
        align-items: center;
        justify-content: center;
        font-size: 10px;
    }
    .grow_main img{
        width: 55%;
        height: 30vh;
    }
    .grow_main .detail .work .work_type h2{
        font-size:20px ;
    }
}



/* about us  */
.contact_form {
    border: 2px solid rgb(52, 86, 139);
    border-radius: 6px;
    padding: 30px;
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    /* display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; */

}

label {
    color: azure;
}

input[type=text],
[type=number],
[type=email],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid rgb(9, 15, 26);
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 6px;
    resize: vertical;
}

input[type=button] {
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    color: white;
    padding: 10px;
    border: 2px solid azure;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 1px 1px 5px azure;
}


/* use coursel them animation slide */
.entry img {
    width: 35%;
    border-radius: 50%;
}


.container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.items {
    display: flex;
    align-items: center;
    width: fit-content;
    animation: carouselAnim 6s infinite alternate linear;
}

.entry {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 300px;
    background: linear-gradient(rgb(19, 27, 17), rgb(52, 86, 139));
    color: azure;
    margin: 1em;
    padding: 0.5em;
    border-radius: 10px;
    box-shadow: 4px 4px 5px 0px rgb(52, 86, 139);
}

@media only screen and (max-width: 768px) {
    .items {
        animation: carouselAnim 10s infinite alternate linear;
    }

    @keyframes carouselAnim {
        from {
            transform: translate(0, 0);
        }

        to {
            transform: translate(calc(-100% + (2 * 300px)));
        }
    }
}

.entry p {
    text-align: center;
    padding: 1em;
}

.name {
    font-weight: bold;
}

@keyframes carouselAnim {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(calc(-100% + (5 * 300px)));
    }
}

.container .faders {
    width: 100%;
    position: absolute;
    height: 100%;
}

.faders .right,
.faders .left {
    background: linear-gradient(to right,
            rgba(245, 245, 245, 1) 0%,
            rgba(255, 255, 255, 0) 100%);
    width: 15%;
    height: 100%;
    position: absolute;
    z-index: 5;
}

.right {
    right: 0;
    background: linear-gradient(to left,
            rgba(245, 245, 245, 1) 0%,
            rgba(255, 255, 255, 0) 100%);
}

/* use the footer list */
.list-unstyled li a {
    list-style-type: none;
    text-decoration: none;
}

.list-unstyled li a:hover {
    text-decoration: underline;

}

.subs_btn {
    background-color: red;
    color: azure;
    margin: 3px;
    padding: 3px;
    border: 2px solid red;
    border-radius: 5px;

}

.subs_btn:hover {
    background-color: rgb(213, 7, 7);
    color: white;
    border: 1px solid;
}

/* back to top arrow btn  */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;

}

/* use a chatbot */
.open-button {
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 17, 27));
    box-shadow: 1px 5px 10px rgb(17, 51, 90);
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    /* opacity: 0.8; */
    position: fixed;
    bottom: 150px;
    right: 35px;
    width: 70px;
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 25px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    border-radius: 5px;
}


.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
}


/* .form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    border-radius: 5px;
    background:whitesmoke;
    resize: none;
    min-height: 200px;
  }
  

  .form-container textarea:focus {
    background-color: #ddd;
    outline: none;
  }
   */

.cancel_btn {
    background-color: rgb(90, 101, 84);
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 25%;
    margin-bottom: 10px;
    box-shadow: 1px 2px 5px rgb(19, 27, 17);
    /* opacity: 0.8; */
}

.cancel_btn:hover {
    background-color: rgb(105, 21, 21);
}

.cancel_btn {
    background-color: rgb(205, 65, 109);
    margin: 2px;
    padding: 2px;
}


.form-container .open-button:hover {
    opacity: 1;
}

/* bot chat  */
button {
    background-color: rgba(255, 255, 255, .5);
    padding: 5px;
    outline: none;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 5px;
}

.chat_wrapper {
    background: linear-gradient(rgb(52, 86, 139), rgb(19, 27, 17));
    max-width: 300px;
    height: 50vh;
    box-sizing: border-box;
    margin: auto;
    padding: 0;
    background-color: rgba(255, 255, 255, .1);
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    border-radius: 5px;
}

form {
    flex: 5;
    display: block;
    padding: 15px;
}

.text-box {
    font-size: 16px;
    display: flex;
    width: 100%;
}

input#message {
    padding-left: 11px;
    padding-right: 9px;
    font-size: 16px;
    height: 27px;
    display: block;
    flex: 10;
    outline: none;
    margin: 0 10px 0 0;
    box-sizing: border-box;
    border: 1px solid #aaa;
    border-radius: 13px;
}

input.send-button {
    display: block;
    background-color: rgba(255, 255, 255, .6);
    flex: 1;
    border: 1px solid rgba(0, 0, 0, .2);
    height: 27px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 25px;
    padding: 0;
    border-radius: 13px;
}

div#dialogue {
    overflow-x: none;
    overflow-y: auto;
    display: block;
    flex: 95;
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
}

.bot-row,
.user-row {
    padding: 1px 0 10px 0;
    display: block;
    position: relative;
}

.user-row {
    text-align: right;
}

.user,
.bot {
    font-size: 16px;
    padding: 5px 8px;
    margin: 1px;
    border-radius: 12px;
    display: inline-block;
    position: relative;
}

.bot {
    margin-right: 50px;
    background-color: rgba(193, 24, 94, 0.85);
    color: azure;
    border-bottom-left-radius: 0;
}

.user {
    margin-left: 50px;
    color: white;
    background-color: rgb(58, 135, 58);
    border-bottom-right-radius: 0;
}