:root {
  --ff-primary: Roboto, sans-serif;
  --ff-secondary: Oswald, sans-serif;
  --wheel-blue: #0182BF;
  --wheel-green: #4DA147;
  --wheel-pink: #E2198E;
  --wheel-orange: #F5831F;
  --shadow: 0 5px 5px rgba(104, 104, 104, 0.8);
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-secondary);
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--ff-primary);
  font-size: 1rem;
  background-image: url(/assets/gray-background.jpg);
  background-repeat: no-repeat;
  background-position: stretch;
}

.container {
  max-width: 100rem;
  margin-inline: auto;
  padding-inline: 2rem;
  padding-top: 5rem;
}

.center {
  display: grid;
  justify-content: center;
  align-content: center;
}

.logo-contain {
  display: block;
  height: auto;
  max-width:50rem;
  margin-inline: auto;
  padding: 2rem 1rem;
}

/*Main Nav */

.main-nav ul {
  display: grid;
  grid-gap: .5rem;
  padding: 0;
  list-style: none;
  justify-content: center;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(2rem, 15rem));
}

.main-nav a {
  background: var(--wheel-orange);
  display: block;
  text-decoration: none;
  padding: .25rem;
  text-align: center;
  color: #000;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.1rem);
  box-shadow: var(--shadow);
}

.main-nav a:hover {
  transform: scale(0.98);
}

/*PP Nav */
.pp-nav ul {
  display: grid;
  grid-gap: .5rem;
  padding: 0;
  margin-top: -3rem;
  margin-bottom:2rem;
  list-style: none;
  justify-content: center;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(2rem, 5rem));
}

.pp-nav a {
  background: var(--wheel-blue);
  display: block;
  text-decoration: none;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.1rem);
  box-shadow: var(--shadow);
}

.pp-nav a:hover {
  transform: scale(0.98);
}

.pp-nav ul li a.active
{
  background-color:var(--wheel-pink);;
}

/* Title Page */

.title-grid {
  display: grid;
  gap: clamp(1rem, 10vw, 10rem);
  grid-template-columns: repeat(auto-fit, minmax(25rem, 20%));
  justify-content: center;
  align-content: center;
}

.title-logo {
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

.title-logo h1 {
  font-size: clamp(2rem, 5vw, 6rem);
  color: var(--wheel-blue);
  text-align: center;
}

.title-logo h3 {
  font-size: clamp(1.75rem, 5vw, 4rem);
  color: var(--wheel-blue);
  text-align: center;
}

.title-logo p {
  font-size: clamp(.5rem, 5vw, 2rem);
  padding-top: 1.25rem;
  color: var(--wheel-green);
  text-align: center;
}

.card-title img {
  width: clamp(85%, 5vw, 100%);;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto;
}



.card h1 {
  font-size: clamp(3rem, 5vw, 6rem);
  color: var(--wheel-blue);
  text-shadow: var(--shadow);
  text-transform: uppercase;
  text-align: center;
}

.card h3 {
  color: var(--wheel-pink);
  text-align: center;
}

.card p {
  padding-top: 1.25rem;
  text-align: center;
}

.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-top: 5rem;
}

.card-content h3{
  color: var(--wheel-green);
  padding: .5rem 0;
  text-align: center;
}

.title-page-nav ul {
  margin-top: 5rem;
  display: grid;
  grid-gap: 1rem;
  list-style: none;
  grid-template-columns: repeat(2 35%);
}

.title-page-nav a {
  background: var(--wheel-orange);
  display: block;
  text-decoration: none;
  padding: .5rem;
  text-align: center;
  color: #000;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(.5rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

.title-page-nav a:hover {
  transform: scale(0.98);
}

/* Cards Layout */

.main-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 35%));
}

.main-card {
  outline: 8px ridge rgba(77, 161, 171, .6);
  background: #e2e2e2;
}

.main-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: fit;
}

.card-title {
  font-size: clamp(1.5rem, 5vw, 4rem);
  color: var(--wheel-green);
  text-align: center;
}

.card-title h2 {
  box-shadow: var(--shadow);
}

.card-description {
  font-size: clamp(.75rem, 5vw, 1.25rem);
  text-align: center;
  padding-bottom: .5rem;
}

.no-bullets{
  list-style-type: none;
  margin: 0;
  padding: 1rem;
}

.campaign-description {
  font-size: clamp(.75rem, 5vw, 1.25rem);
  padding: 1rem;
}

/* Program Page */

.program-title {
  font-size: clamp(2rem, 5vw, 6rem);
  color: var(--wheel-blue);
  text-align: center;
}

.program-content {
  margin-bottom: clamp(3rem, 5vw, 10rem);
  font-size: clamp(.5rem, 4vw, 1.5rem);
  text-align: center;
}

/* Incentive Page */

.incentive-title {
  font-size: clamp(2rem, 5vw, 6rem);
  color: var(--wheel-blue);
  text-align: center;
}

.incentive-content {
  margin-bottom: clamp(3rem, 5vw, 10rem);
  font-size: clamp(.5rem, 4vw, 1.5rem);
  text-align: center;
}

.incentive-description {
  font-size: 2rem;
  text-align: center;
  padding: .5rem;
}

.incentive-description a {
  display: block;
  color: var(--wheel-blue);
  text-decoration: none;
}

/* Learning Video Page */

.video-grid {
  display: grid;
  gap: clamp(3rem, 5vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(35rem, 35%));
}

.video-card {
  background: #e2e2e2;
  outline: 8px ridge rgba(77, 161, 171, .6);
}

/*Past Programs Page*/

.past-card {
  outline: 8px ridge rgba(77, 161, 171, .6);
  background: #e2e2e2;
}

.past-card img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  margin: 0 auto;
  object-fit: fit;
}

/*Resource Page */
.resource-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 40%));
  grid-template-rows: repeat(3, 1fr);
}

.resource-card {
  outline: 8px ridge rgba(77, 161, 171, .6);
  background: #e2e2e2;
}

.resource-card h2 {
  font-size: clamp(1rem, 10vw, 3rem);
}

.resource-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.double {
  grid-row: span 3;
}

.resource-title {
  font-size: 2rem;
  color: var(--wheel-green);
  text-align: center;
}

.resource-title a {
  font-size: clamp(.5rem, 8vw, 3rem);
  color: var(--wheel-green);
  text-decoration: none;
}

.adult-card {
  outline: 8px ridge rgba(77, 161, 171, .6);
  background: #e2e2e2;
}

.adult-card h2 {
  font-size: 3rem;
}

.adult-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding:1rem;
}

.double {
  grid-row: span 3;
}

/* About Us Page */
.about-content {
  font-size: 1.5rem;
  text-align: left;
}

.about-content p {
  padding-inline: 1.5rem;
  font-size: clamp(.25rem, 8vw, 1.2rem);
  text-align: left;
  ;
  padding-top: 1rem;
}

.about-logo {
  width: 75%;
  margin: 0 auto;
}

.about-img {
  padding: 1rem;
}

.contact-email p{
  font-size: 2rem;
}

/* Footer */

footer {
  margin-top: 6rem;
  text-align: center;
}

.footer-icon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5rem, 18%));
}

.footer-icon img {
  width: 30%;
  aspect-ratio: 1 / 1;
  margin: .5rem auto;
}

.announcement-image {
  width: 50%;
  margin: 0 auto;
  object-fit: fit;
}

.social-icons img {
  width: 75%;
  aspect-ratio: 1 / 1;
  padding: 2rem 0;
  margin: 0 auto;
  object-fit: contain;
}