/* =================== CORES PADRÕES (ROOT) =================== */
:root,
:root[data-theme="dark"] {
  --bg-color: #080808;
  --bg-menu: #080808;
  --bg-menu-mobile: #080808;
  --button-menu-mobile: #242424;
  --text-color-menu: #f4f4f4;
  --menu-icon-text-color: #cc5eff;
  --toggle-theme-color: #f4f4f4;
  --primary-color: #080808;
  --secondary-color: #f4f4f4;
  --tertiary-color: #cc5eff;
  --fourty-color: #161616;
  --bg-sobre-mim-1: #080808;
  --bg-sobre-mim-2: #181818;
  --social-icon-color: #d57bff;
  --social-icon-hover: #cc5eff;
  --title-color: #d57bff;
  --text-color: #f4f4f4;
  --button-color: #cc5eff;
  --border-color: #cc5eff;
  --shadow-light-color: #c23fffde;
  --shadow-color: #000000;
  --link-color: #ffffff;
  --link-hover-color: #d57bff;
  --input-placeholder-color: #646464;
  --input-formulario-color: #1f1f1f;
  --bg-footer-color: #000000;
  --footer-icons-color: #535353;
  --footer-icons-hover: #808080;
}

:root[data-theme="light"] {
  --bg-color: #f9f9f9;
  --bg-menu: #ffffff;
  --bg-menu-mobile: #c5c5c5;
  --button-menu-mobile: #ffffff;
  --text-color-menu: #4e4e4e;
  --menu-icon-text-color: #3262ff;
  --toggle-theme-color: #222222;
  --primary-color: #ffffff;
  --secondary-color: #222222;
  --tertiary-color: #8aa6ff;
  --fourty-color: #f4f4f4;
  --bg-sobre-mim-1: #f2f2f2;
  --bg-sobre-mim-2: #e0e0e0;
  --social-icon-color: #688bff;
  --social-icon-hover: #5078fa;
  --title-color: #5078fa;
  --text-color: #222222;
  --button-color: #5078fa;
  --border-color: #5078fa;
  --shadow-light-color: #3262ffc4;
  --shadow-color: #2222227a;
  --link-color: #ffffff;
  --link-hover-color: #3262ff;
  --input-placeholder-color: #858585;
  --input-formulario-color: #dfdfdf;
  --bg-footer-color: #ffffff;
  --footer-icons-color: #555555;
  --footer-icons-hover: #3f3f3f;
}

html[data-theme="light"] #toggle-theme {
  filter: invert(1);
}

html {
  scroll-behavior: smooth;
}
/* =================== RESET E BASE =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

main {
  width: 100%;
  /* max-width: 1600px; */
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* =================== HEADER =================== */
/* Cabeçalho */
header {
  background-color: var(--bg-menu);
  color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* gap: 1rem; */
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* BOTÃO DE TEMA DE COR */
#toggle-theme {
  font-size: 2rem;
  color: white;
  transition: 0.3 all ease-in-out;
  cursor: pointer;
}
#toggle-theme:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
/* header button {
  padding: 0.3rem 0.5rem;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  cursor: pointer;
} */

@media screen and (max-width: 870px) {
  header {
    /* flex-direction: column; */
    align-items: center;
  }
  header #toggle-theme {
    order: 1;
  }
  nav {
    order: 3;
  }
}

/* Logo */

header h1 {
  font-size: 24px;
  cursor: pointer;
}

header h1 a {
  text-decoration: none;
  color: var(--secondary-color);
}

