/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    overflow-x: hidden;
}

h4 {
    font-size: 1.5em;
    font-family: 'Raleway', sans-serif;
}

h6 {
    font-size: 1.3em;
    font-family: 'Raleway', sans-serif;
}

p {
    color: #848484;
}

body {
    width: 100%;
    background-color: #2ecc71;
    overflow-x: hidden;
}

a {
    color: #848484;
}
.hero .nosize {
    height: 0px;
    width: 0px;
    margin-left: 2%;
}
a:link {
    text-decoration: none;
    color: #848484;
}
.hero {
    background-image: url("../img/img-1.png");
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 10px;
    color: white;
    overflow-x: hidden;
}
.hero .left {
    float: left;
    text-align: center;
}
.hero .right img {
    float: left;
    display: none;
}
.hero h1 {
    font-family: 'Pacifico', cursive;
    color: white;
    font-size: 3em;
    font-weight: lighter;
}
.hero span {
    font-family: 'Pacifico', cursive;
    color: #2ecc71;
}

.hero h4 {
    width: 50%;
    padding-left: 25%;
    margin-bottom: 8%;
}
.hero .logos {
    padding-bottom: 10%;
}
.hero a {
    background-color: black;
    /*padding: 5vw 4.5vw 5vw 4.5vw;*/
    padding: 15px 13px 15px 13px;
    border-radius: 50%;
    opacity: .5;
    height: 20px;
    width: 20px;
    margin-left: 2%;
}


/*.hero a:hover img {
    opacity: 1;
}*/

.hero a:hover {
    opacity: 1;
    background-color: #2ecc71;
}


.section2 {
    background-color: white;
}

.section2 .column {
    text-align: center;
    width: 90%;
    padding-left: 5%;
    padding-top: 5%;
    padding-bottom: 5%;
}

.section2 h6 {
    margin-top: 5%;
    margin-bottom: 5%;
}

.section3 {
    background-color: #e3e3e3;
    text-align: center;
}

.section3 h6 {
    margin: 0;
    padding-top: 5%;
    padding-bottom: 5%;
}

.section3 p {
    width: 90%;
    padding-left: 5%;
    text-align: left;
}

.section3 form {
    padding-bottom: 5%;
}

.section3 input {
    font-family: "Helvetica Neue Regular", sans-serif;
    color: #848484;
    font-size: 1.2em;
    width: 40%;
    padding: 3.4% 10% 3.4% 5%;
    border-radius: 1.5vw 0vw 0vw 1.5vw;
    border: 1px solid #c8c8c8;
    border-right: none;
}

.section3 button {
    background-color: #2ecc71; 
    padding: 0;
    margin: 0;
    border: none;
    padding: 2.6% 10% 2.6% 10%;
    border-radius: 0vw 1.5vw 1.5vw 0vw;
}
.section3 button h6 {
    padding: 0;
    color: white;
}


/*iframe {
    width: auto;
    height: 100%;
    margin-bottom: 5%;
}*/
.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; } 

/*.embed-container iframe, .embed-container object, .embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; }*/

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 0px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.section3 .right {
    height: 100%;
    width: 100%;
}

.section4 {
    background-color: white;
}

.section4 p {
    margin-top: 0px;
    padding-top: 10%;
    width: 80%;
    padding-left: 10%;

}
.section4 p:nth-child(5) {
    padding-top: 2%;
    margin-bottom: 5%;
}
.faces {
    width: 95%;
    padding-left: 2.5%;
}
.faces img {
    width: 58px;
    margin-top: 0%;
}
.section4 h6 {
   margin-bottom: 5%;
}

.hover {
    float: left;
    margin-top: 1%;
}
.hover:hover img {
    opacity: .15;
}

.hover:hover {
    background-color: #2ecc71;
    opacity: .98;
}
.logos2 {
    width: 89%;
    padding-left: 5.5%;
    padding-bottom: 5%;
}
.logos2 img {
    width: 100%;
    height: auto;
}
.circle a {
    background-color: black;
    padding: 4vw 4vw 4vw 4vw;
    border-radius: 50%;
    opacity: .15;
    float: left;
    margin-left: 2.5%;
}

.circle a:hover {
    opacity: 1;
    background-color: #2ecc71;
}

footer {
    background-color: #e3e3e3;
    text-decoration: none;
    padding-top: 3%;
    padding-bottom: 3%;
}
footer ul {
    padding-left: 0%;
}
footer li {
    display: inline-block;
    height: 100%;
    padding-left: 2.5%;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 43em) {
    /* Style adjustments for viewports that meet the condition */
    .hero {
        background-size: cover;
        padding-top: 5%;
    }
    .hero .left {
        float: left;
        text-align: left;
        width: 50%;
        padding-left: 20%;
    }

    .hero a {
        padding: 2% 2% 2% 2%;
        border-radius: 50%;
        margin-left: 2%;
    }
    .hero h4 {
        padding-left: 0%;
        margin-bottom: 5%;
    }

    .hero .right {
        position: relative;
        width: 0%;
    }

    .hero .right img {
        display: initial;
        width: auto;
        height: 50vh;
        position: absolute;
        bottom: 0;
        left: 60vw;
    }
    .section2 .column {
        width: 20%;
        float: left;
        padding-left: 10%;
    }
    .section3 .left {
        float: left;
        width: 40%;
        padding-left: 5%;
        padding-top: 10%;
        padding-bottom: 10%;
    }
    .section3 .right {
        float: left;
        width: 40%;
        padding-top: 10%;
        padding-bottom: 10%;
        padding-left: 10%;
        padding-right: 5%;
    }

    

    .section4 h6 {
        margin: 0;
    }
    .section4 img {
        margin-top: 0%;
    }

    .logos2 {
        width: 36%;
        padding-left: 32%;
    }
    .circle a {
        padding: 1vw 1vw 1vw 1vw;
    }
    .circle img {
        height: 20px;
        width: 20px;
    }
}


@media only screen and (min-width: 1200px) {
    .faces {
        width: 90%;
        padding-left: 5%;
    }
    .logos2 {
    width: 27%;
    padding-left: 36.5%;


}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
