/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}


/* FUNDO DO SITE */

body{

background-image:linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
url("assets/fundo.jpg");

background-size:cover;
background-position:center;
background-repeat:no-repeat;
background-attachment:fixed;

min-height:100vh;

}


/* TOPO */

.cover{
height:220px;
}


/* ÁREA DO SITE */

.page-bg{
min-height:100vh;
}


/* CONTAINER PADRÃO (HOME) */

.container{

max-width:420px;
margin:-60px auto 0;
padding:0 20px 40px;

}


/* CONTAINER GRANDE (PROJETOS) */

.container-projetos{

max-width:900px;
margin:-60px auto 0;
padding:0 20px 40px;

}


/* PERFIL */

.profile{

background:#ffffff;
border-radius:20px;

padding:70px 20px 30px;

text-align:center;

position:relative;

box-shadow:0 15px 40px rgba(0,0,0,.35);

}


/* FOTO PERFIL */

.profile img{

width:110px;
height:110px;

border-radius:50%;
object-fit:cover;

border:6px solid #ffd400;

position:absolute;
top:-55px;
left:50%;
transform:translateX(-50%);

}


/* TITULO */

.profile h1{
font-size:22px;
color:#111;
}


/* TEXTO */

.profile p{

font-size:14px;
color:#555;
margin-top:8px;
line-height:1.5;

}


/* CARDS */

.cards{

margin-top:25px;

display:flex;
flex-direction:column;

gap:18px;

}


/* CARD BASE */

.card{

height:120px;

border-radius:20px;

overflow:hidden;

text-decoration:none;

position:relative;

background-size:110%;
background-position:center;
background-repeat:no-repeat;

box-shadow:0 10px 30px rgba(0,0,0,.45);

transition:.25s;

display:flex;
align-items:center;

}

.card:hover{
transform:scale(1.03);
}


/* OVERLAY */

.card-overlay{

position:absolute;
inset:0;

background:linear-gradient(
to right,
rgba(0,0,0,.75),
rgba(0,0,0,.35)
);

display:flex;
flex-direction:column;
justify-content:center;

padding:20px;

}


/* TITULO */

.card h2{
color:#fff;
font-size:18px;
}


/* BOTÃO */

.card span{

margin-top:10px;

background:#ffd400;
color:#000;

width:max-content;

padding:8px 18px;

border-radius:22px;

font-size:13px;
font-weight:600;

}


/* IMAGENS DOS CARDS */

.card-instagram{
background-image:url("assets/instagram.jpg");
background-position:center;
background-size:105%;
}

.card-portfolio{
background-image:url("assets/portfolio.jpg");
background-position:center 38%;
background-size:115%;
}

.card-projetos{
background-image:url("assets/topo-fundo.jpg");
background-position:center 38%;
background-size:115%;
}

.card-sobre{
background-image:url("assets/sobre.jpg");
background-position:center 30%;
background-size:110%;
}

.card-whatsapp{
background-image:url("assets/zap.jpg");
background-position:center 30%;
background-size:100%;
}


/* RODAPÉ */

footer{

text-align:center;

margin-top:25px;

font-size:12px;

color:#fff;

}


/* BOTÃO WHATSAPP */

.whatsapp-float{

position:fixed;

right:20px;
bottom:20px;

width:60px;
height:60px;

background:#25d366;

border-radius:50%;

display:flex;

align-items:center;
justify-content:center;

color:#fff;

font-size:30px;

box-shadow:0 10px 25px rgba(0,0,0,.4);

z-index:999;

}


/* ===================== */
/* PROJETOS */
/* ===================== */

.projetos{

margin-top:40px;

display:grid;

grid-template-columns:1fr;

gap:25px;

}


/* IMAGEM */

.projetos img{

width:100%;
height:auto;

border-radius:20px;

box-shadow:0 15px 35px rgba(0,0,0,.35);

transition:.3s;

}


/* HOVER */

.projetos img:hover{

transform:scale(1.03);

}


/* DESKTOP */

@media (min-width:900px){

.projetos{

grid-template-columns:1fr 1fr;

max-width:900px;

margin-left:auto;
margin-right:auto;

}

}


/* ===================== */
/* SOBRE */
/* ===================== */

.sobre-card{

background:#fff;

border-radius:18px;

padding:20px;

margin-top:20px;

box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.sobre-card h2{

margin-bottom:10px;

font-size:18px;

}

.sobre-card p{

font-size:14px;

line-height:1.6;

color:#555;

margin-bottom:10px;

}


/* BOTÃO VOLTAR */

.voltar-container{
display:flex;
justify-content:center;
margin-top:40px;
}

.botao-voltar{

background:#ffd400;
color:#000;

padding:12px 22px;

border-radius:25px;

font-weight:600;

text-decoration:none;

transition:.2s;

}

.botao-voltar:hover{

transform:scale(1.05);

background:#ffc400;

}