:root {
  --heading-font: "Noto Serif Telugu", serif;
  --default-font: "Kanit", serif;
  --primary-text-color: #2e605f;
  --primary-text-color: #2d5a59;
}

body {
  font-family: var(--default-font);
  margin: 0;
}

.shadow-dark {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.shadow-light {
  box-shadow: rgba(255, 255, 255, 0.707) 0px 5px 15px;
}

.shadow-darker {
  box-shadow: rgba(0, 0, 0, 0.501) 5px 5px 15px;
}

.instagram-media {
  box-shadow: rgba(0, 0, 0, 0.501) 5px 5px 15px !important;
}

.grid {
  display: grid;
}
.two-columns {
  grid-template-columns: 1fr 1fr;
}
.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

a {
  max-width: fit-content;
}

header {
  text-align: center;
  background-image: linear-gradient(rgb(0, 0, 0, 0.6), rgb(0, 0, 0, 0.6)),
    url("/media/header-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  color: white;
  padding: 180px 20px;
}
.above-heading {
  letter-spacing: 5px;
  font-weight: 500;
}
header a {
  display: inline-block;
  margin: 40px 0;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  background-color: white;
  color: #2a465e;
  transition: all ease-in-out 300ms;
}
header a:hover {
  color: #3f8482;
}

h1,
h2 {
  font-family: var(--heading-font);
  line-height: 1.8;
}
h1 {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: 80px;
}
h2 {
  margin: 0;
}
h3,
h3 a {
  font-size: 25px;
}
h3,
h3 a,
h4,
h5,
p {
  color: var(--primary-text-color);
  opacity: 0.9;
}

h4 {
  font-size: 20px;
}
h5 {
  font-size: 17px;
}
p,
a {
  font-size: 17px;
}

.highlight-link {
  color: var(--primary-text-color);
  text-decoration-color: rgb(116, 250, 207);
  text-underline-offset: 3px;
  text-decoration-thickness: 3px;
  transition: all ease-in-out 400ms;
}
.highlight-link:hover {
  text-decoration-color: #3f8482;
}

main section,
footer {
  padding: 100px 60px;
}
.first {
  padding-top: 160px;
  align-items: center;
}
.last {
  padding-bottom: 160px;
}
section p {
  font-weight: 300;
}

.section-heading {
  letter-spacing: 5px;
  opacity: 0.75;
  font-size: 20px;
  margin-top: 0;
  text-align: center;
}

section.first {
  row-gap: 30px;
  column-gap: 60px;
}
section.first img {
  width: 100%;
}
section.first h3,
section.first p {
  margin-top: 0;
}

.second,
.fourth {
  background-color: #f5f5f5;
}

.second h3 a {
  display: block;
  margin: auto;
}
.second .outer-grid {
  gap: 70px;
}
.second .inner-grid {
  padding: 0 0 20px;
  gap: 20px;
}
.second .inner-grid img {
  width: 100%;
  border-radius: 5px;
  transition: all ease-in-out 600ms;
}
.second .inner-grid img:hover {
  cursor: zoom-in;
  transform: scale(1.2);
  filter: brightness(120%) hue-rotate(10deg);
}
.second .grid-first-row {
  margin-bottom: 20px;
}

.third .section-heading {
  padding-bottom: 23px;
}
.third .cards-wrapper {
  column-gap: 60px;
}
.third .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.88)
    ),
    url("/media/card-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.third .card-header img,
.third .card-header .embed {
  width: 100%;
  height: 100%;
}

.third .card-body {
  padding: 20px 15px;
}
.third .card h4,
.third .card h5 {
  margin: 0;
}
.third .card p {
  margin: 2px 0 12px;
}
.third .highlight-link {
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}
.third .card-footer {
  display: block;
  text-align: center;
  padding: 20px 10px;
  background-color: #3f8482;
  transition: all ease-in-out 400ms;
}
.third .btn {
  text-decoration: none;
  color: white;
}
.third .card-footer:hover {
  background-color: white;
  outline: 1px solid #3f8482;
}
.third .card-footer:hover > .btn {
  text-decoration: underline;
  color: #3f8482;
}

.fourth .grid {
  gap: 60px;
  padding-top: 23px;
}
.insta-embed {
  width: 100%;
}

.last {
  padding-bottom: 160px;
}
.last .grid {
  padding-top: 23px;
  gap: 50px;
}
.last .video-embed {
  width: 100%;
  aspect-ratio: 16/9;
}
.last .video-title {
  display: none;
}
.last p {
  margin-top: 5px;
  text-align: center;
  font-size: 14px;
}
.last .highlight-link {
  text-underline-offset: 3px;
  text-decoration-thickness: 3px;
  font-size: 14px;
}

footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.81), rgba(0, 0, 0, 0.91)),
    url("/media/footer-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 85%;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: 60px;
}
footer h3,
footer p {
  color: white;
}
footer ul {
  padding: 0;
  list-style: none;
}
footer a {
  transition: all ease-in-out 300ms;
  color: #3f8482;
}
.resource-links a {
  display: block;
  margin: 10px 0;
}
footer a:hover {
  color: rgba(255, 255, 255, 0.75);
}
.copyright {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  text-align: center;
  padding-top: 30px;
}

@media (max-width: 1240px) {
  .hidden {
    display: none;
  }
  .two-columns-large {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-header {
    grid-template-columns: 1.6fr 1fr;
  }
}

@media (max-width: 900px) {
  .one-column-responsive {
    grid-template-columns: 1fr;
  }
  header {
    padding: 60px 20px;
  }
  header a {
    padding: 6px 12px;
    font-size: 14px;
  }
  .above-heading {
    font-size: 12px;
    font-weight: 600;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 20px;
  }

  h3,
  h3 a {
    font-size: 23px;
    font-weight: 600;
  }

  main section,
  footer {
    padding: 80px 50px;
  }

  .first {
    padding-top: 120px;
  }

  .last {
    padding-bottom: 120px;
  }

  .section-heading {
    font-size: 18px;
  }
  section.first img {
    margin: 0 auto;
  }
  section.first div {
    margin-top: 30px;
  }

  section.second h3 {
    margin-bottom: 15px;
  }
  .second .outer-grid {
    gap: 0;
  }
  .second .inner-grid {
    gap: 30px;
  }
  .inner-grid.season-row-responsive {
    margin-bottom: 10px;
  }

  .third .cards-wrapper {
    row-gap: 80px;
  }
  .card-header {
    grid-template-columns: 1fr 2fr;
  }
  .third .card-header img,
  .third .card-header .embed {
    max-height: 250px;
  }

  .insta-embed {
    display: flex;
    justify-content: center;
  }

  footer {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .card-header {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 476px) {
  main section,
  footer {
    padding: 60px 30px;
  }
  .first {
    padding-top: 60px;
  }
  section.fourth {
    display: none;
  }
  .last {
    padding-bottom: 60px;
  }
  section.last {
    background-color: #f5f5f5;
  }
  .last .video-title {
    display: block;
    margin: 2px auto;
  }
}

@media (max-width: 350px) {
  .third .card-header img,
  .third .card-header .embed {
    max-height: 160px;
  }
  .last .video-embed {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 320px) {
  h1 {
    line-height: 1;
    padding: 18px 0;
  }

  h3 {
    font-size: 20px;
  }

  .third .card-header img,
  .third .card-header .embed {
    max-height: 120px;
  }
}
