/* GENERAL ABOUT PAGE SECTION STYLING */
main {
  background: linear-gradient(#003366, rgba(35, 131, 226, 0.6), #003366);
  padding: 40px 20px;
  width:100%;
  margin: auto;
  overflow-x: hidden;
}

.content h2 {
  color: black;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Paragraphs and list tweaks */
.content p {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.content ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  background: white;
  padding: 40px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  color: #222;
  text-align: left;
}

.section .content {
  flex: 1 1 60%;
}

.image {
  flex: 1 1 35%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 250px;
  border-radius: 12px;
}

/* Alternate layout for every even section */
.section:nth-of-type(even) {
  flex-direction: row-reverse;
}

.image-4 { background-image: url("../css/pictures/TheRejectDevs_Logo.jpg"); height: 300px; }
.image-5 { background-image: url("../css/pictures/Malik.png"); }
.image-6 { background-image: url("../css/pictures/Channing.jpeg"); }
.image-7 { background-image: url("../css/pictures/Erika.png"); }
.image-8 { background-image: url("../css/pictures/Eric.png"); }
.image-9 { background-image: url("../css/pictures/Landon.jpeg"); }

@media (max-width: 300px) {
  .section {
    flex-direction: column;
  }
  .image {
    order: -1;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }
  .section .content {
    width: 100%;
  }
}