* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

:root {
  --background-color: #28292c;
  --text-color: #d8dbe0;
  --dark: #28292c;
  --cor-primaria: #ff2d2d;
  --cor-secundaria: #b41c1c;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--cor-primaria);
  border-radius: 50px;
}

::-webkit-scrollbar-track {
  background-color: #101019;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

*:not(i) {
  font-family: "Poppins", sans-serif;
}

header {
  position: fixed;
  width: 100%;
  background-color: transparent;
  padding: 1rem 6rem;
  z-index: 1;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 300ms;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

#ham-menu {
  z-index: 15;
}

.menu.sticky {
  border-bottom: 1px solid rgba(255, 255, 255, 0.082);
  color: #fff;
  background: #0000009a;
  height: 70px;
  transition: 0.5s;
}

.logo.sumir {
  width: 50px !important;
  height: 50px !important;
}

nav a {
  font-size: 1.8rem;
  text-decoration: none;
}

#logo {
  width: 70px;
  height: 70px;
  transition: 300ms;
}

#logo:hover {
  scale: 1.05;
}

nav ul a {
  color: var(--text-color);
  font-weight: 600;
}

.scroll {
  scroll-behavior: smooth;
}

nav ul a:hover {
  transition: 5s;
  border-bottom: 2px solid #ffffff;
}

.parte-texto {
  height: 100vh;
  margin-top: 00px;
  width: 100%;
  display: flex;
  place-items: flex-start;
  flex-direction: column;
  align-items: center;
  padding: 0px 6rem;
  color: rgba(245, 245, 245, 0.856);
  text-align: justify;
  justify-content: center;
}

.parte-texto p h1 {
  font-weight: 200;
  font-family: sans-serif;
}

/* Estilo do container do alerta */
.alert-container {
  position: fixed;
  bottom: 20px;
  /* Distância do fundo da tela */
  right: 20px;
  /* Distância da borda direita da tela */
  max-width: 300px;
  /* Largura máxima do alerta */
  background-color: var(--cor-primaria);
  /* Cor de fundo do alerta */
  color: #fff;
  /* Cor do texto do alerta */
  font-size: 14px;
  padding: 25px;
  /* Espaçamento interno do alerta */
  border-radius: 5px;
  /* Borda arredondada */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  /* Sombra */
  display: none;
  /* Inicialmente oculto */
}

/* Estilo do botão de fechar do alerta */
.alert-container .close-btn {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 18px;
}

/* Animação de entrada do alerta */
@keyframes slideIn {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Adiciona a animação ao container do alerta */
.alert-container.slide-in {
  animation: slideIn 0.5s ease-in-out;
}

#meu-nome {
  font-size: 55px;
  font-weight: 600;
}

.page-inicial {
  display: flex;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.349), rgb(0, 0, 0));
  background-size: cover;
  height: auto;
}

#ham-menu {
  display: none;
}

nav ul.active {
  left: 0;
}

#samurai {
  width: 50%;
  height: auto;
}

#meu-cargo {
  color: var(--cor-primaria);
  margin-top: -10px;
  font-size: 25px;
  font-weight: 500;
}

#home {
  background-image: url(../img/background.gif);
  background-position: center;
  background-size: cover;
}

.social-icons {
  display: flex;
  gap: 10px;
}

#home img {
  width: 35px;
  filter: invert(100%);
  transition: 500ms;
}

#home img:hover {
  width: 35px;
  filter: invert(50%);
}

#btnCopiarTexto {
  cursor: pointer;
}

.setinha-pra-baixo {
  width: 50px;
  height: 50px;
  position: relative;
  margin-top: 50px;
  animation: moveUpDown 2s ease-in-out infinite;
  text-align: center;
}

.texto-skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  font-size: 20px;
  padding-top: 6rem;
  color: rgba(245, 245, 245, 0.789);
}

.texto-skills h1 {
  color: var(--cor-primaria);
  font-weight: 300;
}

.texto-skills h2 {
  font-size: 19px !important;
  font-weight: 300;
}

.texto-skills p {
  font-size: 17px !important;
  font-weight: 100;
}

#sobre-mim {
  background: linear-gradient(to bottom, #050507, rgba(0, 0, 0, 0.904));
  background-size: cover;
  height: auto;
}

a {
  text-decoration: none;
}

.sobre-mim {
  border-radius: 25px;
  border: 1px solid var(--cor-primaria);
  background-color: #0f0f0f;
  margin: 0 7rem;
  height: auto;
  display: flex;
  padding: 1rem 6rem;
}

.descricao-sobre-mim {
  color: rgba(245, 245, 245, 0.74);
  font-size: 17px;
  padding: 25px;
}

.descricao-sobre-mim h1,
h2,
p {
  font-weight: 100;
}

#minha-foto {
  margin-top: 25px;
  margin-bottom: 25px;
  border-radius: 20px;
  border: 1px solid var(--cor-secundaria);
  width: 300px;
  padding: 10px;
}

#descricao-completa {
  display: none;
}

#btn-continuar-lendo {
  color: var(--cor-primaria);
  cursor: pointer;
}

#ler-menos {
  display: none;
  color: var(--cor-secundaria);
  cursor: pointer;
}

