@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: #fff5f7;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  background-color: #f9d9df;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  height: 70px;
  animation: fadeIn 1s ease-out;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo-box {
  background-color: white;
  padding: 15px;
  border-radius: 0 0 5px 5px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2), 
              -5px 10px 15px rgba(0, 0, 0, 0.2), 
              0px 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 20px;
  width: 170px;
  height: 90px;
}

.logo img {
  height: 70px;
  width: auto;
  margin-top: 10px;
}

.logo-facebook {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.logo-facebook img {
  height: 50px;
  width: auto;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: 80px;
}

.navbar ul li a {
  text-decoration: none;
  color: #5D4037;
  font-weight: bold;
  font-size: 25px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #FFC1CC, #5D4037);
  transition: width 0.4s ease;
  border-radius: 50px;
}

.navbar ul li a:hover::before {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger .bar {
  width: 30px;
  height: 4px;
  background-color: #5D4037;
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.footer {
  text-align: center;
  padding: 15px 10px;
  background-color: #f9d9df;
  color: #5D4037;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
  margin-top: auto;
}

.footer p {
  font-size: 12px;
  margin: 0;
}

.footer a {
  color: #5D4037;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 800px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
    height: auto;
    justify-content: flex-start;
    min-height: 70px;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #f9d9df;
    padding: 10px 0;
    position: absolute;
    top: 70px;
    right: 0;
  }

  .navbar.active ul {
    display: flex;
  }

  .navbar ul li {
    text-align: center;
    padding: 10px 0;
    width: 100%;
  }

  .navbar ul li a {
    font-size: 22px;
  }

  .hamburger {
    display: flex;
  }

  .footer p {
    font-size: 10px;
  }

  .logo-box {
    display: none;
  }
}


@media (max-width: 480px) {
  .navbar ul li a {
    font-size: 24px;
  }
}

.livre img {
  width: 80%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}


.livre {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 80%;
  padding: 20px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .livre {
    width: 95%;
    padding: 15px;
  }

  .livre img {
    width: 100%;
  }
}
