* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  background: radial-gradient(circle at top, #301b1b, #000000);
  min-height: 100vh;
  max-width: 100%;
  display: flex;
  justify-content: center;
  padding: 30px 10px;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}
.scene{
  width: 120px;
  height: 40px;
  transform: rotateX(68deg) rotateZ(45deg);
  margin-bottom: 37px;
  margin-left: 50px;
}

.step{
  position: absolute;
  width: 80px;
  height: 30px;
  background: linear-gradient(135deg, #cc0000 #ffffff);
  opacity: 1;
  animation: move 4s linear infinite;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.35);
}

.step:nth-child(1) {animation-delay: 0s;}
.step:nth-child(2) {animation-delay: 0.8s;}
.step:nth-child(3) {animation-delay: 1.6s;}
.step:nth-child(4) {animation-delay: 2.4s;}
.step:nth-child(5) {animation-delay: 3.2s;}
@keyframes move {
0% {
  transform: translate(0,0);
  opacity: 0;
}
10% {opacity: 1;}
50% {
  transform: translate(60px, 60px);
  opacity: 1;
} 
90%{ opacity: 1;}
100%{
  transform: translate(120px, 120px);
  opacity: 1;
}
}


.bio {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* CARDS */
.card {
  background: #0f0f0f;
  border-radius: 18px;
  padding: 19px;
  box-shadow: 0 0 25px rgba(49, 11, 11, 0.7);
  color: #fff;
  text-decoration: none;
}

.fa-html5:hover{
  color: #ff572d;
}

.fa-css3-alt:hover{
color: #2d65ff;
}
.fa-js:hover{
color: #ffdf2d;
}

/* PERFIL */
.profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #ff2d2d;
}

.profile h1 {
  font-size: 18px;
}

.profile span {
  font-size: 13px;
  opacity: 0.7;
}

/* SKILLS */
.skills h2 {
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 28px;
}

.icons i {
  color: #ffffff;
  text-decoration: none;
}

.g:hover{
    color: #a8a8a8;
}
.w:hover{
color: #15ff00;
}
.t:hover{
color: rgb(255, 0, 144);
}
.l:hover:hover{
  color: rgb(0, 110, 255);
}

/* GRID SOCIAL */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  height: 70px;
  transition: 0.3s;
}

.social:hover {
  background: #000000;
  box-shadow: #ff0000;
  transform: scale(1.05);
}

/* BOTÃO */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, #e90e19, #4f4fff);
  border-radius: 18px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s;
}

.btn:hover {
  filter: brightness(1.2);
}

/* MÚSICA */
.music {
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

video {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  z-index: -1;
}


.portfolio-link{
 align-items: center;
 justify-content: center;
 display: flex;
 font-size: 20px;
 text-decoration: none;
  margin-top: 20px;
  

}

.open-text{
 box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
  border-radius: 14px;
  padding: 15px 35px;
  background-color: #181616;
  cursor: pointer;
  color: #d6d5d5;
  border: none;
}

.open-text:hover{
  color: #ffb0b0;
  transition: 0.5s;
}


.text{
  text-align: center;
   background: linear-gradient(135deg, #960000, #666666);
   background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
  
}

.gmail {
  display: flex;
  justify-content: center;
  text-align: center;
}

.gmail a {
  font-size: 13px;
  color: #ffc2c2;
  text-decoration: none;
  word-break: break-all;
}

.gmail i {
  margin-right: 6px;
}


/* RELÓGIO */
.clock-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px;
  background: #050505;
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
}

#clock {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ff0000, #ffffff);
  background-clip: text; 
  -webkit-text-fill-color: transparent;
}


@media (max-width: 480px) {

  body {
    padding: 20px 8px;
  }

  .bio {
    max-width: 100%;
  }

  .profile {
    
    text-align: center;
  }

  .scene {
    transform: scale(0.8) rotateX(68deg) rotateZ(45deg);
  }

  .icons {
    font-size: 24px;
  }

  #clock {
    font-size: 26px;
    letter-spacing: 2px;
  }
}
