/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #121212;
  color: #fff;
  line-height: 1.6;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

#loader-bar {
  width: 200px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

#loader-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #007BFF;
  animation: load 2s ease-in-out infinite;
}

@keyframes load {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 0; }
}

#loader-percentage {
  margin-top: 10px;
  font-size: 0.9em;
  color: #007BFF;
}

/* Menu */
nav {
  background: #1e1e1e;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav .logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #007BFF;
}

nav .logo span {
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007BFF;
}

/* Cabeçalho */
header {
  background: #1e1e1e;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.5em;
  color: #007BFF;
}

/* Container principal */
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

/* Seção "Sobre Mim" */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.profile img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 4px solid #007BFF;
  object-fit: cover;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile img:hover {
  transform: scale(1.05);
  border-color: #0056b3;
}

.profile .bio {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.8;
}

.profile .bio h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #007BFF;
}

.tech-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.tech-icons i {
  font-size: 2.5em;
  color: #007BFF;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.2);
  color: #0056b3;
}

/* Rodapé */
footer {
  background: #1e1e1e;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

footer .social-links a {
  color: #fff;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #007BFF;
}

footer p {
  font-size: 0.9em;
  color: #888;
}

/* Layout responsivo */
@media (min-width: 768px) {
  .profile {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .profile img {
    margin-right: 30px;
  }

  .profile .bio {
    flex: 1;
  }
}