@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap");
* {
  box-sizing: border-box;
}

body {
  background-color: #232323;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, "Courier New", Courier, monospace;
}

#page {
  background-color: #121212;
  height: 100%;
  overflow-x: hidden;
}

/* Barra de Navegação */

#navBar {
  height: 90px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#navBar #logoBar {
  width: 90px;
  margin: 0 2rem;
}

.linksBar ul li {
  margin: 0 2rem;
  display: inline-block;
}

.linksBar ul li a {
  color: #f5f5f5;
  font-size: 18px;
  display: inline-block;
  text-decoration: none;
}

/* Conteúdo da página */
#contentPage {
  padding: 0 2rem 0 2rem;
  display: flex;
  flex-direction: column;
}

/* Barra lateral*/
.mediasBar {
  background-color: #232323;
  border-radius: 50px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  padding: 40px 10px 30px 10px;
  border-radius: 35px;
}

.mediasBar #myPhoto {
  width: 100%;
  max-width: 180px;
  border-radius: 10px;
  max-height: 180px;
}

.mediasBar .name {
  color: #f5f5f5;
  font-size: 1.4rem;
  text-align: center;
}

.name h2 {
  margin-top: 5px;
}

.name .h2 {
  margin-top: -42px;
}

.socialMedia {
  display: flex;
  flex-direction: column;
}

.socialMedia a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 18px;
  margin: -5px;
  display: flex;
  align-items: center;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}

.socialMedia a:hover {
  transform: translate(20px);
}

.socialMedia a i {
  font-size: 20px;
  padding: 5px;
}

/* Meu Conteúdo */
.myContent {
  margin-left: 260px;
  padding: 0 2rem;
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sobre Mim */
#aboutMe {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#aboutMe h1 {
  font-size: 35px;
}

/* Habilidades */
#skills {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iconSkills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
}

.box {
  width: 200px;
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.box h2 {
  text-transform: uppercase;
  color: #f5f5f5;
}

.box .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6.5rem;
  transition: 0.5s ease-in-out;
}

.box:hover .logo {
  width: 3rem;
  transform: translate(-25px, 75px);
}

.box .text {
  color: #f5f5f5;
  letter-spacing: 1px;
  font-size: 10px;
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: -100%;
  transition: 0.5s ease-in-out;
  padding: 70px 20px;
}

.box .text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.box:hover .text {
  transform: translateX(100%);
}

/* Projetos */
#projects {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cardProjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 260px;
}

.listCard {
  background-color: #232323;
  border-radius: 25px;
  margin: 5px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.listCard .card {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
}

.listCard:hover .card {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.informCard {
  margin-top: -10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.informCard h4 {
  font-size: 15px;
}

.informCard li {
  background-color: #f5f5f5;
  color: #121212;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px;
  display: inline-block;
}

.linkCard {
  margin-top: -13px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.linkCard a {
  padding: 2px;
}

.linkCard a i {
  font-size: 25px;
  color: #f5f5f5;
}

.linkCard a i:hover {
  color: #4e4e4e;
  transition-duration: 0.3s;
}

/* Form de contato */
#contact {
  margin-top: 20px;
  color: #f5f5f5;
  background-color: #232323;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 10px;
  padding: 20px;
}

#contact form input,
textarea {
  background-color: #f5f5f5;
  border: 2px solid #000000;
  border-radius: 25px;
  color: #4e4e4e;
  font-size: 15px;
  outline: none;
  padding: 15px;
  width: 100%;
}

button {
  color: #121212;
  background-color: #f5f5f5;
  border: 2px solid #000000;
  border-radius: 50px;
  width: 80px;
  padding: 8px;
  cursor: pointer;
  font-weight: 800;
}

button:hover {
  color: #f5f5f5;
  background-color: #121212;
  border: 2px solid #f5f5f5;
  border-radius: 50px;
  width: 80px;
  padding: 8px;
  cursor: pointer;
  font-weight: 800;
}

/* Parte final */
footer {
  margin-top: 30px;
  background-color: #000000;
  display: flex;
  justify-content: center;
  text-align: center;
}

footer p {
  color: #f5f5f5;
  font-size: 13px;
}

footer p a {
  color: #4e4e4e;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

footer p a:hover {
  color: #ff0000;
}

/* Scroll Bar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  width: 10px;
  background-color: #474747;
  border-radius: 10px;
}
