@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family:  'Poppins', sans-serif;
}
body {
    background-color: black;
}

a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 24px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0 10px 13% ;
    width: 29%;
    height: 100%;
    position: fixed;
}

.nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70%;
    justify-content: space-between;
}

.nav-links a {
    display: flex;
    align-items: center;
    font-size: 2rem;
    padding: 8px 25px 8px 8px;
    width: fit-content;
}

.nav-links a i {
    font-size: 3rem;
    margin-right: 15px;

}

.nav-links a:hover , .main-account a:hover {
    background-color:rgb(47,51,54);
    border-radius: 9999px;
}

.nav-links a:first-child {
    padding: 8px 8px;
}

.nav-links a:first-child  i {
    margin: 0;
}

.tweet-button {
    background-color: rgb(29,155,240);
    width: 90%;
    height: 55px;
    border-radius: 9999px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 1.7rem;
    color: white;
    font-weight: 700;
    border: 1px solid black;
    transition-duration: 0.2s;
}

.tweet-button:hover {
    background-color: rgb(29,155,240 , 0.9); 
}

.main-account {
    width: 100%;
    height: 100%;
    padding-top: 185px;
}

.main-account a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 8px 15px;
    margin-right: 10px;
}

.tweet-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: white;
}
.account-details {
    display: flex;
    flex-direction: column;
    flex-basis: 70%;
    margin-left: 10px;
    font-size: 1.5rem;
    line-height: 20px;
}

.account-name {
    font-weight: 500;
}

.account-handle {
    color: rgb(110,118,125);
}
main {
    width: 71%;
    height: 100%;
    margin-left: 29%;
}
.main-flex {
    display: flex;
    width: 100%;
}
.main-feed {
    width: 50%;
    border-left: 1px solid rgb(47,51,54);
    border-right: 1px solid rgb(47,51,54);

}

.home-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    width: 100%;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    padding: 0 15px;
    position: sticky;
    top: 0;
    background-color: black;
}

.new-tweet {
    display: flex;
    width: 100%;
    height: 120px;
    padding: 4px 16px;
}

.new-tweet .tweet-img {
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.new-tweet-details {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-top: 4px;
    width: 100%;
    margin-left: 12px;
}

.new-tweet-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
}

.new-tweet-actions ul {
    display: flex;
    list-style: none;
}

.new-tweet-details input {
    width: 100%;
    height: 24px;
    background-color: black;
    font-size: 2rem;
    border: none;
    color: white;
    outline: none;
}

.new-tweet-actions  ul li {
    margin-right: 12px;
    color: #1c88d2;
    cursor: pointer;
}

.new-tweet-actions .twwet-button {
    width: 75px;
    height: 35px;
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
    
}

.feed-tweet {
    display: flex;
    width: 100%;
    min-height: 100px;
    padding: 12px 16px 0px 16px;
    border-top: 1px solid rgb(47,51,54);
    cursor: pointer;
}

.feed-tweet-detalis {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 12px;
}

.feed-tweet i {
    color: rgb(110,118,125);
    font-size: 2rem;
}

.tweeter-detalis {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 1.5rem;
}

.tweeter-detalis a {
    font-weight: 700;
}

.tweeter-detalis span {
    color: rgb(110,118,125);
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: 3px;
}

.tweet-text {
    color: white;
    font-size: 1.5rem;
    width: 100%;
}
.tweet-icons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 15px 0;
    padding-right: 50px;
}

.side-feed {
    width: 50%;
    padding: 0 2%;
}

.search {
    display: flex;
    height: 55px;
    max-width: 355px;
    position: sticky;
    top: 0;
    padding-top: 5px;
    background-color: black;
}

.search input {
    background-color: #212327;
    border-radius: 9999px;
    height: 45px;
    width: 100%;
    border: none;
    padding-left: 30px;
    font-size: 1.5rem;
    color: white;
    line-height: 20px;
    font-weight: 400;
}

.trending {
    display: flex;
    flex-direction: column;
    height: 570px;
    max-width: 355px;
    border-radius: 16px;
    background-color: #212327;
    margin-top: 16px;
}

