html {
    font-size: 100%;
  }

body {
    font-family: Arial, 'Gill Sans';
    margin: 0;
    padding: 0;
    background-image: url('img/cafe.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    font-size: 1.125rem;
    line-height: 1.5;
    text-align: left;
  }
  

  header {
    background-color: rgba(111, 78, 55, 0.85);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .container {
    max-width: 65ch;
    margin: 0 auto;
    padding: 0 15px;
    line-height: 1.5;
    font-size: 18px;
    text-align: left;
  }

  .nav {
    list-style-type: none;
    text-align: center;
    margin: 20px 0;
    padding: 0;
  }
  
  .nav li {
    display: inline-block;
    background-color: rgba(111, 78, 55, 0.85);
    margin: 0 5px;
    border-radius: 5px;
  }
  
  .nav li a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
  }
  
  main {
    padding: 20px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.85);
    margin: 20px auto;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
  }
  
  main h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #6f4e37;
    text-align: left;
  }
  
  main p {
    padding: 15px 20px;
    border-radius: 8px;
    max-width: 400px;
    line-height: 1.6;
    color: #000000;
    font-size: 18px;
    white-space: pre-line;
  }

  .cafe-img {
    width: 80%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
  }
  
  #toggleButton {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #6f4e37;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.2s;
  }
  
  #toggleButton:hover {
    background-color: #8b5e3c;
  }

  #chatbot {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: fixed;
    bottom: 60px;
    right: 10px;
    width: 250px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1000;
  }
  
  #chatbot.aberto {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .chatbot-header {
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .chat-history {
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    margin-bottom: 8px;
    padding-right: 4px;
  }
  
  #chatbot textarea {
    width: 100%;
    resize: none;
    box-sizing: border-box;
    margin-bottom: 8px;
    font-family: inherit;
  }
  
  #chatbot button {
    width: 100%;
    padding: 8px;
    background-color: #6f4e37;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #chatbot button:hover {
    background-color: #8b5e3c;
  }
  
  @media (max-width: 480px) {
    #chatbot {
      right: 5px;
      bottom: 70px;
      font-size: 14px;
    }
  
    #toggleButton {
      right: 5px;
      padding: 8px 12px;
      font-size: 14px;
    }
  
    .nav li a {
      font-size: 14px;
      padding: 8px 12px;
    }
  }
  