/* =================== NAV BAR =================== */
nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
}
/* Itens da Navegação */
nav ul li {
  transition: all 0.3s ease;
  padding: 5px 5px;
  border-radius: 10px;
}
/* Ícones da Navegação */
nav ul li i {
  margin-right: 5px;
  color: var(--menu-icon-text-color);
  flex-wrap: wrap;
}
/* Links da Navegação */
nav ul li a {
  color: var(--text-color-menu);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 8px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
nav ul li a:hover {
  border-bottom: var(--tertiary-color) 1px solid;
  background-color: var(--fourty-color);
  transform: scale(1.05);
  box-shadow: 0 10px 20px -8px var(--shadow-light-color);
}
nav ul li a:active {
  box-shadow: 0 10px 10px -5px var(--shadow-light-color);
  transform: scale(1.1);
}

/** Item CONTATO da Navegação */
/* nav ul #contato a {
  border-bottom: 2px solid var(--tertiary-color);
  padding: 10px 15px;
  border-radius: 10px;
}
#contato i {
  color: var(--link-color);
}
nav ul #contato a:hover {
  transform: scale(1.1);
  color: var(--secondary-color);
  background-color: var(--tertiary-color);
} */

header .icones-sociais {
  display: flex;
  gap: 1rem;
}
header .icones-sociais i {
  font-size: 1.5rem;
  color: var(--social-icon-color);
}

/* =================== SECTIONS PADRÕES =================== */

section {
  padding: 5rem 1rem;
  width: 100%;
}

/* Títulos das Seções */
section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  /* color: var(--title-color); */
}

/* Títulos das Seções com Classe Específica */
section .titulo-section {
  font-size: 1.5rem;
}

/* =================== INÍCIO =================== */

/* Seção de Início */
section.apresentacao {
  background-color: #080808;
  background: linear-gradient(
      to right,
      rgb(0, 0, 0),
      rgba(0, 0, 0, 0.76),
      rgba(0, 0, 0, 0)
    ),
    url("../images/fundo-codigo2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  padding: 10rem;
  width: 100%;
}

/* Container do Início */
#inicio {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* justify-content: center;
  align-items: center;
  text-align: center; */
}

/* Título da Seção de Início */
section.apresentacao h2.titulo-inicio {
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px; /* espaço entre o texto e o emoji */
}
section.apresentacao h2 {
  text-transform: uppercase;
  font-size: 4rem;
  color: var(--title-color);
}
.destaque {
  color: var(--tertiary-color);
}
section.apresentacao h2 .destaque {
  display: block;
  font-size: 5rem;
}

@media screen and (max-width: 768px) {
  section.apresentacao {
    background: linear-gradient(
        to top,
        rgb(0, 0, 0),
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
      ),
      url("../images/fundo-codigo2.webp");
  }
  section.apresentacao h2 .destaque {
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 576px) {
  section.apresentacao h2 .destaque {
    font-size: 2.5rem;
  }
}

/* section.apresentacao .emoji-inicio {
  display: inline-block;
  display: none;
  animation: acenar 3s infinite;
  transform-origin: 70% 70%;
} */

/* Texto da Seção de Início */
section.apresentacao p {
  font-size: 2.5rem;
  max-width: 910px;
  margin-bottom: 3rem;
}
/* 2° Parágrafo do Texto do Início */
section.apresentacao p .paragrafo-2 {
  display: block;
  font-size: 1.5rem;
  margin: 1.5rem 0 3.5rem 0;
  max-width: 910px;
  /* margin-top: 5px; */
}

/* Ícones Sociais */
section.apresentacao .icones-sociais {
  display: flex;
  gap: 35px;
  margin: 20px 0;
}
section.apresentacao .icones-sociais i {
  color: var(--social-icon-color);
  font-weight: bold;
  font-size: 3rem;
  /* opacity: 0.8; */
  transition: all 0.3s ease;
}
section.apresentacao .icones-sociais i:hover {
  color: var(--social-icon-hover);
  transform: scale(1.2);
  /* opacity: 1; */
}

section.apresentacao a {
  padding: 1rem 3rem;
  text-decoration: none;
  border: 2px solid var(--button-color);
  background-color: var(--button-color);
  border-radius: 10px;
  color: var(--link-color);
  text-transform: uppercase;
  font-weight: 600;
  transition: 0.3s all ease;
  letter-spacing: 1px;
}
section.apresentacao a:hover {
  background-color: transparent;
  border: 2px solid var(--button-color);
}

@media screen and (max-width: 768px) {
  section.apresentacao a {
    padding: 1rem 3rem;
    font-size: 1rem;
  }
}

/* =================== SEÇÃO - SOBRE MIM =================== */
/* Seção Sobre Mim */
section.sobre {
  background: linear-gradient(var(--bg-sobre-mim-1), var(--bg-sobre-mim-2));
  border-radius: 0 0 20px 20px;
  display: grid;
  margin-bottom: 3rem;
  box-shadow: 0 10px 50px -10px var(--shadow-color);
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  /* border-bottom: 2px solid var(--border-color); */
  /* grid-template-rows: 1fr; */
}

/* Estilo da Imagem */
section.sobre img {
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px -10px var(--shadow-color);
  transition: all 0.3s ease;
  place-self: center;
  border-bottom: 5px solid var(--border-color);
}
section.sobre img:hover {
  transform: scale(1.05);
}

/* Texto e Título Sobre Mim */
section.sobre .sobre-texto {
  place-content: center;
  place-items: start;
}

/* Título da Seção Sobre Mim */
section.sobre h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--title-color);
}

