@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(https://example.com/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
      local('MaterialIcons-Regular'),
      url(https://example.com/MaterialIcons-Regular.woff2) format('woff2'),
      url(https://example.com/MaterialIcons-Regular.woff) format('woff'),
      url(https://example.com/MaterialIcons-Regular.ttf) format('truetype');
}

body{
    background-color: #f6f7f9;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
     overflow-x: hidden;
}
img{
    max-width: 100%;
}
.cont-def{
    max-width: 80%;
    margin: 0 auto;
    padding: 0;
    overflow:hidden;
}
nav{
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px 25px;
    border: 1px solid #c8c8c8;
    width: 100%;
    z-index: 4;
    backdrop-filter: blur(10px);
    top: 0;
}
nav .title-site{
    color: #e90606;
    position: relative;
    font-weight: 500;
    font-size: 40px;
    margin: 0;
    transition: .5s;
    top: 0;
    opacity: 1;
    
}
nav h1 a{
    color: #e90606;
    text-decoration: none;
    -webkit-tap-highlight-color: #e7343485;
}
.h1-active{
    top: -100px;
    opacity: 0;
}
nav .searchbar{
    display: flex;
    align-items: center;
    margin-right: 40px;
    transition: .5s;
    position: relative;
    cursor: pointer;
}
.notification{
    width: 400px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 70px;
    margin-right: auto;
    margin-left: auto;
    border: 2px solid #e90606;
    backdrop-filter: blur(5px);
    color:  #222;
    padding: 5px 10px;
    border-radius: 10px;
    font-family: sans-serif;
}
.notification span{
    line-height: 40px;
}
.notification a{
    background-color: green;
    color: whitesmoke;
    padding: 4px 10px;
    text-decoration: none;
    border-radius: 10px;
    line-height: 30px;
}
.searchbar input{
    height: 30px;
    width: 160px;
    border-bottom: 1px solid #c8c8c8; 
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0 10px;
    font-size: 14px;
    background-color: rgb(238, 238, 238);
    outline: none;
    backdrop-filter: blur(10px);
    font-family: Verdana;
    margin-right: 7px;
    border-radius: 5px;
}
nav .searchbar .search-inp{
    visibility: hidden;
    transition: .5s;
    position: absolute;
    right: -250px;
    display: flex;
}

nav .searchbar button{
    padding-left: 10px;
    height: 30px;
    width: fit-content;
    border: none;
    outline: none;
    font-size: 15px;
    background-color: #e90606;
    color: #fff;
    line-height: 30px;
    font-weight: 500;
    border-radius: 5px;
   
}
.go-back{
    width: 60px;
    height: 60px;
    background-color: #e90606;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    color: #000;
}
.search-icon{
    width: 25px;
    height: 25px;
    -webkit-tap-highlight-color: transparent;
}
nav .searchbar .search-inp-active{
    display: flex;
    visibility: visible;
    right: 125%;
}
.sidebar{
    background-color: #fff;
    position: absolute;
    transition: 0.5s;
    width: fit-content;
    padding-right: 20px;
    height: 100vh;
    position: absolute;
    transition: 0.5s ease-in-out;
    left: -220px;
    margin-top: 23px;
    z-index: 1;
    border-top: 1px solid #b1b1b1;
    border-right: 1px solid #b1b1b1;
    border-bottom: 1px solid #b1b1b1;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.sidebar-opened{
    left: 0px;
}
.sidebar ul{
    list-style: none;
    padding: 10px;
    margin: 0;
}
.sidebar ul li{
    padding: 10px;
}
.sidebar ul li a{
    text-decoration: none;
    color: #000;
    font-size: 17px;
    padding: 4px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    width: 100%;
    -webkit-tap-highlight-color: #e7343485;
}
.sidebar ul li a:hover{
    background-color: #f5f5f5;
    color: #e90606;
}
.main-page-cover{
    width: 100%;
    height: 100vh;
    background-color: rgba(34, 34, 34, 0.6);
    position: absolute;
    top: 58px;
    right: -100%;
    transition: .4s ease-in-out;
    opacity: 0;
    border-bottom-left-radius: 30%;
}
.cover-active{
    right: 0;
    opacity: 1;
    border-radius: 0;
}

#menubtn{
    z-index: 5;
}
#menubtn span{
    height: 2px;
    width: 25px;
    background-color: #2e2e2e;
    margin: 3px 0;
    display: block;
    transition: .4s; 
}
.bg1-active{
    transform: rotate(45deg);
}
.bg3-active{
    transform: rotate(-45deg);
    position: relative;
    top: -5px;
}

.hero-cont{
    display: flex;
    margin-top: 150px;
    height: max-content;
}
.hero-cont .hero-main{
    width:75%;
}
.hero-cont .hero-main .swiper{
    width: 100%;
    height: 450px;
    border-radius: 4px;
}
#mainPost{
    display: flex;
    text-decoration: none;
    width: 100% !important;
    -webkit-tap-highlight-color: #e7343485;
}
.swiper{
    position: relative;
}
.swiper-slide .slide-content{
    width: 30%;
    background-color: #191919;
    color: #fff;
    padding: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu;
    height: 420px;
    z-index: 5;
}
.swiper-slide .slide-content .slide-title{
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Zilla Slab', serif;
    padding-right: 5px;
}
.swiper-slide .slide-content .slide-date{
    color: #e90606;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}
.swiper-slide img{
    width:70%;
    height: 456px;
    object-fit: cover;
    transition: .8s;
    overflow: hidden;
}
.swiper-slide img:hover{
    transform: scale(1.1);
}
.swiper-slide .slice-info{
    font-size: 16px;
}
.grid-3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-top: 20px;
    height: fit-content;
    max-width: 100%;
}
.grid-3 .grid-item{
    text-decoration: none;
    color: #282f2f;
    -webkit-tap-highlight-color: #e7343485;
}
.grid-3 .grid-item .grid-item-img{
    border-radius: 4px;
}
.grid-3 .grid-item .grid-item-img img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.grid-3 .grid-item h3{
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Zilla Slab', serif;
    transition: all 0.2s;
}
.grid-3 .grid-item span{
    font-size: 0.8rem;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}
