/* --- ESTILO GERAL --- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #001226;
    color: #FFF;
}

p {
    text-align: justify;
    line-height: 1.5;
}

p1 {
    text-align: center;
    line-height: 1.5;
}

header {
    background-color: #002139;
    color: white;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
}

.top-banner {
    width: 100%;
    overflow: hidden;
}

/* --- MENU --- */
nav {
    background-color: #002139;
}

#menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#menu-list li {
    margin: 0 15px;
}

#menu-list a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    line-height: 2.5;
}

#menu-toggle {
    display: none;
}

/* --- MAIN CONTENT --- */
main {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

section {
    margin-bottom: 40px;
}

/* --- FLEX CONTAINER (Typing + Slide side by side) --- */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.typing-section {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.slide-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

/* --- TYPING EFFECT --- */
.typing-animation {
    font-size: 1.2rem;
    color: #FBEA80;
    font-family: 'Courier New', monospace;
    white-space: normal;
    overflow: hidden;
    display: inline-block;
    border-right: 2px solid #FBEA80;
    word-break: break-word;
}

.author-line {
    font-size: 1rem;
    color: #FBEA80;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
}

/* Cursor Blink Animation */
@keyframes blinkCursor {
    from { border-right-color: #FBEA80; }
    to { border-right-color: transparent; }
}


/* --- BIRTHDAY CAROUSEL SECTION --- */
.birthday-carousel-section {
    position: relative;
    background: linear-gradient(145deg, #001226, #002139);
    padding: 30px 20px;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
}

.birthday-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-right: 60px;
  padding: 10px;
  border-radius: 12px;
  min-width: 180px;
}


.birthday-card p {
  margin: 0;
  padding: 0;
  font-size: 24px; /* Aumentado */
  line-height: 1.5;
  font-weight: bold;
  color: #fff;
}

.birthday-card span {
  font-size: 18px;
  line-height: 1.5;
  color: #ddd;
}

.birthday-card img {
  width: 60px;
  margin-bottom: 5px;
}

/* Destaque para aniversariantes do dia */
.birthday-card.highlight {
  background: linear-gradient(135deg, #4e4eff, #4207a1);
  animation: brilho 2s infinite alternate; /* TEMPO DA ANIMAÇÃO DA SOMBRA */
  box-shadow: 0 0 15px rgba(144, 238, 144, 0.7);
}

@keyframes brilho {
  from {
    box-shadow: 0 0 10px rgba(50, 5, 10, 0.6);
  }
  to {
    box-shadow: 0 0 25px rgba(25, 74, 51, 1); /* COR DA SOMBRA DO CARD */
  }
}







#confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.birthday-carousel-section h2 {
    position: relative;
    z-index: 2;
    color: #FFF; /* COR DO TEXTO | HAPPY BIRTHDAT! */
    font-size: 1.8rem;
    margin-bottom: 50px;
}

/* --- CAROUSEL TRACK --- */
.carousel-track {
    display: flex;
    width: max-content;
    animation: scrollCarousel 20s linear infinite;
    position: relative;
    z-index: 2;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- BIRTHDAY CARD --- */
.birthday-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #6c97ba; /* COR DO CARTÃO DE ANIVERSÁRIO */
    border-radius: 20px;
    padding: 15px 20px;
    width: 160px;
    margin: 0 10px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.birthday-card:hover {
    transform: scale(1.1);
}

.birthday-card img {
    width: 40px;
    margin-bottom: 10px;
}

.birthday-card p {
    color: #FFF;
    font-size: 1rem;
    margin: 0;
}

.birthday-card span {
    color: #FBEA80;
    font-size: 0.9rem;
}

.birthday-card.highlight {
    background: #5e0117 !important; /* COR DO ANIVERSARIANTE DO DIA */
    color: #000 !important;
    transform: scale(1.2);
    z-index: 5;
}

.birthday-card.highlight span {
    color: #000;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .birthday-card {
        width: 120px;
        padding: 10px;
    }
    .typing-section, .slide-container {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .birthday-card {
        width: 90px;
        padding: 8px;
    }
    .typing-animation {
        font-size: 1rem;
    }
}

/* --- FOOTER --- */
footer {
    background-color: #011a36;
    color: #FFF;
    text-align: center;
    padding: 40px 15px;
    font-size: 1rem;
    border-top: 2px solid #FBEA80;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

footer .social-icons img {
    transition: transform 0.3s ease;
}

footer .social-icons img:hover {
    transform: scale(1.2);
}
