/* ============================================================================
   HTML
   ========================================================================= */

html {
  box-sizing: border-box;
  background: #10A5C5;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.desktop-only {
    display: none !important;
}
@media only screen and (min-width: 768px) {
    .desktop-only {
        display: block !important;
    }

    .mobile-only {
        display: none !important;
    }
}

.wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 300px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}


/* ============================================================================
   Typography
   ========================================================================= */

body {
    font-family: HelveticaNeueLT-Light, Helvetica, sans-serif;
    color: #222;
}

h1 {
    font-family: HelveticaNeueLTStd-UltLt, Helvetica, sans-serif;
    font-weight: normal;
    letter-spacing: 0.05em;
    font-size: 36px;
    margin-top: 20px;
}
    @media only screen and (min-width: 768px) {
        h1 {
            font-size: 60px;
            margin: 1em 0 0.5em 0;
        }
    }

h2 {
    font-family: HelveticaNeueLTStd-UltLt, Helvetica, sans-serif;
    font-weight: normal;
    letter-spacing: 0.05em;
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 15px;
}
    @media only screen and (min-width: 768px) {
        h2 {
            font-size: 60px;
            margin: 1em 0 0.5em 0;
        }
    }

h3 {
    font-family: HelveticaNeueLT-Light;
    letter-spacing: 0.05em;
    font-weight: normal;
    font-size: 20px;
    margin-top: 0;
}
    @media only screen and (min-width: 768px) {
        h3 {
            font-size: 30px;
        }
    }

p {
    font-size: 16px;
    line-height: 1.5;
}

    @media only screen and (min-width: 768px) {
        p {
            font-size: 22px;
        }
    }

    p.intro {
        font-family: HelveticaNeueLT-Roman, Helvetica, sans-serif;
    }

a {
    color: #10A5C5;
    text-decoration: underline;
    transition: all 0.25s;
}
    a:hover {
        color: #10A5C5;
    }



/* ============================================================================
   Section
   ========================================================================= */

section {
    padding: 20px;
}
    @media only screen and (min-width: 768px) {
        section {
            padding: 20px 15%;
        }
    }

    section.dark {
        color: #fff;
        background-color: #10A5C5;
    }

    section.light {
        color: #4c4c4c;
        background-color: #fff;
    }

    section.light h3 {
        color: #939393;
    }



/* ============================================================================
   Header
   ========================================================================= */

