@charset "UTF-8";
:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --sombra-color: rgba(44, 62, 80, 0.4);
  --highlight-color: #e67e22;
  --highlight1-color: #f39c12;
  --branco-color: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--secondary-color);
  margin: 0;
  padding: 0;
  /* Adiciona padding-top para compensar a altura da navbar fixa */
  padding-top: 56px;
  overflow-x: hidden;
}

/* Estilos de classes do nav*/
.bg-primary-custom {
  background-color: var(--primary-color);
}

/*Estilos de classes dentro da section habilidades */
.text-primary-custom {
  color: var(--primary-color);
}

/* Aumenta a especificidade para o elemento #home */
section#home.hero {
  /* Remove o padding-top para a seção hero, já que ela deve ocupar 100vh */
  padding-top: 0;
  /* Ajusta a altura para compensar o padding-top do body */
  height: calc(100vh - 56px);
  /* Posiciona abaixo da navbar */
  margin-top: 0;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Estilo base para desktop */
.container.text-center h1 {
  font-size: 2.5rem;
  /* Tamanho base para desktop */
  line-height: 1.2;
}

.container.text-center .lead {
  font-size: 1.25rem;
  /* Tamanho base para desktop */
  line-height: 1.5;
}

.text-highlight {
  color: var(--highlight1-color);
  text-shadow: var(--sombra-color);
}

/*Estilização da foto junto do nav*/
.myPhoto {
  margin: 0 20px 0 10px;
}

.myPhoto img {
  border-radius: 50%;
  border: 2px solid var(--branco-color);
  width: 60px;
  height: 60px;
  box-shadow: 1px 1px 3px var(--sombra-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.myPhoto img:hover {
  transform: scale(1.1);
  /* Pequeno zoom ao passar o mouse */
}

/* Estilos para a foto ampliada */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Fundo escuro semi-transparente */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#overlay.active {
  display: flex;
}

#enlargedPhoto {
  max-width: 80%;
  /* Limita o tamanho máximo */
  max-height: 80vh;
  /* Limita a altura máxima */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  /* Sombra para profundidade */
  transform: scale(0);
  /* Inicia invisível */
  transition: transform 0.3s ease;
}

#overlay.active #enlargedPhoto {
  transform: scale(1);
  /* Amplia ao ativar */
}

/*Alinhando os parâmetros dos breakpoints do projeto aos parâmetros dos breakpoints do bootstrap*/
/*------------------------------------------------------*/
/* Ajuste para dispositivos pequenos (mobile) */
@media (max-width: 576px) {
  #intro-text {
    font-size: 1.5rem;
  }
  /* Aumenta ainda mais o espaço quando o menu está expandido em mobile */
  section {
    scroll-margin-top: 70px;
    padding-top: 3rem;
  }
  /* Quando o menu hamburguer está expandido, precisamos de mais espaço */
  body.menu-expanded section {
    scroll-margin-top: 280px;
    /* Valor aproximado, ajuste conforme a altura do seu menu expandido */
  }
}
/* Tablets (de 768px até 991px) */
@media (min-width: 768px) {
  .myPhoto img {
    width: 80px;
    height: 80px;
  }
  .navbar-brand {
    font-size: 1.5rem;
    /* 20px, um pouco maior que em mobile */
  }
  #intro-text {
    font-size: 1.6rem;
  }
  section {
    scroll-margin-top: 65px;
    padding-top: 2.5rem;
  }
  #logo {
    width: min(15em, 45vmin);
  }
  .container.text-center h1 {
    font-size: 2rem;
  }
  .container.text-center .lead {
    font-size: 1.1rem;
  }
  .container.text-center .btn-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}
/* Desktops (a partir de 992px) */
@media (min-width: 992px) {
  .myPhoto img {
    width: 100px;
    height: 100px;
  }
  .navbar-brand {
    font-size: 2.5rem;
    /* 24px, maior em desktops, mas não exagerado */
  }
}
@media (max-width: 480px) {
  #logo {
    /*width: min(12em, 50vmin);*/
    width: min(16em, 70vmin);
  }
  .container.text-center h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem !important;
    /* Reduz o espaço inferior */
  }
  .container.text-center .lead {
    font-size: 0.95rem;
    margin-bottom: 1rem !important;
    /* Reduz o espaço inferior */
  }
  .container.text-center .btn-lg {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}
