html {
    box-sizing: border-box;
    font-size: 1.5vh;
}
*, *:before, *:after {
    box-sizing: inherit;
}


/*

font-family: 'Caveat', cursive;
font-family: 'Montserrat', sans-serif;
font-family: 'Varela', sans-serif;

/* ============================== */
/* =========== Global =========== */
/* ============================== */

body {
    padding: 0;
    margin: 0;
}





.end-space {
    padding-bottom: 5%;
}
/* ============================== */
/* ============= Text =========== */
/* ============================== */

h1, h2 {
    font-family: 'Varela', sans-serif;
    padding-bottom: 2.5%;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 2rem;
}

h2.sponsor {
    padding: 0;
    margin: 0;
    padding-bottom: 5px;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    padding: 0;
    margin: 0;
    text-align: center;
    padding-bottom: 5%;
}

h4 {
    font-family: 'Caveat', cursive;
    font-size: 4.5rem;
    text-align: center;
    padding: 0;
    margin: 0;
    padding-top: 5%;
    padding-bottom: 0;
}

.h4-center {
    text-align: center;
}


p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
}

.bottom-p {
    margin-bottom: 12%;
}

.caps-letter {
    font-size: 5rem;
    color: rgb(122,185,255);
}

.icon-sm {
    color: white;
    font-size: 4rem;
    padding-top: 10%;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 5%;
}

ul {
    padding: 0;
    margin: 0;
}

ul > li {
    list-style: none;
    padding: 0;
    margin: 0;
}

li > a {
    padding: 0;
    margin: 0;
}

/* ============================== */
/* =========== Images =========== */
/* ============================== */

.logo-header {
    width: 70%;
    height: auto;
    padding-top: 10%;
}

.card-img {
    width: 100%;
    height: auto;
}

.card-img-no-blur {
    width: 80%;
    height: auto;
}

.card-img:hover {
    filter: blur(2px);
    transition: all 0.3s;
}

.img-mobile {
    width: 70%;
    height: auto;
}

.img-mobile:hover{
    transform: scale(1.1);
    transition: all 0.6s;
}

.event-img {
    width: 80%;
    height: auto;
}

.sponsor-img {
    width: 60%;
    height: auto;
    padding: 0;
    margin: 0;
}

/* ============================== */
/* =========== Header =========== */
/* ============================== */

.head-logo-sect {
    text-align: center;
}

.head-main {
    padding: 0;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2%;
    padding-bottom: 10%;
    width: 80%;
    text-align: center;
}

/* ============ Nav  ============ */

.icon-nav {
    font-size: 3rem;
    color: white;
    padding: 1.5%;
    background-color: rgba(53,62,101,0.1);
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 2;
}

.icon-nav:hover {
    background-color: rgb(122,185,255);
    transition: all 0.4s;
}

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 5; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 3.5rem;
    font-family: 'Varela', sans-serif;
    text-transform: uppercase;
    text-align: center;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: rgb(122,185,255);
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 5rem;
  margin-left: 50px;
}


/* ======== */

.intro-title {
    margin-top: 10%;
    text-align: center;
}


/* ============================== */
/* ======== Hero Section ======== */
/* ============ Home ============ */

.hero-home{
    margin: 0;
    padding: 0;
    
}


