/* Global Styles */
html, body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  width: 100%;
  overflow-x: hidden;
}
.section-title {
  font-size: 2.5rem; /* Set consistent font size */
  text-align: center; /* Center align the text */
  margin-top: 20px; /* Adjust top margin to ensure consistent spacing */
  margin-bottom: 20px; /* Adjust bottom margin to ensure consistent spacing */
  color: #333; /* Set text color */
}

h1 {
  font-size: 2.5rem; /* Set consistent font size */
  text-align: center; /* Center align the text */
  margin-top: 20px; /* Adjust top margin to ensure consistent spacing */
  margin-bottom: 20px; /* Adjust bottom margin to ensure consistent spacing */
  color: black; /* Set text color */
}
/* About Section */
.about {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}
.about p {
  font-size: 1rem;
  color: #555;
  text-align: justify;
  margin-bottom: 40px;
}

.about h2 {
  margin-top: 40px;
  font-size: 1.75rem;
  color: black;
  border-bottom: 2px solid #0077cc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.about ul {
  list-style: none;
  padding-left: 0;
}

.about ul li {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about ul li strong {
  color: #333;
  font-size: 1rem;
}

.about ul li ul {
  margin-left: 20px;
  margin-top: 10px;
}

.about ul li ul li {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* Video Divider Section */
.video-divider {
  position: relative;
  height: 50px; /* Adjust the height to your preference */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0px; /* Adds space below the video to separate from the resume */
}

.video-divider .video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 0px;
}

.video-divider .video-background iframe {
  position: absolute;
  margin-bottom: 0px;
  height: 50px;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Prevent interaction with the video */
}

/* Media Queries for Responsiveness */

/* Tablets and Small Desktops */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1rem;
  }

  .intro-text h1 {
    font-size: 1.8rem;
  }

  .intro-text p {
    font-size: 0.9rem;
  }

  .skills {
    padding: 40px 10px;
  }

  .skill-item {
    width: calc(50% - 40px); /* Two items per row */
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  nav {
    padding: 0.5rem 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 1rem;
  }

  .headshot {
    width: 150px;
    height: 150px;
  }

  .intro-text h1 {
    font-size: 1.5rem;
  }

  .intro-text p {
    font-size: 0.8rem;
  }

  .skill-item {
    width: 100%; /* One item per row */
  }

  .btn {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .nav-links li a {
    font-size: 0.9rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  }
}
