body {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 100px;
}

.p_sm {
    margin: 0px;
    text-align: left;
    font-size: 14px;
}

.moth {
    background: #363636;
    color: #e0e0e0;
}

.moth_green {
    color: #0fb40b;
}

.moth_orange {
    color: #ce9178;
}

.moth_blue {
    color: #569cd6;
}

.moth_red {
    color: #fc0b0b;
}

.moth_white {
    color: white;
}

.moth_yellow {
    color: yellow;
}

.moth_purple {
    color: #189599;
}

@media screen and (min-width: 912px) {
    .moth_p{
        display: block;
        float: left;
    }
}

.moth_st{
    font-size: 7px;
}

#moth_ascii {
    white-space: pre;
}

.bf_logo {
    height: 40px;
    width: 100%;
}

.bf_about_logo {
    height: 200px;
}

.bf_work_logo {
    height: 50px;
    width: 100%;
    filter: grayscale(100%) contrast(25%);
    transition: filter 0.3s ease;
}

.bf_work_logo:hover {
    filter: grayscale(0) contrast(100%);
}

.bf_icon {
    max-height: 40px;
}

#bf_intro {
    display: grid;
    align-items: center;
    flex-wrap: wrap;
}

.cursor_blink {
    width: 1px;
    height: 80%;
    background-color: rgb(38, 38, 38);
    left: 5px;
    top: 10%;
    animation-name: blink;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    opacity: 1;
}

.cursor_blink_w {
    color: white;
    width: 1px;
    height: 80%;
    background-color: rgb(255, 255, 255);
    left: 5px;
    top: 10%;
    animation-name: blink;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    opacity: 1;
}

@keyframes blink {
    from {opacity: 1;}
    to {opacity: 0;}
}

@media screen and (max-width: 912px) {
    .pre_sty{
        font-size: 7px;
    }
}

.bf_red {
    color: red;
}

.navbar-nav>li {
    font-family: "open Sans", sans-serif;
    font-weight: 700;
    color: #2e2e2e !important;
    font-size: 14px;
}

.nav_sty {
    position: relative;
    display: block;
    padding: 10px 15px;
    width: 140px;
    text-align: center;
}

.nav-item>a {
    display: inline-block;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    background-color: #9d9d9d;
    width: 100%;
}


/*navbar button*/
.navbar-toggle .icon-bar {
    background-color: #2e2e2e;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.navbar-toggle {
    border: 0;
}

.navbar-toggle:focus, .navbar-toggle:hover {
    background-color: transparent;
}

.top-bar, .middle-bar, .bottom-bar {
    transition: .2s;
}

.change.top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: 10% 10%
}
	
.change.middle-bar {
    opacity: 0;
}

.change.bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -webkit-transform-origin: 10% 90%
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-top: 4px;
}

.navbar_toggle_sty {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

@media (min-width: 992px) {
    .navbar_toggle_sty {
        display: none;
    }
}


/*sidenav*/
.sidenav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 5;
    top: 0;
    background-color: rgb(255 253 253 / 15%);
    overflow-x: hidden;
    transition: .1s;
    left: -100%;
}

.sidenav a, .sidenav_drop_style {
    text-decoration: none;
    font-size: 24px;
    font-family: "open Sans", sans-serif;
    font-weight: 700;
    text-align: left;
    color: #333;
    display: block;
    transition: .3s;
    margin: 25px;
}

.sidenav a:hover, .offcanvas a:focus {
    color: #333;
}

.sidenav_inner{
	height:100%;
    padding-top: 100px;
	padding-left: 10px;
    padding-right: 10px;
	background-color: #fefefe;
	border-right: 2px #eee solid;
}