.hero-bg {
    margin: 0;
    padding: 0;
    background-image: url(../images/heroBG-2500x1667.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
}

.card-container{
    padding-top: 10%;
}

article.hero-card {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    width: 70%;
    
}

.card-no-1 {
    background-color: rgba(255,255,102,0.5);
    height: 100px;
}

.card-no-1:hover {
    background-color: rgba(255,255,102,0.8);
    color: white;
}

.card-no-2 {
    background-color: rgba(255,0,153,0.5);
    height: 100px;
}

.card-no-2:hover {
    background-color: rgba(255,0,153,0.9);
    color: white;
}

.card-no-3 {
    background-color: rgba(122,185,255,0.5);
    height: 100px;
}

.card-no-3:hover {
    background-color: rgba(122,185,255,0.9);
    color: white;
}

.hero-p {
    
    text-transform: uppercase;
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding-top: 35px;
    text-align: center;
}

.hero-link {
    text-decoration: none;
    color: black;
}

/* ============================== */
/* ========== Home Page ========= */
/* =========== Content ========== */

.home-page-content {
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25%;
    width: 80%;
}

.content-card-container {
    padding-top: 5%;
}

.content-card {
    padding: 0;
    margin: 0;
    padding-top: 7.5%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
}

.content-p {
    padding: 0;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: left;
    font-size: 2rem;
}

.border-bottom-yellow {
    border-bottom: solid 5px rgba(255,255,102,0.8);
}

.border-bottom-pink {
    border-bottom: solid 5px rgba(255,0,153,0.9);
}

.border-bottom-blue {
    border-bottom: solid 5px rgba(122,185,255,0.9);
}

.border-bottom-grey {
    border-bottom: solid 5px rgba(145,145,145,0.9);
}









/* ============================== */
/* ======== Events Section ====== */
/* ============================== */

.events-sect {
    padding-top: 7.5%;
}

.event-card-contain {
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 80%;
    padding-bottom: 10%;
}

.image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.event-card-contain:hover .image {
  opacity: 0.3;
}

.event-card-contain:hover .middle {
  opacity: 1;
}

.text {
    background-color: rgba(255,255,102,0.8);
    color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    padding: 16px 18px;
}

.text2 {
    background-color:  rgba(255,0,153,0.8);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    padding: 16px 18px;
}

.text3 {
    background-color: rgba(122,185,255,0.9);
    color: black;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    padding: 16px 18px;
}

.text4 {
    background-color: lightgray;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    padding: 16px 18px;
}

.rugby-games {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-bottom: 10%;
}

.golf-days {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-bottom: 10%;
}

.formal-events  {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-bottom: 10%;
}

.festivals  {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-bottom: 10%;
}


.accordion {
    background-color: #eee;
    color: #444;
    font-size: 1.7rem;
    font-family: 'Monsterrat', sans-serif;
    cursor: pointer;
    padding: 14px;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}


/* ============================== */
/* ========= Charities ========= */
/* ============================== */

.charity-hide-wide {
    display: none;
}

/* ============================== */
/* ========== Get Help ========== */
/* ============================== */

.help-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2.5rem;
    color: rgb(122,185,255);
    text-decoration: none;
    
}

.help-sect ul {
    padding-left: 15%;
}

.help-sect ul li {
    text-align: left;
    padding: 0;
    padding-bottom: 5%;
    list-style: disc;
}





/* ============================== */
/* =========== Sponsors ========= */
/* ============================== */


.sponsor-container {
    
}

.sponsor-item {
    padding-top: 7.5%;
}

.un {
        
        display: inline-block;
    }

.un:after {
        
          content: '';
          width: 0px;
          height: 4px;
          display: block;
          background: rgb(255,0,153);
          transition: 650ms;
    }

.un:hover:after {
        
        width: 100%;
}









/* ============================== */
/* ========== Story share ======= */
/* ============================== */


.story-form {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
}

.story-text {
    min-width: 70%;
    max-width: 100%;
    min-height: 20vh;
    max-height: 45vh;
}

