/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
    font-size: 62.5%;
}

body {
    background-color: #FFFFFF;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
}

.wrapper {
    overflow-x: hidden;
}

.top {
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
}

img {
	opacity: 1;
	transition: opacity 1s;
}

img[data-src] {
	opacity: 0;
}

/* Typography
––––––––––––––––––––––––––––––––––––––––––––––––– */
@font-face {
    font-family: 'League Spartan';
    src: url('leaguespartan-bold.eot');
    src: url('leaguespartan-bold.eot?#iefix') format('embedded-opentype'),
         url('leaguespartan-bold.woff2') format('woff2'),
         url('leaguespartan-bold.woff') format('woff'),
         url('leaguespartan-bold.ttf') format('truetype'),
         url('leaguespartan-bold.svg#league_spartanbold') format('svg');
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* Mobile First Styles
––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Hero Copy */
h1 {
    font-size: 2.4rem;
    font-family: 'League Spartan', "Arial Black", Arial, Helvetica, sans-serif;
    line-height: 1.2;
    letter-spacing: .1rem;
    margin-bottom: 4.0rem;
    color: #FFFFFF;
    transition: .75s;
}
/* Top Copy */
h2 {
    font-size: 1.8rem;
    font-family: 'Poppins', "Arial Black", Arial, Helvetica, sans-serif;
    font-weight: 300;
    line-height: 2.2rem;
    letter-spacing: .1rem;
    margin-bottom: .4rem;
    color: #FFFFFF;
    transition: .75s;
}
/* Section Titles */
h3 {
    font-size: 1.2rem;
    font-family: 'Poppins', "Arial Black", Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .08rem;
    color: #2EBED2;
    transition: .75s;
}
/* Project Names */
h4 {
    width: 90%;
    margin: auto;
    text-align: center;
    font-size: 2.4rem;
    font-family: 'Poppins', "Arial Black", Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 3.0rem;
    letter-spacing: .1rem;
    color: #2EBED2;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: .75s;
}
/* Project Subtitles */
h5 {
    font-size: 1.2rem;
    font-family: "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: .08rem; 
    color: #ABABAB;
    transition: .75s;
}
p, ul {
    font-size: 1.6rem;
    font-family: "Merriweather", "Georgia", "Cambria", "Times New Roman", "Times", serif;
    line-height: 2.8rem;
    letter-spacing: .05rem;
    color: #708090;
    transition: .75s;
}

p a {
    color: #2EBED2;
    text-decoration: none;
    font-weight: bold;
}

p a:visited {
    color: #008DA3;
    text-decoration: none;
    font-weight: bold;
}

/* Larger than phablet */
@media (min-width: 415px) {
    h1 {
        font-size: 4.0rem;
        line-height: 1;
        letter-spacing: .5rem;
        margin-bottom: 4.4rem;
    }
    h2 {
        font-size: 2.0rem;
        letter-spacing: .1rem;
        margin-bottom: .8rem;
    }
    h3 {
        font-size: 1.6rem;
        letter-spacing: .2rem;
    }
    h4 {
        font-size: 3.2rem;
        line-height: 4.0rem;
        letter-spacing: .1rem;
    }
    h5 {
        font-size: 1.5rem;
    }
    p, ul {
        font-size: 2.0rem;
        line-height: 3.2rem;
    }
}

/* Desktop */
@media (min-width: 740px) {
    h1 {
        font-size: 8.0rem;
        line-height: 1;
        letter-spacing: .5rem;
        margin-bottom: 4.8rem;
    }
    h2 {
        font-size: 2.4rem;
        letter-spacing: .15rem;
        margin-bottom: 1.4rem;
    }
    h3 {
        font-size: 1.8rem;
        letter-spacing: .2rem;
    }
    h4 {
        font-size: 4.0rem;
        line-height: 5.2rem;
        letter-spacing: .08rem;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    h5 {
        font-size: 1.6rem;
    }
    p, ul {
        font-size: 2.4rem;
        line-height: 4.0rem;
        margin-bottom: 40px;
    }
}

/* Header Style and Structure
–––––––––––––––––––––––––––––––––––––––––––––––––– */
header {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    vertical-align: middle;
    position:fixed;
    justify-content: space-between;
    z-index: 9999;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0);
    transition: 0.75s;
}

@media (max-width: 415px) {
    header {
        height: 60px;
    }
}

header.bgChange {
    background: rgba(255, 255, 255, .96);
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.25);
}

