/* =========================
   RESET
========================= */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* =========================
   TOPBAR
========================= */

.topbar {
  /* POSIÇÃO */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  /* LAYOUT */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  /* VISUAL */
  background: #cc2774;
  color: white;
  padding: 5px 0;
  min-height: 30px;
}

/* TEXTO ROTATIVO */
.topbar-text {
  position: relative;
  width: 100%;
  height: 25px;
  overflow: hidden;
}

/* TEXTOS */
.topbar-text span {
  position: absolute;
  width: 100%;
  text-align: center;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;

  opacity: 0;
  transform: translateX(100%);

  animation: slideTexto 18s infinite;
}

/* DELAYS */
.topbar-text span:nth-child(1) {
  animation-delay: 0s;
}

.topbar-text span:nth-child(2) {
  animation-delay: 6s;
}

.topbar-text span:nth-child(3) {
  animation-delay: 12s;
}

/* ANIMAÇÃO */
@keyframes slideTexto {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  10% {
    opacity: 1;
    transform: translateX(0);
  }

  30% {
    opacity: 1;
    transform: translateX(0);
  }

  40% {
    opacity: 0;
    transform: translateX(-100%);
  }

  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

/* LINHA DA TOPBAR */
.topbar-border {
  height: 2px;
  background: #5c3a21;
}

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 40px; /* abaixo da topbar */
  width: 100%;
  z-index: 999;
  background: rgb(248, 149, 207);
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* CONTEÚDO HEADER */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px 30px;
}

/* =========================
   LOGO
========================= */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   MENU
========================= */

.menu ul {
  display: flex;
  gap: 25px;

  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: #5c3a21;

  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;

  transition: 0.3s;
}

.menu a:hover {
  color: #ffffff;
}

/* =========================
   ÍCONES
========================= */

.icons {
  display: flex;
  gap: 20px;

  font-size: 18px;
  cursor: pointer;
}

.icons i {
  transition: 0.3s;
}

.icons i:hover {
  color: #9c0233;
}

/* =========================
   LINHA HEADER
========================= */

.header-border {
  height: 1px;
  background: #eee;
}

/* =========================
   AJUSTE GLOBAL (MAIN)
========================= */

main {
  margin-top: 120px; /* espaço topbar + header */
}