/*!
Theme Name: YAPS
Theme URI: http://underscores.me/
Author: Hendré Oloff Stander
Author URI: http://web.skymonde.net
Description: This theme was created for Young Ambassadors Primary School. This website may not be distributed at all!
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: yaps
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

YAPS is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
  box-sizing: border-box;
  font-size: 62.5%; }  

body {
  /*font-family: "Prosto One", sans-serif;*/
  font-family: 'Nunito', sans-serif;
  color: #2f2f2f;
  font-weight: 700;
  line-height: 1.6; 
  background-color: #0fc281;
}

.container {
  display: grid;
  grid-template-rows: min-content repeat(11, min-content);
  grid-template-columns: [full-start] minmax(6rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 14rem) [col-end]) [center-end] minmax(6rem, 1fr) [full-end]; }

.btn:link,
.btn:visited {
  background-color: #ffffff;
  border-radius: 1rem;
  /*padding: 2rem 4rem;*/
  color: #ffffff;
  font-family: "Londrina Solid", sans-serif;
  font-size: 3rem;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.15);
  transition: all .2s; }
  .btn:link:hover,
  .btn:visited:hover {
    box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.15);
    transform: translateY(-0.5rem); }

.btn-align{
  margin: 0 !important;
  align-self: end !important;
}