.h1-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    line-height: 24px;
    padding: 15px 15px;
}

.trending-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 90px;
    margin-top: 5px;
    padding: 0 15px;
    color: rgb(110,118,125);
    font-size: 1.5rem;
    font-weight: 600;
}

.item-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trending span {
    font-size: 1.3rem;
    font-weight: 400;
}

.trending p {
    color: white;
}

.trending-item:hover , .show-more:hover , .follow-profile:hover{
    background-color: #1c1e22;
    cursor: pointer;
}

.show-more{
    display: flex;
    align-items: center;
    color: #1c88d2;
    font-size: 1.5rem;
    font-weight: 300;
    width: 100%;
    padding: 15px 15px;
    border-bottom-right-radius:16px ;
    border-bottom-left-radius:16px ;
}

.follow {
    display: flex;
    flex-direction: column;
    height: 250px;
    max-width: 355px;
    border-radius: 16px;
    background-color: #212327;
    margin-top: 16px;
}

.follow-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    margin-top: 5px;
    padding:30px 15px;
}

.follow-details {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.follow-details a {
    font-size: 1.4rem;
    font-weight: 700;
}
.follow-details a:hover {
    text-decoration: underline;
}

.follow-details span {
    color: rgb(110,118,125);
    font-size: 1.4rem;
    font-weight: 400;
}

#follows {
    font-weight: 300;
    font-size: 1.35rem;
    background-color: #1c1e22;
    border-radius: 3px;
    padding: 2px 4px;
}

.follow .tweet-button {
    width: 75px;
    height:35px ;
    margin: 0 0 0 12px;
    font-weight: 600;
    font-size: 1.5rem;
    background-color: white;
    color: black;
}
.follow .show-more {
    padding: 10px 15px;
}

@media screen and (max-width:1260px ) {
    header {
        width: 10%;
        padding: 10px 0;
    }
    main {
        margin-left: 10%;
    }
    header span {
        display: none;
    }
    header .tweet-button {
        width: 55px;
        border-radius: 50%;
        font-size: 1.4rem;
    }

    header .main-account {
        display: flex;
        justify-content: center;
    }
    header .main-account i {
        display: none;

    }
    header .account-details{
        display: none;
    }
    .nav-links {
        align-items: center;
    }
    .nav-links a i {
        margin-right: 0;
    }
    .nav-links a, .main-account a {
        padding: 10px 10px;
    }
}
    
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family:  'Poppins', sans-serif;
}
body {
    background-color: black;
}

a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 24px;
}

/* ----- ORIGINAL CSS HERE (unchanged) ----- */

/* [Place original CSS content here, unchanged for brevity in this response] */

/* ===== Responsive Enhancements ===== */
@media screen and (max-width: 1024px) {
  .main-feed {
    width: 100%;
    border-left: none;
    border-right: none;
  }
  .side-feed {
    display: none;
  }
  .new-tweet, .feed-tweet {
    flex-direction: column;
    align-items: flex-start;
  }
  .feed-tweet-detalis {
    margin-left: 0;
  }
  .tweet-text {
    font-size: 1.4rem;
  }
  .tweet-icons {
    padding-right: 20px;
  }
  .new-tweet-actions ul {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 9px;
  }
  .tweet-button {
    width: auto;
    font-size: 1.4rem;
    padding: 10px 15px;
  }
  .tweet-img {
    width: 36px;
    height: 36px;
  }
  .new-tweet-details input {
    font-size: 1.8rem;
  }
  .nav-links a {
    padding: 8px 12px;
  }
  .main-account {
    padding-top: 120px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 8px;
  }
  header {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  .main-account {
    display: none;
  }
  .nav-links {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    height: auto;
  }
  .nav-links a span {
    display: none;
  }
  main {
    width: 100%;
    margin-left: 0;
  }
  .main-feed {
    width: 100%;
  }
  .tweet-icons {
    font-size: 1.5rem;
    justify-content: space-around;
  }
  .search, .trending, .follow {
    display: none;
  }
}
