/* Color Palette
#7CB518 - Stadium Eats Green
#272727 - Footer Black
#FFFFFF - Footer White Text & Backgrounds
#D8D8D8 - Footer Grey line
--------------------------------*/

/* Global style
--------------------------------*/
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, footer {
  font-family: 'Montserrat', sans-serif;
  margin:0;
}
a{
  color:#FFFFFF;
  text-decoration: none;
}
h2{
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 40px;
}
h3{
  font-size:22px;
  padding-top: 60px;
  line-height: 1.6;
}
h4{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 20px;
}
h5{
  font-size: 18px;
  color: #FFFFFF;
}
p{
  font-size: 18px;
  line-height: 1.61;
  margin-bottom: 45px;
}
ul{
  list-style-type: none;
}
.btn{
  text-decoration: none;
  background: #7CB518;
  color:white;
  padding: 1.25rem 5.625rem;
  border-radius: 30px;
  display:inline-block;
}
.content-wrap {
  max-width:100rem;
  margin: 0 3%;
  padding:0 3%;
  overflow:auto;
  position: relative;
  bottom:50px;
  border-radius: 6px 6px 0px 0px;
  background: #FFFFFF;
  z-index: 11;
}
/* Header
--------------------------------*/
header{
z-index: 10;
}
header h1,
header h2 {
  color: #FFFFFF;
}
/* Masthead Carousel Styles
--------------------------------*/
.ownersMasthead h1,
.couriersMasthead h1,
.fansMasthead h1{
  font-size: 40px;
  font-weight: 900;
}
.ownersMasthead,
.couriersMasthead,
.fansMasthead{
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  height: 684px;
  text-align:center;
  padding: 140px 15px;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ownersMasthead{
  background-image: url('../Images/OwnerMastHeadImg.jpg');
}
.couriersMasthead{
  background-image: url('../Images/CourierMastHeadImg.jpg');
}
.fansMasthead{
  background-image: url('../Images/FansMastHeadImg.jpg');
}
/* Teaser Styles
--------------------------------*/
.owners img,
.courier img,
.fans img
{
  display: block;
  width: 100%;
  padding: 15%;
}
div.owners,
div.courier,
div.fans {
  text-align: center;
}
div.courier,
div.fans {
  margin-top: 10%;
}

.content-wrap .btn {
  margin-bottom: 85px;
}
/* Footer
--------------------------------*/
footer,
footer .content-wrap
 {
  background: #272727;
  color: #FFFFFF;
  width:100%;
  margin: 0;
}
footer {
  text-align: center;
}
.footerLinks{
  display: flex;
  flex-wrap: wrap;
}
.footerColumnA{
 display: flex;
 flex: 1 0 90%;
 margin: 50px auto 15px auto;
 align-items:center;
 align-self:center;
 justify-content: center;
}

.footerColumnB,
.footerColumnC{
  flex: 1 0 45%;
  margin: 5px;
  text-align: left;
  line-height: 1.7;
}
.footerColumnD{
 flex: 1 0 90%;
 margin: 45px auto 0 auto;
 align-items:center;
 align-self:center;
}

footer p{
  font-size: 14px;
}

footer a{
  font-size: 16px;
  line-height: 2.2;
}

.footerLogo{
  height: 60px;
  margin-right: 10%;
}

.footerLogoLink{
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 900;
}
/* Forms
--------------------------------*/
.form{
  display: flex;
  justify-content: center;
  margin:40px 0 80px 0;
  width:100%;
}
.emailForm {
  border-radius: 5px 0px 0px 5px;
  border: 0;
  font-size:14px;
  width:75%;
  padding-left: 5%;
}
.formBtn{
  background: #7CB518;
  color:white;
  border-radius: 0px 5px 5px 0px;
  font-size: 20px;
  border: 0;
  width:15%;
  height:50px;
}
div.btnText{
  transform: scale(1,2);
}
/* Media Queries
--------------------------------*/
@media (max-width:899px) {
  /* MobileNav
  --------------------------------*/
  .mobileNav {
    overflow: hidden;
    background-color:#FFFFFF;
    position: relative;
  }

  .mobileNav .hiddenNav {
    display: none;
  }
  .mobileNav a {
    padding: 14px 16px;
    display: block;
    color: #272727;
  }
  .mobileNav .navLogo a{
    padding: 15px;
  }
  #logoNavLinkText{
    position: absolute;
    left: 70px;
    top: 7px;
  }
  .mobileNav a.icon {
    background: #FFFFFF;
    color: #7CB518;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 100;
  }
  .mobileNav a:hover {
    background-color: #FFFFFF;
    color: #7CB518;
  }
  .active {
    background-color: #FFFFFF;
    color: white;
  }
  .logoNavLink{
    content:url("../Images/StadiumEatsLogo_greennav.png")
  }
}
@media (min-width: 900px) {
  /* Desktop Navigation
  --------------------------------*/
  .desktopNav{
    z-index: 20;
  }
  nav{
    display: flex;
    flex-wrap: nowrap;
    background-image: linear-gradient(rgba(0,0,0,1),rgba(0,0,0,0));
    position: fixed;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }
  nav a{
    display: inline-block;
    padding: 20px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
  }
  nav a:hover{
    text-decoration: underline;
  }
  .navLogo{
    display:flex;
    font-size: 18px;
    align-items: center;
  }
  a.icon{
    display: none;
  }
  #contactNavLink{
    background-color: #7CB518;
    position:fixed;
    right: 0;
  }
  #logoNavLink{
    margin-left: 50px;
    float: left;
    padding: 15px;
  }
  #logoNavLinkText{
    padding: 20px 50px 0px 5px;
    }
  /* Desktop carousel
  --------------------------------*/
  .ownersMasthead h1,
  .couriersMasthead h1,
  .fansMasthead h1{
    font-size: 68px;
    font-weight: 900;
    margin-bottom:0px;
  }
  .ownersMasthead h5,
  .couriersMasthead h5,
  .fansMasthead h5{
    margin: 20px auto 50px;
  }
  div.ownersMasthead,
  div.couriersMasthead,
  div.fansMasthead{
    padding: 10% 25%;
    /* padding: 140px 350px; */
  }
  /* Desktop Teasers
  --------------------------------*/
  .owners,
  .courier,
  .fans
  {
    display: flex;
    width: 100%;
  }
  .owners img,
  .courier img,
  .fans img
  {
    display: block;
    width: 100%;
    padding: 0;
    max-height: 440px;
    max-width: 440px;
  }
  div.owners,
  div.courier,
  div.fans {
    flex:1 1 40%;
    text-align: left;
    margin: 150px auto 80px auto;
  }
  div.owners,
  div.fans {
    order:1;
  }
  .owners img,
  .fans img{
    order:2;
    margin-left: 10%;
  }
  .courier img{
    margin-right: 10%;
  }
  div.courier,
  div.fans {
    margin-top: 170px;
  }
  .content-wrap .btn {
    margin-bottom: 85px;
  }
  .content-wrap {
    max-width:100rem;
    margin: 0 10%;
    padding:0 auto;
    overflow:auto;
    position: relative;
    bottom:50px;
    border-radius: 6px 6px 0px 0px;
    background: #FFFFFF;
    z-index: 11;
  }
  h2 {
  font-size: 52px;
  margin-top: 0;
  margin-bottom:0.625rem;
  }
  /* Desktop Footer
  --------------------------------*/
  h3{
    font-size: 26px;
    font-weight: 900;
    margin-top: 4%;
  }
  footer .content-wrap {
    display:flex;
    justify-content:center;
    margin: 100px auto 0 auto;
  }
  .footerColumnA{
    max-width: 20%;
    margin: 0;
    padding: 0;
    align-self: flex-start;
  }
  .footerLogo{
    height: 60px;
    margin-right: 5%;
  }
  .footerColumnB,
  .footerColumnC{
    max-width: 20%;
    text-align: left;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    align-self: flex-start;
  }
  .footerColumnD{
    max-width: 25%;
    margin: 0;
    padding: 0;
    align-self: flex-start;
    text-align: left;
  }
  /* Desktop Form
  --------------------------------*/
  .form{
  margin:0 auto 7% auto;
  padding:0 auto;
  width:70%;
  }
  .emailForm {
    padding: 30px 20px;
    border-radius: 2px 0px 0px 2px;
    height: 50px;
    font-size: 1.20rem;
  }
  .formBtn{
    display: flex;
    padding: 30px 10px;
    background: #7CB518;
    color:white;
    border-radius: 0px 2px 2px 0px;
    font-size: 2rem;
    border: 0;
    height: 55px;
    justify-content: center;
    align-items: center;
  }
  div.btnText{
    transform: scale(1,2);
    position:relative;
    bottom: 26px;
    margin-bottom: ;
  }
  .formBox{
    border-bottom: 1px solid #D8D8D8;
  }
}
