/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
html {
    scroll-behavior: smooth;
}
p {
    color: rgb(85, 85, 85);
}
a, .btn {
    transition: all 300ms ease;
}

/* NAV DESKTOP */
nav, 
.nav-links {
    display: flex;
} 
nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}
.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}
a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}
a:hover {
    color: gray;
    text-decoration: underline;
    text-underline-offset: 0.1rem;
    text-decoration-color: rgb(181, 181, 181);
}
.logo {
    font-size: 2rem;
}
.logo:hover {
    cursor: default;
}

/* NAV MOBILE */
#hamburger-nav {
    display: none;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;  
    z-index: 1000; 
}
.hamburger-menu {
    position: relative;
    display: inline-block;
}
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}
.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-links {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background: white;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}
.menu-links.open {
    display: block;
}
.menu-links li {
    list-style: none;
}
.menu-links a {
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.menu-links a:hover {
    background-color: #f2f2f2;
}

/* ANIMAÇÃO DO HAMBURGER */
.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
    }
    #hamburger-nav {
        display: block;
    }
}

/* ROFILE SECTION - Desktop (padrão)*/
#profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  height: 80vh;
  padding: 0 10rem;
}

/* container da foto */
.section_pic-container {
  position: relative;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.section_pic-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* aro hover */
.section_pic-container::before {
  content: "";
  position: absolute;
  top: -4px;   
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border-radius: 50%;
  border: 4px solid rgb(85, 85, 85);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.section_pic-container:hover::before {
  opacity: 1;
}
.section_pic-container:hover img {
  transform: scale(1.02);
}

.section__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: center;
  text-align: left;
  max-width: 400px;
}

.section__text__p1 {
  font-size: 1rem;
  margin-bottom: 0.3rem; 
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  margin-top: 0; 
}

.title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* BOTÕES */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.btn {
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;              
  border: 2px solid black;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-color-2 {
  background: transparent;
  color: black;
}
.btn-color-2:hover {
  background: rgb(85, 85, 85);
  color: white;
}
.btn-color-1 {
  background: rgba(85, 85, 85, 0.3);
  color: black;
}
.btn-color-1:hover {
  background: black;
  color: white;
}

@media (min-width: 769px) {
  .btn-container {
    justify-content: flex-start;
    margin-left: 0;
  }
  .section__text__p2 {
    margin-left: 0;
    text-align: left;
  }
}

/* ICONES REDES SOCIAIS */
.icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.3s, filter 0.3s;
}
.icon:hover {
  transform: scale(1.1);
}
#socials-container {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

/* PROFILE SECTION - Mobile */
@media (max-width: 768px) {
  #profile {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
    height: auto;
  }
  .section__text {
    text-align: left;
    margin-left: 0;
  }
  .section__text__p1,
  .section__text__p2,
  .btn-container,
  #socials-container {
    margin-left: 0;
  }
  .title {
    text-align: left;
  }
}

/* ABOUT SECTION */
#about {
  position: relative;
  padding: 4rem 10%;
  text-align: center;
}

.section-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.section__pic-container img.about-pic {
  width: 260px;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
}

.about-details-container {
  flex: 1;
  padding-left: 40px;
}

.about-containers {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.details-container {
  flex: 1;
  background-color: #f9f9f9;
  border: 2px solid black;
  padding: 1rem;
  border-radius: 2rem;
  text-align: center;
}

.details-container h3 {
  margin: 1rem 0 0.5rem;
}

.text-container {
  text-align: justify;
  color: rgb(85, 85, 85);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 900px) {
  .section-container {
    flex-direction: column;
    align-items: center;
  }

  .about-containers {
    flex-direction: column;
  }
}

/* EXPERIENCE SECTION */
#experience {
  position: relative;
  padding: 4rem 10%;
  text-align: center;
}

#experience .section__text__p1 {
  font-size: 1.2rem;
  color: rgb(85, 85, 85);
}

#experience .title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.experience-details-container {
  display: flex;
  justify-content: space-between;
  gap: 5rem;
  flex-wrap: wrap;
}

#experience .details-container {
  flex: 1;
  background-color: #f9f9f9;
  border: 2px solid black;
  padding: 1.5rem;
  border-radius: 3rem;
  text-align: center;
  min-width: 280px;
  max-width: 420px;
  margin: 0 auto;
}

#experience .details-container h2 {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(22, 21, 21, 0.719);
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.article-container article {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}

.article-container .icon {
  width: 34px;
  height: 20px;
  cursor: default;
}

.article-container h3 {
  margin: 0;
  font-size: 1rem;
}

.article-container p {
  margin: 0;
  font-size: 0.rem;
  color: rgb(85, 85, 85);
}

/* Responsividade */
@media (max-width: 900px) {
  .experience-details-container {
    flex-direction: column;
    align-items: center;
  }

  #experience .details-container {
    max-width: 100%;
  }

  .article-container {
    grid-template-columns: 1fr;
  }
}

/* PROJECTS SECTION */
#projects {
  text-align: center;
  margin-top: 4rem;
  padding: 4rem 10%;
  box-sizing: border-box;
}

#projects .experience-details-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
  align-items: start;
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 1200px;
}

#projects .details-container {
  box-sizing: border-box;
  background-color: var(--color-bg-variant);
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid black;
  flex: 0 0 260px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s ease;
}

#projects .details-container:hover {
  transform: translateY(-5px);
}

#projects .article-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 0.75rem;
}

#projects .project-img {
  width: 230px;
  height: 140px;
  object-fit: cover;
  border-radius: 2rem;
}

#projects .project-title {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

#projects .btn-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
}

@media (max-width: 900px) {
  #projects {
    padding: 2rem;
  }

  #projects .experience-details-container {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  #projects .details-container {
    flex: 0 0 90%;
    max-width: 520px;
    border: solid black;
  }

  #projects .project-img {
    width: 100%;
    max-width: 480px;
    height: auto;
  }
}

/* Logo GitHub */
#projects .github-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

#projects .github-link:hover {
  transform: scale(1.2);
}

#projects .github-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(100%);
  cursor: pointer;
}

/* CONTACT SECTION*/
#contact{
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.container-info-upper-container{
  display: flex;
  justify-content: center;
  border: 2rem;
  border: rgb(53, 53, 53) o.1rem solid;
  background: rgb(250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
  text-align: center;
}

.contact-info-upper.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6rem;
  border-radius: 3rem;
  margin: 2rem auto;
  padding: 1rem 2rem;
  width: 70%;
  cursor: default;
}

.section__text__p1,
.title {
  text-align: center;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size:larger;
  margin: 0.7rem;
}

.contact-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  cursor: default;
}
 .email-icon {
  height: 2.2rem;
  width: 2.2rem;
 }

 /*FOOTER SECTION*/

footer {
 height: 26vh;
 margin: 0 1rem;
}

footer p{
  text-align: center;
}
