body {
    background: #f4f9fc;
    font-family: Arial;
}

html {
    scroll-behavior: smooth;
}

h1, h2 {
    color: #0f1b61;
    font-size: 100px;
    font-weight: 700;
    margin: 0;
}

h3 {
    font-size: 70px;
    font-weight: 700;
    padding-top: 10px;
}

.sobreMim p {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cursor::after {
    content: "|";
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.custom-navbar {
    background: transparent;
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: #333;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link:hover {
  color: black;
}

.fw-bold {
    font-size: 22px;
}

.bi {
    font-size: 26px;
    color: #333;
    transition: 0.3s;
}

.bi:hover {
    color: black;
    transform: scale(1.2);
}

.about-section {
    padding-top: 50px;
}

.about-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    max-width: 630px;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
    transition: 0.5s;
}

.about-img:hover::before {
    filter: blur(15px);
    opacity: 1;
}

.skills img {
    width: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.skills img:hover {
    transform: scale(1.2) translateY(-5px);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.show-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: 0.8s ease;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
}

.scroll-indicator .line {
    width: 2px;
    height: 200px;
    background: #ccc;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.scroll-indicator .line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #333;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

.section-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: start;
}

.projeto-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: 0.3s;
  height: 100%;
}

.img-container {
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: 0.4s;
}

.projeto-card:hover img {
  transform: scale(1.1);
}

.projeto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.numero {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #0f1b61;
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.tecnologias {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.tecnologias img {
  width: 25px;
  height: 25px;
}

.projeto-card a {
  margin-top: auto;
  text-decoration: none;
  font-weight: 500;
  color: #0f1b61;
}

.btn-github {
  margin-top: auto;
  background-color: #0f1b61;
  color: #fff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  margin-top: 5px;
}

.btn-github:hover {
  background-color: #333;
  color: #fff !important;
  transform: translateY(-2px);
}

.footer {
  background: #0f1b61;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-nome {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

/* INFO */
.footer-info p {
  margin: 5px 0;
}

/* REDES */
.footer-redes {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-redes a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-redes a:hover {
  color: #aab4ff;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-redes {
    justify-content: center;
    margin-top: 20px;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 768px) {

  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  .projeto-card {
    border-radius: 12px;
  }

  .projeto-card h5 {
    font-size: 18px;
  }

  .btn-github {
    font-size: 14px;
    padding: 8px;
  }

  .skills img {
    width: 30px;
  }

  .navbar span {
    font-size: 16px;
  }
}