/* ---------------------------------------
-------------- INDEX STYLES -------------- */



/* ---- HEADER ---- */

#hero {
  width: 100%;
}

header {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  width: 100vw;
  margin-top: 0;
}

h1 {
  width: 90vw;
  margin: 40px auto 0;
}

header h2 {
  margin: 25px auto 0;
  font-size: 1.25rem;
  width: 80vw;
  font-weight: 500;
}

button {
  margin-top: 40px;
  margin-bottom: 80px;
}

.event-header {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}



/* ---- MAIN ---- */

main {
  width: 80vw;
  margin: 80px auto 100px;
  text-align: center;
}

.content-image {
  width: 300px;
  height: 200px;
  margin-top: 40px;
  object-fit: cover;
  margin-bottom: 0 !important;
}

.events p {
  margin-top: 10px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}



/* ---- MEDIA DESKTOP SMALL < ---- */

@media screen and (min-device-width: 1200px) {
  header {
    margin-top: -1px;
  }
  
  #hero {
    height: 60vh;
    width: 100%;
    object-fit: cover;
  }

  h1 {
    margin: 50px auto 0;
    font-size: 60px;
  }

  header h2 {
    margin: 10px auto 0;
    font-size: 1.5rem;
    width: 60vw;
  }

  button {
    margin-top: 50px;
    margin-bottom: 100px;
  }

  .event-header {
    font-size: 30px;
    text-align: left;
  }

  .events {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10vw;
    text-align: center;
    grid-auto-columns: auto;
  }

  main {
    width: 80vw;
    margin: 125px auto;
    text-align: center;
  }

  .content-image {
    width: 100%;
    height: 70%;
  }
}



/* ---- MEDIA DESKTOP LARGE < ---- */

@media screen and (min-device-width: 1600px) {
  header h2 {
    width: 30vw;
  }
  
  main,
  main h2 {
    width: 70vw;
  }

  .hero-text {
    margin: 150px 0;
  }
}
