
@font-face {
  font-family: "LilJohnny";
  src: url("https://www.lawsonstate.edu/_resources/assets/fonts/LilJohnny-Regular.otf");
}
@font-face {
  font-family: "Bitter";
  src: url("https://www.lawsonstate.edu/_resources/assets/fonts/Bitter-Bold.ttf");
}

.snapon_header {
  padding: 50px 15% 20px;

  h1,
  p {
    text-align: center;
    color: #fff;
  }

  h1 {
    font-family: "Bitter", serif;
    font-size: 51px;
    margin: 0 0 20px;

    span {
      font-family: "LilJohnny", serif;
      font-size: 80px;
      color: #fabd34;
      margin-left: -40px;
    }
  }

  p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 10px;

    a {
      color: #fabd34;
    }
  }

  p.cta {
    margin-top: 40px;

    a {
      background-color: #fabd34;
      border: 1px solid #fabd34;
      border-radius: 8px;
      color: #0c102e;
      font-family: "Bitter", serif;
      padding: 10px 30px;
      text-decoration: none;
      text-transform: uppercase;
      transition: 0.5s;
    }

    a:hover {
      background-color: #0c102e;
      color: #fabd34;
    }

    a.apply {
      padding: 10px 48px;
      margin-left: 10px;
    }

    br {
      display: none;
    }
  }
}

@media screen and (max-width: 640px) {
    body {
        #content {
            .snapon_header {
                p.cta {
                    br {
                        display: inline;
                    }

                    a.apply {
                        display: inline-block;
                        margin: 20px 0 0;
                    }
                }
			}
        }
    }
}

@media screen and (max-width: 560px) {
    body {
        #content {
            .snapon_header {
                padding: 25px 10%;

                h1 {
                    font-size: 38px;

                    span {
                        font-size: 60px;
                    }
                }
            }
        }
    }
}



/* Base styling for the snapon container */
.snapon {
  width: 100%;
  background-color: #090E37;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
	margin: -7.5rem 0rem -3rem 0rem;
}

/* Styling for the video section */
.snapon_video {
  width: 50%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styling for the slideshow section */
.snapon_slideshow {
  width: 50%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.snapon_video figure {
  aspect-ratio: 12 / 9;
  position: relative;
  width: 100%;
}

.auto-slideshow__slides {
    aspect-ratio: 5 / 3;
}

/* Mobile responsive: stack video and slideshow vertically */
@media (max-width: 768px) {
  .snapon {
    flex-direction: column;
  }

  .snapon_video,
  .snapon_slideshow {
    width: 100%;
  }
}
