@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

*{
    font-family: Roboto, Arial, sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.container{
    padding-left: 1rem;
    margin: 0 auto;
    max-width: 1200px !important;
}
.cont-sub{
    display: flex;
    gap: 2rem;
}
#body {
    background-color: rgba(0, 0, 0);
    overflow: hidden;
}

::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background: transparent;
}

::-webkit-scrollbar-thumb{
    background: rgba(29, 155, 240);
    border-radius: 5px;
}

 /* =========================================================================================ASIDE LEFT ===================================
====================================================================================================== */

#twitter{
    padding-top: 1rem;
    font-size: 1.7rem;
    user-select: none;

}
.break{
    display: none;
}
#twitter:hover{
    background-color: none;
}
.aside-icon{
    display: flex;
    padding-bottom: 1.8rem;
    color: rgb(224, 213, 213);
    font-weight: thin;
    outline-width: 1px;
  
}
.tweet_btn {
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #e7e9ea;
  padding: 0.735rem 5rem;
  margin-top: 1rem;
  border-radius: 30px;
  transition: 0.2s;
  background: #1d9bf0;
  transition: 0.2s;
}

.tweet_btn:hover {
  background-color: #067cca;
  color: #e7e9ea;
}

.none {
  display: none;
}

.sidebar-content{
    display: flex;
    flex-direction: column;
}
.tweet_nav,
.fixed_menu{
        display: none;

}
.side-bar{
    position: fixed;
    overflow: hidden;
    width: 226px;
}

.none_search{
    display: none;
}

i{
    padding-right: 1.3rem;
  
}
.packages{
    width: 100%;
}

.profile-link{
    display: flex;
    gap: 0.5rem;
    border-radius: 30px;
    margin-top: 5.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.2s;
    align-items: center;
    cursor: pointer;
   color:  rgb(224, 213, 213);
   user-select: none;
}
.profile-link:hover{
    color: #e7e9ea;
}

.profile-cont img{
    border-radius: 50%; 
}

.aside-btn button{
    padding: .6rem 4.5rem;
    border-radius: 35px;
    font-size: 18px;
    font-weight: bold;
    background-color: rgb(29, 155, 240);
    border-color: rgba(29, 155, 240);
    color: white;
    border: none;
    cursor: pointer;
}
.unique-name{
    color: rgb(141, 131, 131);
}

/* ========================================================================================= MAIN  ===================================
====================================================================================================== */

.main{

    width: 100% !important;
    cursor: pointer;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100vh;
    border-left: 1px solid  rgb(32,35,39);
    border-right: 1px solid  rgb(32,35,39);
    margin-left: 13rem;  
}

.nav_btn {
    display: none;
}
.post-heading{
    position: fixed;
    height: 7rem;
    top: 0;
    bottom: 0;
    width: 37rem;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #000000a8;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1.2rem 3.2rem #00000008;
    margin-bottom: 2rem;
}

.post-heading-link{
    text-decoration: none;
    width: 100%;
}
.post-heading-link div{
    display: flex;
    align-items: center;
    
}
.post-heading-link h3{
    padding-left: 1rem;
    padding-bottom: 1rem;
    color: #ffffff;
}

.post-heading-link button{
    flex: 1;
    background: none;
    color: #838383;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    outline: none;
    padding: 1rem 0;
    transition: .3s;
    height: 55px;
}
.post-heading-link button.active{
    color: #ffffff;
    border-bottom: 2px solid #2d88f0;
}
.post-heading-link button:hover{
    background-color: #e7e9ea1c;
    
}

.header ul li{
    list-style: none;
}
.header ul li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 8px 30px;
    color: white;
}
.header ul li a:hover{
    background-color: rgba(49, 46, 46, .5);
}

.pic-container{
    padding-right: 1rem;
    padding-left: .7rem;
}

.mybox{
    width: 100%;
   
}
.mybox:focus-within .audience


.new-update{
    display: none;
}
.new-update button{
    display: none;
    background: transparent;
    color: rgba(29, 155, 240);
    padding: .5rem .4rem .5rem .6rem;
    border-radius: 1rem;
    outline: none;
    font-size: 1rem;
    font-weight: 400;
    border: .1rem solid  rgba(75, 70, 70, 0.5);
}
.mybox:focus-within .new-update button{
    display: block;
}
.audience button span{
    padding-left: .5rem;
}

