
body { font-family: Arial, 
sans-serif; margin: 0; 
padding: 0; 
}

.container { max-width: 900px; 
margin: auto; 
padding: 20px; 
}

.btn { background: #3498db; 
color: white;
padding: 10px 20px; 
text-decoration: none; 
border-radius: 5px;
}
.gallery-item { 
text-align: center; 
width: 200px;
}

.gallery-item img { width: 100%; 
border-radius: 10px; 
}

.ads { background: #eee;
padding: 15px; 
margin: 30px 0; 
text-align: center; 
border: 2px dashed #aaa;
}

.banner { 
text-align: center;
padding: 50px 20px; 
background: linear-gradient(to right, #2c3e50, #3498db); 
color: white;
position: relative;
z-index: 0;
margin-top: -50px; /* sobe o banner por trás da onda */
}


/* Conteúdo para testar visualmente */
.content {
   background: #f2f2f2;
   padding: 50px;
   text-align: center;
}

.wrapper {
   display: flex;
   max-width: 1200px;
   margin: auto;
   padding: 20px;
   gap: 30px;
   flex-wrap: wrap;
}

.blog {
   flex: 1;
   min-width: 250px;
}

.blog h3 {
   border-bottom: 2px solid #3498db;
   padding-bottom: 10px;
   margin-bottom: 20px;
}

.posts-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 20px;
   margin: 30px 0;
}

.posts-container {
   display: flex;
   gap: 20px;
   flex-wrap: wrap;
   justify-content: center;
   margin: 30px 0;
}

.post-card {
   width: 400px;
   height: 250px;
   background: #fff;
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 4px 12px rgba(0,0,0,0.1);
   transition: transform 0.2s ease;
   display: flex;
   flex-direction: column;
}

.post-card:hover {
   transform: scale(1.03);
}

.card-link {
   text-decoration: none;
   color: inherit;
   display: flex;
   flex-direction: column;
   height: 100%;
}

.card-image {
   width: 100%;
   height: 130px;
   background-size: cover;
   background-position: center;
   flex-shrink: 0;
}

.card-content {
   padding: 15px;
   flex-grow: 1;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
}

.card-title {
   font-size: 18px;
   font-weight: 600;
   margin: 0 0 8px;
   color: #333;
}

.card-meta {
   font-size: 14px;
   color: #777;
}


.user-info {
display: flex;
align-items: center;
margin-top: 10px;
}

.user-info img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
object-fit: cover;
}

/* Estilo do Pop-up */
.popup {
   display: none; /* Inicialmente escondido */
   position: fixed;
   bottom: -300px; /* Inicialmente fora da tela, no fundo */
   right: 20px; /* Alinhado à direita */
   width: 300px;
   background-color: rgba(0, 0, 0, 0.8); /* Fundo semitransparente */
   color: white;
   padding: 15px;
   border-radius: 8px;
   z-index: 10000; /* Para garantir que fique acima de tudo */
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
   animation: slideUp 0.5s ease-out forwards; /* Aplicando animação */
}

/* Animação para o pop-up aparecer de baixo para cima */
@keyframes slideUp {
   0% {
       bottom: -300px; /* Começa fora da tela, abaixo */
       opacity: 0; /* Inicialmente invisível */
   }
   100% {
       bottom: 20px; /* Posiciona o pop-up 20px acima do fundo */
       opacity: 1; /* Finaliza visível */
   }
}

.popup-content {
   text-align: center;
}

.close-btn {
   position: absolute;
   top: 10px;
   right: 10px;
   font-size: 24px;
   color: #fff;
   cursor: pointer;
}

.close-btn:hover {
   color: red;
}

.login-btn {
   display: inline-block;
   background-color: #4285F4;
   color: white;
   border: none;
   border-radius: 8px;
   padding: 12px 25px;
   font-size: 15px;
   font-weight: bold;
   cursor: pointer;
   margin-top: 20px;
   transition: 0.3s;
 }
 
 .mega-card {
   background: rgba(214, 214, 214, 0.75);
   backdrop-filter: blur(10px);
   border-radius: 16px;
   padding: 40px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
   color: white;
   max-width: 1000px;
   margin: 40px auto;
   animation: floatFade 1s ease forwards;
   opacity: 0;
   transform: translateY(30px);
 }
 
 .mega-card h2 {
   font-size: 1.8em;
   margin-top: 30px;
   color: #111;
 }
 
 .mega-card p, .mega-card ol {
   font-size: 1.1em;
   line-height: 1.6;
   color: #111;
 }
 
 /* Galeria interna */
 .gallery {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 20px;
   margin-top: 20px;
 }
 
 .gallery-card {
   background: rgba(80, 80, 80, 0.6);
   backdrop-filter: blur(5px);
   border-radius: 12px;
   padding: 10px;
   text-align: center;
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
   color: white;
   transition: transform 0.3s ease;
 }
 
 .gallery-card:hover {
   transform: translateY(-5px) scale(1.03);
 }
 
 .gallery-card img {
   width: 100%;
   border-radius: 10px;
   margin-bottom: 8px;
 }
 
 /* Animação de entrada */
 @keyframes floatFade {
   to {
     opacity: 1;
     transform: translateY(0);
   }
 }
 