
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --fundoPrincipal: #F9FAFB;
    --ColorTextos: #515156;
    --ColorH1: #111827;
    --ColorButtons: #111827;
    --ColorP: #c1aaaa22;
    --ColorP2: #dcd9d9d1;
    --ColorCard: #111827;
    --ColorWhite: #F9FAFB;
    --animation: #1118275b;
}

body {
    background: var(--fundoPrincipal) ;
    color: var(--ColorTextos);
}

.secao {
    padding: 100px 0;
    padding-left: 30px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin-left: 30px;
}

.sidebar {
  height: 100%;
  width: 250px;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: var(--ColorTextos);
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 60px;
  z-index: 999;
  border-right: 1px solid #3c3b3b;
}

.sidebar nav a {
  display: block;
  padding: 15px 30px;
  font-size: 18px;
  color: var(--ColorWhite);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.sidebar nav a:hover {
  background-color: var(--ColorCard);
}

.menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 28px;
  color: var(--animation);
  background: none;
  border: none;
  z-index: 1001;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  background: none;
  color: var(--ColorP2);
  border: none;
  cursor: pointer;
}

.botaoCard {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 100;
    border-radius: 5px;
    text-decoration: none;
    color: var(--ColorWhite);
    box-shadow: 3px 3px 8px var(--ColorP2);
    background-color: var(--ColorButtons);
}



.principal {
    display: flex;
    align-items: center;
    margin-left: 40px;
    min-height: 80vh;
}

.main {
    margin-top: 200px;
    margin-bottom: 400px;
}

.principal h1 {
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -3px;
}

.principal p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 500px;
    color: var(--ColorTextos);
}

.principal h1 span {
    color: var(--ColorH1);

}

.botao {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    color: var(--ColorWhite);
    box-shadow: 3px 3px 8px var(--ColorCard);
    background-color: var(--ColorButtons);
}   


.titulo-section {
    font-size: 45px;
    margin-bottom: 60px;
    position: relative;
}


.titulo-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100px;
    height: 4px;
    background-color: var(--ColorButtons);
}

.grade-projeto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}


.card-projeto {
    background-color: var(--ColorCard);
    box-shadow: 5px 3px 8px var(--ColorButtons);
    border-radius: 10px;
    overflow: hidden;
}
.imagem-projetos {
    
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.info-projeto {
    padding: 20px;
}



.info-projeto h3 {
    color: var(--ColorWhite);
    margin-bottom: 10px;
}

.info-projeto p {
    color: var(--ColorP2);
    margin-bottom: 15px;
}

.info-projeto a {   
    color: var(--ColorWhite);
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.info-projeto a:hover {
   opacity: 0.6;
}




.sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
}


.img-sobre {
    margin-left: 50px;
    height: auto;
    width: 380px;
    box-shadow: 4px 3px 8px var(--ColorCard);
    border-radius: 10px;
    
    
}

.conteudo-sobre h1 {
    color: var(--ColorH1);
    margin-bottom: 30px;
}

.conteudo-sobre p {
    margin-bottom: 30px;
    color: var(--ColorTextos);
}

.habilidaes {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tag-habilidades{
    background-color: var(--ColorButtons);
    box-shadow: 1px 1px 8px var(--ColorH1);
    color: var(--ColorWhite);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.botoes-contato {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.botao-contato {
    box-shadow: 1px 1px 5px var(--ColorH1);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 400;
    min-height: 10px;
    text-decoration: none;
    color: var(--ColorWhite);
}

.whatsapp { background-color: #25D366;}

.instagram {background-color: #7734ab;}

.github { background-color: #333;}

.linkedin {background-color: #0077B5;}


footer {
    padding: 20px 5%;
    text-align: center;
    border-top: 1px solid rgb(148, 147, 147)
}
.efeito-curso {
    cursor: pointer;
    transition: transform 0.4s ease-in-out;
}
.efeito-curso:hover {
    transform: translateY(-10px);
}


.cursor {
    pointer-events: none;
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--animation);
    z-index: 99;
    transform: translate(-50%, -50%);

}

img {
    
    max-width: 100%;
    height: auto;
}
#playBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--ColorCard);
    border: none;
    position: fixed;
    bottom: 50px;
    right: 20px;
    
}

.pulsar {
    animation: pulse 2.5s infinite;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px var(--ColorH1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px var(--ColorH1);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 8px var(--ColorH1);
    }
}


@media(max-width: 768px){
    
    header {
        padding: 20px;
    }

    header ul {
        gap: 20px;
        justify-content: start;
    }

    .principal h1 {
        font-size: 60px;
    }


    .secao {
        padding: 70px 20px;
    }

        
    .sobre {
        grid-template-columns: 1fr ;
    }
    


    .img-sobre {
        margin-left: 0;
        margin-bottom: 30px;
    }
}


