*, *::after, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: "prompt", sans-serif;
  background-color: #f5f6f7;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}

a {
  text-decoration: none;
}

:root {
  --baby-powder: #fbfef9ff;
  --raisin-black: #191923ff;
  --honolulu-blue: #0e79b2ff;
  --rose-red: #bf1363ff;
  --carrot-orange: #f39237ff;
  --color-background: #000119;
  --stroke-width: calc(2em / 16);
  --font-size: 30px;
  --font-weight: 700;
  --letter-spacing: calc(1em / 8);
  --maximum: min(90%, 1100px);
}

a.subject {
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  background-color: var(--raisin-black);
  color: var(--baby-powder);
  text-decoration: none;
  border: 0.5px solid transparent;
  transition: all 0.3s ease-in;
  flex: 1;
  min-width: 250px;
}
a.subject:hover {
  background-color: var(--baby-powder);
  color: var(--raisin-black);
  border: 0.5px solid var(--carrot-orange);
}

a.years {
  display: inline-block;
  padding: 5px 10px;
  flex: 0;
  min-width: 200px;
  color: var(--baby-powder);
  background-color: var(--raisin-black);
  border: 0.5px solid transparent;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
}
a.years:hover {
  background-color: var(--baby-powder);
  color: var(--raisin-black);
  border: 0.5px solid var(--raisin-black);
}

.year {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 30rem;
}

header {
  width: 100%;
}
header .navigation {
  max-width: var(--maximum);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
header a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
  color: var(--carrot-orange);
  transition: ease 300ms;
}
header a:hover {
  font-weight: 600;
  text-decoration: underline;
}

header h1 {
  -webkit-background-clip: text;
          background-clip: text;
  background-image: linear-gradient(to right, #5a0f8b, #5a0f8b, #5a0f8b, #5a0f8b);
  color: #fff;
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  letter-spacing: var(--letter-spacing);
  padding: calc(--stroke-width / 2);
  -webkit-text-stroke-color: transparent;
  -webkit-text-stroke-width: var(--stroke-width);
  border: 0;
}

main {
  max-width: var(--maximum);
  margin: 0 auto;
}

section.hero {
  padding: 20px 0;
}
section.hero .hero-background {
  height: 400px;
  max-width: 100%;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: linear-gradient(to left, rgba(245, 246, 252, 0), rgba(224, 106, 16, 0.73)), url("images/Bece-student.jpg");
}
section.hero .hero-background .hero-text {
  display: grid;
  align-items: center;
  height: inherit;
  max-width: var(--maximum);
  margin: 0 auto;
  align-content: center;
}
section.hero .hero-background .hero-text a {
  color: var(--raisin-black);
  max-width: 300px;
  border: none;
  background-color: var(--baby-powder);
  height: 50px;
  text-align: center;
  cursor: pointer;
}
section.hero .hero-background .hero-text a button {
  max-width: 100%;
  min-width: 300px;
  cursor: pointer;
  border: none;
  background-color: var(--baby-powder);
  height: 50px;
  margin: 0 auto;
}
section.hero .hero-background .hero-text a button:hover {
  background-color: var(--raisin-black);
  color: var(--baby-powder);
}
section.hero p {
  color: var(--baby-powder);
  font-size: 2.75rem;
  font-weight: 400;
  margin-bottom: 8px;
}
section.hero p span {
  font-weight: 700;
}

section.subject-navigation {
  width: 100%;
  margin-bottom: 50px;
}
section.subject-navigation h1 {
  font-size: 3rem;
  color: var(--raisin-black);
  border-bottom: 1.75px solid var(--raisin-black);
}
section.subject-navigation .subject-container {
  display: block;
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  
}

section.subject-navigation .subject-container a{
  flex-basis: 250px;
}

h1 {
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--raisin-black);
}

.hero-image {
  height: 150px;
  margin-block: 15px;
  border-radius: 5px;
  border: 5px solid #a7a7a7;
  max-width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: linear-gradient(to left, rgba(245, 246, 252, 0), rgba(255, 111, 0, 0)), url("images/english-hero.jpg");
}

.hero-image-2 {
  height: 200px;
  margin-block: 15px;
  border-radius: 5px;
  border: 5px solid #a7a7a7;
  max-width: 100%;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: linear-gradient(to left, rgba(245, 246, 252, 0), rgba(255, 111, 0, 0)), url("images/science-hero.jpg");
}

.hero-image-3 {
  height: 200px;
  margin-block: 15px;
  border-radius: 10px;
  border: 5px solid #a7a7a7;
  max-width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: linear-gradient(to left, rgba(245, 246, 252, 0), rgba(255, 111, 0, 0)), url("images/maths-hero.jpg");
}

footer {
  padding-block: 30px;
  background-color: #f8f8f8;
  color: #555;
  border-top: 3px solid #e7e7e7;
  text-align: center;
  max-width: 100%;
  position: relative;
  bottom: 0;
}
footer p {
  font-size: 16px;
}

@media (max-width: 670px) {
  section.subject-navigation {
    width: 100%;
  }
  .year {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  section.subject-navigation {
    width: 100%;
  }
  .year {
    grid-template-columns: repeat(1, 1fr);
    height: 100%;
  }
}/*# sourceMappingURL=styles.css.map */