header {
  margin: 0;
  padding: 0;

  width: 100%;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  align-items: center;
/*
  -ms-flex-align: center;
  -webkit-align-items: center;
  -webkit-box-align: center;

  align-items: center; */
}

.LogoImg {
  width: 500px;
  margin: 20px auto 20px auto;
}

.LogoTitle {
  width: 450px;
}
.wrapper{
  width: 100%;
  height: 700px;
}

.AltHeadercontainer {
  margin: auto;
  padding: 0;

  width: 100%;
  height: 700px;

  background-image: url("../images/background.jpg");

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;

  background-size: cover;

  transition: height 0.5s ease;
}

.AltHeaderwrapper {
  margin: 0;
  padding: 0;

  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  justify-content: center;
  align-items: center;

  width: 100%;
  height: 700px;

  transition: height 0.5s ease;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7ea6b5+0,1a4c7d+100&0+0,1+100 */
background: rgba(15,82,186,0.5); /* fallback */
background: -moz-linear-gradient(-45deg,  rgba(15,82,186,0.5) 0%, rgba(15,82,186,0.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  rgba(15,82,186,0.5) 0%,rgba(15,82,186,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(15,82,186,0.5) 0%,rgba(15,82,186,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0F52BA', endColorstr='#0F52BA',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */



}


/* Keep here in case I fuck up
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7ea6b5+0,1a4c7d+100&0+0,1+100 */
/* background: rgba(255,209,220,0.5); /* /* fallback */ 
/* background: -moz-linear-gradient(-45deg,  rgba(1,73,40,0.5) 0%, rgba(1,73,40,0.5) 100%);*/ /* FF3.6-15 */
/* background: -webkit-linear-gradient(-45deg,  rgba(1,73,40,0.5) 0%,rgba(1,73,40,0.5) 100%);*/  /* Chrome10-25,Safari5.1-6 */
/* background: linear-gradient(135deg,  rgba(1,73,40,0.5) 0%,rgba(1,73,40,0.5) 100%);*/ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80014928', endColorstr='#80014928',GradientType=1 );*/ /* IE6-9 fallback on horizontal gradient */




.Titlebox {
  text-align: center;
  width: 450px;
}

.Titlebox h2 {
  display: block;
  font-family: Agency, sans-serif;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

.Titlebox span {
  display: block;
  width: 100%;
  font-family: AgencyBold, verdana;
  text-transform: uppercase;
  font-size: 50px;
  letter-spacing: 2.5px;
  padding: 0;
  margin: 20px 0 20px 0;
}

.Titlebox h1 {
  font-family: Agency, sans-serif;
  text-transform: uppercase;
  display: block;
  font-size: 82px;
  font-weight: bold;
}

@media all and (max-width: 1000px) {
  header {
    margin: 50px 0 0 0;
  }

  .LogoImg {
    margin-top: 0px;
  }
  .wrapper{
    height: 500px;
  }
  .AltHeadercontainer {
    height: 500px;
  }
  .AltHeaderwrapper {
    height: 500px;
  }
}

@media all and (max-width: 600px) {
  header {
    margin: 50px 0 0 0;
  }
  .wrapper{
    height: 450px;
  }
  .AltHeadercontainer {
    height: 450px;
  }
  .AltHeaderwrapper {
    height: 450px;
  }
  .Titlebox {
    margin: auto;
    width: 100%;
  }
  .LogoImg {
    max-width:80%;
  }

  .LogoTitle {
    width: 100%;
  }



  /* margin auto to center navigation on page, flexbox to align logo left and menu
  right on large screens AND centered on small screens */
  header .Headercontainer {
    margin: auto;
    padding: 0;

    width: 900px;
    min-height: 400px;

    background-image: url("../images/header.JPG");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .ImgEffect1 {
    margin: 0;
    padding: 0;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    align-items: center;

    width: 100%;
    height: 400px;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#feccb1+0,f17432+50,ea5507+51,fb955e+100&0.27+0,0.32+100;Red+Gloss+%232 */
    background: -moz-linear-gradient(-45deg, rgba(34,39,122,1) 0%, rgba(34,39,122,1) 50%, rgba(34,39,122,1) 51%, rgba(34,39,122,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(34,39,122,1) 0%,rgba(34,39,122,1) 50%,rgba(34,39,122,1) 51%,rgba(34,39,122,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(34,39,122,1) 0%,rgba(34,39,122,1) 50%,rgba(34,39,122,1) 51%,rgba(34,39,122,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22277A', endColorstr='#22277A',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  }

  .Headerwrapper {
    text-align: center;
    margin: auto;
    max-width: 400px;
    padding: 20px 0 20px 0;
  }

  header h2 {
    margin: 10px;
    padding: 0;
    font-family: Agency;
    font-weight: normal;
  }

  header h1 {
    margin: 20px;
    padding: 0;
    font-family: LemonMilk;
    color: #fff;
  }

  header img {
    width: 100%;
  }
}
