@font-face{
font-family: 'Michroma';
src: url('Michroma.ttf') format('truetype');
}
body {
  margin: 0;
  font-family:'Michroma', sans-serif;
  line-height: 1.6;
  color: blue;
  background: black;
}

/* HEADER */
header {
  text-align: left side;
  padding: 40px 20px;
  animation: fadeSlide 1.5s ease-out forwards;
  opacity: 0; /* start hidden */
}
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
}

}
header h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

header p {
  max-width: 600px;
  margin: 10 auto;
  color: blue;
  font-size: 1rem;
}

/* IMAGE GALLERY */
#projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.project img {
  width: 100%;          /* fill the container width */
  height: auto;         /* scale height proportionally */
  display: block;       /* remove extra inline space */
  border-radius: 12px;  /* optional rounded corners */
  object-fit: fit to size;     /* no cropping, keep original proportions */
}

.project h3 {
  text-align: center;
  margin: 10px 0;
}
nav {
  background: black;
  padding: 15px;
  text-align: left side;
  animation: fadeSlide 1.5s ease-out forwards;
  opacity: 0; /* start hidden */
}
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav ul {
  list-style:none;
  display: inline-flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav a {
  color: blue;
  text-decoration: none;
  font-weight: light;
}
nav a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  padding: 50px 20px;
}

/* Grid for images/videos */
.grid {
  display: block;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.grid img,
.grid video {
  width: 30%;
  border-radius: 8px;
}

/* VIDEO GALLERY */
#videos {
  padding: 60px 20px;
  text-align: center;
  background: black;
  color: blue;
}

#videos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.video-gallery {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.video-gallery video {
  width: 30%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
