* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
}

@font-face {
  font-family: 'Berlin Sans FB';
src: url('../fonts/BerlinSansFB.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Berlin Sans FB', sans-serif;
  color: white;
  background-color: #02002dff;
  font-weight: 500;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

header {
  width: 100vw;
    height: 100vh;
    background: #02002dff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

nav {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 2;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

nav a:hover {
    color: #ff426c;
    transform: translateY(-3px);
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
 }

 .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 50px;
    left: 20px;
    background: #ff426c;
    padding: 10px;
    border-radius: 5px;
    z-index: 2;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu a:hover {
    color: #303090;
}

#logo {
 text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

#logo img {
    width: 600px;
    height: auto;
    margin-top: -1px;
    font-family: 'Open-Sans', sans-serif;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.line1, .line2 {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.line1 h1, .line2 h1 {
    font-size: 55px;
    font-weight: bold;
    margin: 0;
}

.line1 h4 {
    font-size: 25px;
    font-weight: lighter;
    margin: 0;
    white-space: nowrap;
    color: white;
}

.separator {
    width: 60px;
    height: 2px;
    background-color: white;
    margin: 0 20px;
    margin-top: 5px;
}

.line1 h1:nth-of-type(2) {
    color: #303090;
}

.line2 h1:first-of-type {
    color: #ff426c;
}

.resume-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.resume-icon:hover {
    transform: scale(1.2);
    color: #ff426c;
}

.social-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 15px;
    z-index: 2;
}

.social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ff426c;
}

@media (max-width: 768px) {

     .mobile-menu {
        display: none;
    }

     #mobile-menu {
        display: none;
    }

}

@media (max-width: 768px) {

    nav {
        display: none;
    }
    .menu-icon {
        display: block;
    }
    .line1 h1, .line2 h1 {
        font-size: 30px;
    }
    .line1 h4 {
        font-size: 18px;
    }
    .separator {
        width: 30px;
    }

    #logo img {
        width: 500px;
        height: auto;
        font-family: 'Open-Sans', sans-serif;
    }

}

@media (max-width: 600px) {

    #logo img {
        width: 400px;
        height: auto;
        font-family: 'Open-Sans', sans-serif;
    }

}

@media (max-width: 500px) {

    #logo img {
        width: 300px;
        height: auto;
        font-family: 'Open-Sans', sans-serif;
    }

}

/*---------------------------------------------------------------------------------------------------------------------------------------- */

.about-section {
    padding-top: 4rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 0rem;
    background-color: #02002dff;
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    color: #ff426c;
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeIn 1.5s ease-in-out;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    animation: slideInLeft 1s ease-in-out;
}

.about-text strong {
    color: white;
}

@keyframes blink {
    50% { border-color: black; }
}

.about-skills {
    background-color: #0b0943;
    padding: 2rem;
    border-radius: 10px;
    animation: slideInRight 1s ease-in-out;
    height: fit-content;
    animation: float2 3s ease-in-out infinite;
}

.about-skills h3 {
    text-align: center;
    font-size: 1.5rem;
    color: white;
    margin: 3rem 0 3rem 0;
}

.profile-photo {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: -1rem;
}

.profile-photo img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
}

@keyframes float2 {
      0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-15px);
        }
        100% {
            transform: translateY(0);
        }
}

/* Habilidades Técnicas como Tags */
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #ff426c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background-color: #ff426c; /* Cor ao passar o mouse */
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-card {
    background-color: #1e1d2a;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.highlight-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff426c;
}

.highlight-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }

    .profile-photo img {
        width: 220px;
        height:  220px;
    }

    .skills-tags {
        justify-content: center;
    }
}

/* Estilos da Seção de Artigos */
.articles-section {
    padding: 4rem 2rem;
    background-color: #02002dff;
    color: white;
}

.articles-content {
    max-width: 1200px;
    margin: 0 auto;
}

