/* Resets */

    body, h1, h2, h3, h4, h5, h6, p, ul {
        margin: 0;
        padding: 0;
    }

    body {
        font-family: 'Roboto';
        position: relative;
    }

    a {
        text-decoration: none;
        border-bottom: 2px solid #000;
    }

    p {
        line-height: 150%;
        max-width: 50vw;
        display: block;
        margin: 0 auto;
        font-weight: 300;
        font-size: 18px;
        text-align: center;
        padding: 0 0 4vh 0;
    }

/* Common styling */

    h1, h2, h3, h4, h5, h6 {
        text-align: center;
        font-family: lora;
    }

    h1 {
        font-size: 4vw;
        padding: 3%;
        font-weight: 100;
    }

    @media only screen and (max-width: 560px) {
        h1 {
            font-size: 6vw;
            padding-top: 10%;
        }

        p {
            max-width: 95%;
            font-size: 1em;
            font-weight: 400;
        }
    }

/* Navigation */

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 200;
        height: 80px;
        line-height: 80px;
        padding: 0 10% 0 10%;
        display: flex;
        transition: height .1s, width .1s;
    }

    .logo{
        width: 150px;
        height: 80px;
        background-image: url(../img/skyline-logo.svg);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 100%;
        margin-right: auto;
        text-indent: -5000px;
        border: 0;
    }

    .logo-smaller {
        width: 100px;
        height: 50px;
        transition: height .1s, width .1s;
    }

    .menu a{
        border: 0;
        font-weight: bold;
        font-size: 14px;
        color: #000;
        margin-left: 30px;
    }

    .menu a:hover{
        border-bottom: 2px solid #000;
    }

    .nav-background {
        background-color: rgba(255,255,255,1);
        transition: height .1s, width .1s;
        border-bottom: 1px solid rgba(0,0,0,.1);
        height: 50px;
        line-height: 50px;
    }

    @media only screen and (max-width: 560px) {
        nav {
            padding: 0;
            display: block;
            background-color: #fff;
        }

        .logo {
            display: block;
            margin-left: 20px;
        }

        .menu {
            display: block;
            width: 100%;
            background-color: rgba(255,255,255,1);
            border-bottom: 1px solid black;
        }

        .menu a {
            display: block;
            width: 100%;
            margin: 0;
            text-indent: 20px;
            border-bottom: 1px solid #eee;
        }

        .menu a:hover {
            border: 0;
        }

}

/* Buttons */

    .button-menu {
        display: none;
        width: 35px;
        line-height: 80px;
        height: 80px;
        background-image: url(../img/menu.svg);
        background-position: center;
        background-size: 100%;
        background-repeat: no-repeat;
        border: 0;
    }

    .button-menu:hover {
        cursor: pointer;
    }

    .button {
        border-radius: 3px;
        padding: 20px 30px 20px 30px;
        border: 0;
        background-color: #FF4B4B;
        color: #fff;
        transition: background-color .3s;
    }

    .button:hover {
        background: #00B45B;
        transition: background-color .3s;
    }

    .button-integrate {
        margin: 0 auto;
        display: block;
        max-width: 150px;
        text-align: center;
    }

    .button-play {
        display: block;
        margin: 0 auto;
        transition: .4s;
    }

    .button-play:hover {
        transform: scale(1.05);
        transition: .4s;
    }

    @media only screen and (max-width: 560px) {
        aside div{
            text-align: center;
        }

        .button-menu {
            display: block;
            position: absolute;
            top: 0;
            right: 10px;;
        }

        .button-menu-smaller {
            height: 50px;
            line-height: 50px;
            width: 20px;
        }

    }

