
a {
  color: #0066cc;
  text-decoration: none;
}

body {
    font-family: Georgia, serif;
    margin: 0;
    padding: 0;
}
main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header, nav, main, footer {
    padding: 1rem;
}
header {
    background-color: #333;
    color: white;
    height: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header h1 {
  margin: 0;
  padding-left: 2rem;  /* or try 2rem for more space */
  line-height: 1;
  display: flex;
  align-items: center;
}
nav {
    background-color: #eee;
    font-size: 20px;
}

img, video {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

video {
  aspect-ratio: 16 / 9;
  background-color: black; /* or something other than gray */
}




.mediaItem{
  width: 100%;
  max-width: 600px;     /* or whatever size fits 2 per row */
  aspect-ratio: 16 / 9; /* keeps videos/images consistent */
  object-fit: cover;    /* prevents distortion */
  border-radius: 8px;
}

.content-row {
  background-color: #e9eef2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  flex-wrap: wrap;
  border-radius: 8px;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-wrap:wrap;
}


#desc{
    background-color: #e9eef2;
    color: rgb(0, 0, 0);
    border-radius: 8px;
    padding-left: 11px;
    padding-right: 11px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 15px;
    width: auto;
}

.imgTitle{
    background-color: rgb(49, 105, 122);
    color: white;
    border-radius: 8px;
    padding-left: 11px;
    padding-right: 11px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.8;
}
.nonBlueLink{
    color: white;
    text-decoration: underline;
}

.vidDiv {
  background-color: #333;
  border-radius: 10px;
  padding: 20px;  /* changed from 50px */
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex: 1 1 45%;  /* allows 2 per row */
}


.vidDiv video {
  width: 100%;
  max-width: 650px;
  height: auto;
}




.images {
  width: 100%;
  max-width: 100%;  
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}


footer {
    background-color: #f2f2f2;
    text-align: center;
}