/* Parágrafo da Seção Sobre Mim */
section.sobre p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  line-height: 1.6;
  max-width: 560px;
  width: 100%;
  margin: 1.5rem 0;
}

section.sobre .icones-sociais {
  gap: 3rem;
  display: flex;
  /* opacity: 0.8; */
  font-size: 3rem;
}

section.sobre .icones-sociais i {
  color: var(--social-icon-color);
  transition: 0.3s all ease;
  /* padding: 0.5rem 0.7rem;
  border-radius: 30px;
  border: 3px solid var(--border-color); */
  /* opacity: 0.8; */
}
section.sobre .icones-sociais i:hover {
  color: var(--social-icon-hover);
  transform: scale(1.2);
  /* opacity: 1; */
}

/* =================== CONHECIMENTO =================== */

/* Seção de Conhecimento */
section.conhecimento {
  /* max-width: 800px; */
  margin: 0 auto;
  padding: 5rem 2rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  position: relative;

  width: 100%; /* Se quiser, pode ajustar a largura */

  /* padding: 2rem; */
}

section.conhecimento .livro-fundo {
  display: none;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  max-width: 800px;
  width: 100%;
  height: 600px;
}

/* section.conhecimento i.livro-fundo {
  font-size: 550px;
  text-align: center;
  z-index: -1;
  color: #d57bff27;
} */

/* Título da Seção de Conhecimento */
section.conhecimento h2 {
  color: var(--title-color);
  font-size: 2rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  text-align: center;
  /* gap: 0.5rem; */
  position: relative;
}

/* Lista de Conhecimento */
ul.lista-conhecimento {
  list-style: none;
  padding: 0;

  display: flex;
  flex-direction: row;
  gap: 1rem;
  position: relative;

  width: 100%; /* Se quiser, pode ajustar a largura */
  margin: auto;
  /* padding: 2rem; */
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  /* grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr); */
}

/* Cada Item da Lista */
ul.lista-conhecimento li {
  background-color: var(--fourty-color);
  padding: 1.2rem;
  border-radius: 0.7rem;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  text-align: center;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  width: 100%;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px -10px var(--shadow-color);
}
ul.lista-conhecimento li:hover {
  transform: translateY(-5px);
  box-shadow: 0 0px 20px -5px var(--shadow-light-color);
}
ul.lista-conhecimento li strong {
  text-transform: uppercase;
}
ul.lista-conhecimento li i {
  font-size: 3.5rem;
  color: var(--button-color);
}

/* .html {
  grid-row: 1;
}
.css {
  grid-row: 2;
  grid-column: 2;
}
.javascript {
  grid-row: 3;
}
.bootstrap {
  grid-row: 4;
  grid-column: 2;
}
.git {
  grid-row: 5;
} */

.css:hover,
.bootstrap:hover {
  transform: translateX(-10px);
}

@media screen and (max-width: 838px) {
  ul.lista-conhecimento {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  ul.lista-conhecimento li {
    max-width: 550px;
    width: 100%;
  }
}

/* =================== PROJETOS =================== */

/* Seção de Projetos */
section.projetos {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 1rem 1rem; */
}

/* Título da Seção de Projetos */
section.projetos h2 {
  color: var(--title-color);
  font-size: 2rem;
  margin-bottom: 3rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  /* display: flex;
  align-items: center; */
  text-align: center;
  gap: 0.5rem;
}

/* Lista de Projetos - Cada Projeto */
section.projetos .projeto {
  /* background-color: var(--fourty-color); */
  padding: 1.5rem 2rem;
  border-radius: 15px;
  /* margin-bottom: 3rem; */
  transition: all 0.3s ease;
  /* border-left: 3px solid var(--border-color);
  border-right: 3px solid var(--border-color); */
  /* box-shadow: 0 0 15px -5px var(--shadow-light-color); */
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  /* box-shadow: 0 20px 60px -50px var(--shadow-light-color); */
  /* justify-items: center; */

  gap: 2rem;
}
section.projetos .projeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -20px var(--shadow-light-color);
}

