body {
  font-family: 'Orbitron', sans-serif;
/*  background-image: url('background.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
}

/* Ensure container spacing works on all devices */
* {
  box-sizing: border-box;
}

/* Force responsive width on smaller elements */
img, iframe, video {
  max-width: 100%;
  height: auto;
}

/* Fix default layout issues on small screens */
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Add padding to mobile layout if needed */
section {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Fade Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeIn 1s ease-out both; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-down { animation: fadeInDown 0.8s ease-out both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 1s ease-out both; }

/* Logo animation */
.logo-animated {
  transition: transform 0.3s ease;
}
.logo-animated:hover {
  transform: scale(1.1) translateY(-2px);
}

/* Nav link underline hover */
.nav-link-animated {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link-animated::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background: #818cf8;
  transition: width 0.3s ease;
}
.nav-link-animated:hover::after {
  width: 100%;
}
