@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;500;600&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    display: flex;

    flex-direction: row;

    /*background: #22212C;*/
    background-color: #E5E5E5;
    transition: background 0.2s linear;
    justify-content: center;
    align-items: start;

    overflow-x: hidden;
}

body.dark {
    background-color: #232c35;
}

header nav {
    display: none;
}

.informations  {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    width: 28%;

    padding: 40px;
    gap: 30px;

    
}

.perfil {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 369px;

    background: white;
    
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    color: #995dd4;
    transition: background 0.2s linear;
}

#perfil.dark {
    background-color: #36424d;

    color: #e7c9ff;
}


.perfil .borda-foto {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 162px;
    height: 162px;
  
    border-radius: 50%;

    border: 4px solid #BB99DD;

    transition: 0.3s;
}

.perfil .borda-foto:hover {
    transform: scale(1.1);
}

.perfil img {
    width: 150px;
    height: 150px;

    border-radius: 50%;

}


.perfil h1 {
    margin-top: 30px;
    margin-bottom: 10px;

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 29px;
}

.perfil h2 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;

    margin-bottom: 20px;
    
    color: #BB99DD;
}

.checkbox {
    opacity: 0;
    position: absolute;
} 

label {
    background-color: #BB99DD;
    border-radius: 50px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 5px;
    position: relative;
    height: 26px;
    width: 50px;

    transform: scale(1.5);
}

label.dark {
    background-color: #111;
}

.label .ball {
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;

    height: 22px;
    width: 22px;

    transform: translateX(0px);
    transition: transform 0.2s linear;
}

.checkbox:checked + .label .ball {
    transform: translateX(24px);
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #ddff00;
}


.contatos {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    width: 100%;
    height: 292px;

    background: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px; 

    padding: 30px 40px;

    gap: 28px;
    transition: background 0.2s linear;
}


#contatos.dark {
    background-color: #36424d;
}

#contatos.dark a:hover {
    color: #e7c9ff;
}

.contatos a {
    display: flex;

    align-items: center;

    text-decoration: none;

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;

    color: #BB99DD;
    transition: 0.2s;
}

.contatos a:hover {
    color: #995dd4;
    font-weight: 700;

    transform: scale(1.05);
}

.contatos a img {
    margin-right: 20px;
}

.contatos a img {
    width: 25px;
}

.tecnologias {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    width: 100%;
    
    padding: 20px;

    gap: 20px;

    background-color: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    color: #995dd4;
    transition: background 0.2s linear;
}

#tecnologias.dark {
    background-color: #36424d;
}

#tecnologias.dark h1 {
    color: #e7c9ff;
}

#tecnologias.dark ul li {
    color: #36424d;

    
}


.tecnologias h1 {
    margin-left: 20px;

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;
}

.tecnologias .stacks {
    display: flex;

    flex-wrap: wrap;

    width: 100%;
   
}

.tecnologias .stacks ul {
    display: flex;

    flex-wrap: wrap;
    gap: 10px;

    list-style: none;
    align-items: center;
    justify-content: center;

    
}

.tecnologias .stacks ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 20px;

    width: 145px;
    height: 45px;

    color: white;
    
    border-radius: 30px;
}

.tecnologias .stacks ul li::before, .tecnologias .stacks ul li::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 145px;
    height: 45px;
    background: linear-gradient(45deg, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);
   
    border-radius: 30px;
    animation: animarBorda 2s linear infinite;
}

.tecnologias .stacks ul li img {
    width: 33px;

    z-index: 2;
}

.tecnologias .stacks ul li h2 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 13px;

    z-index: 2;
}

.educacao {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    width: 100%;

    padding: 20px;

    background: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    color: #995dd4;
    transition: background 0.2s linear;
}

#educacao.dark {
    background-color: #36424d;
}

#educacao.dark h1 {
    color: #e7c9ff;
}

#educacao.dark ul li a:hover {
    color: #36424d;
}

.educacao h1 {
    margin-left: 10px;
    margin-bottom: 20px;

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;
}

.educacao ul {
    margin-left: 20px;

    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.educacao ul li {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    
    
}

.educacao ul li a {
    display: flex;

    justify-content: flex-start;
    align-items: center;

    gap: 15px;
    text-decoration: none;

    color: #BB99DD;
    transition: 0.2s;
}

.educacao ul li a:hover {
    font-weight: 700;
    color: white;
    transform: scale(1.05);

    padding: 7px;
    border-radius: 20px;
}

.educacao ul li a:hover::before, .educacao ul li a:hover::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: -1px;
    background: linear-gradient(45deg, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);
   
    border-radius: 20px;
    
    animation: animarBorda 2s linear infinite;
}

