@charset "UTF-8";
/* Header */
header {
  background: var(--bg);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.6s;
  padding: 2.66rem 5rem;
  z-index: 5;
}
header .logo {
  position: relative;
  font-weight: 600;
  color: var(--line);
  text-decoration: none;
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.6s;
}
header .logo:hover {
  filter: brightness(0.7);
}
header #mobile-menu {
  display: none;
  cursor: pointer;
}
header #mobile-menu div {
  width: 2rem;
  height: 2px;
  background: whitesmoke;
  margin: 0.5rem;
  transition: 0.3s;
}
header ul {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
header ul li {
  position: relative;
  list-style: none;
}
header ul li a {
  position: relative;
  margin: 0 1rem;
  text-decoration: none;
  color: var(--line);
  letter-spacing: 1.3px;
  font-weight: 500;
  transition: 0.6s;
  transition: filter 0.5s;
}
header ul li a:hover {
  filter: brightness(0.7);
  border-bottom: 1px solid var(--line);
}
header.sticky {
  padding: 1rem 5rem;
  background-color: whitesmoke;
}
header.sticky a, header.sticky .logo {
  color: var(--bg);
}

/* Main - container*/
main {
  max-width: 1500px;
  margin: 0 auto;
}

/* About section */
#sobre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5rem;
  padding-top: 13.125rem;
  padding-bottom: 6.875rem;
}
#sobre .left-section h1 {
  color: var(--line);
  font-weight: 500;
  letter-spacing: 2.5px;
  font-size: 3rem;
}
#sobre .left-section h2 {
  color: gray;
  letter-spacing: 1px;
}
#sobre .left-section .contact {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  text-decoration: underline;
  border-bottom: 1px solid var(--line);
}
#sobre .left-section .contact p {
  font-family: "Lexend", sans-serif;
  letter-spacing: 1px;
  color: lightgrey;
}
#sobre .left-section .icons {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
  gap: 3rem;
}
#sobre .left-section .icons .social-icon {
  color: white;
  border: 1px solid white;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  transition: 0.5s;
}
#sobre .left-section .icons .social-icon:hover {
  color: var(--bg);
  border: 1px solid var(--bg);
  background-color: white;
}
#sobre .left-section .icons .social-icon p {
  text-decoration: none;
}

/* Projects section */
#projetos {
  padding: 0 5rem;
  padding-top: 6.875rem;
  padding-bottom: 6.875rem !important;
  background-color: var(--bg);
}
#projetos h1 {
  text-align: center;
  color: lightgrey;
}
#projetos .cards {
  display: flex;
  margin-top: 1.5rem;
  gap: 1.5rem;
}
#projetos .cards .card {
  background-color: var(--dark-bg);
  width: 26.25rem;
  height: 26.25rem;
  padding: 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  text-align: center;
  transition: 0.9s;
  /* Estilos na imagem para deixar ela adaptável */
}
#projetos .cards .card:hover {
  background-color: var(--bg);
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.8);
}
#projetos .cards .card h2 {
  margin-top: 1rem;
}
#projetos .cards .card p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: justify;
  filter: brightness(0.7);
}
#projetos .cards .card a {
  text-decoration: none;
  color: var(--normal-blue);
  transition: filter 0.6s;
}
#projetos .cards .card a:hover {
  filter: brightness(0.8);
  text-decoration: underline;
}
#projetos .cards .card img {
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid gray;
  padding-bottom: 0.75rem;
}
#projetos .cards .card-5 img {
  width: 24.625rem;
  height: 11.875rem !important;
}
#projetos .cards .card-6 img {
  width: 24.625rem;
  height: 11.875rem !important;
}
#projetos .more-projects {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
  text-align: center;
}
#projetos .more-projects a {
  padding: 0.5rem 2rem;
  border-radius: 2rem;
  border: 1px solid var(--bg);
  text-decoration: none;
  background: var(--dark-bg);
  color: var(--normal-blue);
  transition: 0.8s;
}
#projetos .more-projects a:hover {
  background: var(--bg);
  border: 1px solid var(--dark-bg);
}

/* Formation section */
#formacao {
  padding: 0 5rem;
  padding-top: 6.875rem;
  padding-bottom: 6.875rem;
  background-color: var(--dark-bg);
}
#formacao div h1 {
  text-align: center;
}
#formacao .first-row {
  margin-top: 12.5%;
  display: flex;
  justify-content: space-between;
}
#formacao .first-row div i {
  color: whitesmoke;
  font-size: 5rem;
  margin-left: 1.5rem;
}
#formacao .first-row h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
}
#formacao .first-row h3, #formacao .first-row h4 {
  font-weight: 500;
  color: grey;
  padding-top: 0.3rem;
}
#formacao .second-row {
  margin-top: 12.5%;
  display: flex;
  justify-content: space-between;
}
#formacao .second-row div i {
  color: whitesmoke;
  font-size: 5rem;
  margin-right: 1.5rem;
}
#formacao .second-row .second-row-school {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
#formacao .second-row h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
}
#formacao .second-row h3, #formacao .second-row h4 {
  font-weight: 500;
  color: grey;
  padding-top: 0.3rem;
}