#btn-curriculo {
  background-color: transparent;
  border: 1px solid #ffffff;
  color: whitesmoke;
  padding: 10px;
  border-radius: 5px;
  transition: 500ms !important;
}

#btn-curriculo:hover {
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid black;
  color: black;
  padding: 10px;
  border-radius: 5px;
}

.skiils-linguagem {
  color: #fff;
  width: 500px;
  margin: 60px auto;
  padding: 20px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.skiils-linguagem {
  margin: 20px 0;
  padding: 10px;
}

.skiils-linguagem h3 {
  font-size: 20px;
}

.bar {
  background: #00000044;
  display: block;
  height: 15px;
  border: 1 solid rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bar:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.bar span {
  height: 15px;
  float: left;
  background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-secundaria) 100%);
  border-radius: 10px;
}

.react {
  width: 90%;
}

.node {
  width: 90%;
}

.javascript {
  width: 100%;
}

.sass {
  width: 70%;
}

.mysql {
  width: 50%;
}

.typescript {
  width: 50%;
}

.projetos {
  color: whitesmoke;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: revert !important;
}

.img-space-movies {
  background-image: url('../img/space-movies.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 260px;
  height: 150px;
}

.img-hotel-palace {
  background-image: url('../img/hotel-palace.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 260px;
  height: 150px;
}

.img-upis {
  background-image: url('../img/upis.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 260px;
  height: 150px;
}

.todos_projetos {
  display: flex;
  gap: 20px;
}

.projeto {
  margin-top: 20px;
  padding-top: 10px;
  padding-left: 5px;
  padding: 20px;
  border-radius: 25px;
  width: 300px;
  text-align: inherit;
  font-size: 15px;
  height: auto;
}

.bn53 {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid white;
  color: white;
  background-color: transparent;
  padding: 7px;
  width: 150px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  animation: bn53bounce 4s infinite;
  cursor: pointer;
}

#descricao-projeto {
  width: 100%;
  text-align: left;
  height: 24vh;
  padding: 5px;
}

.btns,
.btns-hotel {
  display: flex;
  gap: 15px;
}

.btns button {
  background-color: rgb(255, 58, 58);
  border-radius: 10px;
  padding: 5px 15px;
  color: white;
  border: 0px;
  transition: 300ms;
}

.btns button:hover {
  background-color: rgb(192, 43, 43);
  transition: 400ms;
  scale: 1.02;
  cursor: pointer;
}

.btns-hotel button {
  background-color: rgb(0, 162, 255);
  border-radius: 10px;
  padding: 5px 15px;
  color: white;
  border: 0px;
  transition: 300ms;
}

.btns-hotel button:hover {
  background-color: rgb(22, 115, 168);
  transition: 400ms;
  scale: 1.02;
  cursor: pointer;
}

.btns-upis button {
  background-color: #ff9900;
  border-radius: 10px;
  padding: 5px 15px;
  color: white;
  border: 0px;
  transition: 300ms;
}

.btns-upis button:hover {
  background-color: #c47704;
  transition: 400ms;
  scale: 1.02;
  cursor: pointer;
}

@keyframes bn53bounce {

  5%,
  50% {
    transform: scale(1);
  }

  10% {
    transform: scale(1);
  }

  15% {
    transform: scale(1);
  }

  20% {
    transform: scale(1) rotate(-5deg);
  }

  25% {
    transform: scale(1) rotate(5deg);
  }

  30% {
    transform: scale(1) rotate(-3deg);
  }

  35% {
    transform: scale(1) rotate(2deg);
  }

  40% {
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 630px) {
  .sobre-mim {
    display: block;
    margin: 0 1rem;
    padding: 1rem 1rem;
  }

  #minha-foto {
    width: 85%;
  }

  #meu-nome {
    font-size: 40px;
    text-align: center;
  }

  #meu-cargo {
    font-size: 22px;
    text-align: center;
  }

  #home {
    background-size: cover;
    background-position: center;
  }

  .skiils-linguagem {
    width: 70%;
    font-size: 15px;
  }

  .texto-skills {
    text-align: center;
  }

  .todos_projetos {
    display: block;
  }

  #descricao-projeto {
    width: 100%;
    text-align: left;
    height: 27vh;
    padding: 5px;
  }
}

@keyframes moveUpDown {
  0% {
    top: 0;
  }

  50% {
    top: -20px;
  }

  100% {
    top: 0;
  }
}

@media only screen and (max-width: 991px) {
  html {
    font-size: 56.25%;
    scroll-behavior: smooth;
  }

  header {
    padding: 2.2rem 5rem;
  }
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 50%;
    scroll-behavior: smooth;
  }

  #ham-menu {
    display: block;
    color: #ffffff;
  }

  nav a#logo,
  #ham-menu {
    font-size: 3.2rem;
  }

  nav ul {
    background-color: rgba(0, 0, 0, 0.767);
    position: fixed;
    left: -100vw;
    top: 0px;
    width: 100vw;
    height: calc(110vh - 73.6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transition: 1s;
    gap: 0;
  }
}

@media only screen and (max-width: 575px) {
  html {
    font-size: 46.87%;
    scroll-behavior: smooth;
  }

  header {
    padding: 2rem 3rem;
  }

  nav ul {
    top: 0px;
    height: calc(110vh - 65.18px);
  }
}