.btn-green {
  background-color: #88c931 !important; 
  box-shadow: 0 0.4em #72a82a, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.btn-yellow {
  background-color: #f5c71c !important; 
  box-shadow: 0 0.4em #c5a018, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.btn-orange {
  background-color: #fb6f1a !important; 
  box-shadow: 0 0.4em #d86117, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.btn-blue {
  background-color: #0fc2a8 !important; 
  box-shadow: 0 0.4em #0b937f, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.btn-purple {
  background-color: #aa27b2 !important; 
  box-shadow: 0 0.4em #6a196e, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.btn-red {
  background-color: #f51c35 !important; 
  box-shadow: 0 0.4em #c7162b, 0 0.7em rgba(0, 0, 0, 0.4) !important; }

.u-margin-top-lg {
  margin-top: 6rem !important; }

.u-margin-top-md {
  margin-top: 4rem !important; }

.u-margin-top-sm {
  margin-top: 2rem !important; }

.u-remove-margin {
  margin: 0 !important; }

.u-line-height-sm {
  line-height: .3; }

.u-line-height-lg {
  line-height: 1; }

.u-padding-sm{
  padding: 1.5rem;
}

.u-text-center {
  text-align: center !important; }

.u-text-dark {
  color: #2f2f2f !important; }

.u-text-light {
  color: #ffffff !important; }

.u-inline {
  display: inline-block !important; }

.u-text-md {
  font-size: 8rem !important; }

.parallax-window {
  padding: 24rem;
  grid-column: 1 / -1; }

.heading-center {
  grid-column: 1 / -1;
  text-align: center; }

.heading-left {
  text-align: left;
  grid-column: 1 / -1; }

.heading-primary {
  color: #ffffff;
  font-family: "Londrina Solid", sans-serif;
  font-weight: 900;
  font-size: 12rem;
  text-transform: uppercase; }

.heading-secondary {
  color: #2f2f2f;
  font-family: "Londrina Solid", sans-serif;
  font-weight: 400;
  font-size: 6rem; }

p {
  font-family: "Prosto One", sans-serif;
  color: #2f2f2f;
  font-size: 1.6rem; }

.text-white {
  color: #ffffff; }

.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/wp-content/themes/yaps/assets/img/hero-bg.jpg');
  background-position: top;
  background-size: cover;
  grid-column: full-start / full-end;
  display: grid;
  grid-template-columns: repeat(2, 1fr);}
  .header__social {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    grid-gap: 1rem;
    align-items: center; }
    .header__social__link:link, .header__social__link:visited {
      font-size: 2.2rem;
      color: #ffffff;
      margin: 1rem;
      border-radius: 1rem;
      text-decoration: none;
      font-family: "Londrina Solid", sans-serif;
      text-transform: uppercase;
      text-align: center;
      padding: .8rem;
      display: block;
      transition: all .2s; }
    .header__social__link:hover, .header__social__link:active {
      background-color: rgba(255, 255, 255, 0.05);
      transform: translateY(-3px); }
    .header__social__icon {
      fill: #2f2f2f;
      width: 4.5rem; }
  .header__nav-box {
    background-color: #ffffff;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    grid-column: 1 / -1; }
  .header__heading--buttons {
    grid-column: 1 / -1;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1rem; }
  .header__heading--box {
    margin: 20rem 12rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: left;
    grid-column: 1 / -1;}
  .header__heading--text {
    grid-column: 1 / -1;
    font-family: "Londrina Solid", sans-serif;
    text-align: left;
    font-size: 9rem;
    color: #ffffff;
    letter-spacing: 0.5rem;
    text-shadow: 0px 0px 0 #f8f8f8, 1px 1px 0 #f1f1f1, 2px 2px 0 #eaeaea, 3px 3px 0 #e3e3e3, 4px 4px 0 #dddddd, 5px 5px 0 #d6d6d6, 6px 6px 0 #cfcfcf, 7px 7px 0 #c8c8c8, 8px 8px 0 #c1c1c1, 9px 9px 0 #bababa, 10px 10px 9px rgba(255, 255, 255, 0), 10px 10px 1px rgba(255, 255, 255, 0.5), 0px 0px 9px rgba(255, 255, 255, 0.2);}
  .header__slogo {
    background-color: #ffffff;
    grid-column: 1 / -1;
    padding: 2rem 12rem;
    font-size: 3rem;
    text-align: center;
    border-radius: 2rem;
    justify-self: center;
    align-self: center;
    transform: translateY(4rem);
    transition: all .2s;
    box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.5); }
    .header__slogo:hover {
      transform: translateY(3.5rem); }

  .header__center{
    text-align: center !important;
    justify-items: center !important;
  }

.navbar {
  display: grid;
  grid-template-columns: 0.1fr 5fr 0.5fr;
  align-items: center;
  height: auto;
  width: 100%;
  padding: 1rem;
  max-width: 172rem;
  margin: 0 auto;}

#navbar-logo {
  color: #2f2f2f;
  justify-self: start;
  margin-left: 2rem;
  width: 8rem; }
  #navbar-logo:hover {
    cursor: pointer; }

.nav-menu {
  display: grid;
  grid-template-columns: repeat(6, auto);
  grid-column-gap: 1rem;
  list-style: none;
  text-align: center;
  align-items: center;
  width: 70%;
  grid-column: 2/3;
  grid-row: 1/2;
  justify-self: center; }

.nav-social {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-column-gap: 1rem;
  list-style: none;
  grid-column: 3/4;
  grid-row: 1/2; }

.nav-links {
  color: #ffffff;
  font-size: 1.8rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Londrina Solid", sans-serif;
  border-radius: 1rem;
  padding: 1rem;
  display: block; }
  .nav-links:hover {
    transform: translateY(-0.5rem) scale(1.01);
    box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.15); }

.menu-toggle .bar {
  width: 2.5rem;
  height: 0.3rem;
  margin: .5rem auto;
  transition: all 0.3s ease-in-out;
  background-color: #2f2f2f; }

.social__icon {
  fill: #2f2f2f;
  width: 5rem;
  height: 5rem; }

@media screen and (max-width: 768px) {
  .nav-social{
    display: none;
  }

  .header__nav-box {
    position: relative;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0; }
  .nav-menu {
    display: grid;
    grid-template-columns: auto;
    background-color: #ffffff;
    margin: 0;
    width: 100%;
    position: absolute;
    top: 8rem;
    left: -100%;
    opacity: 0;
    transition: all .5s ease; }
  #navbar-logo {
    margin-left: 2rem; }
  .nav-menu.active {
    background-color: #ffffff;
    left: 0;
    opacity: 1;
    transition: all 0.5s ease; }
  .nav-links {
    text-align: center;
    line-height: 6rem;
    width: 100%;
    display: table;
    border-radius: 0; }
  .nav-links:hover {
    transition: all .2s ease-in-out; }
  .navbar {
    width: 100%; }
  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%); }
  .menu-toggle .bar {
    display: block;
    cursor: pointer; }
  .menu-toggle:hover {
    cursor: pointer; }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0; }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(0.8rem) rotate(45deg); }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-0.8rem) rotate(-45deg); } }

