p {
  font-size: 20px;
}

.scrolled {
  background-color: rgba(0, 69, 128, 0.9);
  color: white;
}

body
{
    min-width:1000px;
}

#main-intro-container {
  height: 900px;
  width: 100%;
  background: url("../images/Spofforth_Drone_Shot.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  opacity: 0.9;
  box-shadow: 0px 3px 5px 2px #a3a3a3;
}

#main-intro {
  height: 100%;
  text-align: center;
}

#main-intro h1 {
  margin: 0 auto;
  position: relative;
  top: 12%;
  font-size: 42px;
  font-weight: normal;
  color: white;
}

#main-intro p {
  border-top: 1px solid white;
  padding-top: 20px;
  color: white;
  margin: 0 auto;
  position: relative;
  top: 12%;
  width: 450px;
  font-size: 36px;
}

#logo-main {
  text-align: center;
  position: relative;
  top: 13%;
}

#logo-main img {
  margin: 15px;
  height: 240px;
  box-shadow: none;
}

.button-link {
  color: white;
  background-color: rgba(0, 69, 128, 0.9);
  font-size: 22px;
  font-weight: bold;
  position: relative;
  top: 20%;
  width: 220px;
  box-shadow: rgba(0, 69, 128, 0.9) 0px 0px 2px 2px;
}

#introduction-container {
  margin: 0 auto;
  max-width: 100%;
  min-width: 320px;
  padding: 10px 15px 10px 15px;
  overflow: auto;
  margin-bottom: 60px;
}
#introduction-container .image-box {
    float: left;
}
#introduction-container .image-box img {
    width: 75%; 
    height: auto;
	margin-top: 5%;
	margin-left: 17.5%;
    margin-bottom: 0%;
}
#introduction-container .image-box iframe {
    width: 75%; 
    height: 360px;
	margin-top: 0%;
	margin-left: 20%;
    margin-bottom: 5%;
}
#introduction-container .text-box {
    float: right;
}

#introduction-container h2 {
  text-align: center;
  font-size: 30px;
}

#introduction-container .text-box img {
	width: 20%; 
	margin-left: 40%;
	height: auto;
	margin-bottom: 20px;
}

#introduction-container p {
  width: 100%;
  text-align: justify;
  text-align-last: center;
  margin: 0 auto;
}

#introduction-container .blue-text {
  font-weight: bold;
}

#qualifications-header-background {
  overflow: auto;
  background: url("../images/Background.gif") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  box-shadow: 1px 0px 5px 3px #a3a3a3;
  color: white;
}

#qualifications-header-container {
  margin: 0 auto;
  margin-top: 20px;
  max-width: 1000px;
  min-width: 320px;
  padding: 20px;
}

#qualifications-header-container p {
  max-width: 450px;
  text-align: justify;
}

#qualifications-header-left {
  position: relative;
  padding: 20px;
  float: left;
  width: 35%;
}

#qualifications-header-left h1 {
  text-align: center;
  margin-top: 65%;
  margin-left: 30%;
  font-size: 80px;
}

#qualifications-header-right {
  padding: 20px 5px;
  float: right;
  width: 60%;
}

#qualifications-header-container img {
  display: block;
  margin: 0 auto;
  width: 50%;
}

#qualifications-container {
  overflow: auto;
}
.even {
  background-color: rgba(0, 69, 128, 0.9);
  box-shadow: 5px 0px 10px 5px #a3a3a3;
}

.qualifications-section-container {
  overflow: auto;
  margin-bottom: 10px;
  margin-top: 10px;
}

.odd .image-box {
  float: left;
}

.odd .text-box {
  float: right;
}

.odd .text-box i {
  margin-right: 20px;
  color: rgba(0, 69, 128, 0.9);
}

.even .text-box i {
  margin-left: 20px;
  color: rgba(0, 69, 128, 0.9);
  background-color: white;
  padding: 4px;
  border-radius: 10px;
}

.even .image-box {
  float: right;
}

.even .text-box {
  float: left;
  color: white;
}

.qualifications-section-container {
  clear: both;
}

.qualifications-section {
  overflow-x: hidden;
  margin: 0 auto;
  max-width: 1000px;
  min-width: 320px;
  padding: 0 15px 0 15px;
}

.image-box {
  background-color: rgba(0, 0, 0, 0);
  width: 50%;
}