.happening textarea{
    width: 100%;
    outline: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 1rem;
}
.myimg{
    width: 3rem;
    border-radius: 50%;

}

textarea::placeholder{
    font-size: 1.2rem;
    padding-top: 1rem;
}

.hidden{
    display: flex;
    border-bottom: 1px solid rgb(32,35,39);
    padding-top: 7rem;
}

.everyone{
    color: rgba(29, 155, 240);
    font-size: 1rem ;
    text-align: start;
    padding-left: 1rem;
    padding-bottom: 1rem;
    display: none;
}
.mybox:focus-within .everyone{
    display: block;
}
.border{
    border-bottom: 1px  solid rgb(32,35,39);
    display: none;

}
.mybox:focus-within .border{
    display: block;
}
.icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:  rgba(29, 155, 240);
    padding-bottom: .6rem;
    padding-right: .5rem;
    background: transparent;
}

.main-btn button{
    padding: .9rem 1rem;
    border-radius: 1.3rem;
   background-color:  rgba(29, 155, 240);
   color: rgb(228, 215, 215);
   font-weight: bold;
}

.show-tweet{
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid  rgb(32,35,39);
    color:  rgba(29, 155, 240);
}

.user-post{
    display: flex;
    gap: 1rem ;
    border-bottom: 1px solid #2f3336;
    text-decoration: none;
    color: #e7e9ea;
    transition: 0.3s;
    padding-right: 1rem;
    width: 100%;
}
.user-post:hover{
    background: #cacaca0c;

}
.post-user-img{
    margin-left: 1rem;
    margin-top: .5rem;
}
.tweet-num{
    display: block;
    text-align: center;
    color: #1d7ff0;
    border-bottom: 1px solid #2f3336;
    padding: 1rem 0;
    text-decoration: none;
    transition: 0.3s;
}
.tweet-num:hover{
    background: #cacaca0c;
}
.flex_{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0;
    width: 100%;
}
.upn.upn_{
    color: #e7e9ea;
    font-weight: 600;

}
.upn.upn_:hover{
    text-decoration: underline;
}

.upn{
    border: none;
    background: none;
    color: #7c7c7c;
}
.upn:hover{
    text-decoration: underline;
}
.i__{
    padding: 0.5rem;
    transition: 0.2s;
}
.i__:hover{
    color: #1d7ff0;
    background-color: #1d7ff031;
    cursor: pointer;
    border-radius: 30px;
}
.hll{
    text-decoration: none;
    color: #808080;
    background: none;
    display: flex;
    align-items: center;
    border: none;
}
.hll:hover{
    color: #1d9bf0;
}
.hll i{
    border-radius: 50px;
    font-size: 1rem;
    padding: 0.5rem;
    transition: 0.3s;
}
.hll:hover i{
    background: #167aec18;
}

.hll_retweet:hover{
    color: #008040;
}
.hll_retweet:hover i{
    background: #0080402f;
    border-radius: 50px;
}
.hll_love:hover{
    color: #ee00a7;
}
.hll_love:hover i{
    background: #ee00a72c;
    border-radius: 50px;
}

/* =========================================================================================ASIDE RIGHT ===================================
====================================================================================================== */

.aside-right{
    padding: 1rem;
    overflow-x: hidden;
    position: relative;
    background-color: black;
}

