* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
    body {
    font-family: sans-serif;
    line-height: 1.5;
    color: #333;
  }

    .navbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 10;
    padding: 1.5rem 2rem;
  }
  
  .logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: #c2410c;
    text-decoration: none;
    line-height: 1;
  }

  .nav-logo {
    justify-content: flex-start;
  }

  .nav-links {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0 5rem;
    text-decoration: none;
    color: #504c4cde;
    text-shadow: 0px 0px 20px #504c4cde;
  }
  
  .nav-links a:hover {
    color: #c2410c;
  }

  .hero-section {
    width: 100%;
    height: 45vh;  
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }

  .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://res.cloudinary.com/dkirrobg9/image/upload/v1744660369/Mckelvey-glassblowing_vy3jxa.png);
    background-position: center;
    filter: blur(4px);
    z-index: 0;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    text-shadow: .15rem .15rem 4px black;
    font: 2.75rem / 1 "Poppins Bold", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    margin: 0 auto;
    margin-left: 25%;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .all-topics {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: linear-gradient(to bottom, rgba(249, 46, 0, 0), #dededb);
    flex-wrap: nowrap;
    padding: 0 0 0 0 !important;
    margin: 0 0 0 0;
  }

  .topic-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: center;
    gap: 2rem;
    width: 100vw;
    border-radius: 4px;
    padding: 5rem 3rem 5rem 3rem;
    background-color: rgba(157, 228, 243, 0.018);
    box-shadow: 1rem black;
  }
  
  .topic-section h2, .topic-section-alt h2 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #c2410c;
    /* text-shadow: 0 0 20px #c2410c; */
    font-size: 1.6vw;
    font-weight: bold;
    align-self: left;
  }

  .topic-section-alt {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: center;
    gap: 2rem;
    width: 100vw;
    border-radius: 4px;
    padding: 5rem 3rem 5rem 3rem;
    background-color: rgba(173, 133, 81, 0.295);
    box-shadow: 1rem black;
  }

  .video-with-description {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    grid-template-areas: 
    "a b c d"
    "e b c f";
    align-content: space-between;
    justify-content: space-evenly;
  }

  .alt-video-with-description {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    grid-template-areas: 
    "a b c d"
    "e b c f";
    align-content: space-between;
    justify-content: space-evenly;
  }

  .video-with-description .grid-area-b, .video-with-description .grid-area-b, .alt-video-with-description .alt-grid-area-b, .alt-video-with-description .alt-grid-area-b {
    grid-area: b;
    padding-right: 1rem;
  }

  .video-with-description .grid-area-c, .video-with-description .grid-area-c, .alt-video-with-description .alt-grid-area-c, .alt-video-with-description .alt-grid-area-c {
    grid-area: c;
    padding-left: 1rem;
  }

  .video-with-description .grid-area-c, .alt-video-with-description .alt-grid-area-b {
    padding-top: 5rem;
  }

  .video-with-description p, .alt-video-with-description p {
    grid-area: c;
    font-size: 1.2rem;
  }

  .topic-section video, .topic-section-alt video {
    width: auto;
    height: auto;
    max-width: 25vw;
    box-shadow: #333;
  }
  
  .video-with-description-last {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    grid-template-areas: 
    "a b b d"
    "e f f g";
    align-content: space-between;
    justify-content: space-evenly;
    /* column-gap: 5rem; */
  }

  .video-last {
    grid-area: b;
    justify-self: center;
  }

  .topic-text-section {
    grid-area: f;
    justify-self: center;
  }

  .topic-text {
    flex-grow: 1;
    text-align: left;
  }

  footer {
    background-color: #dededb;
    text-align: center;
    font-size: smaller;
  }

  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: stretch;
      padding: 1rem;
    }
  
    .nav-links {
      flex-direction: row;
      justify-content: space-evenly;
      align-items: center;
    }
  
    .nav-links a {
      margin: 0.5rem 0;
      font-size: 1rem;
      margin-top: 1rem;
    }
  
    .hero-section {
      height: 50vh;
      padding: 2rem 1rem;
    }
  
    .hero-content {
      margin-left: 0;
      align-items: center;
      text-align: center;
    }

    .hero-content h1 {
      font-size: 1.25rem;
    }

    .hero-content p {
      font-size: .75rem;
      padding-top: .5rem;
    }
  
    .topic-section,
    .topic-section-alt {
      padding: 2rem 1rem;
    }
  
    .topic-section h2,
    .topic-section-alt h2 {
      font-size: 1.25rem !important;
    }
  
    .video-with-description {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "b"
        "c";
      row-gap: 1rem;
    }

    .alt-video-with-description {
      grid-template-columns: 1fr;
      grid-template-areas: 
        "c"
        "b";
      row-gap: 1rem;
    }
  
    .topic-section video,
    .topic-section-alt video {
      max-width: 90vw;
      height: auto;
    }
  
    .video-with-description, 
    .alt-video-with-description, 
    .grid-area-c,
    .alt-grid-area-b,
    .topic-text-section {
      padding: 1rem;
    }
  
    .video-with-description p, 
    .alt-video-with-description p {
      font-size: 1rem;
    }
  
    .topic-text {
      text-align: center;
    }

    footer {
      font-size: .5rem;
    }
  }
  