/* Estilo da Imagem do Projeto */
.projeto img {
  max-width: 100%;
  width: 550px;
  border-radius: 10px;
  /* gap: 2.5rem; */
  object-fit: cover;
  /* border: 1px solid var(--tertiary-color); */
}
/* Bordas dos projetos */
/* .projeto-1,
.projeto-3 {
  border-left: 3px solid var(--border-color);
}
.projeto-2 {
  border-right: 3px solid var(--border-color);
} */

/* Invertendo a Ordem de Elemento no Projeto 2*/
.projeto-2 {
  direction: rtl; /* Inverte visualmente no Grid */
  text-align: left; /* Corrige alinhamento do texto */
}
.projeto-2 > * {
  direction: ltr; /* Mantém o conteúdo interno normal */
}

/* Título e Imagem do Projeto */
.projeto h3 {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--color-button-bg);
  margin-bottom: 1rem;
}

/* Descrição do Projeto */
.projeto p {
  color: var(--color-text-light);
  font-size: 1.2rem;
  opacity: 0.8;
  margin: 1rem 0;
}

.projeto a {
  text-decoration: none;
  color: var(--button-color);
  font-size: 1.5rem;
  letter-spacing: 0.05rem;
}
.projeto a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .projeto-2 img {
    order: 0;
  }
  .projeto {
    text-align: center;
    justify-items: center;
  }
  .projeto h3 {
    font-size: 1.5rem;
  }
  .projeto p {
    font-size: 1rem;
  }
}
/* =================== CONTATO =================== */

/* Seção de Contato */
section.contato {
  margin: 0 auto;
  padding: 5rem 2rem;
  max-width: 1400px;
}

/* Título da Seção de Contato */
section.contato h2 {
  color: var(--title-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  /* display: flex;
  align-items: center; */
  text-align: center;
  gap: 0.5rem;
}

/* Parágrafo da Seção de Contato */
section.contato p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  /* opacity: 0.8; */
  margin-bottom: 2rem;
  text-align: center;
}

/* Formulário */
section.contato form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/** Label do Formulário */
section.contato form label {
  color: var(--text-color);
  font-weight: bold;
}

/** Campos de Entrada */
section.contato form input,
section.contato form textarea {
  background-color: var(--input-formulario-color);
  border: 1px solid var(--primary-color);
  padding: 0.8rem;
  color: var(--text-color);
  border-radius: 10px;
  resize: none;
  font-family: inherit;
}

/** Placeholder */
section.contato form input::placeholder,
section.contato form textarea::placeholder {
  color: var(--input-placeholder-color);
}

/** Botão de Envio do Formulário */
section.contato form button {
  background-color: var(--button-color);
  color: var(--text-color);
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: bolder;
}

section.contato form button:hover {
  background-color: var(--tertiary-color);
  transform: scale(1.05);
}
section.contato form button:active {
  background-color: var(--bg-color);
  transform: scale(1.1);
}

/* =================== FOOTER =================== */
footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 12px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  gap: 1rem;
}

footer .icones-sociais {
  font-size: 2.5rem;
}

footer .icones-sociais a {
  margin: 0 1rem;
  color: var(--footer-icons-color);
  /* padding: 1rem; */
}
footer .icones-sociais a:hover {
  color: var(--footer-icons-hover);
}

/* Animação de Acenar */
/* @keyframes acenar {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(20deg);
    right: 200px;
  }
  40% {
    transform: rotate(-10deg);
    right: 215px;
  }
  60% {
    transform: rotate(20deg);
    right: 195px;
  }
  80% {
    transform: rotate(-10deg);
    right: 210px;
  }
  100% {
    transform: rotate(0deg);
    right: 210px;
  }
} */

/* =================== MEDIA QUERIES =================== */