.educacao ul li img {
    width: 50px;
}

.educacao li:nth-child(2) a {
    gap: 25px;
}

.educacao li:last-child a {
    gap: 0px;
}

.educacao ul li:last-child img {
    width: 70px; 
    height: 70px;
}



.certificados {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    width: 100%;

    padding: 20px;
    gap: 20px;

    background: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    color: #995dd4;

    transition: background 0.2s linear;
}

#certificados.dark {
    background-color: #36424d;
}

#certificados.dark h1 {
    color: #e7c9ff;
}

#certificados.dark a {
    color: #BB99DD;
}

#certificados.dark a:hover {
    color: #36424d;
}

.certificados ul {
    list-style: none;
}

.certificados h1 {
    margin-left: 10px;
   

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;
}


.certificado-tech  {
    display: flex;

    margin-left: 20px;

    flex-direction: column;

    gap: 20px;
}

.certificado-tech a {
    display: flex;

    text-decoration: none;

    justify-content: flex-start;
    align-items: center;

    gap: 10px;

    color: #BB99DD;

    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 17px;
    line-height: 25px;

    transition: 0.2s;
    z-index: 2;
}

.certificado-tech a:hover {
    font-weight: 700;
    color: white;

    transform: scale(1.05);

   
    border-radius: 20px;

    padding: 5px;
    
}

.certificado-tech a:hover::before, .certificado-tech a:hover::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    left: -1px;
    background: linear-gradient(45deg, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);
   
    border-radius: 20px;
    
    animation: animarBorda 2s linear infinite;
}




.certificado-tech a img {
    width: 60px;
}

.certificado-tech li:nth-child(3) a:hover {
    padding: 10px;
}


.certificado-tech li:nth-child(3) a img {
    width: 50px;
}



/* =============== MAIN ==========================*/

main {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 40px;

    gap: 35px;
}

main .sobre {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    padding: 20px;
    gap: 20px;

    background: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    color: #995dd4;
    transition: background 0.2s linear;
}

#sobre.dark {
    background-color: #36424d;
}

#sobre.dark h1 {
    color: #e7c9ff;
}

main .sobre h1 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;
}

main .sobre p {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;

    color: #BB99DD;
}


main .projetos-title {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    padding: 20px;
    gap: 20px;

    background: white;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 25px;

    color: #995dd4;

    transition: background 0.2s linear;
}

#projetos-title.dark {
    background-color: #36424d;
}

#projetos-title.dark h1 {
    color: #e7c9ff;
}



main .projetos-title h1 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 25px;

    
}


.projetos {
    display: flex;

    flex-direction: row;
    
    flex-wrap: wrap;

    justify-content: space-between;

    gap: 30px;
}

main article {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 47%;

    padding: 5px;
  
    
    /*background: linear-gradient(to right, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);*/
    background-color: white;
    position: relative;
    z-index: 4;
    
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 30px;

    transition: background 0.2s linear;
    transition: 0.3s;
}



article:hover {
    transform: scale(1.05);
}

  

article::before, article::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9572FC 0%, #43E7AD 50.52%, #E2D45C 100%);
   
    border-radius: 30px;
    animation: animarBorda 2s linear infinite;
}


@keyframes animarBorda {
    100% {
        filter: hue-rotate(360deg);
        
    }
}

article .content {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    background-color: white;
    
    width: 94%;
    height: 95%;
    

    padding:8px;
    border-radius: 25px;
}



#projeto_1.dark ,#projeto_2.dark , 
#projeto_3.dark , #projeto_4.dark,
#projeto_5.dark, #projeto_6.dark,
#projeto_7.dark, #projeto_8.dark {
    background-color: #36424d;
}

#projeto_1.dark h3,#projeto_2.dark h3, 
#projeto_3.dark h3, #projeto_4.dark h3,
#projeto_5.dark h3, #projeto_6.dark h3,
#projeto_7.dark h3, #projeto_8.dark h3{
    color: #e7c9ff;
}
main article a {

    color: #995dd4;
    
    text-align: center;

    text-decoration: none;

    
}

main article  img {

    margin-top: 20px;
    width: 95%;
    height: 75%;

    border-radius: 15px;
}

main article h3 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;

    z-index: 4;

    margin-top: 5px;
    color: #995dd4;
}

main article h4 {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 25px;

    margin-top: 5px;

    color: #BB99DD;
}