.hero-side{
    width: 25%;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
}
#tariffs{
    height: auto;
    border-radius: 3px;
    background-color: whitesmoke;
    padding: 10px 20px;
    margin-bottom:20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-side h3{
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-top: 0;
}
/* .hero-side .popular-list{
    
} */
.hero-side .popular-list .popular-item{
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    padding-left: 20px;
}
.hero-side .popular-list .popular-item .num{
    font-size: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    border-bottom: 2px solid #e90606;
}
.hero-side .popular-list .popular-item .text{
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Zilla Slab', serif;
    margin-left: 15px;
    padding-top: 7px;
    transition: all 0.2s;
    color: #000;
    text-decoration: none;
    -webkit-tap-highlight-color: #e7343485;
}
#summa{
    height: 30px;
    border-radius: 5px;
    padding: 2px 15px;
    font-size: 20px;
    margin-bottom: 15px;
}
#summa::-webkit-outer-spin-button,
#summa::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#summa {
  -moz-appearance: textfield;
}
#display{
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    transition: 1.5s;
}
#display .price-and-img{
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    align-items: baseline;
}
#display .price-and-img img{
    padding-top: 10px;
    height: 30px;
    width: auto;
}
#display .price-and-img p{
    font-size: 18px;
    color: green;
    line-height: 40px;
}
#display .material-icons{
    font-size: 17px;
}
#display .limit{
    background-color: whitesmoke;
    border-radius: 5px;
    padding: 8px 6px;
}
#display h4{
    font-size: 20px;
    font-weight: 500;
    font-family: Verdana;
    margin: 5px 0;
}
#display .connect-code{
    background-color: #c1ffc2;
    border-radius: 5px;
    text-align: center;
    padding: 10px 2px;
}
.showit{
    opacity: 1 !important;
}
.grid-item-text h3:hover, .popular-item .text:hover{
    color: #e90606;
}
.trend-container{
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    max-width: 100vw;
}
.trend-item{
    width: 280px;
    height: 420px;
    min-width: 250px;
    position: relative;
    background-size: cover;
    background-position: center;
    margin: 0px 5px;
    transition: 0.6s ease-in-out;   
}
.trend-item:hover{
    min-width: 380px;
}
.trend-item-gradient{
    background: rgb(24,22,22);
    background: linear-gradient(360deg, rgba(24,22,22,0.76234243697479) 17%, rgba(255,255,255,0) 65%);
    width: 100%;
    height: 100%;
    position: relative;
}
.trending-content{
    font-family: 'Zilla Slab', serif;
    position: absolute;
    color: #fff;
    font-size: 18px;
    padding: 0 10px;
    bottom: 15px;
}
.topic-trending{
    padding: 3px 5px;
    background-color: #e90606;
    font-size: 15px;
}
.trending-content p{
    padding: 10px 0;
    margin: 0;
}
.rest-of-body{
    margin-top: 50px;
}
.tnews{
    margin-top: 0;
    margin-bottom: 60px;
    height: fit-content;
}
.t-title{
    font-size: 36px;
    font-family: 'Oswald', sans-serif;
    border-top: 2px solid #020202;
    padding-top: 15px;
    padding-left: 5px;
    margin-top: 0;
}
.t-title a{
    text-decoration: none;
    color: #000;
}
.t-title a:visited{
    color: #000;
}
.t-title span{
    font-size: 36px;
    position: relative;
    top:5px;
}
.tnews-divider{
    display: flex;
}
.big-news{
    width: 50%;
    text-decoration: none;
    color: #000;
    padding: 0 15px;
    -webkit-tap-highlight-color: #e7343485;
}
.big-news .big-news-img{
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
}
.big-news .big-news-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 0;
    transition: transform .5s ease;
}
.big-news-img img:hover{
    transform: scale(1.07);
}
.grid-item-img{
    overflow: hidden;
    border-radius: 4px;
}
.grid-item-img img{
    transition: .8s;
    transform: scale(1.03);
}
.grid-item-img img:hover{
    transform: scale(1.1);
}
.big-news-text:hover{
    color: #e90606;
    transition: .3s;
}
.big-news .big-news-text h3{
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Zilla Slab', serif;
    margin-bottom: 5px;
}
.big-news .big-news-text p{
    font-size: 1.2rem;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 10px;
}
.grid2x2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    height:fit-content;
    max-width: 50%;
    padding-left: 20px;
}
.grid2x2 .grid-item{
    text-decoration: none;
    color: #000;
    -webkit-tap-highlight-color: #e7343485;
}
.grid2x2 .grid-item .grid-item-img img{
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.grid2x2 .grid-item h3{
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Zilla Slab', serif;
    transition: all 0.2s;
}
.news-item-mobile{
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    text-decoration: none;
    color: #000;
    padding: 0;
    width: 25%;
    -webkit-tap-highlight-color: transparent;
}
.news-item-mobile .mobile-news-img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}

