/* ---- base ---- */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
input,
select {
  vertical-align: middle;
}
li {
  list-style: none;
}

/* =============================================================================
                                 CSS
   ========================================================================== */
.tinos-regular {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: normal;
}

.tinos-bold {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: normal;
}

.tinos-regular-italic {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: italic;
}

.tinos-bold-italic {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: italic;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #44719b;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
}
h1, h2, h3, h4, .logo {
  font-family: "Tinos", serif; /* Tinos é ótima para dar destaque e personalidade */
}
/* =============================================================================
                                particles.js container
   ========================================================================== */

#particles-js {
  width: 100%;
  height: 100%;
  background-color: #44719b;
  background-image: url("");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

/* =============================================================================
                                 Navbar
   ========================================================================== */
.navBar {
  width: 100%;
  padding: 15px 5%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #44719b;
}

.containerBtn {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: 50px;
}
.btn {
  color: #333333;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}
.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #44719b;
  left: 0;
  bottom: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn:hover {
  color: #44719b; /
}

.btn:hover::after {
  transform: scaleX(1); 
}

.overlayMenu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  z-index: 1000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
 
}

.menuHamburguer {
  width: 280px; 
  height: 100%;
  background-color: #ffffff;
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2); 
  padding: 20px;
  box-sizing: border-box;
  transition:ease-in-out 0.5s;
}

#btnAbrirMenu{
  width: 30px;
  display: none;
}
.overlayMenu.ativo .menuHamburguer {
  transform: translateX(0);
}

.containerFecharMenu {
  width: 100%;
  text-align: right;
  margin-bottom: 40px; 
}


.btnFecharMenu {
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  color: #888;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}
.btnFecharMenu:hover {
  color: #333;
  transform: rotate(90deg); 
}
.menuHamburguer .btn {
  display: block; 
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  padding: 18px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.menuHamburguer .btn:hover {
  background-color: #f0f0f0; 
  color: #44719b; 
}










/* =============================================================================
                                 Primeiro Conteudo
   ========================================================================== */
.containerFirst {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.auxConteiner {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #ccc;
}

.containerSecond {
  max-width: 1200px;
  width: 100%;
  padding: 20px 20px;
  gap: 50px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: min-content;
    align-items: start;
  align-self: center;


}


.containerSecond .containerTitle {
  grid-column: 1 / -1; 
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.containerFirst h1 {
  font-size: 3rem;
  margin-right: 5px;
  line-height: 60px;
}
.containerFirst h2 {
  font-size: 1.5rem;
}

.containerSecond h2 {
  font-size: 2.4rem;
}

.firstContent .titleContent {
  font-size: 1.6rem;
  margin-bottom: 10px;
  height: 45px;
}
.firstContent .content p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.8rem;
  text-align: justify;
}
.secondContent {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.secondContent .btnSkillsClass {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
}
.secondContent #btnSkills {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #44719b;
  background-color: #fff;
  color: #44719b;
  cursor: pointer;
}
.secondContent #btnExperience {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: none;
  background-color: #44719b;
  color: #fff;
  cursor: pointer;
}
.btncontainerSocials {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btnSocials {
  width: 110px;
  padding: 08px 15px;
  margin: 20px 10px;
  text-decoration: none;
  color: #ffff;
  background-color: #44719b;
  border: 1px solid #ffff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.5s;
}
.btnSocials:hover {
  transform: scale(1.15);
}
.btncontainerSocials img {
  width: 30px;
  margin: 0 2px;
}
.iconSkills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

#primeiroConteudoSC {
  padding: 30px 20px 0 20px;
  box-sizing: border-box;
}
.itemSkillsSoft h4 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.containerThird {
  padding: 20px 20px;
  background-color: #ccc;
}

#projetos-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  /* Define o espaçamento entre os cards */
  gap: 35px;

  /* Melhora o alinhamento geral na página */
  max-width: 1200px; /* Limita a largura máxima para monitores grandes */
  margin: 0 auto; /* Centraliza o container na página */
}
/* =============================================================================
                                 Card
   ========================================================================== */
.card {
  position: relative;
  width: 250px;
  height: 320px;
  background-color: #eeeeee;
  border-radius: 15px;
  perspective: 1000px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 1;
  transform-style: preserve-3d;
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: scale(1.05) rotateX(10deg) rotateY(-5deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card__content {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card_first_content,
.card_second_content {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.card_first_content {
  opacity: 1;
  transform: translateZ(0px);
}

.card_second_content {
  opacity: 0;
  transform: translateZ(-50px);
  background-color: #44719b;
  color: white;
  justify-content: space-around;
}

.card:hover .card_first_content {
  opacity: 0;
  transform: translateZ(-50px);
}

.card:hover .card_second_content {
  opacity: 1;
  transform: translateZ(40px);
}

.card_first_content h1 {
  font-size: 2rem;
  color: #343a40;
  text-align: center;
  line-height: 1.2;
}

.card__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card__description {
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}
.imagem{
 display:flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 box-sizing: border-box;
 padding: 10px;
}
.tituloImagem{
  width: 100%;
  box-sizing: border-box;
 padding: 5px 0;
}
.imagem img{
  width: 230px;
 
}
.btnOpenModal {
  background-color: #ffffff;
  color: #44719b;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.btnOpenModal:hover {
  background-color: #e9ecef;
  transform: scale(1.1);
}

#projetos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
#projetos-container .containerTitle {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 20px;
}
/* MODAL */

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  

}
.headerModal {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
 gap: 1rem;
}
.conteudoModal {
  position: relative;
  background-color: white;
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
}

.btnFecharModal {
font-size: 2rem;
color: #555;
background: none;
border: none;
cursor: pointer;
padding: 0;
align-self: flex-start;
}
.titleProjeto {
flex: 1 1 auto;
text-align: center;
font-size: 2.4rem;
margin: 0;
}
#semestreModal {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  margin: 5px 0;

}
#modalDescricao {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.hidden {
  display: none;
}
.btnModal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: none;
  background-color: #44719b;
  color: #fff;
  cursor: pointer;
}
/* Foooter */
.footer {
  width: 100%;
  position: relative;
  background-color: #44719b;
  box-sizing: border-box;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}
.containerFooter
{
  box-sizing: border-box;
  padding: 10px ;
  position: absolute;
  left: 0;
}
@media (max-width: 768px) {
  .containerSecond {
    grid-template-columns: repeat(1, 1fr);
  }
  #btnAbrirMenu{
    display: block;
  }
  .containerBtn {
    display: none;
  }
}
@media (max-width: 480px) {
.titleProjeto {
font-size: 1.6rem;
}

.conteudoModal {
padding: 1rem 1.5rem;
}

.btnFecharModal {
font-size: 1.6rem;
}
}
