/* Configurações */
:root {
    font-size: 62.5%;
}

body{
    margin: 0;
    scroll-behavior: smooth;
    background-color: #F2F2F2;
}

.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-out;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Começo do projeto */

header{
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
}


/* Parte do logo  */

.logo img{
    width: 3rem;
}

/* Parte dos links */

nav a{
    text-decoration: none;
    font-family: "Montserrat", serif;
    font-weight: 400;
    margin: 1rem;
    font-size: 1.5rem;
    color: #000000;
    position: relative;
}

header a:hover {
    color: #B7F25E;
}

header a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    /* header */
    width: 0;
    height: 2px;
    background-color: #B7F25E;
    transition: width 0.4s ease, left 0.3s ease;
}

header a:hover::after {
    left: 0;
    width: 100%;
}

/* Parte do meu nome */

#MeuNome{
    display: grid;
    justify-content: center;
    align-items: center;
    margin-top: 10%;
}

#MeuNome .nomes h1{
    font-family: "Montserrat", serif;
    font-weight: bold;
    margin: 0;
    color: #000000;
    font-size: 7rem;
}

#MeuNome .nomes h2{
    display: flex;
    justify-content: center;
    font-family: "Montserrat", serif;
    font-weight: lighter;
    margin: 0;
    font-size: 7rem;
    color: #000000;
}


/* sobre min  */

#QuemSouEu{
    display: flex;
    justify-content: space-evenly;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    margin: 5rem;
    margin-top: 20rem;
}

#QuemSouEu .MinhaFoto img{
    width: 40rem;
    animation: float 5s ease-in-out infinite;
}

#QuemSouEu .MinhaFoto .icones{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

#QuemSouEu .MinhaFoto .icones a img{
    width: 3rem;
}

#QuemSouEu .TextoSobreMin{
    width: 35rem;
}

#QuemSouEu .TextoSobreMin h1{
    font-family: "Montserrat", serif;
    font-weight: bold;
    font-size: 4rem;
    color: #000000;
}

#QuemSouEu .TextoSobreMin h1 span{
    color: #B7F25E;
}

#QuemSouEu .TextoSobreMin h2{
    font-family: "Montserrat", serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: #000000;
}

/* Meus serviços */

#Servicos{
   margin-top: 20rem;
    padding: 5rem;
    padding-top: 0;
}

#Servicos .TituloServicos h1{
    display: flex;
    justify-content: center;
    background-color: #B7F25E;
    font-family: "Montserrat", serif;
    font-weight: bold;
    width: 20rem;
    font-size: 4rem;
    margin: 0;
}

#Servicos .TituloServicos h2{
    font-family: "Montserrat", serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: #000000;
}

#Servicos .cards{
    display: grid;
    justify-content: center;
}

#Servicos .cards a{
    text-decoration: none;
    display: block;
    width: 40rem;
}

.card {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    border: 2px solid transparent;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    transition: 1s;
}

.card:hover{
    scale: 1.2;
}

.card h2 {
    margin: 0;
    font-size: 20px;
    font-family: "Montserrat", serif;
    font-weight: bold;
}

.card p {
    font-size: 14px;
    font-family: "Montserrat", serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: #cfcfcf;
}

.card .ver-mais {
    display: inline-block;
    margin-top: 10px;
    color: #B7F25E;
    text-decoration: none;
    font-weight: bold;
}

.card .ver-mais:hover {
    text-decoration: underline;
}

.cardDoMeio {
    background-color: #B7F25E;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    border: 2px solid transparent;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    transition: 1s;
}

.cardDoMeio:hover{
    scale: 1.2;
}

.cardDoMeio h2 {
    margin: 0;
    font-size: 20px;
    font-family: "Montserrat", serif;
    font-weight: bold;
    color: #000000;
}

.cardDoMeio p {
    font-size: 14px;
    font-family: "Montserrat", serif;
    font-weight: normal;
    font-size: 1.5rem;
    color: #cfcfcf;
    color: #000000;
}

.cardDoMeio .ver-mais {
    display: inline-block;
    margin-top: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.cardDoMeio .ver-mais:hover {
    text-decoration: underline;
}

/* Titulo encima do certifcado  */

.titulo{
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.titulo h1{
    display: flex;
    justify-content: center;
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: "Montserrat", serif;
    font-weight: bold;
    width: 40rem;
    font-size: 4rem;
    margin: 0;
}

/* Parte dos certificados */
.certificados{
    display: flex;
    justify-content: center;
    justify-content: space-evenly;
    text-align: center;
}

.certificados .elementos{
    display: inline-block;
    justify-content: center;
    text-align: center;
    align-items: center;
}


.certificados .elementos .grafico{
    display: flex;
    align-items: center;
}

.certificados .elementos .grafico .img img{
    width: 40rem;
}

.certificados .elementos .grafico .descricaoGrafico p{
    font-family: "Montserrat", serif;
    font-size: 1.5rem;
    color: #000000;
}

.certificados .elementos .grafico .descricaoGrafico a p{
    text-decoration: underline;
    text-decoration-color: #1a1a1a;
}


/* Parte da stack  */

.stack{
    margin-top: 10rem;
}

.stack .tituloStack{
    display: flex;
    justify-content: center;
}

.stack .tituloStack h1{
    display: flex;
    justify-content: center;
    background-color: #B7F25E;
    color: #000000;
    font-family: "Montserrat", serif;
    font-weight: bold;
    width: 40rem;
    font-size: 4rem;
    margin: 0;
}

.grid{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    margin: 2rem;
}

.grid .quadradoBranco{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem;
    gap: 2rem;
    transition: 0.5s;
    width: 20rem;
    height: 5rem;
    background-color: #ffffff;
    border: 1px solid black;
    border-radius: 1rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.grid .quadradoBranco img{
    width: 3rem;
}

.grid .quadradoBranco h1{
    font-family: "Montserrat", serif;
    font-weight: bold;
    font-size: 2rem;
}

.verde:hover{
    background-color: #B7F25E;
}

.preto:hover{
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Parte dos contatos */

#Contato{
    margin-top: 20rem;
    margin-bottom: 5rem;
}

#Contato .tituloContato{
    display: flex;
    align-items: center;
    margin: 5rem;
    gap: 2rem;
}

#Contato .tituloContato h1{
    display: flex;
    justify-content: center;
    background-color: #B7F25E;
    color: #000000;
    font-family: "Montserrat", serif;
    font-weight: bold;
    font-size: 4rem;
    width: 20rem;
    margin: 0;
}

#Contato .tituloContato h2{
    font-family: "Montserrat", serif;
    font-weight: bold;
    font-size: 1.6rem;
}

#form{
    display: grid;
    justify-content: center;
}

#form form input{
    width: 60rem;
    height: 4rem;
    border: 4px solid #000000;
}

input::placeholder{
    color: #000000;
    font-family: "Montserrat", serif;
    font-weight: bold;
    padding: 0.5rem;
    font-size: 14px; 
    opacity: 0.7;
}

#form form button{
    width: 61.4rem;
    height: 4rem;
    color: #000000;
    font-family: "Montserrat", serif;
    font-weight: bold;
    background-color: #B7F25E;
    border: none;
}