.articles-title {
    font-size: 2.5rem;
    color: #ff426c;
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: #0b0943;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Estilos da Seção de Projetos */
.projects-section {
    padding-top: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
    padding-bottom: 2rem;
    background-color: #02002dff;
    color: white;
}

.projects-content {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-title {
    font-size: 2.5rem;
    color: #ff426c;
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-card {
     background-color: #0b0943;
       border-radius: 10px;
       padding: 2rem;
       display: flex;
       flex-direction: column;
       gap: 1.5rem; /* espaço entre os itens */
       transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-media {
    width: 100%;
}

.card-content {
    flex: 1 1 60%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tags-container {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 25px;
    justify-content: center; /* garante alinhamento à esquerda */
    align-items: center;     /* opcional, para alinhar ao topo */
    text-align: center;
}

.tags-container .tag {
  background-color: #ff426c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  user-select: none;
}

.card-icon {
    text-align: center;
    font-size: 2.5rem;
    color: #ff426c;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: #ff426c;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.card-footer:hover {
    color: #303090;
}

.card-footer a {
   font-weight: bold;
   color: #e91e63;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
   transition: color 0.3s ease;
}

.youtube-video iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  display: block;
}

/* Recomendações */
.recommendations-title {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.recommendations-section{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
background: linear-gradient(to right, #ffd649ff, #ff426cff);
}

.recommendations-content{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
}

.carousel-container {
      position: relative;
      overflow: hidden;
      height: auto;
      transition: height 0.4s ease;
      border-radius: 8px;
}

.carousel-track {
      display: flex;
      transition: transform 0.5s ease;
      will-change: transform;
}

.carousel-item {
      flex: 0 0 100%;
      user-select: none;
}

.carousel-item img {
    width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  gap: 10px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicators button.active {
  background-color: #3D3DB8;
}

.carousel-indicators button:focus {
  outline: 2px solid #3D3DB8;
  outline-offset: 2px;
}

/* Seção de Contato */
.contact-section {
    padding: 4rem 2rem;
    background-color: #02002dff;
    color: white;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    color: #ff426c;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #1e1d2a;
    padding: 2rem;
    border-radius: 10px;
    animation: slideInLeft 1s ease-in-out;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: none;
    background-color: #2c2b3c;
    color: white;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: #3d3c50;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    background-color: #ff426c;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    background-color: #303090;
    transform: translateY(-3px);
}

/* Ícones de contato */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-icons a {
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-icons a:hover {
    transform: scale(1.2);
    color: #ff426c;
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}

.footer {
    background-color:#0b0943;
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-about h3 {
    font-size: 1.3rem;
    color: #ff426c;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ff426c;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out;
}

.footer-links ul li a:hover {
    color: #ff426c;
}

.footer-social .footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 0.5rem;
}

.footer-social .footer-social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer-social .footer-social-icons a:hover {
    transform: scale(1.2);
    color: #ff426c;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Responsividade */
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social .footer-social-icons {
        justify-content: center;
        align-itens: center;
    }
}


/* Responsividade */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

  .videos-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-description {
        font-size: 0.9rem;
    }
}

.skeleton-card {
    background: #1E1D2A;
    border-radius: 8px;
    padding: 16px;
    width: 300px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-icon, .skeleton-title, .skeleton-description, .skeleton-footer {
    background: #cfcfcf;
    border-radius: 4px;
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.skeleton-title {
    width: 80%;
    height: 16px;
}

.skeleton-description {
    width: 100%;
    height: 12px;
    margin: 8px 0;
}

.skeleton-footer {
    width: 60%;
    height: 14px;
}

/* Animação do brilho */
@keyframes shimmer {
    0% { background-color: #e0e0e0; }
    50% { background-color: #d6d6d6; }
    100% { background-color: #e0e0e0; }
}

/* Suport */

.support-section {
  padding-bottom: 3rem;
  padding-top: 0rem;
  max-width: 900px;
  margin: 3rem auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.support-container {
  display: flex;
  border-radius: 15px;
  overflow: hidden;
}

.support-text-content {
background: linear-gradient(to right, #ffd649ff, #ff426cff);
  color: #fff;
  padding: 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.support-text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.thank-you {
  font-style: italic;
  font-size: 1rem;
  margin-top: auto;
  color: #fce4ec;
}

.support-qr-content {
  flex: 1;
  background-color: #fff; /* fundo branco para o QR code */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.support-qr-content img {
  max-width: 280px;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.support-qr-content img:hover {
  transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
  .support-container {
    flex-direction: column;
    margin-right: 2rem;
    margin-left: 2rem;
  }

  .support-text-content, .support-qr-content {
    padding: 1.5rem 2rem;
  }

  .support-title {
    font-size: 2rem;
  }

  .support-qr-content img {
    max-width: 220px;
  }
}