.social-links {
  font-size: 2rem; }

.welcome {
  background-color: #88c931;
  grid-column: full-start / full-end;
  padding: 9rem 24rem;
  display: grid;
  grid-template-columns: min-content 2fr;
  grid-column-gap: 2rem; }
  .welcome__icon {
    width: 8rem;
    height: 8rem;
    fill: #ffffff;
    justify-self: right;
    align-self: flex-start;
    transform: translate(-1rem, -2rem); }
  .welcome__text {
    padding: 6rem;
    display: grid;
    grid-template-columns: 1fr 4fr; }
    .welcome__text--p {
      font-size: 2rem; }
  .welcome__image {
    display: grid;
    justify-self: center;
    align-self: center; }
    .welcome__image--img {
      width: 25vw;
      border-radius: 2rem;
      border: solid 2rem #ffffff; }

.gallery {
  background-color: #f5c71c;
  grid-column: full-start / full-end; 
  padding: 8rem 12rem;  
}

.about {
  background-color: #f51c35;
  grid-column: full-start / full-end;
  padding: 12rem 18rem;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 6rem; }
  .about-box {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    transition: all .2s; 
  font-size: 1.6rem;}
    .about-box__icon {
      width: 12rem;
      height: 12rem;
      display: block;
      margin: 0 auto; }
  .about-box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.15); }

.info {
  background-color: #fb6f1a;
  grid-column: full-start / full-end;
  padding: 12rem 18rem;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 6rem; }
  .info-box {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 3rem 6rem;
    padding-bottom: 5rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    transition: all .2s;
    display: grid;}
    .info-box__icon {
      max-height: 12rem;
      width: 100%; 
      /*display: block;*/
      margin: 0 auto; 
      display: inline-block;
      /*position: absolute;
      top: 0;
      left: 0;*/
    }
  .info-box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.15); }

.articles {
  grid-column: 1 / -1;
  background-color: #f51c35;
  padding: 0 28rem;
  padding-bottom: 14rem;
  padding-top: 6rem; }
  .articles__text {
    font-size: 3rem;
    color: #ffffff;
    font-family: "Londrina Solid", sans-serif;
    text-align: center; }
  .articles__box {
    border-radius: 2rem;
    margin-top: 2rem; 
    border: solid 2rem white;}

.enroll {
  background-color: #0fc2a8;
  grid-column: full-start / full-end;
  padding: 6rem 12rem; 
  display: grid;
  grid-template-columns: minmax(min-content, max-content);
  grid-row-gap: 2rem; }
  .enroll__core-values {
    background-color: #f0f0f0;
    border-radius: 2rem;
    padding: 6rem 12rem;
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-row-gap: 1rem;
    grid-column-gap: 3rem; }
    .enroll__core-values--heading {
      grid-column: 1 / -1;
      text-align: center; }
  .enroll__value {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 2rem; 
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.15); 
  transition: all .2s;
  display: inline-block;
	position: relative;
	width: 100%;
	vertical-align: middle; 
	overflow: hidden;
}
    .enroll__value:hover {
      transform: translateY(-.5rem);
      box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.15); }
  .enroll__text {
    grid-column: 1 / -1;
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 6rem;
  padding-bottom: 8rem; }
  .enroll__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 3rem;
    grid-column-gap: 3rem; }

