.marginBottom8 {
  margin-bottom: 0.5rem;
}
.hoverStyle {
  background-color: transparent;
  color: #d2dae2;
  transform: scale(1.05);
  text-align: center;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "IBM Plex Sans", sans-serif;
  list-style: none;
}
body {
  background-color: #1e272e;
  color: #d2dae2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  font-weight: 600;
}
.container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
header {
  padding: 2rem;
  justify-content: center;
  text-align: center;
}
header .profile-avatar {
  display: block;
  margin: 0 auto 1.8rem;
  background-color: #ff5e57;
  max-width: 100%;
  max-height: 150px;
  cursor: crosshair;
}
header .profile-avatar:hover {
  transform: scale(1.2);
}
.profile-bio {
  text-align: center;
}
.profile-bio-name {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  font-weight: 900;
  color: #ffdd59;
  margin-top: 1rem;
}
.profile-bio-subtitle {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #ffdd59;
}
.profile-bio-text {
  font-size: 1.2rem;
}
.profile-bio img {
  margin-left: 0;
  text-align: center;
}
.social-links {
  display: flex;
  justify-content: space-around;
  max-width: 260px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 1.5rem;
}
.social-links li img {
  transition: all ease 0.3s;
  width: 35px;
  margin-bottom: 2rem;
}
.social-links li img:hover {
  transform: scale(1.4);
}
.section-title {
  text-align: center;
  color: #ffdd59;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.projects-list {
  margin-top: 2rem;
}
.projects-list-item a,
.projects-list-item2 a,
.projects-list-item3 a,
.projects-list-item4 a {
  text-decoration: none;
  display: block;
  padding: 0.7rem 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #17171a;
  transition: transform 0.4s ease;
}
.projects-list-item a:hover,
.projects-list-item2 a:hover,
.projects-list-item3 a:hover,
.projects-list-item4 a:hover {
  background-color: transparent;
  color: #d2dae2;
  transform: scale(1.05);
  text-align: center;
}
.projects-list-item a {
  background-color: #575fcf;
  border: 2px solid #575fcf;
  transform: perspective(1200px) translateZ(100px) rotateY(45deg);
  text-align: left;
}
.projects-list-item2 a {
  background-color: #ff5e57;
  border: 2px solid #ff5e57;
  transform: perspective(1200px) translateZ(100px) rotateY(-45deg);
  text-align: right;
}
.projects-list-item3 a {
  background-color: #05c46b;
  border: 2px solid #05c46b;
  transform: perspective(1200px) translateZ(100px) rotateY(45deg);
  text-align: left;
}
.projects-list-item4 a {
  background-color: #ffdd59;
  border: 2px solid #ffdd59;
  transform: perspective(1200px) translateZ(100px) rotateY(-45deg);
  text-align: right;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 555;
}
.modal-content {
  background: #747474;
  padding: 20px;
  border-radius: 5px;
  max-width: 100%;
  width: 80vw;
  margin: auto;
}
.close {
  top: 2vh;
  right: 35vw;
  cursor: pointer;
  color: red;
  font-size: 3rem;
}
.projeto-section {
  margin: 2vh auto;
  padding-top: 3rem;
  font-family: "IBM Plex Sans", sans-serif;
}
.projeto-section button {
  padding: 1rem;
  font-size: 1.3rem;
  cursor: pointer;
  border: 2px solid #575fcf;
  background-color: #575fcf;
  font-family: "IBM Plex Sans", sans-serif;
  align-items: center;
  transition: box-shadow 0.3s ease;
  color: #eaeef3;
  font-weight: 600;
}
.projeto-section button:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background-color: transparent;
  color: #d2dae2;
}
.projeto-section button:active {
  /* Efeito de afundar ao clicar */
  box-shadow: inset 0 1px 3px #ffdd59;
}
.section-title2 {
  text-align: center;
  color: #ffdd59;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  margin: 0 auto;
}
.modal1 {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 555;
  font-size: 18px;
  padding-bottom: 20px;
}
.modal1.visible {
  display: flex;
}
.modal-content1 {
  background: #575fcf;
  padding: 20px;
  max-width: 100%;
  width: 600px;
  margin: 2vh auto;
  text-align: left;
}
.modal-content1 ul {
  list-style: none;
  padding: 20px;
}
.modal-content1 ul li {
  margin-bottom: 0.8rem;
}
.modal-content1 ul li strong {
  color: #1e272e;
}
.fecharModalBtn {
  top: 2vh;
  right: 35vw;
  cursor: pointer;
  color: red;
  font-size: 3rem;
  text-align: center;
}
.sectiontwo {
  margin: 2rem auto;
  padding: 2.3rem;
  align-items: center;
  text-align: center;
  max-width: 100%;
  justify-content: center;
}
.badget {
  display: flex;
  margin: 2rem auto;
  flex-wrap: wrap;
  /* Permite que os ícones quebrem para a próxima linha em dispositivos móveis */
}
.icon-container {
  position: relative;
  display: inline-block;
  /* Alterado para inline-block para permitir a aplicação de margens */
  margin: 1rem auto;
  padding: 0.6rem;
  cursor: grab;
  cursor: crosshair;
  background: rgba(0, 0, 0, 0.2);
}
.language-icon {
  transition: transform 1s ease;
}
.language-icon:hover {
  transform: rotatey(360deg);
}
.language-name {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffdd59;
  color: #1e272e;
  padding: 5px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Adiciona transição para a rotação */
  margin-top: 6px;
  font-size: 1.1rem;
}
.language-icon:hover + .language-name {
  opacity: 1;
}
.services-section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 1rem;
  margin-bottom: 4rem;
}
.service-section-card {
  display: flex;
  margin: 0 auto;
}
.service-card1,
.service-card2,
.service-card3,
.service-card4 {
  width: 200px;
  padding: 1rem;
  margin: 1rem;
  font-size: 1.3rem;
  color: #17171a;
  border: 2px solid #575fcf;
  background-color: #575fcf;
  transform: perspective(1200px) translateZ(100px) rotateY(45deg);
  text-align: left;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: w-resize;
}
.service-card1:hover,
.service-card2:hover,
.service-card3:hover,
.service-card4:hover {
  transform: scale(1.05);
  text-align: center;
  background-color: transparent;
  color: #d2dae2;
}
.service-card2 {
  background-color: #ff5e57;
  border: 2px solid #ff5e57;
  transform: perspective(1200px) translateZ(100px) rotateY(-45deg);
  text-align: right;
}
.service-card3 {
  background-color: #05c46b;
  border: 2px solid #05c46b;
  transform: perspective(1200px) translateZ(100px) rotateY(45deg);
}
.service-card4 {
  background-color: #ffdd59;
  border: 2px solid #ffdd59;
  transform: perspective(1200px) translateZ(100px) rotateY(-45deg);
  text-align: right;
}
.back-to-top {
  text-decoration: none;
  color: #d2dae2;
  margin-bottom: 2rem;
}
.back-to-top:hover {
  transform: scale(1.2);
  color: #ffdd59;
}
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: #ffdd59;
  text-align: center;
  font-size: 0.9rem;
  max-width: 200px;
  margin: 0 auto;
}
/* Media query para ajustar a exibição em dispositivos móveis */
@media screen and (max-width: 767px) {
  .icon-container {
    width: calc(30% - 2rem);
    /* Dois ícones por linha em dispositivos móveis */
    margin-bottom: 2.2rem;
    /* Adiciona uma margem inferior entre os ícones */
  }
  img {
    max-width: 100%;
  }
  .close {
    top: 2vh;
    right: 45%;
  }
  .service-section-card {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  .modal-content {
    width: 100vw;
  }
}