@media screen and (max-width: 950px) {
  header {
    justify-content: space-between;
  }
  section.sobre {
    grid-template-columns: 1fr;
  }
  section.sobre .sobre-texto {
    justify-items: center;
    text-align: center;
  }
  section.sobre img {
    width: 300px;
    height: 300px;
  }
  section.apresentacao h2 {
    font-size: 3rem;
  }
  section.apresentacao p {
    font-size: 1.8rem;
  }
  section.apresentacao p .paragrafo-2 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 880px) {
  header {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 1rem;
  }
  header .icones-sociais {
    grid-row: 2;
  }
  header #toggle-theme {
    grid-row: 1;
    grid-column: 2 / 3;
  }
  nav {
    grid-column: 1 / 3;
  }
}

@media screen and (max-width: 768px) {
  header {
    /* flex-direction: row; */
    /* align-items: center; */

    /* grid-template-columns: 1fr; */
    grid-template-rows: auto auto;
    justify-items: center;
    /* gap: 1rem; */
    /* padding: 12px 40px; */
  }
  header #toggle-theme {
    order: 1;
  }
  nav {
    order: 3;
    justify-content: center;
    align-items: center;
    margin: auto;
  }
  nav ul li {
    text-align: center;
    justify-content: center;
    padding: 10px 0;
  }
  nav ul li i {
    margin-right: 0;
    font-size: 1rem;
  }
  section.sobre h3,
  section.conhecimento h2,
  section.projetos h2,
  section.contato h2 {
    font-size: 1.8rem;
  }
  section.apresentacao {
    text-align: center;
    padding: 5rem 1rem;
  }
  section.apresentacao h2 {
    font-size: 3.5rem;
    text-align: center;
  }
  section.apresentacao p {
    font-size: 1.6rem;
  }
  section.apresentacao p .paragrafo-2 {
    font-size: 1.3rem;
  }
  .icones-sociais {
    justify-content: center;
  }

  section.projetos .projeto {
    grid-template-columns: 1fr;
  }

  section.projetos .titulo-section {
    justify-content: center;
  }
  section.contato h2 {
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  header {
    display: grid;
    grid-template-columns: auto auto;
    justify-items: center;
    position: static;
  }
  header .icones-sociais {
    order: 3;
    justify-self: center;
    grid-column: 1 / 3;
    gap: 3rem;
  }
  header .icones-sociais i {
    font-size: 2rem;
  }

  .menu {
    display: flex;
    align-items: center;
    background-color: var(--bg-menu-mobile);
    padding: 0.5rem 1rem;
  }
  .menu-mobile {
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    margin: auto;
    z-index: 9999;
    padding: 0.5rem 0 1rem 0;
  }
  .menu-item a {
    background-color: var(--button-menu-mobile);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border-bottom: 2px solid var(--border-color);
  }
  /* nav ul #contato a {
    border-color: var(--border-color);
    padding: 0.8rem 1.5rem;
  } */

  nav ul li i {
    font-size: 1.3rem;
  }
  .nav-item {
    display: none;
  }

  section.apresentacao h2 {
    font-size: 3rem;
  }
  section.apresentacao p {
    font-size: 1.4rem;
  }
  section.apresentacao p .paragrafo-2 {
    font-size: 1.1rem;
  }
  footer {
    padding: 2rem 0 6rem 0;
  }
}

/* .apresentacao h2 {
  width: 10ch;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #d66cff;
  animation: escrever 2s, piscar 0.5s step-end infinite;
}

@keyframes escrever {
  from {
    width: 0;
  }
  to {
    width: 15ch;
  }
}

@keyframes piscar {
  50% {
    border-color: transparent;
  }
} */

/* Revelando */
.reveal-inicio {
  animation: 1s revelar-inicio ease;
}

@keyframes revelar-inicio {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateX(-50px);
  transition: 2s all ease;
}
.reveal.show {
  opacity: 1;
  transform: translateX(0);
}

/* Direção da animação */
.bottom {
  transform: translateY(50px);
}

.top {
  transform: translateY(-50px);
}

.left {
  transform: translateX(-50px);
}

.right {
  transform: translateX(50px);
}

.left,
.right,
.top,
.bottom {
  transition: 1s all ease;
}