.preprimary {
  background-color: #f51c35;
  grid-column: full-start / full-end;
  padding: 12rem 24rem;
  font-size: 2rem;
  display: grid;
  grid-template-rows: repeat(4, min-content);
  grid-template-columns: repeat(2, 1fr);
  grid-row-gap: 3rem;
  grid-column-gap: 3rem; }
  .preprimary__text {
    background-color: #ffffff;
    border-radius: 2rem;
    grid-column: 1 / -1;
    padding: 2rem; }
  .preprimary__map {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 2rem; }
  .preprimary__contact {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 8rem 5rem;
    display: grid;
    grid-template-columns: min-content 1fr;
    align-items: center;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem; }
    .preprimary__contact--icon {
      width: 5rem;
      height: 5rem; }

.calendar {
  background-color: #88c931;
  grid-column: full-start / full-end;
  padding: 8rem 26rem;
  display: grid;
  grid-template-rows: 1fr min-content;
  grid-row-gap: 2rem; }
  .calendar__heading {
    color: #2f2f2f !important;
    background-color: #ffffff;
    border-radius: 2rem; }
  .calendar__box {
      color: #2f2f2f;
      background-color: #ffffff;
      border-radius: 2rem;
      border: solid 2rem white;}
  .calendar__icon {
    transform: translateY(3.5rem); }

.newsletter {
  background-color: #aa27b2;
  grid-column: full-start / col-start 5;
  padding: 6rem;
  display: grid;
  grid-template-rows: repeat(3, min-content); }
  .newsletter__text {
    text-align: center;
    color: #ffffff;
    font-size: 3rem;
    padding: 0 12rem; }
  .newsletter__download-box {
    display: grid;
    grid-row-gap: 1rem;
    padding: 1rem 12rem; }

.d6-connect {
  background-color: #0fc281;
  padding: 6rem;
  grid-column: col-end 4 / full-end;
  align-self: center; }
  .d6-connect__text {
    text-align: center;
    color: #ffffff;
    font-size: 3rem;
    padding: 0 12rem; }
  .d6-connect__download-box {
    padding: 1rem 12rem; }

.contact__details {
  font-size: 2rem;
  color: #ffffff;
  text-align: left;
  padding-top: 2rem; }

.contact__details-box {
  background-color: #fb6f1a;
  grid-column: full-start / col-start 3;
  padding: 12rem; 
}

.contact__form {
  background-color: #fb6f1a;
  grid-column: col-start 3 / full-end;
  padding: 12rem; }

.contact__form--box{
  margin: 0 auto;
  padding: 3rem 10rem 0rem 10rem;
}

.footer {
  background-color: #2f2f2f;
  grid-column: full-start / full-end;
  padding: 2rem 16rem;
  padding-top: 4rem;
  display: grid;
  grid-template-columns: 2fr 2fr 0.5fr;
  grid-column-gap: 3rem;
  grid-row-gap: 3rem;
  align-items: center; }
  .footer__map {
    border-radius: 2rem;
    padding: 2rem;
    height: 40vh;
    margin: 6rem;
    margin-left: 4rem; }
  .footer__copyright {
    grid-column: 1 / -1;
    color: #ffffff;
    font-size: 1.6rem;
    text-align: center; }
  .footer__nav {
    margin-right: 2rem; }
    .footer__nav::before {
      display: block;
      content: "";
      border-top: solid 1px #555555;
      margin-bottom: 1rem;
      width: 100%; }
  .footer__social {
    text-align: center;
    transition: all .2s; }
    .footer__social:not(:last-child) > * {
      margin-right: 1rem; }
    .footer__social--icon {
      width: 4rem;
      height: 4rem;
      fill: #ffffff; }
      .footer__social--icon:hover {
        transform: translateY(-0.3rem); }
    .footer__social::before {
      display: block;
      content: "";
      border-top: solid 1px #555555;
      margin-bottom: 1rem;
      width: 100%; }

.nav {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 1rem;
  align-items: center; }
  .nav__link:link, .nav__link:visited {
    font-size: 2.2rem;
    color: #fff;
    text-decoration: none;
    font-family: "Londrina Solid", sans-serif;
    text-transform: uppercase;
    text-align: center;
    padding: .8rem;
    display: block;
    transition: all .2s; }
  .nav__link:hover, .nav__link:active {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px); }

