/**
 * Styles
 */
@import url( 'https://fonts.googleapis.com/css?family=Roboto+Condensed');

* {
    box-sizing: border-box;
    margin: 0;
}

a {
    color: inherit;
}

html,
body {
    margin: 0;
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
}

/* Main Page */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    background-color: #000;
    color: #FFF;
}

.hero__image {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    background-image: url('images/hero.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.7;
    background-attachment: fixed;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    text-align: center;
    margin: auto;
    z-index: 1;
}

.hero__header {
    display: block;
    margin: auto;
    font-size: 10rem;
    font-weight: bold;
}

.hero__copy {
    display: block;
    margin: 35px auto 0;
    width: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.4;
}

.hero__links {
    margin: 50px 0 0;
    font-size: 1.75rem;
    font-weight: bold;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #000;
    margin: 0 auto 70px;
    background-image: url('images/profile.jpg');
    background-position: center;
    background-size: cover;
    box-shadow: 10px 10px 30px #424040cc
    ;  

}

.section {
    width: 100%;
    height: auto;
    padding: 50px 25px;
    text-align: center;
}

.section__title {
    margin-bottom: 45px;
    text-align: center;
    font-size: 1.4rem;
}

.section__copy {
    width: 50%;
    margin: 0 auto 50px;
    text-align: center;
    font-weight: 300;
    line-height: 1.7;
}

.section__copy:last-of-type {
    margin-bottom: 0;
}

.companies {
    width: 60%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto 0;
    align-items: center;
}

.company {
    margin-bottom: 50px;
    display: inline-block;
    width: 33%;
    transition: opacity 300ms ease;
    opacity: 0.4;
}

.company:hover {
    opacity: 0.9;
}

.company img {
    width: 50%;
    display: block;
    margin: auto;
}

.contact__link {
    display: inline-block;
    margin: 0 25px;
    font-weight: bold;
    font-size: 1.25rem;
}

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

    .hero {
        height: 75vh;
    }

    .hero__header {
        font-size: 5rem;
    }

    .hero__copy {
        font-size: 1rem;
    }

    .hero__links {
        font-size: 1.5rem;
    }

    .section__copy {
        width: 75%;
        margin: 0 auto 50px;
        text-align: center;
        font-weight: 300;
        line-height: 1.7;
    }

    .companies {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        margin: 200px auto 0;
        align-items: center;
    }

    .company {
        margin-bottom: 50px;
        display: inline-block;
        width: 33%;
    }

    .company img {
        width: 40%;
        display: block;
        margin: auto;
    }

}

/* END of Main Page */

/* Other Pages */

.hero2 {
    position: relative;
    width: 100%;
    height: 90vh;
    background-color: #000;
    color: #FFF;
}

.hero__image2 {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    background-image: url('images/hero.jpg');
    background-position: center;
    background-size: cover;
    opacity: 0.4;
    background-attachment: fixed;
}

.hero__content2 {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    text-align: center;
    margin: auto;
    z-index: 1;
}

.hero__header2 {
    display: block;
    margin: auto;
    font-size: 10rem;
    font-weight: bold;
}

.hero__copy2 {
    display: block;
    margin: 35px auto 0;
    width: 50%;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.4;
}

.hero__links2 {
    margin: 50px 0 0;
    font-size: 1.75rem;
    font-weight: bold;
}

.profile-pic2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #000;
    margin: 0 auto 70px;
    background-image: url('images/profile2.jpg');
    background-position: center;
    background-size: cover;
    box-shadow: 10px 10px 30px #424040cc
    ;  

}

.section2 {
    width: 100%;
    height: auto;
    padding: 50px 25px;
    text-align: center;
}

.section__title2 {
    margin-bottom: 45px;
    text-align: center;
    font-size: 1.4rem;
}

.section__copy2 {
    width: 50%;
    margin: 0 auto 50px;
    text-align: center;
    font-weight: 300;
    line-height: 1.7;
}

.section__copy2:last-of-type {
    margin-bottom: 0;
}

.companies2 {
    width: 60%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto 0;
    align-items: center;
}

.company2 {
    margin-bottom: 50px;
    display: inline-block;
    width: 33%;
    transition: opacity 300ms ease;
    opacity: 0.9;
}

.company2:hover {
    opacity: 0.9;
}

.company img2 {
    width: 50%;
    display: block;
    margin: auto;
}

.contact__link2 {
    display: inline-block;
    margin: 0 25px;
    font-weight: bold;
    font-size: 1.25rem;
}

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

    .hero2 {
        height: 75vh;
    }

    .hero__header2 {
        font-size: 5rem;
    }

    .hero__copy2 {
        font-size: 1rem;
    }

    .hero__links2 {
        font-size: 1.5rem;
    }

    .section__copy2 {
        width: 75%;
        margin: 0 auto 50px;
        text-align: center;
        font-weight: 300;
        line-height: 1.7;
    }

    .companies2 {
        width: 100%;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        margin: 200px auto 0;
        align-items: center;
    }

    .company2 {
        margin-bottom: 50px;
        display: inline-block;
        width: 33%;
    }

    .company img2 {
        width: 40%;
        display: block;
        margin: auto;
    }

}
/* End of Other Pages */

/*ipad Landscape*/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
    .hero__image {
         background-position: top;
         background-size: auto;
         background-image: url('images/hero-ipad-landscape.jpg');
         opacity: 0.7;
    }

    .hero__header {
        font-size: 4rem;
    }

}

/*ipad Portrait*/
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
    .hero__image {
         background-position: absolute;
         background-size: auto;
         background-image: url('images/hero-ipad-portrait.jpg');
         opacity: 0.7;
     }

}


/*large mobile Portrait*/
@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : portrait) {
    .hero__image {
         background-position: center;
         background-size: auto;
         background-image: url('images/hero-large-mobile-portrait.jpg');
         opacity: 0.7;
    }
}

/*large mobile Landscape*/
@media only screen
and (min-device-width : 375px)
and (max-device-width : 812px)
and (-webkit-device-pixel-ratio : 3)
and (orientation : landscape) {
    .hero__image {
         background-position: center;
         background-size: auto;
         background-image: url('images/hero-large-mobile-landscape.jpg');
         opacity: 0.7;
    }
}

/*medium mobile Landscape*/
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 667px)
  and (orientation : landscape) {
    .hero__image {
         background-position: center;
         background-size: auto;
         background-image: url('images/hero-mobile-landscape.jpg');
         opacity: 0.7;
    }
}

/*medium mobile devices - not Landscape*/
@media screen and (max-width: 450px) {

     .hero__image {
         background-position: center;
         background-size: auto;
         background-image: url('images/hero-mobile.jpg');
         opacity: 0.7;
    }

    .hero__header {
        font-size: 4rem;
    }

    .hero__copy {
        width: 100%;
        padding: 0 15px;
        font-size: 1rem;
    }

    .section {
        padding: 75px 25px;
    }

    .section__copy {
        width: 90%;
        margin: 0 auto 25px;
        font-size: 0.8rem;
    }

    .companies {
        margin-top: 50px;
    }

    .company {
        width: 50%;
    }

    .company img {
        width: 65%;
    }

    .contact__link {
        display: block;
        margin-bottom: 15px;
    }

}