/* Triangle Sections */

    .triangle {
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 100;
        overflow: hidden;
    }

    .triangle img{
        display: block;
        width: 101%;
    }

    .triangle-lower-right, .triangle-lower-left {
        bottom: 0;
    }

    .triangle-upper-right, .triangle-upper-left {
        top: -1px;
    }

    .triangle-upper-left img {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .triangle-lower-left img {
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
    }

/* Sections */

    section {
      position: relative;
    }

    .section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark p{
        color: #fff;
    }


/* Intro */

    #intro {
        position: relative;
        padding: 10vw 0 0 0;
        background-image: url(../img/network.png);
        background-position: center 200%;
        background-repeat: no-repeat;
        background-size: 100%;
    }

    #intro aside{
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    aside video {
        margin-right: 5%;
    }

    aside h1 {
        padding: 40px 0 10px 0;
        text-align: left;
    }

    aside p{
        text-align: left;
        padding: 0 0 20px 0;
        overflow: hidden;
    }

    aside .button {
        display: inline-block;
    }

    @media only screen and (max-width: 760px) {
        #intro {
            padding-top: 20vw;
        }

        #intro aside {
            width: 95%;
            padding-bottom: 20px;
        }
    }

    @media only screen and (max-width: 560px) {
        #intro aside {
           flex-direction: column;
        }

        #intro h1 {
            text-align: center;
        }
    }
/* In Action */

    #in-action {
        background-image: url(../img/in-action-bg.png);
        background-size: 100%;
        background-size: cover;
        margin-top: -200px;
        height: 40vw;
        padding: 12vw 0 4vw 0;
    }

    @media only screen and (max-width: 560px) {
        #in-action {
           margin-top: 0;
            height: 120vw;
        }

        #in-action h1{
            margin-top: 15vw;
        }
    }

/* About */

    #about {
        background-color: #010A1D;
        padding: 2vw 0 10vw 0;
    }

    #about video {
        display: block;
        margin: 0 auto;
    }

    #about video{
        width: 60%;
    }

    @media only screen and (max-width: 560px) {
        #about video {
            width: 95%;
            }
        }

/* Integrate */

    #integrate {
        padding: 7vw 0 7vw 0;
    }

    .chat-icons {
        display: flex;
        justify-content: center;
    }

    .chat-icons div {
        margin: 0 3% 3% 3%;
        opacity: 1;
        transition: .3s;
    }

    .chat-icons div:hover {
        opacity: 1;
        transition: .3s;
        cursor: pointer;
    }

    .chat-icons div img {
        width: 60px;
        height: 60px;
        display: block;
        margin: 0 auto;
    }

    .chat-icons div span {
        text-transform: uppercase;
        display: block;
        text-align: center;
        font-size: .8em;
        font-weight: bold;
        margin: 10px 0 0 0;
    }

    .chat-icons div span em {
        text-transform: lowercase;
        font-style: normal;
    }

    .chat-icons div:nth-child(3){
        opacity: 0.3;
    }

    .chat-icons div:nth-child(4){
        opacity: 0.3;
    }

    @media only screen and (max-width: 560px) {
        .chat-icons div {
            padding-bottom: 20px;
        }

        .chat-icons div img {
            width: 40px;
            height: 40px;
        }

        .chat-icons div span {
            font-size: .6em;
        }
    }


