@font-face {
  font-family: "PermanentMarker";
  src: url("fonts/PermanentMarker-Regular.ttf") format("truetype");
}

body {
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}

body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

h1,
h2 {
  font-family: "PermanentMarker";
  font-size: 3em;
}

.relative {
  max-width: 100%;
  position: relative;
}

.relative img {
  display: block;
  margin: 0 auto;
}

.header {
  color: #fff;
  text-align: center;
}

.hero {
  background: url("img/gha-expo-hero.jpg");
  background-size: cover;
  background-position-y: 100%;
  /* padding-bottom: 50px; */
}

.hero .container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 100%;
}

.hero .container img.graphic {
  /* width: 400px; */
  max-width: 80%;
}

.hero .container img.logo {
  /* width: 40%; */
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

.hero .arrows-link {
  width: 40px;
  margin: 0 auto;
  display: block;
}
.hero .arrows-down {
  width: 40px;
  margin: 0 auto;
  position: relative;
  top: -100px;
}

.hero .arrows-down img {
  max-width: fit-content;
}

.logo img {
  width: 200px;
  transition: all 0.3s ease-in-out;
}

.logo-small {
  width: 100px !important;
  transition: all 0.3s ease-in-out;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
}

ul.nav-links {
  padding-left: 0;
  margin-bottom: 0;
}

.nav-links li {
  display: inline;
  padding: 0 15px;
}

.nav-links li a {
  color: rgb(64, 64, 64);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links .cta {
  color: #fff;
  background-color: #d20c2b;
  /* border: 2px solid #D20C2B; */
  padding: 8px 20px;
  border-radius: 2px;
  font-family: "Montserrat", sans-serif;
  /* font-family: "PermanentMarker"; */
}

.insta-cta {
  color: #fff;
  background-color: #d20c2b;
  /* border: 2px solid #D20C2B; */
  padding: 15px 35px;
  border-radius: 2px;
  font-family: "PermanentMarker";
  text-decoration: none;
  display: block;
  text-decoration: none;
  width: max-content;
  margin: 20px auto;
  font-size: 1.5em;
}

.hero-cta {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(50%);
  margin-left: -50%;
}

.hero h1 {
  font-size: 2.5em;
  margin: 10px 0;
}

.hero p {
  font-size: 1.2em;
  margin: 10px 0;
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

section h2 {
  margin-bottom: 30px;
  font-size: 4em;
  text-align: center;
}

section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: red;
  margin: 0 auto;
}

section p {
  font-weight: 500;
}

.about {
  padding-top: 50px;
}

.about p {
  text-align: justify;
  line-height: 24px;
}

.about iframe {
  width: 560px;
  height: 315px;
}

.program .container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.program .program-details h3 {
  font-size: 2em;
}

.program .program-details p {
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  font-weight: 600;
}

.partners {
  background: url("img/gha-expo-bg-3.jpg");
  background-size: cover;
  background-position-y: 100%;
}

.partner-logos {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.tatko img {
  max-width: 200px;
  max-height: 180px;
  margin: 20px;
}
/* .partner-logos a:first-child img {
  filter: none;
} */
.partner-logos img {
  max-width: 200px;
  max-height: 140px;
  margin: 20px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  transition: all 0.3s ease-in-out;
}

.partner-logos img:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  transition: all 0.3s ease-in-out;
}

.about,
.team {
  background: url("img/gha-expo-bg-2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  /* background-position-y: 55%; */
}

.team-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.team-container div {
  max-width: 300px;
  width: 100%;
  margin: 20px;
  text-align: center;
}

.team p {
  font-weight: 500;
  text-align: center;
}

.team img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

.program,
.register h2 {
  color: #fff;
}

.program {
  background: url("img/gha-expo-bg-program.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
}

.register {
  background: url("img/gha-expo-bg-get-your-spot.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

.register p {
  color: #fff;
  text-align: justify;
  line-height: 24px;
}

.register img {
  width: 100%;
}

.about,
.partners,
.program,
.register {
  text-align: center;
  padding: 50px 10%;
}

.footer {
  background: url("img/gha-expo-bg-2 .jpg");
  color: #fff;
  text-align: center;
  padding: 20px;
}

.small-text {
  font-size: 0.8em;
}

.footer p {
  color: rgb(64, 64, 64);
}

.footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.footer .container img {
  width: 300px;
}

.footer .container p {
  max-width: 60%;
  text-align: justify;
  line-height: 30px;
  font-weight: 400;
}

.footer nav {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.footer .creds {
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .navbar {
    flex-direction: column;
  }
  .hero {
    height: calc(100vh - 200px);
  }
  .hero .container {
    height: 90%;
  }
  .hero .container img.graphic {
    display: none;
  }
  .hero .container img.logo {
    max-width: 80%;
    width: 100%;
  }
  /* PROGRAM */
  .program .container img {
    display: none;
  }

  /* REGISTER */
  .register img {
    display: none;
  }
  .footer .container {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .navbar {
    padding: 20px 0;
  }
  .hero {
    padding: 10px;
  }
  .hero .container img.logo {
    max-width: 100%;
  }
  .nav-links li {
    padding: 10px 0;
    margin-right: 10px;
  }
  .nav-links li:last-of-type {
    margin-right: 0;
  }
  .about,
  .team,
  .partners {
    background: url("img/gha-expo-bg-mobile.jpg");
    background-size: contain;
  }
  .footer .nav-links li {
    display: block;
    padding: 10px 0;
  }

  .nav-links li a {
    text-transform: none;
  }
  .about iframe {
    width: 100%;
    /* height: auto; */
  }
  .footer .container p {
    max-width: 100%;
    line-height: 24px;
    margin-top: 20px;
  }
}

@media (max-width: 545px) {
  section h2 {
    font-size: 3em;
  }
  .about p {
    line-height: 22px;
  }
  .header {
    position: -webkit-sticky; /* Necessary for older Safari browsers */
    position: sticky;
    top: 0; /* Set the top edge of the element to stick at the top of the viewport */
    z-index: 1000;
    background-color: #fff;
  }
  .hero .arrows-down {
    width: 25px;
    margin: 0 auto;
    top: 0;
  }
  .hidden-on-mobile {
    display: none;
  }
  .program,
  .register {
    background-attachment: unset;
  }
}

/* GALLERY PAGE */

.gallery-links-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  min-height: calc(100vh - 375px);
}
@media (max-width: 768px) {
  .gallery-links-container {
    flex-direction: column;
    min-height: auto;
  }
}

.gallery-links-container .gallery-link {
  width: 200px;
  margin: 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #d20c2b;
  padding: 15px 35px;
}

main.gallery {
  background: url("img/gha-expo-bg-2.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 50px 10%;
}

main.gallery h1 {
  font-size: 4em;
  margin-bottom: 30px;
}

main.gallery h1::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: red;
  margin: 0 auto;
}

main.gallery section h2 {
  font-size: 3em;
  margin-bottom: 30px;
}

.grid {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 100px auto;
  /* display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px; */
}

.grid-item {
  width: 400px;
  margin-bottom: 10px;
}
@media (max-width: 545px) {
  /* main.gallery {
    background-attachment: unset;
  } */
  .grid-item {
    max-width: 100%;
  }
  .grid-item--width2 {
    max-width: 100%;
  }
}
.grid-item--width2 {
  width: 400px;
}

.grid-item img {
  max-width: 100%;
  height: auto;
}
.grid-item--width2 img {
  max-width: 100%;
  height: auto;
}
