:root{
    font-size: 16px;
    --white: #fff;
    --bgHerder:  rgba(9, 9, 9, 0.8);
    --bgHover: rgba(62, 0, 59, 0.674);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100vw;
}

body{
    width: 100vw;  
    height: 100vh;  
    font-family: 'Ubuntu', sans-serif;
    background: rgb(62, 0, 59);
    background: linear-gradient(90deg, rgba(4,0,62,1) 0%, rgba(93,9,121,1) 100%, rgba(109,0,255,1) 100%); 
    overflow: hidden;
}
a{
    color: var(--white);
    text-decoration: none;
}
/* Menu Fixo da Página */
header.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 4.6875rem;
    padding: 1rem 1.5rem 1rem 1rem;
    background: var(--bgHerder);
    position: fixed;
    z-index: 1;
}
.logo{
    max-width: 5rem;
    border-radius: 50%;
}
.menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}
.menu a{
    display: block;
    padding: 1rem;
    border-radius: 0.5rem;
}
.menu a:hover{
    background: var(--bgHover);
}
.btn-menu {
    display: none;
}
/* Configuração Padrão de todas as section */
section {   
    width: 100%;
    height: 100%;
    padding: 1rem 2rem 0;
    color: var(--white);
}
/* Secão Inicial */
section#home{
    display: flex;
    flex-direction: column;
    gap: 5rem;
    background-image: url("./assents/backgroud.svg");
    background-position: center center;
    padding: 15rem 5rem 4rem;
}
.apresentacao{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.apresentacao h1{
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.apresentacao span{
    font-size: 1rem;
    margin-left: 1rem;
}
.botaoContato{
    all: unset;
    display: inline-block;
    width: 10rem;
    padding: 1rem;
    border: 0.0625rem solid #fff;
    border-radius: 5%;   
    text-align: center;
    cursor: pointer;
}
.botaoContato:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
.botaoContato a{
    color: #fff;
}

section#info{
    display: flex;
    padding-top: 7%;
}
.sobremim{
    display: flex;
    flex-direction: column;
    width: 55%;
    height: 75vh;
    margin-top: 9%;
    padding: 0 1.25rem ;
}
.sobremim p{
    font-size: 1.25rem;
    text-align: justify;
    line-height: 2.1875rem;
    padding: 0.9375rem 0;
}
.imagem-code{
    width: 40vw;
    margin: 9rem 0.5rem 0 0;
    background-image: url("./assents/code-snapshot.svg");
    background-repeat: no-repeat;
    background-size: contain;
}
/* Seção de Formação */
section#formacao{
    display: flex;
    gap: 1.25rem;
    width: 100%;
    height: 100%;
}
.forma-academ{
    max-width: 50%;
    height: 100%;
    align-content: center;
    justify-content: center;
    text-align: justify;
    margin: 0 0.3125rem;
}
.forma-academ p{
    font-size: 1.25rem;
    line-height: 2rem;
    padding: 0.625rem 0.125rem;
}
.forma-code{
    max-width: 50vw;
    height: 100vh;
    margin-top: 12%;
}
.forma-code img{
    width: 100%; 
    height: 50vh;
    border: 0.125rem solid #cccccc52;
    border-radius: 0.625rem;
}
/* Seção sobre projetos á realizados */
section#projetos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
}
.slider{
    display: flex;
    width: 75%;
    min-height: 33rem;
    margin: 2rem auto 0;
    border-radius: 0.3125rem;
    overflow: hidden;
}
.slides{
    display: flex;
    width: 100%;
    height: 33rem;
}
.slides input{
    display: none;
}
.slide{
    position: relative;
    width: 100%;
    flex-shrink: 0;
    transition: 2s;
}
.slide img{
    width: 100%;
    height: 100%;
}
.slides .slide:nth-of-type(2)  img{
    padding-right: 3rem;
}
.manual-navegacao{
    position: absolute;
    display: flex;
    justify-content: center;
    width: 75%;
    margin-top: 35rem;
}
.manual-btn{
    border: 0.125rem solid #fff;
    padding: 0.3125rem;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 7rem;
}
.manual-btn:hover{
    background-color: #fff;
}
#radio1:checked ~ .first{
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -100%;
}
#radio3:checked ~ .first{
    margin-left: -200%;
}
.navegacao-auto div{
    border: 0.125rem solid #20a6ffb6;
    padding: 0.3125rem;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: 1s;
}
.navegacao-auto{
    position: absolute;
    width: 75%;
    margin-top: 35rem;
    display: flex;
    justify-content: center;
}
.navegacao-auto div:not(:last-child){
    margin-right: 7rem;
}
#radio1:checked ~ .navegacao-auto .auto-btn1{
    background-color: #fff;
}
#radio2:checked ~ .navegacao-auto .auto-btn2{
    background-color: #fff;
}
#radio3:checked ~ .navegacao-auto .auto-btn3{
    background-color: #fff;
}

/* Seção do Formulario */
section#contato{
    width: 100%;
    height: 100%;
    padding-top: 5rem;
}
section#contato h2{
    font-size: 1.875rem;
    text-align: center;
    margin: auto;
    padding: 1.25rem;
}
.redes { 
    display: flex;
    justify-content: end;
    gap: 0.625rem;
    width: 50%;
    margin: 0 auto;
}
.redes a img{
    height: 5vh;
}
.redes a:nth-of-type(3) img{
    padding-right: 0.625rem;
}
form {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin: 0 auto;
}
.form label {
    font-weight: bold;
    margin-bottom: 0.625rem;
}
.form label:not(:nth-of-type(1)){
    margin-top: 1.5rem;
}
input,
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 0.0625rem solid transparent;
    border-radius: 0.3125rem;
    color: #000;
    transition: border-color, 
    box-shadow 0.2s;
}
.form textarea{
    min-height: 10rem;
    resize: vertical;
}
.form input:hover,
.form input:focus,
.form textarea:hover,
.form textarea:focus{
    outline: none;
    border-color: rgb(144, 87, 165);
    box-shadow: 0 0 0 0.1875rem rgba(159, 97, 180, 0.694);
}
.form button{
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    color: #fff;
    text-transform: uppercase;
    background: #0072c4;
    border-radius: 0.3125rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}
.form button:hover,
.form button:focus{
    outline: none;
    background: #09d;
    border: 0.0625rem  solid #fff;
}