/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clear {
  clear: both;
}

body {
  background-color: #66768A;
  font-family: "PT Sans Narrow", "Open Sans Condensed", Arial, sans-serif;
  }

main{
  height: 600px;
  background-color: #66768A; 
  color: white;
  text-align: center;

}

/* controls the positioning of the nav bar */
ul > li {
  width: 10%;
  padding-top: 10px;
  float: left;
  color: white;
  margin: 0px;
  font-size: 24px;
  list-style: none;
}


#Logo {
  float: left;
  height: 40px;
  width: 40px;
  margin-left: 25%;
}

button {
  width: 100px;
  padding-top: 10px;
  float: left;
  color: #66768A;
  margin-left: 30%;
  margin-top: 0.2%;
  background-color: white;
  border-radius: 5%;
  font-size: 24px;
  font: bolder;
  list-style: none;
}

/* controls the color of the header */
a[href] {
  color: white;
  text-decoration: none;
}

/* Controls Where Grit Meets Opportunity */
h1 {
  font-size: 500%;
  padding-top: 5%;
  text-transform: uppercase;
}
/* Controls the Level ground paragraph */
h1 + p {
  font-size: 150%;
  padding-left: 27.8%;
  padding-right: 27.8%;
}

h1 + p + span {
  clear: both;
  font-size: 28px;
  margin-right: 70px;

}

#play {
  height: 42px;
  width: 42px;
  margin-right: 10px;
}

header {
    width: 100%;
    height: 5%;
  }


  /* Controls the second section 'Why' background */
.Why {
    height: 400px;
    background-color: white;
    text-align: center;
    padding-top: 5%;
    color: #161F2A;

  }

  /* Controls the header for the second Section */
section > h2 {
    text-align: center;
    font-size: 52px;
    text-transform: uppercase;
    margin-bottom: 0px;
    margin-top: 0px;
    
  }

  /* Controls the paragraph for the second section */
h2 + p {
  font-size: 24px;
  text-align: center;
  padding-left: 32%;
  padding-right: 32%;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
/* Background for Double Section */
.Double {
    height: 700px;
    background-color: rgb(219, 223, 226);
  }

/* Left side of the double section */
#DoubleLeft {
    padding-top: 100px;
    padding-left: 20%;
    padding-right: 2.5%;
    text-align: center;
    font-size: 20px;
    float: left;
    width: 50%;
   
  }

/* Right side for the double section */
#DoubleRight {
  padding-top: 100px;
  padding-right: 20%;
  padding-left: 2.5%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 50%;

}

section > img + h3 {
  font-size: 26px;
}
.Visit {
  height: 50px;
  width: 50px;
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}

/************************************************************* */
/* Controls the text color of the See Classes / Hire Us button */
/************************************************************* */
p + a[href] {
  font-size: 16px;
  font-weight: 700;
  color: black;
}

.Last {
  height: 600px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  
}
/* Header for the 'Last' Section */
section > h3 {
  text-align: center;
  font-size: 52px;
  text-transform: uppercase;
}

.lastParagraph {
  padding-left: 35%;
  padding-right: 35%;
  padding-bottom: 0.8%;
  font-size: 20px;
}

.Volunteer {
  height: 50px;
  width: 50px;
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}
/*********************Controls all the footer ******************* */
footer {
  padding: 20px;
  min-height: 300px;
  background-color: #161F2A;
}

footer > * {
  color: #fff;
}

footer .socials {
  float: left;
}

footer .contacts {
  float: right;
}

.socials a  {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  
}

footer .socials ul {
  height: 50px;
  width: 200px; 
  list-style: none;
  margin-bottom: 10px;
  margin: 0;
  padding: 10px 20px 10px 0px;
}

footer .socials ul li {
  width: 33.333%;
  padding-left: 25px;
}


.socials span {
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  color: #666;
  float: left
}

.contacts > span {
  display: block;
}

#wholeSection {
height: 140px;
width: 200px;
float: left;
}

#SITEMAP {
  margin-top: 10px;
  margin-left: 45px;
  margin-right: 15px;
}

#theList {
padding-left: 5px;
margin-left: 0px;

}

