@media (max-width: 768px) {
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f2f2f2;
  color: #333;
  line-height: 1.6;
  text-align: justify;
}

header {
  background: #004080;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 20px;
}
header img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  
  margin-bottom: 20px;
}

.p-header {
  font-size: 0.8em;
}

.paragraph {
  padding-bottom: 15px;
}

.img-git {
  width: 30px;
  height: 30px;
}

.contact-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.contact-icons img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.contact-icons img:hover {
  transform: scale(1.1);
}






section {
  padding: 20px 20px;
  max-width: 1000px;
  margin: auto;
}
h2 {
  
  margin-top: 20px;
  color: #004080;
  text-align: center;
  font-size: 1.7em;
}
.card {
  background: #fff;
  padding: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  font-size: 0.9em;
  max-width: 1000px;
}
.social-links a {
  margin-right: 15px;
  text-decoration: none;
  color: #004080;
  font-weight: bold;
}


.project-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;

}

.project-image {
  display: flex;
  justify-content: center;  /* centraliza horizontalmente */
  align-items: center;      /* centraliza verticalmente */
  height: 100%;             /* ou uma altura fixa, ex: 300px */
  padding: 20px;
}

.project-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
}
.project-content {
  flex: 2 1 400px;
  padding: 24px;
}

.project-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #1f2937;
}

.project-content p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

.h3-project {
  color:#004080;
  font-size: 1.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.tech-stack li {
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  background-color: #004080;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 16px;
  gap: 8px; /* espaço entre texto e ícone */
  transition: background 0.3s;
}

.btn:hover {
  background-color: #496ee7;        /* muda o tom de azul */
  transition: background-color 0.3s ease;
}


.resume-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #bcd7f1;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.resume-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.resume-section p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 20px;
}

.btn-download {
  display: inline-block;
  padding: 12px 24px;
  background-color: #004080;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #2563eb;
}

.resume-icon {
  filter: brightness(1) invert(0);
}


.carousel-card {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centraliza horizontalmente */
  justify-content: center;  /* se quiser centralizar verticalmente */
  gap: 20px;
  padding: 40px 20px;
  
  flex-wrap: wrap;
  background-color: #dbdddf;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;


}
.carousel-container {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .carousel {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.4s ease-in-out;
    }

    .carousel img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      flex: 0 0 100%;
    }

    .carousel-controls {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 700px; /* igual ao carousel-container */
}

    .carousel-btn {
      background-color: #004080;
      color: white;
      border: none;
      padding: 10px 16px;
      font-size: 22px;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .carousel-btn:hover {
      background-color: #0056b3;
    }


  .skills-card {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centraliza horizontalmente */
  justify-content: center;  /* se quiser centralizar verticalmente */
  gap: 20px;
  padding:10px 20px;
  
  flex-wrap: wrap;
  background-color: #004080;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 1000px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;

    }

.skills-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.skills-section h2 {
  font-size: 40px;
  color: #fcfdff;
}

.skill-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 🔵 centraliza os cards */
  gap: 24px;
  margin-top: 30px;
}

.skill-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.skill-card h3 {
  color: #007BFF;
  margin-bottom: 12px;
}

.skill-card ul {
  list-style-type: disc;
  padding-left: 18px;
  margin: 0;
}

.skill-card li {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
}

footer {
  background: #004080;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer p {
  margin: 0;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
}
}