/* Contact */

    #contact {
        background-image: url(../img/contact-bg.jpg);
        background-size: 100%;
        background-size: cover;
        position: relative;
        padding: 7vw 0 5vw 0;
        display: block;
    }

    #contact:before{
        content:"";
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(255,255,255,.85);
    }

    #contact p {
        text-align: center;
        z-index: 20;
        display: block;
        position: relative;
        padding: 0 0 20px 0;
    }

    #contact h1{
        position: relative;
    }

    form {
        max-width: 475px;
        margin: 0 auto;
        box-shadow: 0px 0px 15px #000000;
    }

    fieldset {
        border:0;
        position:relative;
        font-family:'Roboto', sans-serif;
        padding:0%;
        margin: 0%;
    }

    textarea {
        height: 130px;
        line-height: 150%;
        resize: vertical;
    }

    input, textarea {
        width:20em;
        padding:2em 0em 1em 0em;
        width:100%;
        font-size: 18px;
        border: solid 1px #d2d2d2;
        border-bottom: 0px;
        text-indent: 2em;
    }

    input:focus, textarea:focus {
        outline:none;
    }

    input + label, textarea + label {
        display:block;
        cursor:text;
        color:#777;
        transition:.15s ease-out all;
        position:absolute;
        top:1.8em;
        left:2.3em;
    }

    input:focus + label, label.stay {
        top:1em;
        left:3em;
        font-size:.7em;
        font-weight:bold;
        color:#00B45B;
        transition:.15s ease-out all;
    }

    textarea:focus + label, label.stay {
        top:1em;
        left:3em;
        font-size:.7em;
        font-weight:bold;
        color:#00B45B;
        transition:.15s ease-out all;
    }


    [type="submit"] {
        font-family: 'Roboto', sans-serif;
        width: 100.5%;
        height: 60px;
        background: #000B24;
        border-radius: 0 0 5px 5px;
        border: 0;
        cursor: pointer;
        color: white;
        font-size: 18px;
        padding: 10px 50px 10px 10px;
        transition: all 0.3s;
        margin-top: -4px;
        font-weight: 700;
        line-height: 32px;
    }

    [type="submit"]:hover {
        background: #00B45B;
        transition: background-color .3s;
    }

    @media only screen and (max-width: 560px) {
        form {
            width: 90%;
        }

        input+label, textarea+label {
            text-indent: -20px;
            }

        input, textarea {
            text-indent: 20px;
        }
    }
    div.g-recaptcha {
        margin: 15px auto;
        text-align: -webkit-center;
        text-align: -moz-center;
        text-align: -o-center;
        text-align: -ms-center;
    }

/* Privacy */
  #privacy {
    padding-top: 5vw;
  }
  #privacy h1, h2 {
    margin-top: 1em;
  }
  #privacy p {
    text-align: left;
    font-weight: 300;
    max-width: 90vw;
    padding: 0 5vw 0 5vw;
  }
  #privacy ul {
    font-weight: 300;
    margin: 0 0 0 10vw;
  }
  @media only screen and (max-width: 768px) {
    nav {
        padding: 0;
        display: block;
        background-color: #fff;
    }

    .logo {
        display: block;
        margin-left: 20px;
    }
}

/* Eula */
#eula {
    padding-top: 5vw;
  }
  #eula h1, h2 {
    margin-top: 1em;
  }
  #eula p {
    text-align: left;
    font-weight: 300;
    max-width: 90vw;
    padding: 0 5vw 0 5vw;
  }
  #eula ul {
    font-weight: 300;
    margin: 0 0 0 10vw;
  }
  @media only screen and (max-width: 768px) {
    nav {
        padding: 0;
        display: block;
        background-color: #fff;
    }

    .logo {
        display: block;
        margin-left: 20px;
    }
}

/* Footer */

    footer {
        text-align: center;
        position: relative;
        z-index: 2;
    }

    footer i {
        width: 100%;
        text-align: center;
        display: inline-block;
        font-family: serif;
        position: relative;
        margin-top: 5vw;

    }

    .logo-footer {
        position: relative;
        border: 0;
        text-transform: uppercase;
        letter-spacing: 6px;
        text-align: center;
        padding: 1.5vw;
        display: block;
        color: #000;
        transition: color .3s;
    }

    .logo-footer:hover {
        color: #FF4B4B;
        transition: color .3s;
    }

    .privacy-footer {
        text-transform: uppercase;
        padding: 1.5vw;
        color: #000;
        transition: color .3s;
        border: 0;
    }

    .privacy-footer:hover {
        color: #FF4B4B;
        transition: color .3s;
        border: 0;
    }

    .copyright {
        font-size: .8em;
    }
