@font-face {
  font-family: "Tanker";
  src: url("tanker-font/Tanker-Regular.otf");
}
body {
  background: #483d28;
  color: white;
  margin: 0 auto;
}
a:link,
a:visited,
a:hover,
a:active {
  color: white;
} 

/* HERO SECTION */
header {
  width: 100%;
  background-image: linear-gradient(
      to bottom,
      rgba(246, 238, 224, 0) 70%,
      #483d28 100%
    ),
    url("../images/raymond1.png");
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center;
  height: 600px;
  position: relative;
  text-align: center;
  font-family: "Tanker";
  color: white;
}

h1 {
  font-size: 6rem;
  margin-top: 0;
  letter-spacing: 5px;
}

h2 {
  font-size: 50px;
  letter-spacing: 2.5px;
}

.school {
  top: 12rem;
  position: relative;
  text-align: center;

} 

/* PHOTO CREDIT */
.credit {
  padding: 0 10px;
  text-align: right;
  color: #98987e;
  font-size: 0.9rem;
  } 

  .credit a:visited {
    color: #98987e;
  }
/* === GALLERY SECTION === */

p {
  font-family: "Helvetica Neue";
}

.caption {
  position: absolute;
  bottom: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 100px auto;
  padding: 0 20px;
  margin-bottom: 50px;
}

.student {
  text-align: center;
  background: transparent;
  font-family: "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding: 16px;
  border-radius: 10px;
  box-shadow: none;
}

.student img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
}

.student p {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

.student a {
  color: #8cc63f;
  text-decoration: none;
  font-size: 0.95rem;
}

.student a:hover {
  text-decoration: underline;
}

footer {
  font-size: 0.9rem;
  background: #8cc63f;
  color: black;
  padding: 0 20px 20px;
}

footer img {
  height: 150px;
  width: 100px;
} 

/* Top-left (mustard/golden): #B58A2A Top-right (lime green): #8CC63F Bottom-left (black): #000000 Bottom-right (light gray): #E0E0E0 */ /* test for iphone 14 Pro Max, iPad Air */ 

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  
  header {
    height: auto; /* prevents text from overflowing the fixed container*/
    padding: 25px 10px;
  }

  h1 {
    font-size: 4rem;
    padding-bottom: 40px;
    letter-spacing: 1px;
  }

  h2 {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }

  .school {
    position: relative;
    top: 7rem;
    padding: 0 1rem;
  }


  .gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    max-width: auto;
    margin: 100px auto;
    padding: 0 20px;
    margin-bottom: 50px;
  }
} 


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

  
} 


