html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.user-info {
  max-width: 200px;
  word-wrap: break-word;
  white-space: normal;
}

.inicio {
  background-image: url('../img/fundo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: #000;
  font-family: 'Hagrid', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.inicio-text {
  margin-left: 7em;
}

@media (max-width: 600px) {
  .inicio-text {
    margin-left: 2em;
  }
}

nav, .navbar {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

h2, h2.display-5 {
  font-family: 'Hagrid', sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: -0.5px;
  color: #5271ff;
}

h5 {
  color: #555;
  font-weight: 500;
}

.sectione {
  padding: 5em 0 7em;
}

.lupa {
  width: 40%;
  margin-right: 5em;
}

.rodrigo {
  width: 70%;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.arrow {
  font-size: 3.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.arrow:hover {
  transform: translateX(5px);
}

.icon-bounce {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.btn-outline-primary,
.btn-primary {
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  transform: scale(1.05);
}

[data-aos] {
  transition: all 0.6s ease-in-out;
}

.footer-gradient {
  background: linear-gradient(135deg, #5271FF, #ffffff);
  color: #222;
}

.footer-gradient a {
  color: #555;
  text-decoration: none;
}

.footer-gradient a:hover {
  color: #222;
  text-decoration: underline;
}

footer img {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

footer img:hover {
  opacity: 1;
}

.contacto-gradient {
  background: linear-gradient(135deg, #3949ab, #5c6bc0, #9fa8da);
  color: #fff;
  padding: 4rem 0;
  border-radius: 0;
  border: none;
}

#contacto a.btn {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

#contacto a.btn:hover {
  background-color: #5271ff;
  color: white;
  transform: scale(1.05);
}

#contacto h2 {
  color: white;
}

#contacto p {
  color: #ddd;
}

@media (min-width: 2560px) {
  .inicio {
    min-height: 75vh;
  }

  .container {
    max-width: 1800px;
  }

  h2, h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 390px) {
  h2.display-3 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}
