/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #00a8cc, #007ea7);
  background-color: #add8e6; /* Light blue background for water effect */
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: #034078;
  color: #fff;
  padding: 30px 20px 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Container superior: logo + nome */
.topo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 50px;
}

/* Logo + nome */
.logo-nome {
  display: flex;
  align-items: center;
  gap: 0;
  flex-grow: 1;
}

/* Logo gigante */
.logo {
  height: 180px; /* gigante! */
  width: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Nome da escola  para direita */
.logo-nome h1 {
  font-size: 2.1em;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-left: 40px;
  white-space: nowrap;
}

/* Subtítulo */
header p {
  font-size: 1.2em;
  margin-top: 15px;
  font-style: italic;
  color: #d6ecf3;
  text-align: center;
}

/* Navegação */
nav {
  background: #016080;
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: 1100px;
  margin: 25px auto 40px;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(1, 96, 128, 0.5);
  overflow: hidden;
  text-align: center;
}

nav a {
  display: inline-block;
  padding: 15px 30px;
  color: #e0f7fa;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1em;
  letter-spacing: 0.05em;
  transition: background 0.35s ease, color 0.35s ease;
}

nav a:hover {
  background: #00e6ff;
  color: #016080;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 0 0px #00e6ff;

}

nav a.active {
  background: #00e6ff;
  color: #016080;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 0 0px #00e6ff;
}


/* Conteúdo */
main {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 20px;
  flex-grow: 1;
}

main h2 {
  color: #ffffff;
  margin-bottom: 20px;
  border-left: 6px solid #00e6ff;
  padding-left: 15px;
  font-size: 2.2em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Rodapé estilizado com Instagram */
footer {
  background: #034078;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-size: 1em;
  z-index: 10;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #00e6ff;
}

footer img.insta-footer-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  vertical-align: middle;
}

footer img.insta-footer-icon:hover {
  transform: scale(1.2);
}

#fish {
            position: relative;
            width: 250px; /* Adjust fish size */
            height: 100px; /* Adjust fish size */
            background-image: url('imagens/peixe07.gif'); /* Replace with your fish image */
            background-size: contain;
            background-repeat: no-repeat;
            pointer-events: none; /* Allows mouse events to pass through the fish */
            transition: transform 0.4s ease-out; /* Smooth movement */
        }
