@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}


.secao-sobre {
  text-align: center;
  margin: 0 auto;
  width: 70%;
  padding: 20px;
  border: 1px solid #ccc;
}

/* Wrapper para permitir scroll horizontal em telas pequenas */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* scroll suave em iOS */
}

h1,
h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 2rem auto;
}

h3 {
  text-align: left;
  font-size: 22px;
  margin: 2rem 0;
  font-weight: 500;
}

p {
  font-size: 20px;
  font-weight: 100;
  letter-spacing: 1px;
  text-align: left;
}

#destak {
  color: rgb(36, 177, 177);
  font-weight: 500;
  font-size: 22px;
}

/* estilização da tabela */

table {
  width: 100%;
  border-collapse: collapse;
}

table,
th,
td {
  border: 1px solid black;
}

th,
td {
  padding: 10px;
  text-align: center;
  word-wrap: break-word; /* para quebrar palavras longas */
}

#win {
  background-color: rgb(97, 237, 97);
}

.footer-logo p {
  font-size: 16px;
}

.footer-social-icons h1 {
  font-size: 32px;
}

.footer-social-icons h2 {
  font-weight: 300;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .secao-sobre {
    width: 100%;
    padding: 18px;
  }

  h1,
  h2,
  h3 {
    font-size: 20px;
    text-align: center;
  }

  table {
    width: 100%;
    font-size: 12px;
  }

  th,
  td {
    padding: 4px;
  }

  .footer-social-icons a {
    font-size: 20px;
    margin: 0.5rem;
  }

  .footer-social-icons h2 {
    font-size: 16px;
  }
}

.img-historia-padrao {
  text-align: center;
  margin: 20px 0;
  padding-top: 2rem;
}

.img-historia-padrao img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.img-historia-padrao img:hover {
  transform: scale(1.02);
}

.legenda {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}


/* Contêiner responsivo para o iframe */
        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border-radius: 0.5rem;
            
        }

        .video-container iframe {
            position: absolute;
            padding: 2rem;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 0.5rem; 
        }

        
        @media (max-width: 520px) {
            .video-container {
                max-width: 100%;
            }
        }