.side_nav_overflow {
    overflow-y: scroll;
    max-height: 600px;
    scrollbar-face-color: #367CD2;
    scrollbar-shadow-color: #777;
    scrollbar-highlight-color: #777;
    scrollbar-3dlight-color: #777;
    scrollbar-darkshadow-color: #777;
    scrollbar-track-color: #777;
    scrollbar-arrow-color: #777;
}
.side_nav_overflow::-webkit-scrollbar {
    width: 12px;
}
.side_nav_overflow::-webkit-scrollbar-track {
    border-radius: 10px;
}
.side_nav_overflow::-webkit-scrollbar-thumb {
    background: #777;
}
@media screen and (max-height: 600px) {
		.side_nav_overflow {
		max-height: 400px;
	}
}
@media screen and (max-height: 500px) {
		.side_nav_overflow {
		max-height: 360px;
	}
}

.open {
    left: 0! important;
}

/*Index body*/
.section_divider>h2{
    text-align: left;
    font-weight: 500;
}

.half {
    height: 0;
    border-width: 2px;
    border-color: rgba(0, 0, 15, 0.5);
}

.border_right {
    border-right: 1px solid rgba(0, 0, 0, 0.125);
} 

.border_left {
    border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.hashtag {
    color: #525252;
    border: 1px solid #525252;
    padding: 5px 5px;
    margin: 5px 10px;
    background: transparent;
}

.consult_btn {
    width: 200px;
    height: 100%;
    color: #525252;
    border: 1px solid #525252;
    padding: 15px 15px;
    margin: 5px 10px;
    background: transparent;
}

.text-mid {
    text-align: center !important;
}

#index_solidity {
    padding: 5px;
    font-size: 12px;
    background-color: #222336;
}

.img_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/**footer**/
#function_bar {
    position: fixed;
    bottom: 157px;
    right: 10px;
    z-index: 2;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.58);
}

.function_bar_items_style {
    font-size: 10px;
    text-align: center;
    cursor: pointer;
}

.function_bar_div {
    text-align: center;
    width: 45px;
	padding-top:5px;
}

.function_bar_items {
    font-size: 20px;
    color: #ff6a00;
    padding-left: 5px;
    padding-right: 5px;
}

.function_bar_div>a:hover {
    color: #ff6a00;
}

.function_bar_div>a:focus {
    color: #ff6a00;
    outline: none;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    opacity: 0.4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  #scrollToTopBtn.show {
    display: block;
    z-index: 2;
  }

/**footer**/
/**cookie banner**/
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    color: white;
	background-color: #0000007d;
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
	background-color: #189599;
}

.cookiealert .acceptcookies {
    margin-left: 10px;
    vertical-align: baseline;
}
/**cookie banner**/

.pacman {
    height: 220px;
    width: 100%;
    padding: 20px 10px;
}

.pacman-top {
    background-color:yellow;
    height:25px;
    width:50px;
    border-radius:100px 100px 0 0;
    animation: spin1 0.5s infinite linear;
    margin-top: 60px;
}

.pacman-bottom {
    background-color:yellow;
    height:25px;
    width:50px;
    border-radius:0 0 100px 100px;
    animation: spin2 0.5s infinite linear;
}

.feed {
    margin-top: -90px;
    margin-left:10px;
    width: 8px;
    height: 8px;
    border-radius: 30%;
    -moz-animation: eat 1s linear 0s infinite;
    -webkit-animation: eat 1s linear 0s infinite;
    animation: eat 1s linear 0s infinite;
}  

/* Animation*/

@keyframes spin1 {
	0%  {transform: rotate(0deg);}
	50%{transform: rotate(-35deg);}
  
}

@keyframes spin2 {
    0%  {transform: rotate(0deg);}
    50%{transform: rotate(35deg);}	
}

@-moz-keyframes spin1 {
	0%  {transform: rotate(0deg);}
	50%{transform: rotate(-35deg);}
  
}

@-moz-keyframes spin2 {
	0%  {transform: rotate(0deg);}
    50%{transform: rotate(35deg);}	
}

@-webkit-keyframes spin1 {
	0%  {transform: rotate(0deg);}
	50%{transform: rotate(-35deg);}
  
}

