/* margin and padding removes auto margin/padding */
body, html{
  height: 100%; width:100%; margin: 0; padding: 0;
}


/* Parallax is the sticky image behind the text*/
.parallax {
  /* The image used */
  background-image: url("Us-Colour.JPG");

  /* Full height */
  height: 100%; width: 100%;


  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  


  /* Add text styling*/
  font-family: "Quicksand";
  text-align: center;
  font-size: 3em;
  font-weight: 900;
  color: white;
  text-decoration: solid;
  text-decoration-color: #264E36;
  }

  /* Make text on image vertically centered*/
.fade-In{
  position: relative;
  top: 50%;
}

/* Turn off parallax scrolling for tablets and phones. Increase the pixels if needed */
@media only screen and (max-width: 650px) {
  .parallax {
    background-attachment: scroll;
  }
}

.parallax2 {
  /* Full height */
  height: 75%; width: 100%;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Turn off parallax scrolling for tablets and phones. Increase the pixels if needed */
@media only screen and (max-width: 650px) {
  .parallax2 {
    background-attachment: scroll;
    height: 50%;
  }
}

.fade-In {
    animation: fadeIn ease 3s forwards;
    -webkit-animation: fadeIn ease 3s forwards;
    -moz-animation: fadeIn ease 3s forwards;
    -o-animation: fadeIn ease 3s forwards;
    -ms-animation: fadeIn ease 3s forwards;
    opacity: 0;
    
  }
  .fade-In:nth-of-type(1){
    animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    -ms-animation-delay: 0.5s;
  }
  .fade-In:nth-of-type(2){
    animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    -o-animation-delay: 1.5s;
    -ms-animation-delay: 1.5s;
  }
  .fade-In:nth-of-type(3){
    animation-delay: 2.5s;
    -webkit-animation-delay: 2.5s;
    -moz-animation-delay: 2.5s;
    -o-animation-delay: 2.5s;
    -ms-animation-delay: 2.5s;
  }
  @keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @-moz-keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @-webkit-keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @-o-keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
    }
  }
  
  @-ms-keyframes fadeIn {
    0% {
      opacity:0;
    }
    100% {
      opacity:1;
  }
}

@font-face {
  font-family: ourFont;
  src: url(Andrea-Bellarosa.ttf);
}

body,header {
    font-family: "Quicksand";
    text-align: center;
    background-color: #FFFAFA;  
    
  }

footer{

  position: static;
  bottom: 0;
  width: 100%;
  color: #264E36;
  left: 0;
  overflow: hidden;
  margin: auto;
}
.title{
  font-size: 3em;
  color: #264E36;
  padding: 0.10em 0.75em;
  letter-spacing: 2px;
  font-style: strong;
  top: 50%;
  font-family: ourFont;
  text-decoration: none;
}

@media only screen and (max-width: 650px) {
  .title {
    font-size: 2em;
  }
}
  
  ul {
    list-style-type: none;
    margin: 0%;
    padding: 0%;
    overflow: hidden;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    text-align: center;
    background-color: #264E36;
    z-index: 3;
  }

  li {
    float: left;
  }

  li a.title {
    font-size: 1.5em;
    color: white;
    padding: 0.10em 0.75em;
    letter-spacing: 2px;
    font-style: strong;
    top: 50%;
    font-family: ourFont;
  }

@media only screen and (max-width: 650px) {
  li a.title {
    font-size: 1.2em;
    padding: 0.35em 0.50em;
  }
}

  li a {
    display: block;
    color: white;
    text-align: center;
    padding: 1.1em 16px;
    text-decoration: none;
    font-size: 1em;
    top: 50%;
  }

  @media only screen and (max-width: 650px) {
    li a {
      font-size: .75em;
      padding: 1.75em 8px;
    }
  }

  li a:hover {
    font-style: italic;
    font-weight: bold;
  }


  /*timeline CSS*/
  * {
    box-sizing: border-box;
  }
    
  /* The actual timeline (the vertical ruler) */
  .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: peru;
    top: 15px;
    bottom: 10%;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Container around content */
  .container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  /* The circles on the timeline */
  .container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: peru;
    border: 4px solid peru;
    top: 15px;
    border-radius: 50%;
    z-index: 2;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 2;
    right: 30px;
    border: medium solid #264E36;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #264E36;
  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 2;
    left: 30px;
    border: medium solid #264E36;
    border-width: 10px 10px 10px 0;
    border-color: transparent #264E36 transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }
  
  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: #264E36;
    position: relative;
    border-radius: 6px;
    color: white;
  }
  
  /* Media queries - Responsive timeline on screens less than 600px wide */
  @media screen and (max-width: 650px) {
  /* Place the timelime to the left */
    .timeline::after {
      left: 31px;
    }
  
  /* Full-width containers */
    .container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
    }
  
  /* Make sure that all arrows are pointing leftwards */
    .container::before {
      left: 60px;
      border: medium solid #264E36;
      border-width: 10px 10px 10px 0;
      border-color: transparent #264E36 transparent transparent;
    }
  
  /* Make sure all circles are at the same spot */
    .left::after, .right::after {
      left: 15px;
    }
  
  /* Make all right containers behave like the left ones */
    .right {
      left: 0%;
    }
  }

  body
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 4; /* Sit on top */
    padding-top: 3.75em; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    animation: fadeIn ease-in 1.5s forwards;
    -webkit-animation: fadeIn ease-in 1.5s forwards;
    -moz-animation: fadeIn ease-in 1.5s forwards;
    -o-animation: fadeIn ease-in 1.5s forwards;
    -ms-animation: fadeIn ease-in 1.5s forwards;
    opacity: 0;
  }
  
  /* Modal Content */
  .modal-content {
    background-color: white;
    margin: auto;
    padding: 0px 20px 20px 20px;
    border: 1px solid #264E36;
    width: 80%;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: none;
    margin: none;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }