/* STYLE SECTIONING TAGS */
* { /* Reset the space of the webpage */
   margin: 0px;
   padding: 0px;
}

/*Changing the overall body section*/
body {
  padding-bottom: 150px;
  background-image: linear-gradient(to bottom right, #F4CFC7, #F58E87);
}


/* STYLE TEXT */

/*Changes the Period Poverty header on the main page*/
h1 {
  font-family: 'Coming Soon', cursive;
  font-size: 40px;
}

/*Changes the Educate & Donate header on the educate & donate page*/
h2 {
  font-family: 'Coming Soon', cursive;
  font-size: 30px;
}

/*Changes the Silent Cry for Equality header on the main page*/
h3 {
  font-family: 'Coming Soon', cursive;
  font-style: italic;
}

/*Changes the h1 and h2 main headers for both pages*/
.headerChange {
  color: #FFFFFF;
  background-color: #AB0009;
  box-shadow: 0px 8px#B53F3F;
  padding: 6px;
  padding-left: 10%;
}

/*Changes the Did You Know header on the main page*/
h4 {
  color: #A61B0F;
  font-size: 35px;
  text-align: center;
  font-family: 'Coming Soon', cursive;
}

/*Changes the Donate header on the educate & donate page*/
h5 {
  font-family: 'Varela Round', sans-serif;
  font-size: 25px;
  text-align: center;
  margin-top: 55px;
  margin-bottom: 55px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #FFFFFF;
  background-color: #D4423F;
}

/*Changes the small header next to the main image on the main page*/
h6 {
  font-family: 'Varela Round', sans-serif;
  margin-top: -320px;
  margin-left: 300px;
  padding-left: 25%;
  padding-right: 2%;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 20px;
  line-height: 1.6;
  color: #840100;
}

/*Changes the text that appars for every main fact after the button is pushed*/
#fact {
  font-family: 'Coming Soon', cursive;
  background-color: #A61B0F;
  color: #FFFFFF;
  font-size: 30px;
  margin: 3%;
  text-align: center;
  top: 50%;
  -ms-transform: translate(0%, 50%);
  transform: translate(0%, 50%);
}

/*Changes the text that appears as an explanation for the facts button*/
#explain {
  padding-top: 30px;
  font-size: 20px;
  color: #5D0100;
  margin: 3%;
  text-align: center;
  -ms-transform: translate(0%, 0%);
  transform: translate(0%, 0%);  
}

/*Changes the tiny paragraph at the bottom of the main page crediting the source of the facts*/
#statsCredit {
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: #840100;
}

/*Changes the flex box around the Did You Know header on the facts button*/
.flexBox {
  margin-top: 10%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

/*Changes the flex items inside the flex box of the Did You Know header*/
.flexItems {
  flex-basis: 100%;
}

/*Changing layout depending on screen size*/
@media screen and (max-width: 850px){
  .flexBox {
    flex-wrap: wrap;
  }
}

/*Changes the about paragraphs on the about page*/
.aboutPara {
  margin: 4%;
  line-height: 1.6;
}

/*Changes all of the general paragraphs within the website*/
p {
  font-family: 'Varela Round', sans-serif;
  text-align: center;
  font-size: 18.5px;
  color: #6B0E00;
}


/* STYLE IMAGES */

/*Changes the image on the main page*/
.main {
  margin-left: 60px;
  width: 40%;
}

/*Centers the donate image on the educate & donate page*/
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: 30%;
  cursor: pointer;
}

/*General image changes within the website*/
img {
  width: 30%;
  height: auto;
  border: 2px solid #5D0100;
}


/* STYLE NAV BAR */

/*Styles the unordered list tag*/
ul {
  list-style-type: none;
  margin-left: 1149px;
  padding: 0;
  width: 200px;
  background-color: #B53F3F;
  margin-bottom: 20px;
}

/*Styles the actual links within the nav bar*/
li a {
  display: block;
  color: #FFE1E1;
  font-size: 20px;  
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  font-family: 'Coming Soon', cursive;
}

/*Change the color of hover*/
li a:hover {
  background-color: #FF8585;
  color: #6E2020;
}


/* STYLE BUTTONS */

/*Changes the fact button on the main page*/
button {
  padding: 10px 22px;
  font-size: 18px;
  transition-duration: 0.4s;
  background-color: #F1D3CC; 
  color: #96140F; 
  border: 2px solid #AC4A3D;
  /*Centering the button*/
  margin: 0;
  top: 50%;
  left: 50%;
  -ms-transform: translate(780%, 50%);
  transform: translate(780%, 50%);
}

/*Changes what the fact button would look like once it's hovered over*/
button:hover {
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: #AC4A3D;
  color: white;
}


/* ADD MORE! */

/*Changes the resource images and text on the educate & donate page*/
.resourceContent {
  display: inline-block;
  margin-left: 170px;
  margin-top: 50px;
  font-family: 'Varela Round', sans-serif;
  text-align: center;
  font-size: 18.5px;
  color: #6B0E00;
}