.search-bar{
    background-color: rgb(32,35,39);
    display: flex;
    align-items: center;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.search-bar:focus-within{
    outline: 1px solid rgba(29, 155, 240);
}

.search-bar:focus-within button{
    color: rgba(29, 155, 240);
}

.search-bar input{
    background: transparent;
    flex: 1;
    outline: none;
    border: none;
    color: white;
    font-size: 1rem;
}

.search-bar button{
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    color: rgb(119, 108, 108);
    font-size: 1rem;
}

.search button{
    margin-left: 5px;
    width: 30px;
    border-radius: 5px;
    border: none;
    outline: none;   
}

.search-box{
    padding-right: 9rem;
    border-radius: 100px;
    margin-left: -2px;
}

.middle-aside-right{
    background-color: black;
    height: 87vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
.middle-aside-cont{
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    background-color:rgb(32,35,39); 
}

.middle-aside-cont h3{
    color: rgb(231,233,234);
    padding-bottom: .9rem;
    padding: .3rem 1rem 0 ;
}

.trend-cont{
    display: flex;
    justify-content: space-between;
    padding: .3rem 1rem;   
}

.flex{
    margin-bottom: 8px;

}

.flex div{
    padding-bottom: .2rem;
}

.flex .trends{
    color: rgb(231,233,234);
}
.statistics,
.title{
    font-size: .9rem;
    color: rgb(82,86,91);
}

.dots{
    color: white;
}

.show-more{
    padding: .6rem 1rem;
}

.show-more a{
    color:  rgba(29, 155, 240);
    text-decoration: none;
}

.follow-cont{
    background-color:rgb(32,35,39);
    margin-top: 1rem;
    border-radius: 1rem;
    padding: 1rem .5rem;
   
}
.follow-cont h3{
    color: white;
    font-size: 1.3rem;
}

.profile{
   display: flex; 
   align-items: center;
   justify-content: space-between;
}


.img-cont img{
    width: 3rem;
    border-radius: 50%;
    margin-top: 1rem;
}

.name{
    color: white;
    font-size: .9rem;

}
.unique-name{
    font-size: .9rem;
}

.follow-btn{
    display: flex;
    padding: .5rem .8rem;
    border-radius: 1rem;
   font-size: .9rem;
   font-weight: bold;
}
.show-more2{
    padding: .6rem .3rem;
}

.show-more2 a{
    color:  #1d9bf0;
    text-decoration: none;
}
.links{
    padding: 1rem 1.3rem;
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

}
.links a{
color:rgb(100, 100, 114);
padding-left: .2rem;
line-height: 1.2rem;
text-decoration: none;
}

.copy{
    color:rgb(100, 100, 114);
    
}
.show-mobile{
    display: none;
}

@media(max-width: 1213px) {
    .container{
        max-width: 1000px !important;
        margin: 0 auto;
    }

    .aside-icon div{
        display: none;
    }
    .main{
        margin-left: 4rem;
    }
    .post-heading{
        width: 518px;
    }
    .centre,
    .dot{
        display: none;
    }
    .none_search{
        display: block;
    }
    .hashtag{
        display: none;
    }
    .tweet_btn{
        display: none;
    }
    .none {
        display: block;
        margin-left: -1.2rem;
    }
   
}

@media(max-width: 998px) {
    .container{
        max-width: 700px !important;
        margin: 0 auto;
    }

    .aside-right{
        display: none;
    }
    .post-heading{
        width: 610px;
    }
  
   
}
@media(max-width: 702px) {
    .post-heading{
        position: static;
        height: 4rem;
        display: flex;
        width: 100%;
    }
   
    .hidden{
        padding-top: 1rem;
    }

}

@media(max-width: 499px) {
    .side-bar{
        display: none;
    }
    .main{
        margin-left: 0;
        position: relative;
    }
    .container{
        padding-left: 0;
    }
    .post-heading-link h3{
        visibility: hidden;
    }

    .nav_btn {
        display: block;
        position: absolute;
        margin-top: 0.5rem;
        margin-left: 1rem;
    }

    .hidden{
        display: none;
    }

    .twitter_logo_{
        display: block !important;
        position: absolute;
        text-align: center;
        width: 100%;
        text-decoration: none;
        font-size: 1.8rem;
        padding: 0.5rem 0.8rem;
        border-radius: 30px;
        transition: 0.2s;
    }
      
    .hll:nth-child(4){
        display: none;
    }
    .hll_cover{
        padding-right: 0 !important;

    }
    .break{
        display: block;
    }
    .tweet_nav{
        display: block;
        position: fixed;
        right: -1rem;
        bottom: 4.5rem;
    }
    .fixed_menu{
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        width: 100%;
        border-top: 1px solid #2f3336;
        background-color: #000000;
        padding: 1rem 0;
    }
    .fixed_menu a{
        font-size: 1.2rem;
        color: #ffffff;
        text-decoration: none;
    }
    .post-heading{
        position: fixed;
        height: 6rem;
    }

    .body-user-post{
        margin-top: 6rem;
    }

    .tweet-num{
        border-top: 1px solid #2f3336;
    }

    ::-webkit-scrollbar{
    width: 2px;
    }
    ::-webkit-scrollbar-track{
    background: transparent;
    }   
s
    ::-webkit-scrollbar-thumb{
    background: #808080;
    border-radius: 5px;
    }

}

