
  
  body {
    width: 100%;
    margin: 0;
    font-family: sans-serif;
    overflow-x  : hidden;
    
    
  }
  header{
    position: fixed;
  }
  
  .logo {
    background-color: #ff5500;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 5px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    
  }

  header img{
    width: 5em;
  }
  
  .logo h1{
    padding-left: 10px;
  }
  #new-post-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  #new-post-button:hover {
    background-color: #0062cc;
  }
  
  
  header button {
    font-size: 16px;
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  main {
    padding-top: 5.5em;
    width: 100%;
    margin: 20px;
    display: flex;
    
  }
  
  #posts-container {
    flex: 3;
    
    
  }
  
  #posts-container h2 {
    font-size: 24px;
    margin-top: 0;
  }

  .postdown {

    width: 40%;
  }
  
  #posts-list {
    list-style: none;
    margin: 0;
    padding: 0 5px 0 0;
    
  }

  .like-button {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #FFA500;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    margin: 10px;
  }
  
  .like-button:focus,
  .like-button:active {
    outline: none;
  }
  
  .like-button:active {
    background-color: #FF69B4;
  }
  
  
  #posts-list li {
    font-size: 18px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: rgb(255 244 255);
  }
  
  #posts-list li:hover {
    background-color: #eee;

  }

  .aut {
    color: #444;
  }
  
  h3{
   
    border-radius: 10px;
    padding: 8px;
    background-color: rgb(249, 148, 48);
    color: #ffffff;
  }

  .avatar{
    width: 2em;
    padding: 10px 10px 0 10px;
    
  }
  

  .avatEmail{
    color: rgb(6, 134, 238);
    font-size: 1em;
    padding-bottom: 2px;
  }

  
  #post-details {
    width: 50%;
    position: fixed;
    right: 3em;
    border-left: 1px solid grey;
    padding: 0 10px 0 20px;
    overflow-y: scroll;
    scrollbar-width: thin; /* Define a largura da barra de rolagem */
  scrollbar-color: #999 #eee; /* Define a cor da barra de rolagem */
    height: 85%; 
 
  }


/* Estilos para a barra de rolagem */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #fdd5b8;
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background-color: #edecec;
}
  
    header h2 {
    font-size: 24px;
    padding-top: 20px;
  }
  
  #post-details h3 {
    font-size: 20px;

  }

  .post-completo {
    padding: 20px;
    background-color: #fff3f3;
  }
  
  #post-details p {
    font-size: 15px;
    padding: 0 10px 0 10px;
    margin: 5px 0;
  }
  
  #post-details div {
    margin-bottom: 10px;
    border-radius: 10px;
    
  }

  .comentTotal {
    background-color: #fff7f7;
  }

  .coment{
    color: rgb(203, 8, 203);
    font-size: 1.1em;
    padding: 0 10px 0 10px;
    margin: 10px 0;
  }

  .bodyComent{
    font-size: .5em;
  }
  
  #back-to-posts-button {
    font-size: 16px;
    padding: 8px 12px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .hidden {
    display: none;
  }
  
  footer {
    background-color: #444;
    color: #fff;
    padding: 20px 0;
    position: relative;
    width: 100%;
  }
  
  footer a {
    color: #fff;
    margin-left: 10px;text-decoration: none;
  }
  
  footer p {
    margin: 0;
    
  }
  
  
  
  .text-right {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .text-center {
    text-align: center;
  }
  @media (max-width: 900px){
  #post-details {
        border-left: none;
        width: 40%;
        right: 3em;
        padding: 0 10px 0 20px;
  }
  #posts-list {
        padding: 0 10px 0 0;
            
    }
  #post-details {
    

 
  }
  }


  