* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    cursor: default;
    user-select: none;
}



body {
    font-size: 3.4rem;
    font-family: "DM sans", sans-serif;
    zoom: 100%;
}

h1 {
    color: white;
}

h4 {
    font-size: 3.4rem;
    font-weight: bold;
    text-align: center;
}

:root {
    font-size: 62.5%;
}

.main {
    background: #5000ca;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.desc-p {
    color: rgb(220, 220, 220);
    font-size: 1.4rem;
    padding-top: 40px;
    text-align: center;
}

.desc-p > p {
    margin: 0 40px 0 40px;
}

.social-icons {
    margin: 40px 0 0 0;
}

.social-icons a {
    text-decoration: none;
}

.cv {
    padding: 40px 0 0 0;
    display: flex;
    justify-content: center;
}

.cv button {
    cursor: pointer;
}

.social-icons #sicon,
path {
    cursor: pointer;
}

.sobremim {
    background: #5000ca;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
}

.sobremim>p {
    padding: 20px 40px 0px 40px;
    color: rgb(220, 220, 220);
    font-size: 1.7rem;
    max-width: 500px;
    text-align: center;
}

.sobremim>img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

#social-icon {
    width: 50px;
    cursor: pointer;
    transition: transform 0.2s;
}

#social-icon:hover {
    transform: scale(1.1);
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    background: #FCDE47;
    background: linear-gradient(0deg, #FCDE47, #FF7401);
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}
/* waves */

.wave-top {
    display: block; 
    line-height: 0; 
    margin-top: -1px;
}

.wave-bottom {
    display: block; 
    line-height: 0; 
    margin-bottom: -2px;
}

.projects {
    margin-bottom: 100px;
}

/* Projetos Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-info h5 {
    font-size: 2rem;
    color: #5000ca;
    margin-bottom: 15px;
    font-weight: bold;
}

.project-info p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #5000ca;
    border: 2px solid #5000ca;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #5000ca;
    color: white;
    cursor: pointer;
}

.project-techs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    margin-top: -10px;
}

.project-techs img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.project-techs img:hover {
    transform: scale(1.2);
    opacity: 1;
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }
}

/* new */

.slide-tech {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.slide {
    width: 150px;
    height: 100px;
    gap: 20px;
}

.slider {
    margin-bottom: 40px;
}

@media (max-width: 600px) {

    h4 {
        font-size: 2.6rem;
        font-weight: bold;
        text-align: center;
    }

    h1 {
        font-size: 3.6rem;
    }

    .iam {
        font-size: 1.4rem;
        text-align: center;
    }

    .desc-p {
        padding-top: 40px;
        font-size: 1rem;
    }

    .sobremim {
        display: flex;
        flex-direction: column;
        padding-top: 80px;
    }

    .sobremim>p {
        display: flex;
        text-align: center;
        padding: 0;
        margin: 40px;
        justify-content: center;
        max-width: 500px;
    }

    .projects {
        margin-top: 80px;
    }

    /* Ajuste leve para subir as setas no mobile sem sobrepor */
    .carousel-btn {
        position: static; /* Volta ao fluxo normal */
        transform: translateY(-40px); /* Sobe apenas a seta visualmente */
        margin: 0 10px; /* Garante espaçamento lateral */
        z-index: 10;
    }

    /* Garante que ao clicar/tocar a seta não perca a posição vertical */
    .carousel-btn:hover, 
    .carousel-btn:active, 
    .carousel-btn:focus {
        transform: translateY(-40px) scale(1.1);
        background: none;
    }

    .slide-tech {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .slide {
        width: 80px;
        height: auto;
    }
}