.image-box img {
  display: block;
  margin: 0 auto;
  padding: 20px;
  width: 45%;
}

.text-box {
  background-color: rgba(0, 0, 0, 0);
  width: 50%;
}

.text-box i {
  position: relative;
  top: 10px;
  font-size: 36px;
}

.text-box h3 {
  position: relative;
  font-size: 22px;
  margin: 30px auto;
  text-align: center;
}

.text-box p {
  margin: 0 auto;
  max-width: 400px;
  text-align: justify;
  text-align-last: center;
}

#more-info-container {
  margin: 0 auto;
  max-width: 1000px;
  min-width: 320px;
  padding: 10px 15px 10px 15px;
  overflow: none;
}

#more-info-container h2 {
  text-align: center;
  font-size: 30px;
}

#more-info-container video {
  display: block;
  margin: 0 auto;
  width: 25%;
  margin-bottom: 30px;
}

#more-info-container p {
  width: 55%;
  text-align: justify;
  text-align-last: center;
  margin: 0 auto;
  margin-bottom: 30px;
}

#more-info-container .button-link {
  border: 1px solid rgba(0, 69, 128, 0.9);
  border-radius: 1px;
}

@media only screen and (max-device-width: 768px) {

  p {
    font-size: 28px;
  }

  #main-intro-container {
    margin-bottom: 0;
    box-shadow: none;
    height: 100vh;
  }

  #main-intro h1 {
    top: 18%;
    font-size: 80px;
  }

  #main-intro hr {
    top: 18%;
    background-color: white;
    width: 600px;
  }

  #main-intro p {
    top: 20%;
    width: 550px;
    font-size: 48px;
  }

  #logo-main {
    top: 19%;
  }

  #logo-reprise {
    text-align: center;
    position: relative;
    top: 13%;
  }

  #logo-reprise img {
    height: 150px;
    width: auto;
  }

  .button-link {
    top: 28%;
    padding: 20px;
    width: 30%;
    font-size: 36px;
  }

  #introduction-container h2 {
    font-size: 50px;
  }

  #introduction-container p {
    width: 100%;
  }

  #qualifications-header-container img {
    visibility: hidden;
  }

  .even {
    background-color: rgba(0, 69, 128, 0.9);
    box-shadow: 5px 0px 10px 5px #a3a3a3;
  }

  .qualifications-section-container {
    overflow: auto;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .odd .image-box {
    float: none;
    width: 100%;
  }

  .odd .text-box {
    float: none;
    width: 100%;
  }

  .even .image-box {
    float: none;
    width: 100%;
  }

  .even .text-box {
    float: none;
    width: 100%;
  }

  .image-box {
    width: 50%;
  }

  .text-box i {
    position: relative;
    top: 13px;
    font-size: 60px;
  }

  .text-box h3 {
    font-size: 50px;
  }

  .text-box p {
    max-width: none;
    padding: 30px;
  }

  #more-info-container h2 {
    font-size: 50px;
  }

  #more-info-container video {
    width: 50%;
    margin-bottom: 30px;
  }

  #more-info-container p {
    width: 94%;
    margin: 80px 30px;
  }

  #more-info-container .button-link {
    font-size: 40px;
    width: 40%;
    margin-bottom: 50px;
  }
}

@media only screen and (max-width: 768px) {

  #logo-main img {
    margin: 15px;
    width: 90%;
    height: auto;
    box-shadow: none;
  }

  #main-intro p {
    width: 400px;
  }

  #qualifications-header-container img {
    visibility: hidden;
  }

  .text-box p {
    font-size: 18px;
    padding-bottom: 30px;
  }
    
    #banner-image {
    height: 600px;
  }

  .blue-text {
    font-size: 40px;
  }

  li {
    padding: 8px;
  }

  .doc-header {
    font-size: 30px;
  }

  #closer {
    width: 100%;
  }

}

@media only screen and (max-width: 1100px) {


  #qualifications-header-left {
    width: 20%;
  }

  #qualifications-header-left h1 {
    text-align: center;
    margin-top: 100%;
  }

  #qualifications-header-container img {
    width: 50%;
  }

}

@media only screen and (max-width: 1280px) {

  #logo-reprise {
    width: 90%;
  }
}

.cv iframe {
  display: block;
  margin: 0 auto;
  width: 90%;
  height: 800px;
}

.doc-header {
  text-align: center;
}