body {
  background-color: #f8f8f8;
  color: #28262C;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  font-size: 18px; /* or 1.125rem */
  line-height: 1.6;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;               
}

header {
  background-color: #28262C;
  color: #f8f8f8;
  padding: 1rem;
}

footer {
  background-color: #28262C;
  color: #f8f8f8;
  padding: 0.1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 36px;
  color: #BE5022;
}

p {
  font-size: 24px;
}

a {
  color: #66bbc9;
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: space-between; /* pushes left links to left, contact to right */
  align-items: center;
  
}

.nav-links{
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  margin-left: 0.5rem;
}

nav ul li{
  display: flex;
}

.nav-links a, .contact{
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav-links a:hover, .contact:hover {
  color: #f8f8f8;
}

main {
  padding: 0rem 1rem 0rem 1rem;
}

.photo-grid, .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-grid img, .video-grid video {
  width: 100%;
  border-radius: 8px;
}

footer {
  background: #28262C;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer p{
  font-size:18px;
}

.home-container {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #66bbc9;
  border-radius: 5px;
}

.home-text h2 {
  font-size: 36px;
  color: #f8f8f8;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-text h2 {
  font-size: 36px;
  color: #f8f8f8;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-text p {
  font-size: 18px;
}

.info-text a {
  font-size: 18px;
  color:#28262C;
  text-decoration: underline;
}

/* Horizontal orange line */
.home-divider {
  border: none;
  height: 3px;
  background-color: #BE5022;
  margin: 0 0 0 0;
  width: 250px; /* Adjust length as you like */
}

.home-panel {
  display: flex;
  align-items: center; /* Align text top with image top */
  gap: 0.5rem;
}

.home-text, .info-text {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0rem 1rem;
}

.home-button-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem; /* add spacing above the button */
  min-width: 400px;
  gap: 1rem;
}

.home-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #BE5022;
  color: #f8f8f8;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  width: 145px;
  text-align: center;
}

.home-button:hover {
  background-color: #8f3b18;
}

.photo-square img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: left center;
  border-radius: 0;
  border: 2px solid #BE5022;
  margin: 0rem 2rem;
}

.photo-circle img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #BE5022;
  margin-right: 2rem;
}

.home-photo-grid {
  display: flex;
  justify-content: center;     
  gap: 2rem;                   
  flex-wrap: wrap;            
}

.home-photo-grid img {
  height: 350px;
  width: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bio-photo-grid, .school-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; /* center the row of images */
}

.bio-photo-grid img {
  height: 275px;          /* same height for all images */
  width: auto;            /* width adjusts based on aspect ratio */
  object-fit: cover;      /* crop if needed */
  border-radius: 8px;
  display: block;
}

.school-grid img {
  height: 250px;          /* same height for all images */
  width: auto;            /* width adjusts based on aspect ratio */
  object-fit: cover;      /* crop if needed */
  border-radius: 8px;
  display: block;
}

.school-grid iframe {
  height: 250px;          /* same height for all images */
  width: 400px;            /* width adjusts based on aspect ratio */
  object-fit: cover;      /* crop if needed */
  border-radius: 8px;
  display: block;
}

@media (max-width: 600px) {
  .home-photo-grid {
    grid-template-columns: 1fr;
  }
}

.large-container {
  max-height: 1280px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background: #58A4B0;
}