.siteHeader_section2 {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    vertical-align: middle;
    width: 100%;
}

.siteHeader_section1 {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: 80px;
    padding: 40px 0px 40px 0px;
}

@media (max-width: 415px) {
    .siteHeader_section1 {
        width: 40px;
        margin-left: 10px;
    }
}

.backArrow {
    color: #FFF;
    position: relative;
    width: 32px;
    height: 3px;
    background-color: currentColor;
    transition: .5s;
}

.backArrow:before {
    content: '';
    position: absolute;
    -webkit-justify-content: center;
    justify-content: center;
    left: 1px;
    top: -8px;
    width: 16px;
    height: 16px;
    border-top: solid 3px currentColor;
    border-right: solid 3px currentColor;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.backArrow:hover {
    width: 40px;
    transition: .5s;
}

.backArrow.change {
    color: #2EBED2;
}

.caseTitle {
    font-size: 2rem;
    font-family: 'Poppins', "Arial Black", Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .08rem;
    color: #000000;
    opacity: 0;
    width: 100%;
    margin-left: -40px;
    text-align: center;
    transition: .5s;
}

@media (max-width: 415px) {
    .caseTitle {
        margin-left: -25px;
        font-size: 1.6rem;
    }
}

.caseTitle.change {
    opacity: 1;
    transition: .5s;
}

/* Link Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Desktop */
.menu__link {
    font-family: 'Poppins', "Arial Black", Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .25rem;
    display: block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-decoration: none;
    position: relative;
    margin-top: 14px;
    margin-right: 12px;
    margin-left: 12px;
    padding-right: 0;
    padding-left: 0;
    color: #FFFFFF;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.menu__link.change {
    color: #000000;
}

.menu__list li.active a {
    color: #2EBED2;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.menu__link:hover {
    color: #2EBED2;
}

.menu__link:after {
    display: block;
    content: '';
    border-top: 10px solid rgba(255, 255, 255, 0);
    border-bottom: 3px solid #2EBED2;  
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);  
    transition: transform 250ms ease-in-out;
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}