.news-item-mobile .mobile-news-img img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
}
.news-item-mobile .mobile-news-text{
    width: 100%;
}
.news-item-mobile .mobile-news-text h3{
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    margin-top: 5px;
    font-family: 'Zilla Slab', serif;
}
.swiper{
    position: relative;
}
.tnews-divider a{
    -webkit-tap-highlight-color: transparent;
}
.swiper-button-next, .swiper-button-prev{
    background-color: #ffffff;
    color: rgb(255, 0, 0);
    font-size: 15px;
    border-radius: 50%;
    padding: 5px 15px;
    line-height: 50px;
    text-align: center;
    position: relative;
}
.swiper-button-next{
    right: 5px;
}
.swiper-button-prev{
    left: 5px;
}
.swiper-button-disabled{
    opacity: 0;
    visibility: hidden;
}
.swiper-button-next::after, .swiper-button-prev::after{
    color: rgb(255, 0, 0);
    transform: scale(0.6);
}
.crypto-icon{
    width:30px;
    height:30px;
    margin-right: 10px;
}
.stock-icon{
    width: 30px;
    height: 30px;
    margin-right: 10px;
}
.sellbuy{
    width: 100%;
    height: fit-content;
    margin-bottom: 10px;
    display: flex;
}
.text-usd{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
}
.text-usd h4{
    margin-bottom: 0;
    margin-top: 10px;
}
.sellbuy table{
    width: 50%;
}
.sellbuy table th{
    font-size: 18px;
    font-weight: 600;
    font-family: 'Zilla Slab', serif;
    text-align: left;
    width: 100%;
    padding-bottom: 5px;
}
.usdprice{
    width: 50%;
    color: #105e10;
    position: relative;
    right: 4px;
}
    
#restMobile{
    display: none;
}
/* changed */
#stocks{
    margin-top: 50px;
    margin-bottom: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
}
#stocks .clmn-stock{
    width: 27vw;
    background-color: whitesmoke;
    border-radius: 5px;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    position: relative;
    text-decoration: none;
    color: #000;
    -webkit-tap-highlight-color: transparent;
}
.clmn-stock h3{
    text-align: center;
    font-size: 1.5rem;
    font-family: 'Zilla Slab', serif;
    margin-top: 0;
    margin-bottom: 0;
}
.clmn-stock table{
    margin-top: 20px;
}
.clmn-stock .moresee{
    width: 150px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 2px 10px;
    text-align: center;
    text-decoration: none;
    color: #e90606;
    border: 2px solid #e90606;
    font-size: 18px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
td.green{
    color: #00b300;
    text-align: center;
}
td.red{
    color: #e90606;
    text-align: center;
}

#miniStock, #miniCrypto{
    width: 100%;
}
footer{
    background-color: #f6f7f9;
}
.mail-png img{
    width: 40px;
    height: 40px;
    position: relative;
    top: 3px;
}

/* changed */
@media screen and (max-width: 1485px) {
    #stocks .clmn-stock{
        width: 300px;
    }
    .swiper-slide .slide-content .slide-title{
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 1350px){
    .hero-side h3{
        font-size: 1.3rem;
    }
    .hero-side .popular-list{
        padding: 10px 20px;
        padding-right: 0;
    }
    .hero-side .popular-list .popular-item{
        margin-bottom: 18px;
        padding-left: 18px;
    }
    .hero-side .popular-list .popular-item .num{
        font-size: 1.8rem;
    }
}
@media screen and (max-width: 1120px) {
    #stocks{
        max-width: 100vw;
        overflow-x: scroll;
        overflow-y: hidden;
        height: fit-content;
    }
    .clmn-stock{
        width: 300px;
        margin-right: 15px;
    }
    .clmn-stock#usd{
	   width:fit-content;
       padding: 5px 10px;
       margin-right: 10px;
    }
}
@media screen and (max-width: 1024px){
    .hero-cont .hero-main .swiper{
        height: 350px;
    }
    .swiper-slide .slide-content{
        padding: 15px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu;
        height: 320px;
    }
    .swiper-slide .slide-content .slide-title{
        font-size: 1.3rem;
        margin-top: 0;
    }
    .swiper-slide img{
        width:70%;
        height: 350px;
        object-fit: cover;
    }
    .swiper-slide .slice-info{
        font-size: 16px;
    }
    .cont-def{
        max-width: 85%;
    }
    .hero-side h3{
        font-size: 1.2rem;
    }
    .hero-side .popular-list{
        padding: 10px 15px;
        padding-right: 0;
    }
    .hero-side .popular-list .popular-item{
        margin-bottom: 15px;
        padding-left: 15px;
    }
    .hero-side .popular-list .popular-item .text{
        font-size: 1rem;
    }
    .big-news .big-news-img img{
        height: 300px;
    }
    .big-news .big-news-text h3{
        font-size: 1.4rem;
    }
    .big-news .big-news-text p{
        margin-bottom: 5px;
    }
    .grid2x2{
        grid-gap: 15px;
    }
    .grid2x2 .grid-item{
        text-decoration: none;
        color: #000;
    }
    .grid2x2 .grid-item .grid-item-img img{
        height: 140px;
    }
    .grid2x2 .grid-item h3{
        font-size: 1.1rem;
    }
}
@media screen and (max-width:985px){
    .hero-cont{
        flex-direction: column;
    }
    .hero-cont .hero-main{
        margin-bottom: 50px;
        width: 100%;
    }
    .hero-cont .hero-main .swiper{
        width: 100%;
    }
    .hero-side{
        width: 100%;
        margin-bottom: 10px;
        height: fit-content;
    }
    
    .hero-side h3{
        font-size: 1.2rem;
    }
    .hero-side .popular-list .popular-item .text{
        font-size: 20px;
    }
    .tnews{
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #restMobile{
        display: block;
    }
    #restBody{
        display: none;
    }
}
@media screen and (max-width:800px) {
    .hero-cont{
        margin-top: 100px;
    }
    .hero-cont .hero-main .swiper{
        width: 100%;
        height: fit-content;
    }
    #mainPost{
        display: flex;
        flex-direction: column-reverse;
        width: 100% !important;
    }
    .swiper{
        position: relative;
    }
    .swiper-slide .slide-content{
        width: 100%;
        height: fit-content;
    }
    .hero-side{
	   padding : 10px;
    }
    .swiper-slide .slide-content .slide-title{
        font-size: 1.8rem;
        font-weight: 500;
        margin-bottom: 10px;
        font-family: 'Zilla Slab', serif;
        padding-right: 15px;
    }
    .swiper-slide img{
        width:100%;
        height: 250px;
        object-fit: cover;
    }
    .swiper-slide .slice-info{
        font-size: 14px;
    }
    .grid-3{
        grid-gap: 15px;
        margin-top: 15px;
    }
    .grid-3 .grid-item .grid-item-img img{
        height: 160px;
    }
    .grid-3 .grid-item h3{
        font-size: 17px;
    }
    .grid-3 .grid-item span{
        font-size: 14px;
    }
}
@media screen and (max-width:600px) {
    /*nav{
        max-width: 100vw;
        overflow-x: hidden;
    }*/
     .cont-def{
	   max-width: 90%;
	}
    .swiper-slide .slide-content .slide-title{
        font-size: 1.6rem;
    }
    .swiper-slide .slide-content .slide-date{
        font-size: 14px;
    }
    .swiper-slide .slide-content .slice-info{
        font-size: 14px;
    }
    .grid-3{
        display: flex;
        flex-direction: column;
    }
    .grid-3 .grid-item{
        margin-bottom: 0;
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .grid-3 .grid-item .grid-item-img{
        width: 30%;
    }
    .grid-3 .grid-item .grid-item-img img{
        height: 120px;
        width: 100%;
    }
    .grid-3 .grid-item .grid-item-text{
        width: 70%;
        padding-left: 10px;
        padding-top: 0;
        margin-top: 0;
    }
    .grid-3 .grid-item .grid-item-text h3{
        font-size: 1.3rem;
        margin-top: 0;
    }
    .t-title{
        font-size: 1.6rem;
    }
    .t-title span{
        font-size: 25px;
    }
    .swiper-button-next, .swiper-button-prev{
        font-size: 13px;
        padding: 1px 12px;
        line-height: 20px;
    }
    .swiper-button-next{
        right: 3px;
    }
    .swiper-button-prev{
        left: 3px;
    }
    .swiper-button-disabled{
        opacity: 0;
        visibility: hidden;
    }
    .swiper-button-next::after, .swiper-button-prev::after{
        transform: scale(0.5);
    }
}
@media screen and (max-width:500px) {
    nav{
        padding: 3px 25px;
    }
    nav h1{
        font-size: 32px;
    }
    .grid-3 .grid-item .grid-item-img{
        width: 35%;
    }
    .grid-3 .grid-item .grid-item-text{
        width: 65%;
        padding-left: 10px;
        padding-top: 0;
        margin-top: 0;
    }
    .grid-3 .grid-item .grid-item-text h3{
        font-size: 1.2rem;
    }
    .swiper-button-next{
        right: 0;
    }
    .swiper-button-prev{
        left: 0;
    }
    footer .footer-logo{
        font-size: 1.5rem;
    }
    .footer-icons a img{
        width: 30px;
        height: auto;
    }
    .clm3{
        display: none;
    }
    .trend-item{
        width: 230px;
        height: 330px;
        min-width: 180px;
        -webkit-tap-highlight-color: transparent;
    }
    .trend-item:hover{
        min-width: 260px;
    }
}
@media screen and (max-width:400px) {
    .hero-side .popular-list .popular-item .text{
        font-size: 18px;
    }
}