/* CONTACT FORM */
.form__group:not(:last-child) {
  margin-bottom: 1rem; }

.form__input {
  font-size: 1.5rem;
  font-family: inherit;
  color: inherit;
  padding: 1.5rem 2rem;
  border-radius: 2px;
  background-color: #ffffff;
  border: none;
  border-bottom: 3px solid transparent;
  width: 100%;
  display: block;
  transition: all .3s; }
  .form__input:focus {
    outline: none;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #88c931; }
  .form__input:focus:invalid {
    border-bottom: 3px solid #f51c35; }
  .form__input::-webkit-input-placeholder {
    color: #2f2f2f; }

.form__label {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 2rem;
  margin-top: .7rem;
  display: block;
  transition: all .3s; }

.form__input:placeholder-shown + .form__label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4rem); }

.contact-btn{
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 1.5rem 4rem !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 1rem !important;
  -webkit-transition: all .2s !important;
  transition: all .2s !important;
  position: relative !important;
  font-size: 1.6rem !important;
  border: none !important;
  background-color: #88c931 !important;
  cursor: pointer !important;
  color: white !important;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.contact-btn:hover{
  transform: translateY(-0.5rem);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.3) !important;
}

.wpcf7-not-valid-tip{
  color: #2f2f2f!important;
}

/* DOWNLOAD NEWSLETTER */
.sdm_download_item{
  background-color: white;
  border-radius: 2rem;
}

.sdm_download_title{
  line-height: 1.1;
}

.sdm_download.green{
  background: #88c931 !important;
  border-radius: 1rem !important;
  padding: 2rem 4rem !important;
  color: #ffffff !important;
  font-family: "Londrina Solid", sans-serif !important;
  font-size: 3rem !important;
  text-decoration: none !important; 
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.15) !important;
  transition: all .2s !important; 
}
 
.sdm_download_button a:link:hover,
.sdm_download_button a:visited:hover {
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.15);
  transform: translateY(-0.5rem); 
}

/* GALLERY BUTTON OVERWRITE */
#bwg_container1_0 #bwg_container2_0 .tablenav-pages_0 a {
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 1.5rem 4rem !important;
  display: inline-block !important;
  border-radius: 1rem !important;
  -webkit-transition: all .2s !important;
  transition: all .2s !important;
  position: relative !important;
  font-size: 1.6rem !important;
  border: none !important;
  background-color: #0fc281 !important;
  cursor: pointer !important;
  color: white !important;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.15) !important;
}

#bwg_container1_0 #bwg_container2_0 .tablenav-pages_0 a:hover{
  transform: translateY(0.5rem);
  box-shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.3) !important;
}

/* DEFAULT PAGE */
.default-bg{
  background-color: rgb(238, 238, 238);
  grid-column: 1 / -1;
  justify-self: center;
  padding: 2rem;
  margin: 6rem 0;
  border-radius: 2rem;
} 


.bg-default{
  background-color: #f5c71c!important;
}
/* PAGE ACADEMICS */
.container-academics{
  display: grid;
  grid-template-columns: 2fr 6fr;
}

.curriculum{
  background-color: white;
  grid-column: 2 / 10;
  margin: 1rem;
  border-radius: 2rem;
  padding: 6rem;
  margin-top: 6rem;
}

.learning-enviroment{
  background-color: white;
  grid-column: 2 / 10;
  margin: 1rem;
  border-radius: 2rem;
  padding: 6rem;
}

