* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #1e1f2f;
    color:#fff;
    background-color: #050a0e;
}

.language {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #374151;
    padding: 6px 14px;
    border-radius: 999px;
    background: transparent;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    cursor: pointer;
}

.language:hover {
    background-color: #1f2937;
}

.section-projects {
    padding: 100px 0;
    padding-left: 50px;
    font-family: DM Sans, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    font-size: 30px;
    font-family: DM Sans, sans-serif;
}

header ul {
    display: flex;
    gap: 60px;
    list-style: none;
    
}

header a {
    text-decoration: none;
    color: rgb(156 163 175);
}

header a:hover {
    color: #e0475b8a;
}

.main {
    display: flex;
    align-items: center;
    /* margin-left:20px; */
    min-height: 80vh;
    padding-left: 50px;
}



.main h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -2px;
    color: whitesmoke;
}

.open {
    color:#E0475B; 
}

.close {
    color:#E0475B;
}

.ste {
    color: whitesmoke;
}

.front {
    font-size: 30px;
    font-family: DM Sans, sans-serif;
    color: rgb(156 163 175);
    margin-bottom: 30px;
}
.creative {
    font-size: 20px;
    margin-bottom: 20px;
    max-width: 500px;
    color: rgb(156 163 175);
    margin-bottom: 40px;
    font-family: DM Sans, sans-serif;
    letter-spacing: 1px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    /* background-color:#3B82F6; */
    background-color: #E0475B;
    background-color: #e0475bcd;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    position: relative;
    font-family: DM Sans, sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 165px;
    height: 4px;
    background-color: #E0475B;
}

.grade-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card-project {
    background-color: #f8EFEA;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    transition: border 0.3s ease;
}

.main-link::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; /* Faz o "clique" do link cobrir o card todo */
}

.img-project {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.info-project {
    padding: 20px;
    color: #161616;
}

.info-project h3 {
    margin-bottom: 10px;
    color:#E0475B;
}

.info-project p {
    color: rgb(156 163 175);
    margin-bottom: 15px;
}

.info-project a {
    color: #3B82F6;
    font-weight: 500;
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    max-width: 1200px;
}

.img-about {
    height: 400px;
    background-color: #1f2937;
    border-radius: 10px;
}

.content-about h2 {
    margin-bottom: 30px;
}

.content-about p {
    margin-bottom: 20px;
    color: rgb(156 163 175);
}

.habilidades {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag-habilidades {
    background-color: rgba(77, 124, 254, 0.2);
    /* background-color: #e0475b7e; */
    /* background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1)); */
    color: #4d7cfe;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
}

.javascript {
    background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
    color: white;
}

.html {
    background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
    color: white
}

.css {
    background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
    color: white;
}

.responsive {
    background-color: #9b59b6;
    color: white;
}



.contact-buttons {
    display: inline-flex; 
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto; 
    padding-left: 330px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 500;
    min-width: 160px;
    text-decoration: none;
    color: white;
}

.whats { background-color: #25D366;}
.mail { background-color: #EA4335;}
.linkedin { background-color: #0077b5;}
.github { background-color: #333; color: white;}

footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
    color: rgb(156 163 175);
}

.efeitocursor {
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
    display: block;
}

.efeitocursor1 {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.efeitocursor1:hover {
    transform: scale(1.05); /* Aumenta o botão levemente (efeito de "pulsar") */
    /* OU use o translateY(-5px) se preferir que ele suba como os cards */
    
    background-color: #E0475B; /* Garante que a cor fique sólida */
    
    /* Brilho rosa combinando com o tema */
    box-shadow: 0 0 20px rgba(224, 71, 91, 0.6);
    border: 1px solid #ff7d8d;
    box-shadow: 
        0 0 25px rgba(224, 71, 91, 0.8), 
        0 0 60px rgba(224, 71, 91, 0.4);
}

.efeitocursor:hover {
    transform: translateY(-10px);
    
}

.efeitocursor:hover.card-project {
    border: 1px solid #E0475B;
    transform: translateY(-10px); /* <--- ESTA LINHA faz o card subir 10 pixels */
   /* box-shadow: 0 10px 40px 5px rgba(224, 71, 91, 0.5); */
    box-shadow: 
        0 0 25px rgba(224, 71, 91, 0.8), 
        0 0 60px rgba(224, 71, 91, 0.4);
    
}

/* .cursor {
    pointer-events: none;
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #e0475b7e;
    z-index: 99;
    transform: translate(-50%, -50%);
} */

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px){

    header {
        display: flex;
        padding: 15px 20px;
        font-size: 16px;
    }

    .language {
        font-size: 12px;
    }

    header ul {
        display: flex;
        list-style: none;
        gap: 20px;
        flex-wrap: nowrap;
    }

    header ul li a {
        white-space: nowrap;
    }

    .main {
        padding-left: 20px;
    }


    .main h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }


    .section-projects {
        padding: 60px 20px;
    }

    .card-project {
        margin-left: 0;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .contact-buttons {
        padding-left: 0;
        justify-content: flex-start;
    }   

    .contact-button {
        min-width: 30px;
        
    }

    .habilidades {
        justify-content: center;
        max-width: 100%; 
        

    }

    .tag-habilidades {
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
        gap: 30px;
    }

    .tag-habilidades:last-child {
        margin-top: 10px;
    }

    .contact-button {
        width: 130px; /* todos iguais */
      }

}