/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

ul, ol, menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Base */
body {
  position: relative;
  background-color: #a0cbee;
  color: #0c2a43;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.25rem;
  font-weight: 400;
}

main {
  
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Caveat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

h1, h2 {
  font-size: 2.5rem;
}

h3, h4 {
  font-size: 2rem;
}

h5, h6 {
  font-size: 1.5rem;
}

a {
  color: #cc5500;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus {  
  color: #964b00;
  text-decoration: underline;
}

strong {
  font-weight: 400;
}

svg {
  display: inline-block;
}

address {
  font-style: normal;
  font-size: 0.875rem;
}

/* Styles */
.hero {
  position: relative;
  z-index: -1;
  margin-bottom: -8vw;
}

.hero-img {
  width: 100%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(0deg, rgba(160,203,238,1) 0%, rgba(160,203,238,0) 100%);
}

.logo {}

.logo-img {
  width: 22rem;
  margin: 0 auto -1.5rem;
}

.logo-caption {
  font-family: 'Caveat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.backdrop {
  position: relative;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.backdrop-img {
  width: 100%;
}

.backdrop::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(160,203,238,1) 0%, rgba(160,203,238,0) 100%);
}

@media (min-width: 48rem) {
  .backdrop {
    margin-top: -9rem;
  }
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 48rem;
  margin: 0 auto 5.25rem;
  padding: 0 1.5rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .intro {
    margin-bottom: 5.25rem;
  }
}

.gallery {
  position: relative;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  margin-bottom: 5.25rem;
  padding: 0.75rem 1.5rem;
}

.gallery-item {
  flex: 1 0 90%;
  max-width: 48rem;
  padding: 0.75rem 0.75rem 0;
  background-color: #f5f9fd;
  border-radius: 4px;
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.25);
}

.gallery-item-img {
  width: 100%;
  border-radius: 2px;
}

.gallery-item-caption {
  padding: 0.125rem 0 0.25rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .gallery {
    margin-bottom: 8.25rem;
  }

  .gallery-item {
    flex: 1 0 45%;
  }
}

.about {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.who {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 4.5rem;
  max-width: 60rem;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.who-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 48rem) {
  .who {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 9rem;
  }

  .who-item:first-child {
    align-items: flex-end;
    text-align: right;
  }
}

.avatar {}

.avatar-img {
  display: inline-block;
  width: 8rem;
  height: 8rem;
  overflow: hidden;
  background-color: #f5f9fd;
  border: 4px solid #f5f9fd;
  border-radius: 9999px;
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.25);
}

.gear {
  max-width: 60rem;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}

.gear-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  overflow: hidden;
  padding: 0.75rem;
  background-color: #f5f9fd;
  border-radius: 4px;
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.25);
}

.gear-content-img {
  border-radius: 2px;
}

.gear-content-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0.75rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 48rem) {
  .gear {
    margin-bottom: 9rem;
  }

  .gear-content {
    flex-direction: row;
    gap: 3rem;
  }

  .gear-content-figure {
    flex: 0 0 40%;
  }

  .gear-content-text {
    padding-left: 0;
    padding-right: 2.25rem;
    padding-bottom: 0.75rem;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-address {
  margin-top: 3rem;
}

@media (min-width: 48rem) {
  .contact {
    text-align: center;
  }
}

/* Utilities */
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

.text-system {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}