*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: poppins, sans-serif;
    text-decoration: none;
}
body {
    overflow-x: hidden;
}
.hero-header{
    width:100%;
    height: 100%;
    min-height: 350vh;
    background: #021425; /* azul escuro */
}
.wrapper {
    width:1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    padding: 40px 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    display: inline-flex;
    justify-content: center; 
    align-items: center; 
}
.logo i{
    height: 45px;
    width:  45px;
    background-color: #007ced;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
    text-align: center;
}
.logo .logo-text {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

nav .togglebtn {
    width: 35px;
    height: 35px;
    position: fixed;
    top:45px;
    right 3%;
    z-index: 1001;
    cursor: pointer;
    display: none;
}

nav .togglebtn span {
    display: block;
    background-color: #e5e5e5;
    margin: 5px 0px;
    width:100%;
    height:3px;
    transition: 0.3s;
    transition-property: transform, opacity;

}

nav .navlinks {
    list-style-type: none;
}
nav .navlinks li {
    display: inline-block;
}
nav .navlinks li a{
    color: #e5e5e5;
    margin-right: 2.5rem;
}
.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 4rem;
}
.container .hero-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid #062643; /* azul mais claro*/
    box-shadow: 5px 7px 25px rgba(0,0,0,0.5);
}
.hero-pic img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(-40px); /* ajuste fino */
}

.hero-text {
    max-width: 500px;
    display: flex;
    flex-direction: column;
}
.hero-text h5 {
    color: #e5e5e5;
    font-size: 14px;
}
.hero-text h5 span {
    color: #DFAA90;
    font-size: 16px;
}
.hero-text h1 {
    color: #DFAA90; /* rosa */
    font-size: 3rem;
}
.hero-text p {
    color: #e5e5e5;
}
.btn-group {
    margin: 45px 0;
}
.btn-group .btn{
    border-color: #d5d5d5;
    color: #fff;
    background-color: #021425;
    padding: 12px 25px;
    margin: 5px 0px;
    margin-right:7px;
    border-radius:30px;
    border:2px solid #e5e5e5;
    box-shadow: 0 10px 10px -8px rgb(0 0 0/ 78%);
}
.btn.active {
    border-color: #DFAA90;
}
.hero-text .social i {
    color: #e5e5e5;
    font-size: 30px;
    margin-right: 10px;
    transition: 0.5s;
}

.hero-text .social i:hover {
    color: #007ced;
    transform: rotate(360deg);
}

@media(max-width:930px){
    nav .togglebtn {
        display:initial;
    }
    .click {
        top:45px;
    }
    .click span {
        position: absolute;
        margin-top:12px;
    }
    .click span:first-child {
        transform: rotate(-40deg);
    }
    .click span:nth-child(2) {
        opacity: 0;
        margin: 0; 
    }
    .click span:last-child {
        transform: rotate(45deg);
        top:0;
    }
    nav .navlinks {
        position: fixed;
        top:0px;
        right:-100%;
        width: 60%;
        height: 100vh;
        background-color: #021425;
        z-index: 999;
        box-shadow: 5px 13px 30px rgba(0,0,0,0.1);
        transition: 0.5s;
        padding: 110px 0px 25px;
    }
    nav .navlinks li {
        display: block;
    }
    nav .navlinks li a {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    nav .navlinks.open {
        right:0;
    }
}
@media(max-width:768px) {
    
    .container {
        flex-direction: column;
        padding-top:2rem
    }
    .hero-text {
        padding:40px 0px;
    }

}


.skills-section {
    padding: 20px 0px;
    background-color: #062643;
    border-radius: 3rem;
    max-width: 700px;
    margin: 80px auto;
    padding: 20px 20px;
    box-shadow: 5px 7px 25px rgba(0,0,0,0.5);
}

.skills-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.skills-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #d5d5d5;
}

.skills-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skills-item {
  transition: transform 0.3s ease;
  position: relative;
  display: inline-block;

}

.skills-item:hover {
  transform: scale(1.1);
}

.img-text {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #021425;
  color: white;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.skills-item:hover .img-text {
  opacity: 1;
}

.projects__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
}

@media screen and (max-width: 992px) {
    .projects__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .projects__container {
        grid-template-columns: 1fr;
    }
}

.projects-session {
    padding: 20px 0px;
    background-color: #062643;
    border-radius: 3rem;
    max-width: 1200px;
    margin: 80px auto;
    padding: 20px 20px 100px;
    box-shadow: 5px 7px 25px rgba(0,0,0,0.5);

}
.projects-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1px;
  color: #d5d5d5;
}

.projects__card {
    background-color: #021425;
    padding: 1.5rem;
    border-radius: 2rem;
    max-width: 500px;
    height: auto;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}

.projects__image {
    display: block;
    overflow: hidden;
    border-radius: 1.5rem;
    margin-bottom: 0.5rem;
}

.projects__img {
    transition: transform .4s;
    height: 300px;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.projects__img:hover {
  transform: scale(1.1);
}

.projects__name { 
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #DFAA90;
}

.projects__description {
    font-size: 1rem;
    color: #d5d5d5;
    margin-bottom: 1rem;
}

.projects__skill { 
    transition: transform .4s; 
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
}

.projects__skill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projects__skill:hover { 
    transform: translateY(-.25rem);
}

.projects__skill:hover .img-text {
    opacity:1;
}


.projects__skills { 
    width: 100%;
    max-width: 150px;
    height: 50px;
    background-color: #1a1a1a;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    column-gap: .75rem;
    border-radius: 4rem;
    margin-bottom: 1.5rem;
    box-shadow: 5px 7px 25px rgba(0,0,0,0.5);
}

.projects__button {
    color: #d5d5d5;
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    transition: color .4s;

}
.projects__button i {
    font-size: 1.25rem;
}
.projects__button span {
    font-weight: var(--font-medium);
}
.projects__button:hover {
    color:#DFAA90 ;
}


.contact__container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  background-color: #062643;
  padding: 2rem;
  border-radius: 2rem;
  box-shadow: 5px 7px 25px rgba(0, 0, 0, 0.5);
}

.contact__input,
.contact_area {
  padding: 1rem;
  border-radius: 1rem;
  border: none;
  background: #1a1a1a;
  color: #fff;
  width: 100%;
  margin-bottom: 10px;
}

.contact__area {
  resize: none;
}

.contact__button {
  background: #DFAA90;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  font-weight: bold;
}

.section__title {
  text-align: center;
  color: #d5d5d5;
  font-size: 2rem;
}