.staff__member--icon{
  width: 16rem;
  height: 16rem;
  border-radius: 100%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.learning-enviroment h2{
  font-size: 4rem !important;
}

.staff{
  background-color: white;
  grid-column: 6 / 10;
  grid-row: 2 / 4;
  margin: 1rem;
  border-radius: 2rem;
  padding: 6rem;
  margin-top: 6rem;
} 

.staff__member{
  background-color: gainsboro;
  border-radius: 2rem;
  padding: 1rem;
}

.staff__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

.prefects{
  background-color: white;
  grid-column: 2 / 10;
  margin: 1rem;
  border-radius: 2rem; 
  padding: 6rem;
  margin-bottom: 6rem;
}

.prefects__grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
}

/* CULTURE PAGE */
.culture__container{
  background-color: white;
  grid-column: center-start / center-end;
  border-radius: 2rem;
  margin: 6rem 0;
  padding: 6rem;
}

.culture__slideshow{
  margin-bottom: 3rem;
}

.culture__text{
  -moz-column-count: 2;
  -moz-column-gap: 4rem;
  -moz-column-rule: 1px solid #eee;
  -webkit-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 4rem;
  column-gap: 4rem;
  -webkit-column-rule: 1px solid #eee;
  column-rule: 1px solid #eee;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}



/* MEDIA QUERIES */
@media screen and (max-width: 1600px) {
  .about-box{
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1420px) {
  html{
    font-size: 45%;
  }

}

@media screen and (max-width: 1270px) {
  html{
    font-size: 30%;
  }

  .about-box{
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 850px) {
  .heading-primary{
    font-size: 6rem;
  }

  .heading-secondary{
    font-size: 4rem;
  }

  .sdm_download_title{
    font-size: 2.7rem;
  }

  .about-box{
    font-size: 1.6rem;
  }

  .curriculum{
    grid-column: center-start / center-end;
  }

  .learning-enviroment{
    grid-column: center-start / center-end;
  }

  .staff{
    grid-column: center-start / center-end;
  }
  
  .prefects{
    grid-column: center-start / center-end;
  }
}

@media screen and (max-width: 660px) {
  html{
    font-size: 25%;
  }

  .info,
  .about{
    grid-template-columns: auto;
    grid-row-gap: 3rem;
  }

  .heading-primary{
    font-size: 6rem;
  }

  .heading-secondary{
    font-size: 4rem;
  }

  .newsletter{
    grid-column: 1 / -1;
  }

  .d6-connect{
    grid-column: 1 / -1;
  }

  .contact__details-box{
    grid-column: 1 / -1;
    padding: 6rem;
    padding-bottom: 3rem;
  }

  .contact__form{
    grid-column: 1 / -1;
    padding: 6rem;
    padding-top: 3rem;
  }

  .contact__details{
    text-align: center;
  }

  .footer{
    grid-template-columns: auto;
  }

  .footer__nav{
    margin-top: 2rem;
  }

  .footer__social{
    margin-top: 2rem;
  }

  .calendar{
    padding: 4rem 12rem;
  }
}

@media screen and (max-width: 540px) {
  .enroll__core-values{
    grid-template-columns: auto;
  }

  .preprimary{
    grid-template-columns: auto;
  }

  .welcome{
    padding: 3rem 12rem;
  }
}

@media screen and (max-width: 450px) {
  .welcome{
    grid-template-columns: auto;
  }

  .welcome__image{
    display: none;
  }

  .header__heading--text{
    font-size: 8rem;
  }

  .articles{
    padding: 8rem;
  }

}

.blog__container{
  background-color: white;
  grid-column: 1 / -1;
  border-radius: 2rem;
  margin: 6rem 12rem;
  padding: 6rem;
}

.blog__container a:active,
.blog__container a:link{
  text-decoration: none;
  color: #88c931;
}

.blog__container a:active:hover,
.blog__container a:link:hover{
  font-size: larger;
}