#Contribute {
  margin-top: 10px;
  margin-left: 30px;
  margin-right: 15px;
}


.contacts h4 {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contacts span {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 12px;
  padding: 2px 0;
}

.contacts .email {
  font-weight: bold;
}

.copyright > p {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  padding-top: 15px;
  border-top: 1px solid #eaeaea;
}

.copyright > img {
  float: right;
  margin-top: -30px;
  width: 35px;
}

 /* ************************************************************ */
 /* **********************For Phones**************************** */
 /************************************************************* */

 @media screen and (max-width: 643px){

main{
  height: 600px;
  background-color: #66768A; 
  color: white;
  text-align: center;

}


/* controls the positioning of the nav bar */
ul > li {
    width: 75px;
    padding-top: 10px;
    float: left;
    color: white;
    margin: 0px;
    font-size: 20px;
    margin-left: 0px;
    list-style: none;
  }

#Logo {
  float: left;
  height: 40px;
  width: 40px;
  margin-left: 5%;
}

button {
  width: 70px;
  padding-top: 10px;
  float: left;
  color: #66768A;
  margin-left: 7.5%;
  margin-top: 0.2%;
  background-color: white;
  border-radius: 5%;
  font-size: 20px;
  font: bolder;
  list-style: none;
}

/* controls the color of the header */
a[href] {
  color: white;
  text-decoration: none;
}


/* Controls the WHERE GRIT MEETS OPPORTUNITY */
h1 {
  font-size: 350%;
  padding-top: 5%;
  text-transform: uppercase;
}

/* Controls the Level ground paragraph */
h1 + p {
  font-size: 24px;
  padding-left: 10%;
  padding-right: 10%;
}

h1 + p + span {
  clear: both;
  font-size: 28px;
  margin-right: 70px;

}

#play {
  height: 42px;
  width: 42px;
  margin-right: 10px;
}

 /* ************************************************************ */
 /* ****************Controls the Why section******************** */
 /************************************************************* */
 .Why {
  height: 400px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  color: #161F2A;

}

/* Controls the header for the second Section */
section > h2 {
  text-align: center;
  font-size: 52px;
  text-transform: uppercase;
  margin-bottom: 0px;
  margin-top: 0px;
  
}

/* Controls the paragraph for the second section */
h2 + p {
font-size: 24px;
text-align: center;
padding-left: 15%;
padding-right: 15%;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}

 /* ************************************************************ */
 /* *************Controls the double section******************** */
/************************************************************* */
/* Background for Double Section */
.Double {
  height: 1225px;
  background-color: rgb(219, 223, 226);
}

/* Left side of the double section */
#DoubleLeft {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
 
}

/* Right side for the double section */
#DoubleRight {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
}

/* text below the image */
section > img + h3 {
font-size: 26px;
}

.Visit {
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}
/* Controls the text color of the See Classes / Hire Us button */
p + a[href] {
  font-size: 16px;
  font-weight: 700;
  color: black;
}

 /* ************************************************************ */
 /* *******************For Last section************************* */
 /************************************************************* */
 .Last {
  height: 500px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  
}
/* Header for the 'Last' Section */
section > h3 {
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
}

.lastParagraph {
  padding-left: 15%;
  padding-right: 15%;
  padding-bottom: 0.8%;
  font-size: 20px;
}

.Volunteer {
  height: 50px;
  width: 50px;
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}

}

/* ************************************************************ */
/* ******************For VERY small phones********************* */
/************************************************************* */


@media (min-width: 279px) and (max-width: 361px) {

  main {
    height: 500px;
  }
  
  h1 {
    font-size: 250%;
    padding-top: 5%;
    text-transform: uppercase;
  }

  h1 + p {
    font-size: 20px;
    padding-left: 10%;
    padding-right: 10%;
  } 


/* Controls the paragraph for the second section */
h2 + p {
  font-size: 20px;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  }

  .GYMIMAGE {
    height: 200px;
    width: 200px;
  }
}

/************************************************************* */
/***********************For Tablets************************** */
/************************************************************* */

@media (min-width: 700px) and (max-width: 915px) {

  ul > li {
    width: 10%;
    padding-top: 10px;
    float: left;
    color: white;
    margin: 0px;
    font-size: 24px;
    list-style: none;
  }
  
  
  #Logo {
    float: left;
    height: 40px;
    width: 40px;
    margin-left: 25%;
  }
  
  button {
    width: 100px;
    padding-top: 10px;
    float: left;
    color: #66768A;
    margin-left: 25%;
    margin-top: 0.2%;
    background-color: white;
    border-radius: 5%;
    font-size: 24px;
    font: bolder;
    list-style: none;
  }



/* Left side of the double section */

.Double {
  height: 1050px;
  background-color: rgb(219, 223, 226);
}
#DoubleLeft {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
 
}

/* Right side for the double section */
#DoubleRight {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
}

/* text below the image */
section > img + h3 {
font-size: 26px;
}

.Last {
  height: 400px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  
}
/* Header for the 'Last' Section */
section > h3 {
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
}

.lastParagraph {
  padding-left: 15%;
  padding-right: 15%;
  padding-bottom: 0.8%;
  font-size: 20px;
}

.Volunteer {
  height: 50px;
  width: 50px;
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}

}


/************************************************************* */
/************************Random sizes************************* */
/************************************************************* */


@media (min-width: 644px) and (max-width: 749px) {

  main{
  height: 500px;
  background-color: #66768A; 
  color: white;
  text-align: center;

}


/* controls the positioning of the nav bar */
ul > li {
    width: 75px;
    padding-top: 10px;
    float: left;
    color: white;
    margin: 0px;
    font-size: 20px;
    margin-left: 0px;
    list-style: none;
  }

#Logo {
  float: left;
  height: 40px;
  width: 40px;
  margin-left: 20%;
}

button {
  width: 70px;
  padding-top: 10px;
  float: left;
  color: #66768A;
  margin-left: 27.5%;
  margin-top: 0.2%;
  background-color: white;
  border-radius: 5%;
  font-size: 20px;
  font: bolder;
  list-style: none;
}

/* controls the color of the header */
a[href] {
  color: white;
  text-decoration: none;
}


/* Controls the WHERE GRIT MEETS OPPORTUNITY */
h1 {
  font-size: 300%;
  padding-top: 5%;
  text-transform: uppercase;
}

/* Controls the Level ground paragraph */
h1 + p {
  font-size: 24px;
  padding-left: 8.5%;
  padding-right: 8.5%;
}

h1 + p + span {
  clear: both;
  font-size: 28px;
  margin-right: 70px;

}

#play {
  height: 42px;
  width: 42px;
  margin-right: 10px;
}

 /* ************************************************************ */
 /* ****************Controls the Why section******************** */
 /************************************************************* */
 .Why {
  height: 400px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  color: #161F2A;

}

/* Controls the header for the second Section */
section > h2 {
  text-align: center;
  font-size: 52px;
  text-transform: uppercase;
  margin-bottom: 0px;
  margin-top: 0px;
  
}

/* Controls the paragraph for the second section */
h2 + p {
font-size: 24px;
text-align: center;
padding-left: 15%;
padding-right: 15%;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}

 /* ************************************************************ */
 /* *************Controls the double section******************** */
/************************************************************* */
/* Background for Double Section */
.Double {
  height: 1050px;
  background-color: rgb(219, 223, 226);
}

/* Left side of the double section */
#DoubleLeft {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
 
}

/* Right side for the double section */
#DoubleRight {
  padding-top: 100px;
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  font-size: 20px;
  float: left;
  width: 100%;
}

/* text below the image */
section > img + h3 {
font-size: 26px;
}

.Last {
  height: 400px;
  background-color: white;
  text-align: center;
  padding-top: 5%;
  
}

section > h3 {
  text-align: center;
  font-size: 44px;
  text-transform: uppercase;
}

.lastParagraph {
  padding-left: 15%;
  padding-right: 15%;
  padding-bottom: 0.8%;
  font-size: 20px;
}

.Volunteer {
  height: 50px;
  width: 50px;
  border: rgb(168, 167, 167) 2px solid;
  padding: 10px 25px 10px 25px;

}

}