.story-check {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.btn-submit{

    padding: 10px;
    background-color: rgba(255,0,153,0.5);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: white;
    border: none;
}

.btn-submit:hover {
    background-color: rgba(255,0,153,0.2);
    color: black;
    transition: all 0.5s;
    border: none;
}

/* ============================== */
/* ============ Footer ========== */
/* ============================== */



footer {
    padding: 0;
    margin: 0;
    min-height: 25vh;
    background-color: rgba(10, 10, 10, 0.9);
}

.footer-section {
    padding: 0;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}

.foot-sm {
    padding: 0;
    margin: 0;   
    text-align: center;
}

.p-foot {
    text-align: center;
    padding: 0;
    margin: 0; 
    color: white;
}

/* ============================== */
/* ======= MEDIA QUERIES ======== */
/* ============================== */

@media screen and (min-width: 450px) {
    
    .logo-header{
        width: 60%;
    }
    
}
    
 
@media screen and (min-width: 581px) {
    
    .logo-header{
        width: 50%;
    }
    
}
    
    
@media screen and (min-width: 700px) {
    
    .logo-header{
        width: 45%;
    }
    
    p {
        text-align: left;
    }
    
}
      
    
@media screen and (min-width: 750px) {
    
    .logo-header {
        width: 40%;
    }
    
    .card-container {
        padding-top: 15%;
    }
    
    article.hero-card {
        width: 60%;
    }
    
    
    .events-sect {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .event-card-contain {
        flex: 0 1 calc(50% - 3em);
    }
    
    .event-img {
        height: 100%;
    }
    
    .text {
        font-size: 1.5rem;
    }

    .text2 {

    }

    .text3 {

    }

    .text4 {
        
    }
    
    .img-float-right {
        float: right;
        padding: 0;
        padding-left: 20px;
        padding-bottom: 10px;
    }
    
    .clear {
        float: clear;
    }
}

@media screen and (min-width: 910px) {
    
    .logo-header{
        width: 30%;
    }
    
    article.hero-card {
        width: 50%;
    }
    
    .charity-hide  {
        display: none;
    }
    
    .big-shrink {
        width: 40%;
    }
    
    .charity-hide-wide {
        display: block;
    }
    
    .charity-flex {
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
    }
    
    .charity-flex-item {
        width:  300px;
        height: 300px;
        flex: 1 0 calc(50% - 1em);
    }
    
    .pink {
        background-color: deeppink;
    }
    
    .blue {
        background-color: skyblue;
    }
    
    .charity-link-pink {
        padding: 0;
        font-family: 'Montserrat', sans-serif;

        color: white
    }

    .charity-link-blue {
        padding: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: 2.5rem;
        color: white
    }
    
    .charity-link-pink p {
        padding-top: 125px;
        font-size: 2rem;
    }

    .charity-link-blue p {
        padding-top: 125px;
        font-size: 2rem;
    }
    
    .sponsor-img {
        width: 40%;
    }
    
    .sponsor-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .sponsor-item {
        flex: 0 1 calc(50% - 1em);
    }
}

@media screen and (min-width: 1022px) {
    
    h4 {
        text-align: left;
        padding-left: 10%;
    }
     
    p {
        text-align: justify;
    }
    
    p.centre-p {
        text-align: center;
    }
    
    .card-container {
        padding-top: 17.5%;
    }
    
    article.hero-card {
        width: 45%;
    }
    
    .home-flex {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: 0;
    }
    
    .home-flex-item {
        flex: 0 1 calc(50% - 4em);
        padding-top: 2.5%;
    }
    
    .hero-p {
        padding-top: 25px;
    }
}
    


@media screen and (min-width: 1300px) {
    
    .logo-header{
        width: 20%;
    }
    
    article.hero-card {
        width: 35%;
    }
    
}
    
    
@media screen and (min-width: 1600px) {
    
    .logo-header {
        width: 20%;
    }
    
    article.hero-card {
        width: 25%;
    }

    .card-container {
        padding-top: 12.5%;
    }
    .hero-p {
        padding-top: 30px;
    }
    
    .home-flex {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: 0;
    }
    
    .home-flex-item {
        flex: 0 1 calc(25% - 2em);
        padding-top: 2.5%;
    }
    
}
    
    
    
    
    
/* ============================== */ 
/* ========= Animations ========= */   
/* ============================== */ 
    
.face:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
/*
.nav-ul {
    display: flex;
    text-align: center;
    justify-content: flex-end;
}

li {
    list-style: none;
    padding: 1%;
}

li > a {
    text-decoration: none;
    font-family: 'Varela', sans-serif;
    font-size: 1.2rem;
    color: black;
}

.un {
        
        display: inline-block;
    }

.un:after {
        
          content: '';
          width: 0px;
          height: 4px;
          display: block;
          background: rgb(255,0,153);
          transition: 450ms;
    }

.un:hover:after {
        
        width: 100%;
}

}
*/




