* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sidebarOption {
  display: flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}


.sidebarOption .material-icons,
.fa-twitter {
  padding: 20px;
  list-style: none;
}

.sidebarOption h2 {
  font-weight: 800;
  font-size: 20px;
  margin-right: 20px;
}
.sidebarOption h6 {
  font-weight: 500;
  font-size: 15px;
  margin-left: 20px;
}


.sidebarOption:hover,
.sidebarOption.clicked {
  background-color: #c2cae8;
  border-radius: 30px;
  color: var(--twitter-color);
}

.sidebarOption.active {
  background-color: #c2cae8;
  border-radius: 30px;
}

.sidebar__tweet {
  width: 100%;
  background-color: var(--twitter-color);
  border: none;
  color: white;
  font-weight: 900;
  border-radius: 30px;
  height: 50px;
  margin-top: 20px;
}

body {
  display: flex;
  height: 100vh;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  --twitter-color: rgb(29, 155, 240);
  --twitter-background: #e6ecf0;
  position: relative;
}

.sidebar {
  border-right: 1px solid var(--twitter-background);
  flex: 0.2;

  min-width: 250px;
  margin-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.fa-twitter {
  color: var(--twitter-color);
  font-size: 30px;
}

/* feed */
.feed {
  flex: 0.7;
  border-right: 1px solid var(--twitter-background);
  min-width: fit-content;
  overflow-y: scroll;
}

.feed__header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 100;
  border: 1px solid var(--twitter-background);
  padding: 15px 20px;
  cursor:pointer;
}

.feed__header h2 {
  font-size: 20px;
  font-weight: 800;
}

.feed::-webkit-scrollbar {
  display: none;
}

.feed {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* tweet box */
.tweetbox__input img {
  border-radius: 50%;
  height: 40px;
}

.tweetbox1__input img {
  border-radius: 50%;
  height: 40px;
}

.tweetBox {
  padding-bottom: 10px;
  border-bottom: 8px solid var(--twitter-background);
  padding-right: 10px;
}

.tweetBox form {
  display: flex;
  flex-direction: column;
}

.tweetbox__input {
  display: flex;
  padding: 20px;
}

.tweetbox1__input {
  display: flex;
  padding: 20px;
}

.tweetbox__input input {
  flex: 1;
  margin-left: 20px;
  font-size: 20px;
  border: none;
  outline: none;
}

.tweetbox1__input input {
  flex: 1;
  margin-left: 20px;
  font-size: 20px;
  border: none;
  outline: none;
}



/* post */
.post__avatar img {
  border-radius: 50%;
  height: 40px;
}

.post {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--twitter-background);
  padding-bottom: 10px;
}

.post__body img {
  width: 450px;
  object-fit: contain;
  border-radius: 40px;
}

.post__footer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.post__badge {
  font-size: 14px !important;
  color: var(--twitter-color);
  margin-right: 5px;
}

.post__headerSpecial {
  font-weight: 600;
  font-size: 12px;
  color: gray;
}

.post__headerText h3 {
  font-size: 15px;
  margin-bottom: 5px;
}

.post__headerDescription {
  margin-bottom: 10px;
  font-size: 15px;
}

.post__body {
  flex: 1;
  padding: 80px;
}

.post__avatar {
  padding: 20px;
}

/* widgets */
.widgets {
  flex: 0.3;
}

.widgets__input {
  display: flex;
  align-items: center;
  background-color: var(--twitter-background);
  padding: 10px;
  border-radius: 20px;
  margin-top: 10px;
  margin-left: 20px;
}

.widgets__input input {
  border: none;
  background-color: var(--twitter-background);
}

.widgets__searchIcon {
  color: gray;
}

.widgets__widgetContainer {
  margin-top: 15px;
  margin-left: 20px;
  padding: 20px;
  background-color: #f5f8fa;
  border-radius: 20px;
}

.widgets__widgetContainer h2 {
  font-size: 18px;
  font-weight: 800;
}

.generator-results__caption {
    font-size: 1.125rem;
    color: #2980b9;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.generator-results__insta {
    font-size: 1.125rem;
    color: #ff0000;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.generator-results__content {
    background-color: #fff;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 1.25rem;
    border-radius: 1rem;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    max-width: 30rem;
}

.generator-insta__content {
    background-color: #fff;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 1.25rem;
    border-radius: 1rem;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    max-width: 30rem;
}

.generator-results {
    text-align: center;
}

.generator-results .generator-results__results {
    font-size: 1.25rem;
    word-break: break-word;
    padding-bottom: 1rem;
    color: #34495e;
    width: 100%;
}

* {
    font-size: 1em;
    margin: 0;
    padding: 0;
}

.tweetBox__tweetButton {
  background-color: var(--twitter-color);
  border: none;
  color: white;
  font-weight: 900;

  border-radius: 30px;
  width: 80px;
  height: 40px;
  margin-top: 20px;
  margin-left: auto;
  display: flex;
  align-items: center; /* Căn giữa theo chiều dọc */
  justify-content: center; /* Căn giữa theo chiều ngang */
}

.tweetBox__tweetButton:hover {background-color: var(--twitter-color)}

.tweetBox__tweetButton:active {
  background-color: var(--twitter-color);
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
.tweetBox__tweetButton:disabled,
tweetBox__tweetButton[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}



.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position:absolute; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0px;
  left: 0;
  background-color: #fff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 0px;
  text-decoration: none;
  font-size: 25px;
  color: var(--bs-body-color);
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: var(--twitter-color);
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 900px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.search-form__label {
    display: block;
    margin-bottom: 0.25rem;
    font-style: italic;
    word-break: break-word;
}

label {
    cursor: pointer;
}

.header img {
  background: rgb(300, 300, 300);
  z-index: 1; /* Stay on top */
  top: 0px;
  left: 90px;
}

.header {
  bottom: 100px;
  margin: 20px;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crunchify-rating {
    overflow: hidden;
    margin-bottom: 35px;
    border-radius: 3px;
    box-shadow: 0 0 2px 0 rgba(0,0,0,.12), 0 2px 2px 0 rgba(0,0,0,.24);
    font-size: 16px;
    color: #333;
    padding: 30px 60px 5px;
    background: #fff;
    border-left: 2px solid #157BDA;
}
.crunchify-rating:before {
    content: "Rating"!important;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    float: left;
    margin: 2px 15px 15px 0;
    background: #157BDA;
    padding: 0px 20px;
    border-radius: 30px;
}

/* CSS cũ */
.sidebarList {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebarList li {
    padding: 10px 0;
}



/* CSS mới cho sublist */
.sidebarSubList {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-left: 70px;
}

.sidebarSubList li {
    padding: 5px 0;
}

.sidebarSubList li a {
    text-decoration: none;
    color: #00aced;
    font-size: 14px;
    display: block;
}

.sidebarSubList li a:hover {
    color: #00aced;
}