/*configuração padrão*/
@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



:root {
/* cores */
    --background: rgba(3, 83, 164, 0.934);
    --botoes: #fca311;
    --background-2: #001524f7;

/* fonte */
    --font-title: "Righteous", sans-serif;
    --font-body: "Montserrat", sans-serif;

}


* {
    box-sizing: border-box;
    margin: 0;
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    display: none;
}

.container {
    width: 70vw;
    margin: auto;
}

/* tudo que fica na parte superior da tela */

header {
    background-color:var(--background-2) ;
    z-index: 1000;
    width: 100%;
    position: fixed;
    border-radius: 0 0 0.5em 0.5em;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/*barra com os links de navegação*/

header > nav a {
    text-decoration: none;
    color: rgba(240, 255, 255, 0.752);
    font-weight: 600;
    padding: 0.4em;
    margin-bottom: 0;
    font-family: var(--font-body), sans-serif;
    font-size: 16px;
}

header > nav a:hover {
    border-radius: 0.5em;
    background-color: var(--botoes);
    color: black;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    

}

header .navbar {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    padding: 0.5rem;
    gap: 1.8rem;
}


/*minha apresentação*/
#home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url(/images/background.png);
    background-color:var(--background-2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: rgb(255, 255, 255);
    box-shadow: inset 2px 50px 52px rgba(255, 254, 254, 0.062);
    text-shadow: 0 10px 10px black;
    
}

#home nav  {
    margin-top:1em ;
    max-width: 98vw;
}

#home nav > a {
    color: rgb(0, 0, 0);
    background-color: var(--botoes);
    border-radius: 0.75em;
    padding: 0.5em;
    margin: 0.2em;
    text-decoration: none;
    align-items: center;
    font-weight: 600;
    display: inline-flex;
    gap: 0.25em;
    text-shadow: none;
    font-family: var(--font-body), sans-serif;
    
}

#home nav > a:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#home img {
    border-radius: 50%;
    border: 5px  solid var(--botoes);
    margin-bottom: 1rem;
    max-width: 80%;

}

#home p {
    max-width: 92vw;
    font-size: clamp(1em, 2vw, 1.5em);
    font-family: var(--font-body), sans-serif;
    text-align: center;
    margin-bottom: 0.5em;
    font-weight: 400;
    color: rgba(240, 255, 255, 0.94);
}

#home h1 {
    font-size: clamp(2em, 5vw, 4em);
    font-family: var(--font-title), sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(240, 255, 255, 0.94);
    text-align: center;
    max-width: 92vw;
}

/*meus projetos*/ 
#projects {
    background-color: rgba(0, 0, 0, 0.93);
    text-align: center;
    padding-bottom: 300px;
}


#projects h2 {
    padding-top: 1.5em;
    margin-bottom: 1em;
    font-size: 3em;
    text-align: center;
    font-family: var(--font-title), sans-serif;
    font-weight: normal;
    color: var(--botoes);
}

/*parte onde ficam os cartões com os projetos*/ 
.flexcard {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, minmax(250px, 1fr));
    gap: 4em;
    margin-bottom: 1em;
}

/*cartões dos projetos*/ 
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--background-2);
    text-align: left;
    border-radius: 1em;
    color: rgba(240, 255, 255, 0.794);
    margin-bottom: 1em;
    height: 100%;
}

.card:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.109);
}
.card img {
    max-width: 100%;
    border-radius:1em 1em 0 0;
}

.card p, h3 {
    margin: 0 1em 0 1em;
    margin-bottom: 0.75em;
    font-family: var(--font-body), sans-serif;
    font-weight: 500;
    color: rgba(240, 255, 255, 0.669);
}

.card h3 {
    font-family: var(--font-title) , sans-serif;
    font-size: 1.5em;
    font-weight: normal;
}



/*tags e links onde ficam as tecnologias utilizadas e os links para acessar o site e código*/



.tags ul {
    list-style-type: none;
    padding: 0;
    margin-right:1em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-left: 1em;
}

.tags li {
    background-color: rgb(20, 48, 160);
    color: azure;
    padding: 0.5em 1em;
    border-radius: 1em;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 1em;
    font-family: var(--font-body), sans-serif;
    border: 1px solid azure;
}
.links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-left: 1em;
}

.links li {
    background-color: var(--botoes);
    color: azure;
    padding: 0.5em 1em;
    border-radius: 1em;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 1em;
    border: 1px solid azure;
}

.links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-family: var(--font-body), sans-serif;
}


/*parte onde fica a orientação para entrar e contato*/
#contact {
    background-color: var(--background-2);
    padding-bottom: 10rem;
}

.contact {
    display: flex;
    flex-direction:column;
    align-items: center;
    font-size: 22px;
    gap: 2em;
    color: rgba(240, 255, 255, 0.669);
    align-items: flex-start;
}

.contact h2 {
    margin: 0.75em 0;
    font-family: var(--font-title), sans-serif;
    font-weight: normal;
    color: var(--botoes);
}

.text p {
    width: 100%;
    font-size: 16px;
    font-family: var(--font-body), sans-serif;
    text-align: justify;
}

.contact a {
    text-decoration: none;
    font-family: var(--font-body), sans-serif;
    font-weight: normal;
    color: rgba(240, 255, 255, 0.669);
    font-size: 16px;
    padding-top: 1em;
}

.email, .whatsapp {
    font-weight: bold;
    color: var(--botoes);
    font-family: var(--font-body), sans-serif;
    font-weight: normal;
    font-size: 16px;


}
@media screen and (min-width: 200px ) and (max-width: 600px) {
    header {
        display: none;
    }
}

@media screen and (min-width: 601px) {
    .flexcard {
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        gap: 2em;
        margin-bottom: 1em;
    }
}

@media screen and (min-width: 1280px) {
    .flexcard {
        margin: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        gap: 0.8em;
        margin-bottom: 1em;
    }

    .contact {
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 22px;
        gap: 2em;
        color: rgba(240, 255, 255, 0.669);
    }

    .contact h2 {
        margin: 0.75em 0;
        font-family: var(--font-title), sans-serif;
        font-weight: normal;
        color: var(--botoes);
    }

    .text p {
        max-width: 50%;
        font-size: 16px;
        font-family: var(--font-body), sans-serif;
        text-align: justify;
}
}