header {
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
    @media only screen and (min-width: 768px) {
        header {
            height: 580px;
        }
    }

    header .background {
        position: absolute;
        width: 200%;
        height: 300px;
        background: url(../img/students-top-720.jpg) no-repeat 30% 0;
        background-size: 100%;
    }
    @media only screen and (min-width: 768px) {
        header .background {
            background: #fff url(../img/students-top-1440.jpg) no-repeat left 0;
            background-size: 92%;
            height: 580px;
        }
    }
    @media only screen and (min-width: 900px) {
        header .background {
            background-size: 80%;
        }
    }
    @media only screen and (min-width: 1100px) {
        header .background {
            background-size: 70%;
        }
    }

    header .logo {
        position: relative;
        margin: 20px;
    }
    @media only screen and (min-width: 768px) {
        header .logo {
           margin: 30px 5%;
           width: 200px;
        }
    }
    @media only screen and (min-width: 900px) {
        header .logo {
           margin: 50px 5%;
        }
    }



/* ============================================================================
   Home
   ========================================================================= */

@media only screen and (min-width: 768px) {
    section.home {
       overflow: hidden;
    }
}

    blockquote {
        position: relative;
        margin: 2em 0 30px 50px;
        width: 75%;
        font-family: HelveticaNeueLT-Roman, Helvetica, sans-serif;
        line-height: 1.5;
    }
        @media only screen and (min-width: 768px) {
            blockquote {
                float: left;
                width: 45%;
                font-size: 22px;
                margin: 2em 0 0 40px;
            }
        }

        blockquote span {
            position: absolute;
            font-size: 5em;
            top: -20px;
            left: -50px;
        }
        @media only screen and (min-width: 768px) {
            blockquote span {
                top: -30px;
                left: -60px;
            }
        }

    .home-illustration {
        display: none;
    }
    @media only screen and (min-width: 768px) {
       .home-illustration {
            display: block;
           float: right;
           width: 20%;
           margin: 30px 100px 80px 0;
        }
    }



/* ============================================================================
   Partner
   ========================================================================= */

section.partner {
    position: relative;
    background: #fff url(../img/partner-bg-720.jpg) no-repeat center bottom;
    background-size: contain;
    min-height: 400px;
}
    @media only screen and (min-width: 768px) {
        section.partner {
            background: #fff url(../img/partner-bg-1440.jpg) no-repeat center 0;
            background-size: cover;
            padding-bottom: 40px;
            height: 500px;
        }

        section.partner h2 {
            margin: 0.5em 0 0.25em 0;
        }

        section.partner h3 {
            margin: 0;
        }
    }

    @media only screen and (min-width: 1200px) {
        section.partner {
            height: 700px;
        }
    }

    section.partner .paper-plane {
        position: absolute;
        left: 60%;
        bottom: 30%;
    }
    @media only screen and (min-width: 768px) {
        section.partner .paper-plane {
            position: absolute;
            left: auto;
            right: 5%;
            top: 10%;
            width: 150px;
        }
    }
    @media only screen and (min-width: 900px) {
        section.partner .paper-plane {
            right: 10%;
            top: 10%;
            width: 250px;
        }
    }



/* ============================================================================
   Map
   ========================================================================= */

section.map {
    background: #10A5C5;
    height: 300px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
    @media only screen and (min-width: 768px) {
        section.map {
            height: 700px;
        }
    }

    section.map .background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 300px;
        background: #10A5C5 url(../img/map-world.png) no-repeat 50% 50%;
        background-size: 100%;
    }
    @media only screen and (min-width: 768px) {
        section.map .background {
            width: 100%;
            background-size: cover;
            height: 700px;
        }
    }

    section.map h2 {
        position: relative;
        margin-top: 120px;
    }
    @media only screen and (min-width: 768px) {
        section.map h2 {
            position: relative;
            margin-top: 300px;
        }
    }



/* ============================================================================
   Student
   ========================================================================= */

section.student {
}
@media only screen and (min-width: 768px) {
    section.student {
        overflow: hidden;
    }

    .illustration-student {
        float: right;
        width: 150px;
        height: auto;
    }
}



/* ============================================================================
   Counttry sites
   ========================================================================= */

.country-sites {
    margin-top: 40px;
    margin-bottom: 60px;
}
    @media only screen and (min-width: 768px) {
        .country-sites {
            width: 75%;
            float: left;
        }
    }

    .country-site {
        width: 50%;
        margin: 0 0 30px 0;
        padding: 10px 0 10px 0;
        float: left;
        display: inline-block;
    }
    @media only screen and (min-width: 768px) {
        .country-site {
            width: 50%;
            clear: none;
            float: left;
        }
    }

    .country-site span {
        opacity: 0.6;
    }

    .flag {
        float: left;
        margin-right: 20px;
        margin-top: -15px;
    }

    .illustration-student {
        margin-top: 20px;
    }


/* ============================================================================
   Soon
   ========================================================================= */

section.soon {
    background: #fff url(../img/students-stairs-640.jpg) no-repeat center center;
    background-size: cover;
    min-height: 300px;
}
    @media only screen and (min-width: 768px) {
        section.soon {
            background: #fff url(../img/students-stairs-1440.jpg) no-repeat center center;
            background-size: cover;
            min-height: 600px;
        }
    }

    section.soon h2 {
        color: #fff;
        text-align: center;
        text-shadow: 0 2px 2px rgba(0,0,0,0.2);
    }

    section.soon h3 {
        text-align: center;
        color: #fff;
    }


/* ============================================================================
   Payoffs
   ========================================================================= */

section.payoffs {
    min-height: 150px;
}
    @media only screen and (min-width: 768px) {
        section.payoffs {
            min-height: auto;
            background: transparent;
            position: absolute;
            margin-top: -190px;
            width: 100%;
        }
    }
    @media only screen and (min-width: 1000px) {
        section.payoffs {
            margin-top: -150px;
        }
    }

    .payoff {
        font-size: 20px;
        margin: 20px 0;
        text-align: center;
        min-height: 60px;
    }
    @media only screen and (min-width: 768px) {
        .payoff {
            font-size: 36px;
            color: #fff;
            text-align: center;
            padding-bottom: 0;
            border-color: #fff;
            text-shadow: 0 2px 2px rgba(0,0,0,0.2);
        }
    }

    .payoffs .hr {
        height: 2px;
        border-bottom: 2px solid #E6E6E6;
        width: 60%;
        margin: 0 auto;
    }



/* ============================================================================
   Partners
   ========================================================================= */

section.partners {
    padding-bottom: 60px;
}

    .partner-logos {
        display: block;
        max-width: 259px;
        width: 100%;
        height: auto;
        margin: 40px auto;
    }

    @media only screen and (min-width: 768px) {
        .partner-logos {
            max-width: none;
            margin: 60px auto;
        }
    }



/* ============================================================================
   Footer
   ========================================================================= */

footer {
    position: fixed;
    height: 200px;
    width: 100%;
    bottom: 0;
    z-index: 1;
    color: #fff;
    background-color: #10A5C5;
    text-align: center;
}
    @media only screen and (min-width: 768px) {
        footer {
            height: 300px;
        }
    }

    .social-links {
        position: absolute;
        bottom: 200px;
        left: 50%;
        margin-left: -61px;
    }
    .social-link {
        margin: 10px 10px 0 0;
    }

    footer p {
        position: absolute;
        bottom: 30px;
        left: 50%;
        margin-left: -85px;
    }
    @media only screen and (min-width: 768px) {
        footer p {
            margin-left: -115px;
        }
    }

    .address {
        color: rgba(255,255,255,0.5);
        font-size: 0.9em;
    }
