/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body Styles */
body {
  font-family: 'Futura', 'Helvetica', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #1b3a2f;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation */
nav {
  background-color: #1b3a2f;
  padding: 1rem 0;
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline;
  margin: 0 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 2rem;
  text-align: center;
}

main h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

main p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Image */
.bio-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

/* Button */
button {
  background-color: #1b3a2f;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #476255;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #1b3a2f;
  color: white;
  margin-top: 2rem;
}

/* Portfolio */
.portfolio-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  width: 100%;
  justify-items: center;
}

.portfolio-item {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.portfolio-item img,
.portfolio-item video,
.portfolio-item audio {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.portfolio-item p {
  margin-top: 0.5rem;
  font-style: italic;
  color: #333;
}

/* Sidebar */
aside.sidebar {
  flex: 1 1 200px;
  margin-right: 2rem;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 8px;
}

aside.sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

aside.sidebar ul {
  list-style: none;
}

aside.sidebar a {
  color: #1b3a2f;
  text-decoration: none;
}

aside.sidebar a:hover {
  color: #476255;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
}

.slider-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slider-image {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 2rem;
  border-radius: 5px;
  z-index: 1;
}

.slider button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
  gap: 1.5rem;
  width: 100%;
  justify-items: center;
}

/* Adjust for smaller screens */
@media screen and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for mid-sized screens */
  }
}

@media screen and (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media screen and (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
}

/* For portfolio items (images, videos, etc.) */
.portfolio-item img,
.portfolio-item video {
  width: 100%; /* Ensures the media fills the available space */
  max-width: 300px; /* Maximum width so images/videos don't get too large */
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}
.green-text {
  color: green;
}