:root{
  font-size: 62.5%;

  --cor-padrao :  #00E6AB;
  --cor-constraste-1:  hsl(0, 0%, 100%);
  --cor-constraste-2:  hsl(165, 94%, 86%);

}

*{
  box-sizing: border-box;
}

body{
  margin: 0;
  font-size: 1.6rem;
  
}
main , header , section, body{
  margin-top: 0;
  font-weight: 900;
}

body{
  padding: 0;
}

#App{
  display: flex;
  flex-direction: column;

  gap: 3.3rem;

  max-width: 60rem;
  width: 100vw;
  height: 73.5rem;

  margin: 0 auto;
  padding: 4.7rem 5.9rem;
  padding-top: 0;
}

header{
  color: var(--cor-constraste-1);
  background-color: var(--cor-padrao) ;

  display: flex;
  flex-direction: row;
  gap: 1rem;
  text-align: center;
  align-items: center;

  justify-content: space-evenly;

  border-radius: 0 0 20rem 0;

  margin-bottom: 0;
  margin-top: 0;
}

header a{
  padding: 1rem;
  width: 6rem;

  margin-left: 1rem;
  background-color: var(--cor-constraste-1);
  color: var(--cor-padrao);

  border-radius: 2rem ;
  font-size: 2rem;
  font-weight: 900;
  text-decoration: none;

  /*position: fixed;
  left: 1rem;
  top: 1rem;
  */
  z-index: 2;
}

header > a > i{
  color: var(--cor-padrao);
}

header h1{
/*  position: relative;*/
  margin: 0 auto;
  width: 12rem;
  padding: 2rem;
  z-index: 1;
}

header .centralizar{
  color:transparent;
  width: 6rem;

}


section{
  margin-top: 3.3rem;
  display: flex;
  flex-direction: column;

  gap: 3.3rem;

  color: var(--cor-constraste-1);
}

section #Introduction{
  background-color: var(--cor-padrao);
  color: var(--cor-constraste-1);

  padding: 3rem;
  margin: 0 auto;

  height: 15.5rem;
  width: 47.7rem;

  border-radius: 4rem;
}

section #a{
  padding: 1rem;

  height: 4rem;
  width: 47.7rem;

  background-color: var(--cor-padrao);
  color: var(--cor-constraste-1);

  border-radius: 20rem;

  align-items: center;
  text-align: center;


}

#a a {
  text-decoration: none;
  color: var(--cor-constraste-1);
}

#sideBYside{
  display: flex;
  flex-direction: row;

  gap: 0.6rem;
}


#sideBYside a{
  text-decoration: none;
  font-weight: 900;
  color: var(--cor-constraste-1);
}

#seePROJECTS a{
  color: var(--cor-padrao);
}

#social_midias, #Contatos{

  background-color: var(--cor-padrao);

  width: 24rem;
  height: 18.8rem;

  border-radius: 4rem;

  display: flex;

  flex-direction: column;

  padding: 2rem;

  padding-left: 2rem;

  line-height: 2rem;

}
#social_midias{
width: 20rem;
}

#Contatos{
  width: 26rem;
}

#Contatos #span1, #Contatos #span4{
  font-size: 1.2;
  font-weight: 300;
}

#Contatos #span4 i{
  background-color: var(--cor-constraste-1);
  color: var(--cor-padrao);
  padding: 2px;

  font-weight: 700;

  border-radius: 4px;
}

#seePROJECTS{
  background-color: var(--cor-constraste-1);
  color: var(--cor-padrao);

  height: 4rem;
  width: 14rem;

  border-radius:  2rem;

  padding: 1rem;
  
  margin: 1rem;

  display: flex;
  place-items:center;
}


#Idiomas{
  background-color: var(--cor-padrao);

  padding: 1.5rem;
  text-align: center;

  border-radius: 4rem;


  height: 13rem;
  width: 47.7rem;
}

#Flex-row{
  display: flex;
  flex-direction: row;
  gap: 5rem;

  justify-content: space-evenly;

}
#Idiomas img{
  width: 5rem;
  height: 5rem;
}



@media (max-width: 42.5rem){
  #App{
    gap: 2.3rem;
  
    max-width: 42.5rem;
    width: 100%;
    min-width: 32rem;
    
    height: 73.5rem;

    padding: 0rem 1.7rem; /* abaixei 4 rem*/
  }
/*Escolhi tirar o header de dentro da div#App */
  header{
    gap: 0px;
    padding: 2rem 1rem 2rem 1rem;

    justify-content:space-around;

  }

  header h1{
    padding: 0;
    width: 8rem;
    margin: 0;

    z-index: 1;
  }

  header a {
 
    left: 1rem;
    top: 1rem;
    z-index: 2;
  }

  
  header .centralizar{
    color:transparent;
    width: 6rem;

  }
  
  section{
    gap: 2.3rem;
    color: var(--cor-constraste-1);
  }
  
  section #Introduction{
    padding: 1rem;
    padding-top: 0.2rem;
    margin: 0 auto;

    height: 14rem;
    width: 28rem;
  }


  section #a{
    padding: 1rem;
    margin: 0 auto;
  
    height: 4rem;
    width: 28rem;
  
    background-color: var(--cor-padrao);
    color: var(--cor-constraste-1);
  
    border-radius: 10rem;
  }

  
  #sideBYside{
    display: flex;
    flex-direction: column;
  
    gap: 2.3rem;
  }
  
  #sideBYside a{
    text-decoration: none;
    font-weight: 900;
    color: var(--cor-constraste-1);
  }
  
/*
  #seePROJECTS{
    width: 20rem;
  }
*/

  #seePROJECTS a{
    color: var(--cor-padrao);
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    align-items: center;
  }
  

  #social_midias, #Contatos{
  
    background-color: var(--cor-padrao);
  
    width: 28rem;
    height: 18.8rem;
  
    border-radius: 4rem;
  
    display: flex;
  
    flex-direction: column;
    justify-content: center;
  
    padding: 2rem;
  
    padding-left: 2rem;
  
    line-height: 2rem;

    margin: 0 auto;
  
  }

  #Contatos #span1, #Contatos #span4{
    font-size: 2rem;
    font-weight: 300;
  }

  #Contatos i{
    font-size: 2rem;
    width: 100%;
    background-color: var(--cor-constraste-1);
    color: var(--cor-padrao);
    padding: 2px;
  
    font-weight: 300;
  
    border-radius: 4px;
  }
  
  #Contatos .bi-envelope-at, #Contatos #spaN{
    width: 2.5rem;
    padding: 3px;

  }

  #Contatos #inline{
    display: inline;
  }

  #Contatos #inline #spaN{
    font-size: 1.9rem;
    font-weight: 500;
  }

  #seePROJECTS{
    background-color: var(--cor-constraste-1);
    color: var(--cor-padrao);
  
    height: 4rem;
    width: 22rem;
  
    border-radius:  2rem;
  
    padding: 1rem;
    
    margin: 1rem;

  }
          /*    */
  
  #Idiomas{
    background-color: var(--cor-padrao);
  
    padding: 0.5rem;
    text-align: center;
  
    border-radius: 4rem;
  
    margin: 0 auto;
    height: 13rem;
    width: 28rem;
  }
  
  #Flex-row{
    display: flex;
    flex-direction: row;
    gap: 5rem;
  
    justify-content: space-evenly;
  
  }
  #Idiomas img{
    width: 5rem;
    height: 5rem;
  }
  
}