/* styles.css */

body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  font-size: 16px; /* Set a base font size for the body */
}

h1 {
  font-size: 1.5rem; /* 1.5 * base font size (16px) = 24px */
  color: #333;
}

p {
  font-size: 1em; /* 1 * base font size (16px) = 16px */
  line-height: 1.2;
  margin-bottom: 1em;
}

a {
  color: #0066cc; /* More accessible link color */
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline; /* Add hover and focus styles for better accessibility */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border: 1px solid black;
}

/* Responsive styles for tablet devices */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

/* Responsive styles for mobile devices */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 15px;
  }

  body {
    font-size: 14px; /* Reduce base font size on mobile devices */
  }
}

.header-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header-image {
  flex: 1;
  max-width: 250px; /* Adjust as needed */
  margin-right: 20px; /* Existing margin from previous suggestion */

  display: flex; /* Convert this container into a flexbox container */
  align-items: center; /* Vertically aligns children in the middle */
  justify-content: center; /* Horizontally aligns children in the middle */
}


.header-info {
  flex: 2;
  max-width: 40%;  /* Adjust as needed */
}

.header-nav {
  flex: 1;
  max-width: 30%;  /* Adjust as needed */
}

.header-title {
  font-size: 40px;
  font-family: Georgia, serif;
}

.header-details {
  font-size: 14px;
  font-family: Verdana, sans-serif;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
  }
  
  .header-info, .header-nav {
    max-width: 100%;
    text-align: center;
  } /* <-- This brace was missing */

  .header-title {
    font-size: 30px; /* Reduce the font size or adjust as necessary */
  }
}

.youtube-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio for 16:9 videos */
    overflow: hidden;
}

.youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