.menu__link:hover:after {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

/* Header and Link Responsiveness
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Mobile */
@media screen and (max-width: 415px){
    .menu__link {
        font-size: 1rem;
        letter-spacing: .15rem;
        margin: 12px 6px 0px;
    }
    .siteHeader_section {
        margin-right: 10px;
        margin-left: 10px;
    }
    .siteHeader_logo img {
        width: 32px;
        transition: .75s;
    }
}

/* Tablet */
@media screen and (min-width: 416px) and (max-width: 740px){
    .menu__link {
        font-size: 1.2rem;
        letter-spacing: .2rem;
        margin: 14px 8px 0px;
    }
    .siteHeader_section {
        margin-right: 10px;
        margin-left: 10px;
    }
    .siteHeader_logo img {
        width: 32px;
        transition: .75s;
    }
}

/* Hero Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.intro {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    height: 100vh;
    z-index: -100;
    background-color: #000000;
    background-position: center;
}

.introtext {
    margin-top: 80px;
    white-space: normal;
}

.inside {
    align-self: center;
    text-align: center;
}

.introdesc {
    padding: 0px 10px 0px 10px;
}


/* About Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.sectionHeader {
    width: 100%;
    text-align: center;
    line-height: 1rem;
}

.sectionHeader span{
    height: 3px;
    width: 40px;
    background-color: #2EBED2;
    display: inline-block;
}

.about {
    position: relative;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    background-color: white;
}

.abouttext {
    max-width: 1080px;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: .05rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #000000;
    text-align: center;
    margin: 80px 20px 80px 20px;
    -webkit-font-smoothing: antialiased !important;
    transition: .75s;
}

@media (min-width: 415px) and (max-width: 739px) {
    .abouttext {
        font-size: 2.0rem;
        line-height: 1.6;
        margin-bottom: 100px;
    }
}

@media (min-width: 740px) {
    .abouttext {
        font-size: 3.2rem;
        line-height: 1.8;
        margin-bottom: 160px;
    }
}

.abouttext a {
    text-decoration: none;
    color: #2EBED2;
    font-weight: 700;
}

.background {
    display: block;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 120px 20px 40px 20px;
}


@media (min-width: 740px) {
    .background {
        padding: 160px 40px 40px 40px;
    }
}

.description {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 30px 60px 30px 60px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 740px) {
    .description {
        padding: 30px 20px 30px 20px;
    }
}

.descImg {
    display: block;
    margin: 0 auto;
}

.casePhoto img {
    display: block;
    margin: 0 0 0 -10%;
}

video {
    display: block;
    margin: 0 0 0 -10%;
    width: 120%;
}

.casePhoto h5 {
    width: 90%;
    text-align: center;
    margin: auto;
}

@media (max-width: 739px) {
    #gif img{
    width: 50%;
    }
}

/* Contact
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#cntct {
    margin-top: -160px;
}

.contact {
    width: 100%;
    background-color: #2EBED2;
    padding-top: 80px;
    padding-bottom: 80px;
}

#contact h3 {
    color: #008DA3;
}

#contact span{
    height: 3px;
    width: 40px;
    background-color: #008DA3;
    display: inline-block;
}

iframe {
    overflow: hidden;
    border-style: none;
    border: none;
    display: block;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 36px;
    height: 40px;
}

form {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 0px 20px;
}

form p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: #FFFFFF;
}

form label {
    display: block;
    font-size: 1.2rem;
    letter-spacing: .08rem;
    line-height: 1.6;
    font-weight: 700;
    color: #008DA3;
    margin-bottom: 4px;
}

@media (min-width: 415px) {
    form label {
        font-size: 1.6rem;
        letter-spacing: .2rem;
        line-height: 1.6;
    }
}

@media (min-width: 740px) {
    form label {
        font-size: 1.8rem;
        letter-spacing: .2rem;
        line-height: 1.8;
    }
}

input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #5EDAEB;
    width: 100%;
    height: auto;
    outline: none;
    border: none;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}

textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #5EDAEB;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 4px;
    padding: 16px;
    resize: none;
    margin-bottom: -12px;
}

:-moz-placeholder {
    color: #AEECF5;
}
 
::-webkit-input-placeholder {
    color: #AEECF5;
}

*:focus {
    outline: none;
    color: #FFFFFF;
}

#submit {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .2rem;
    line-height: 64px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #008DA3;
    text-decoration: none;
    width: 28%;
    min-width: 200px;
    height: 64px;
    margin: 0 auto;
    border-radius: 32px;
    left: 0;
    right: 0;
    border: none;
    -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .15);
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .15);
    -webkit-transition: all 700ms cubic-bezier(0.26, 1.48, .47, .96);
    transition: all 700ms cubic-bezier(0.26, 1.48, .47, .96);
    box-sizing: border-box;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#submit:hover {
    transform: scale(0.99, .99) translateY(-50%);
    -webkit-transform: scale(0.99, .99) translateY(-50%);
    -ms-transform: scale(0.99, .99) translateY(-50%);
    -webkit-box-shadow: 0 50px 80px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
}

@media (max-width: 415px) {
    #submit {
        margin: 0 auto;
        font-size: 1.0rem;
        letter-spacing: .15rem;
        line-height: 40px;
        height: 44px;
        min-width: 160px;
    }
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.footer {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    width: 100%;
    background-color: #008DA3;
    padding: 80px 0px 40px 0px;
}

.footer p {
    font-size: 1.2rem;
    line-height: 2.4rem;
    color: #2EBED2; 
    margin: 0 auto;
}

.footer_content {
    color: #000000;
    width: 100%;
    text-align: center;
    margin: 0px 20px 0px 20px;
}

.follow {
    margin-bottom: 20px;
}

.social {
    justify-content: center;
    display: flex;
    display: -webkit-flex;
    flex-wrap: row;
    -webkit-flex-wrap: row;
    margin: 0px auto;
    overflow: visible;
    margin-bottom: 40px;
}

.social img {
    height: 40px;
    padding: 20px;
    overflow: hidden;
    position: relative;
}


/* Clearfix
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
 
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }