/* Importação da base do Tailwind CSS (substitui o script da CDN) */
@import "https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css";

/* Adicione esta regra para rolagem suave em toda a página */
html {
    scroll-behavior: smooth;
}

/* Seus estilos customizados da index.html e outras páginas */
.chart-container {
    height: 300px;
    position: relative;
}
.skill-bar {
    transition: width 1.5s ease-in-out;
}
#projects .project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#projects .project-card:hover {
    transform: translateY(-5px);
}
.floating {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* Mostra/esconde ícones de tema (sol/lua) */
#theme-toggle-icon .fa-sun, #theme-toggle-icon-mobile .fa-sun {
    display: none;
}
html.dark #theme-toggle-icon .fa-sun, html.dark #theme-toggle-icon-mobile .fa-sun {
    display: inline-block;
}
html.dark #theme-toggle-icon .fa-moon, html.dark #theme-toggle-icon-mobile .fa-moon {
    display: none;
}
/* Estilos da página de detalhes do projeto */
.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 60%; /* Proporção de 16:9, ajuste se necessário */
}
.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.post-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.post-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.post-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.post-content h5 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.post-content h6 {
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.post-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1.5rem;
}
.post-content ol {
  padding-left: 1.5rem;
  list-style-type: decimal;
  margin-bottom: 1.5rem;
}
.post-content blockquote {
  padding: 1rem 1.5rem;
  border-left: 4px solid #f97316;
  background-color: #fef3c7;
  margin: 1.5rem 0;
  font-style: italic;
}

.post-content a {
  color: #f97316;
  text-decoration: underline;
}

.post-content a:hover {
  color: #ea580c;
}

/* Estilos para o Aviso de Cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937; /* Cor escura (gray-800) */
    color: #e5e7eb; /* Cor de texto clara (gray-200) */
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-consent-banner.active {
    transform: translateY(0);
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.cookie-consent-banner a {
    color: #fb923c; /* Cor laranja (orange-400) */
    text-decoration: underline;
}

.cookie-consent-button {
    background-color: #ea580c; /* Cor laranja principal (orange-600) */
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.cookie-consent-button:hover {
    background-color: #c2410c; /* Cor laranja mais escura (orange-700) */
}