@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #DCE3EB;
    font-family: 'Lato', sans-serif;
    padding-top: 180px;
}

.header {
    padding: 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #6B7A90;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-header img {
    width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    position: relative;
    transition: 0.25s;
    font-weight: 600;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: black;
    transition: width .25s;
}

.nav-links a:hover::after,
.nav-links .active::after {
    width: 100%;
}

@media (max-width: 700px) {
    img {
        width: 110px;
    }

    .nav-links {
        gap: 35px;
    }

    .nav-links a {
        font-size: 18px;
    }
}

section {
    padding: 2rem 9% 2rem;
}

.section-main{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
}

h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

p{
    font-size: 20px;
}

span{
    color: #3B82F6;
}

.main-img img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

.icons-redes-sociais a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #3B82F6;
    font-size: 2rem;
    text-decoration: none;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: black;
}

.icons-redes-sociais a:hover{
    transform: scale(1.3) translateY(-5px);
    background-color: #3B82F6;
    box-shadow: 0 0 25px #3B82F6;
}

@media (max-width: 700px) {
    .header {
        padding: 15px 20px;
    }

    .nav-header img {
        width: 90px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

@media (max-width: 500px) {

    .header {
        padding: 12px 15px;
    }

    .nav-header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }
}


@media (max-width: 900px) {
    .section-main {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.8rem;
    }

    p {
        font-size: 1rem;
        max-width: 90%;
    }

    .icons-redes-sociais {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .icons-redes-sociais a {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.5rem;
        margin: 1rem 0.7rem;
    }
}

.habilidades-section {
    padding: 5rem 9%;
    background-color: #DCE3EB;
    margin-top: 80px;
}

.titulo-habilidades {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.habilidades-categoria {
    margin-bottom: 3rem;
}

.habilidades-categoria h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #3B82F6;
    padding-left: 10px;
}

.hab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.hab-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #87b5e9;
    transition: .3s;
}

.hab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hab-card i {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}

.hab-card p {
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    .titulo-habilidades {
        font-size: 2.2rem;
    }

    .hab-card i {
        font-size: 2.8rem;
    }

    .hab-card p {
        font-size: 1rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hab-card:nth-child(1) { transition-delay: .1s; }
.hab-card:nth-child(2) { transition-delay: .2s; }
.hab-card:nth-child(3) { transition-delay: .3s; }
.hab-card:nth-child(4) { transition-delay: .4s; }

.softskills-section {
    padding: 5rem 9%;
    background-color: #DCE3EB;
}

.titulo-softskills {
    font-size: 50px;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.soft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.soft-card {
    background: white;
    padding: 2rem 0.3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.08);
    border-left: 5px solid #3B82F6;
    transition: .3s;
}

.soft-card i {
    font-size: 50px;
    margin-bottom: 1rem;
    color: #3B82F6;
}

.soft-card p {
    font-size: 18px;
    font-weight: 600;
}

.soft-card.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.soft-card.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .section-main {
        gap: 5rem;
    }
}

@media (max-width: 900px) {
    body {
        padding-top: 150px;
    }

    .section-main {
        gap: 3rem;
    }

    .main-img img {
        width: 260px;
        height: 260px;
    }

    h1 {
        font-size: 3.2rem;
    }

    p {
        font-size: 1.1rem;
    }

    .icons-redes-sociais a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }
}

@media (max-width: 700px) {
    .header {
        padding: 15px 20px;
    }

    .nav-header img {
        width: 95px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 15px;
    }

    h1 {
        font-size: 2.8rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 550px) {

    body {
        padding-top: 160px;
    }

    .section-main {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .main-img img {
        width: 220px;
        height: 220px;
    }

    .icons-redes-sociais {
        justify-content: center;
    }

    .icons-redes-sociais a {
        width: 3rem;
        height: 3rem;
        font-size: 1.3rem;
    }
}

@media (max-width: 450px) {

    .nav-header {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    h1 {
        font-size: 2.3rem;
    }

    .main-img img {
        width: 180px;
        height: 180px;
    }

    .hab-grid,
    .soft-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .hab-card i,
    .soft-card i {
        font-size: 2.5rem;
    }

    .hab-card p,
    .soft-card p {
        font-size: 1rem;
    }
}