/* Dispositivos muito pequenos */
@media (max-width: 320px) {
  .container.text-center h1 {
    font-size: 1.25rem;
  }
  .container.text-center .lead {
    font-size: 0.85rem;
  }
}
/*--------------------------------------------*/
/*Ajuste da fonte do navbar-brand*/
/* Estilização padrão para dispositivos móveis (até 767px) */
.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  /* 16px por padrão em dispositivos móveis */
  color: #fff !important;
  /* Mantém a cor branca, como no seu design atual */
  letter-spacing: 0.5px;
  /* Pequeno espaçamento para modernidade */
  line-height: 1.2;
  text-shadow: 1px 1px 3px var(--sombra-color);
}

/*--------------------------------------------*/
/* Melhora a transição quando o menu é expandido */
.navbar-collapse {
  transition: all 0.3s ease-in-out;
}

/*-----------------------------------------*/
/* Ajuste para as seções quando acessadas via âncoras */
section {
  /* Adiciona padding extra no topo de cada seção */
  /* padding-top: 2rem; */
  padding-top: 2.7rem;
  /* Ajusta o scroll para compensar a navbar fixa */
  /* scroll-margin-top: 60px; */
  scroll-margin-top: 70px;
  min-height: 100vh;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 40px;
  font-weight: 700;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

#statusMensagem {
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
}

@keyframes loadingAnimation {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}
.list-unstyled li {
  cursor: pointer;
}

.list-unstyled .contactMethod {
  transition: 0.5s ease-in-out;
}
.list-unstyled .contactMethod:hover {
  font-style: 600;
  transform: scale(1.1);
  color: var(--highlight-color);
  margin-left: 10px;
}

/*Agrupamento dos estilos dos id's*/
#whatsappLink,
#telephonLink,
#localizationLink,
#githubLink,
#linkedinLink,
#linkInsta {
  color: inherit;
  text-decoration: none;
}
#whatsappLink:hover, #whatsappLink:focus, #whatsappLink:active,
#telephonLink:hover,
#telephonLink:focus,
#telephonLink:active,
#localizationLink:hover,
#localizationLink:focus,
#localizationLink:active,
#githubLink:hover,
#githubLink:focus,
#githubLink:active,
#linkedinLink:hover,
#linkedinLink:focus,
#linkedinLink:active,
#linkInsta:hover,
#linkInsta:focus,
#linkInsta:active {
  color: inherit;
  text-decoration: none;
}

/*----------------------------------------------------------------------*/
/* Estilização inicial */
.socialWeb i {
  color: inherit;
  /* cor inicial dos ícones */
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover no link que afeta o ícone */
.socialWeb:hover i {
  /*color: var(--primary-color);*/
  /* tom de verde */
  transform: scale(1.2);
  /* efeito leve de zoom */
}

/*Estilo do modal do mapa de localização*/
.modalMap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.map-modal-content {
  background: white;
  padding: 20px;
  position: relative;
}

.skill-item {
  height: 100%;
  transition: transform 0.3s;
}
.skill-item:hover {
  transform: translateY(-5px);
}

.project-card {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
}
.project-card img {
  transition: transform 0.3s;
}
.project-card:hover img {
  transform: scale(1.05);
}

.card-text {
  flex-grow: 1;
  overflow: auto;
}

/*Estilo das palavras digitadas na abertura*/
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 0 15px;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 1s ease-in-out;
}

#intro-text {
  color: white;
  font-size: 1.8rem;
  text-align: center;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

#cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: white;
  margin-left: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
#logo {
  width: min(40em, 80vmin);
  height: auto;
  /* Altura automática para preservar proporções */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.5s ease-in-out, opacity 1s ease-in-out;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.3));
  /* Sombra sutil na própria imagem */
  z-index: 1001;
  opacity: 0;
  display: none;
  justify-content: center;
  align-items: center;
}
#logo.active {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
#logo img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  /* Mudado para 'contain' para manter as proporções exatas */
  max-width: 100%;
}

/*----------------------------------------------------------------------------*/
/*--------------------------------------*/
#main-content {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/*------------------------------------------------------------------*/
.navbar {
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.navbar .nav-link {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
}
.navbar .nav-link.linkActive::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/*-------------------------------------------------*/
/* Estilo para as abas */
.nav-pills .nav-link {
  margin-right: 5px;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 500;
  color: #555;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
}

/* Barras de habilidades */
.skill-bar-container {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  margin: 10px 0;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

/* Estilo para os cards */
.skill-item {
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.text-primary-custom {
  color: var(--primary-color);
}

/* Estilo para os cards de certificados */
.certificate-card {
  transition: all 0.3s ease;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.certificate-preview {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background-color: #f8f9fa;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-thumbnail {
  transition: all 0.5s ease;
  -o-object-fit: cover;
     object-fit: cover;
  height: 200px;
  width: 100%;
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.certificate-preview:hover .certificate-overlay {
  opacity: 1;
}/*# sourceMappingURL=style.css.map */