@-webkit-keyframes spin2 {
	0%  {transform: rotate(0deg);}
    50%{transform: rotate(35deg);}	
}

@keyframes eat {
	0% { box-shadow: 
        100px 65px 0 0 black, 
        300px 65px 0 0 black, 
        500px 65px 0 0 black
    }
  
    100% { box-shadow: 
        0px 65px 0 0 black, 
        100px 65px 0 0 black,
        300px 65px 0 0 black
    }
}
/*roadmap*/

.roadmap {
    display: flex;
    margin-bottom: 40px;
}

.roadmap_title {
    color: #189599;
}

.roadmap h4, .roadmap p {
    font-size: 15px;
    margin-bottom: 0;
    padding: 0 5px;
}

.text_circle {
    flex: 1;
    text-align: center;
    position: relative;
}

.text_circle:after {
    background-color: #189599;
    bottom: 1.25em;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    right: 0;
    width: 50%;
    z-index: -1;
}

.text_circle:before {
    bottom: 1.25em;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    left: 0;
    width: 50%;
    z-index: -1;
    background-color: #189599;
}

.circle {
    height: 100%;
}

.roadmap_tooltip {
    height: 40px;
    width: 40px;
    border: 2px solid #189599;
    display: flex;
    position: relative;
    border-radius: 100%;
    top: -43px;
    margin: 3px auto;
    background-color: #fff;
}

.roadmap_tooltip span {
    margin: 25% auto;
    height: 20px;
    width: 20px;
    background-color: #189599;
    border-radius: 100%;
    color: #fff;
}


/*roadmap*/
/*candlestick*/
.candlestick_chart {
    width: 200px;
    height: 300px;
    margin: auto;
    position: relative;
  }

  .candlestick {
    width: 30px;
    height: 200px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .candlestick_body {
    width: 100%;
    height: 65%;
    top: 20%;
    background-color: green;
    position: relative;
    z-index: 1;
  }

  .candlewick {
    width: 1px;
    height: 25%;
    background-color: grey;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .candlewick.top {
    top: 0;
  }

  .candlewick.bottom {
    bottom: 0;
  }

  #candlestickBody_active{
    height: 60px; 
    top: -10%;
    animation: candlePump 1s infinite alternate;
  }

  @keyframes candlePump {
    0% {
      height: 60px;
      top: -10%;
    }
    50% {
      height: 80px;
      top: -20%;
    }
    100% {
      height: 60px;
      top: -10%;
    }
  }
/*candlestick*/
/*faqs*/
.faqs_link {
    display: inline-block;
    text-decoration: none;
}







.slider {
    background: rgba(255, 255, 255, 0.15);
    height: 75pt;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    cursor: default;
    user-select: none;
    touch-action: none;
}

.slider:before {
    left: 0;
    top: 0;
}
.slider:after,
.slider:before {
    background: linear-gradient (to right, rgba(255, 255, 255, 0.15) 0%, hsla(0, 0%, 100%, 0) 100%);
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}
.slider:after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}
.slider:after,
.slider:before {
    background: linear-gradient (to right, rgba(255, 255, 255, 0.15) 0%, hsla(0, 0%, 100%, 0) 100%);
    content: "";
    height: 75pt;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.slider .slide-track-right {
    animation: scroll-l 30s linear infinite;
    display: flex;
    width: 3500px;
}
.slider .slide-track-left {
    animation: scroll-r 30s linear infinite;
    display: flex;
    width: 3500px;
}

.slider .slide {
    height: 75pt;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
}
.slider .slide img {
    width: 100%;
    padding: 1pc;
    vertical-align: middle;
    margin: 0 auto;
    display: inline-block;
    height: 80px;
}

@keyframes scroll-l {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-218px * 8));
    }
}
@keyframes scroll-r {
    100% {
        transform: translateX(0);
    }
    0% {
        transform: translateX(calc(-218px * 8));
    }
}