/* Skills section */
#habilidades {
  padding: 0 5rem;
  padding-top: 6.875rem;
  padding-bottom: 6.875rem;
  background-color: var(--bg);
}
#habilidades h1 {
  text-align: center;
}
#habilidades h2 {
  text-align: center;
  padding-top: 3.4375rem;
}
#habilidades .skills {
  display: flex;
  justify-content: space-between;
  padding-top: 4rem;
  flex-direction: column;
}
#habilidades .skills .row-skills {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2rem;
}
#habilidades .skills .row-skills div {
  background: var(--dark-bg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  border: 1px solid darkgrey;
  height: 10rem;
  width: 10rem;
  padding: 5rem;
  border-radius: 1.33rem;
  transition: 0.9s;
}
#habilidades .skills .row-skills div:hover {
  background: var(--bg);
  border: 1px solid var(--dark-bg);
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.8);
}
#habilidades .skills div a {
  text-decoration: none;
}
#habilidades .skills div i {
  color: whitesmoke;
  padding-bottom: 1rem;
}
#habilidades .skills div p {
  filter: brightness(0.8);
  transition: filter 0.8;
}
#habilidades .skills div p:hover {
  filter: brightness(1);
}
#habilidades .skills div p, #habilidades .skills div i {
  font-size: 1.65rem;
  padding-right: 0.5rem;
}
#habilidades .skills-studying {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 5rem;
}
#habilidades .skills-studying div {
  background: var(--dark-bg);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  border: 1px solid darkgrey;
  height: 10rem;
  width: 10rem;
  padding: 5rem;
  border-radius: 1.33rem;
  transition: 0.9s;
}
#habilidades .skills-studying div:hover {
  background: var(--bg);
  border: 1px solid var(--dark-bg);
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.8);
}
#habilidades .skills-studying div a {
  text-decoration: none;
}
#habilidades .skills-studying div i {
  color: whitesmoke;
  padding-bottom: 1rem;
}
#habilidades .skills-studying div p {
  filter: brightness(0.8);
  transition: filter 0.8;
}
#habilidades .skills-studying div p:hover {
  filter: brightness(1);
}
#habilidades .skills-studying div p, #habilidades .skills-studying div i {
  font-size: 1.65rem;
  padding-right: 0.5rem;
}

/* Experience section */
#experiencia {
  padding: 0 5rem;
  padding-top: 6.875rem;
  padding-bottom: 13.4375rem;
}
#experiencia h1 {
  text-align: center;
}
#experiencia h3 {
  padding-top: 1rem;
  padding-bottom: 1.6rem;
}
#experiencia p {
  padding-top: 1.6rem;
  display: inline-block;
  border-top: 1px solid whitesmoke;
}
#experiencia .info {
  padding-top: 11rem;
}
#experiencia .info-link {
  display: flex;
  justify-content: space-between;
}
#experiencia .info-link a {
  padding-top: 1.6rem;
  text-decoration: none;
  color: var(--normal-blue);
  transition: filter 0.8s;
}
#experiencia .info-link a:hover {
  text-decoration: underline;
  filter: brightness(0.8);
}
#experiencia .date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#experiencia .date time {
  color: whitesmoke;
}

/* Courses section */
#certificados {
  padding: 0 5rem;
  background: var(--bg);
  padding-top: 6.875rem;
  padding-bottom: 3.4375rem;
}
#certificados h1 {
  text-align: center;
}
#certificados h3 {
  color: white;
}
#certificados p {
  color: var(--bg);
}
#certificados #second-div-cards {
  margin-top: -3.125rem;
}
#certificados .cards {
  display: flex;
  justify-content: space-between;
  position: relative;
}
#certificados .cards .card:hover .face.face-1 {
  background-color: var(--normal-blue);
  transform: translateY(0);
}
#certificados .cards .card:hover .face.face-2 {
  transform: translateY(0);
}
#certificados .cards .card .face {
  width: 18.75rem;
  height: 12.5rem;
  transition: 0.5s;
}
#certificados .cards .card .face-1 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}
#certificados .cards .card .face.face-1 {
  background: var(--bg);
  transform: translateY(6.25rem);
}
#certificados .cards .card .face.face-1 .content {
  opacity: 0.2;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#certificados .cards .card .face.face-1 .content:hover {
  opacity: 1;
}
#certificados .cards .card .face.face-1 .content img {
  max-width: 6.25rem;
  max-height: 6.25rem;
}
#certificados .cards .card .face.face-1 .content h3 {
  margin: 0.625rem 0 0;
  padding: 0;
  text-align: center;
  font-size: 1.5rem;
}
#certificados .cards .card .face-2 {
  position: relative;
  background: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.8);
  transform: translateY(-6.25rem);
}
#certificados .cards .card .face-2 a {
  margin: 1rem 0 0;
  display: inline-block;
  padding: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--bg);
  border: 1px solid var(--bg);
}
#certificados .cards .card .face-2 a:hover {
  background: var(--bg);
  color: white;
}

footer {
  background: var(--dark-bg);
  padding: 2.66rem 0;
  text-align: center;
}
footer h2 a {
  text-decoration: none;
  color: whitesmoke;
  padding-bottom: 0.5rem;
  transition: 0.7s;
}
footer h2 a:hover {
  border-bottom: 2px solid whitesmoke;
}
footer p {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}
footer .social-icon {
  color: white;
  border: 1px solid white;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  margin: 0 1rem;
  transition: 0.5s;
}
footer .social-icon:hover {
  color: var(--bg);
  border: 1px solid var(--bg);
  background-color: white;
}
