/* Copyright (C) nebla Ltd. 2017 */

#overview {
    position: absolute;
    width: 100%;
    height: 100vh;
    min-height: 975px;
    background-image: url("../resources/images/gradient.png");
    z-index: -1;
}

#overview a {
    text-decoration: none;
}

#overview a:hover {
    text-decoration: none;
}

#brief {
    margin-top: 360px;
    margin-left: 114px;
    z-index: 10;
}

#brief h1 {
    color: #FFFFFF;
    font-size: 35px;
    font-weight: 400;
    line-height: 40px;
    z-index: 10;
}

#call-to-action {
    margin-top: 67px;
    margin-left: 112px;
    width: 237px;
    height: 58px;
    border: 2.5px solid #FFFFFF;
    border-radius: 50px;
    text-align: center;
    color: #FFFFFF;
    padding-top: 9px;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    -webkit-transition: background-color 0.1s;
    transition: background-color 0.1s;
}

#call-to-action:hover {
    background-color: rgba(255, 255, 255, 0.05);
    background-clip: padding-box;
    opacity: 1;
}

#cloud-1 {
    position: absolute;
    bottom: 0;
    height: 300px;
    width: 100%;
    background-image: url("../resources/vectors/clouds/cloud-1.svg");
    background-size: cover;
    background-clip: border-box;
    background-position: center;
    z-index: 3;
}

#cloud-2 {
    position: absolute;
    bottom: 0;
    height: 300px;
    width: 100%;
    background-image: url("../resources/vectors/clouds/cloud-2.svg");
    background-size: cover;
    background-clip: border-box;
    z-index: 1;
}

#cloud-3 {
    position: absolute;
    bottom: 0;
    height: 300px;
    width: 100%;
    background-image: url("../resources/vectors/clouds/cloud-3.svg");
    background-size: cover;
    background-clip: border-box;
    z-index: 1;
}

#cloud-4 {
    position: absolute;
    bottom: 0;
    height: 300px;
    width: 100%;
    background-image: url("../resources/vectors/clouds/cloud-4.svg");
    background-size: cover;
    background-clip: border-box;
    z-index: 1;
}

#earth {
    position: absolute;
    bottom: -30px;
    left: calc(50% - 650px);
    height: 220px;
    width: 330px;
    background-image: url("../resources/vectors/earth.svg");
    background-size: 330px;
    background-repeat: no-repeat;
    z-index: 2;
}

#moon {
    position: absolute;
    top: 580px;
    left: 45.5%;
    height: 175px;
    width: 172px;
    background-image: url("../resources/vectors/moon.svg");
    background-size: 170px;
    background-repeat: no-repeat;
    z-index: 4;
}

#drone {
    position: absolute;
    top: 220px;
    left: 30%;
    height: 60px;
    width: 55px;
    background-image: url("../resources/vectors/drone.svg");
    background-size: 50px;
    background-repeat: no-repeat;
    z-index: 4;
}

#spaceman {
    position: absolute;
    top: 391px;
    left: 65%;
    height: 300px;
    width: 270px;
    background-image: url("../resources/vectors/spaceman.svg");
    background-size: 264px;
    background-repeat: no-repeat;
    z-index: 4;
}

#satellite {
    position: absolute;
    top: 218px;
    left: 85%;
    height: 150px;
    width: 145px;
    background-image: url("../resources/vectors/satellite.svg");
    background-size: 143px;
    background-repeat: no-repeat;
    z-index: 4;
}

#star-1 {
    position: absolute;
    top: 218px;
    left: 65%;
    height: 115px;
    width: 95px;
    background-image: url("../resources/vectors/stars/star-1.svg");
    background-size: 90px;
    background-repeat: no-repeat;
    z-index: 0;
}

#star-2 {
    position: absolute;
    top: 475px;
    left: 45%;
    height: 80px;
    width: 95px;
    background-image: url("../resources/vectors/stars/star-2.svg");
    background-size: 90px;
    background-repeat: no-repeat;
    z-index: 0;
}

#star-3 {
    position: absolute;
    top: 700px;
    left: 62%;
    height: 40px;
    width: 95px;
    background-image: url("../resources/vectors/stars/star-3.svg");
    background-size: 90px;
    background-repeat: no-repeat;
    z-index: 0;
}

#star-4 {
    position: absolute;
    top: 200px;
    left: 15%;
    height: 100px;
    width: 200px;
    background-image: url("../resources/vectors/stars/star-4.svg");
    background-size: 150px;
    background-repeat: no-repeat;
    z-index: 0;
}

#star-5 {
    position: absolute;
    top: 500px;
    left: 85%;
    height: 25px;
    width: 25px;
    background-image: url("../resources/vectors/stars/star-5.svg");
    background-size: 20px;
    background-repeat: no-repeat;
    z-index: 0;
}

#mouse-icon {
    position: absolute;
    bottom: 30px;
    left: 50%;
    height: 70px;
    width: 30px;
    transform: translateX(-15px);
    background-image: url("../resources/vectors/mouse.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    z-index: 10;
}

@keyframes bounce {
    
      0%, 20%, 50%, 80%, 100% {
            -moz-transform: translateY(0);
            -ms-transform: translateY(0);
            -webkit-transform: translateY(0);
            transform: translateY(0);
      }
    
      40% {
            -moz-transform: translateY(-20px);
            -ms-transform: translateY(-20px);
            -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
      }
    
      60% {
            -moz-transform: translateY(-15px);
            -ms-transform: translateY(-15px);
            -webkit-transform: translateY(-15px);
            transform: translateY(-15px);
      }
}

.bounce {
  animation: bounce 3s infinite;
}

/*------- Small Height -------*/

@media only screen and (min-width : 1200px) and (max-height : 975px) {
    #overview {
        min-height: 600px;
    }
    
    #brief {
        margin-top: 25vh;
        margin-left: 60px;
    }

    #brief h1 {
        font-size: 22px;
    }

    #call-to-action {
        margin-top: 10px;
        margin-left: 60px;
        width: 180px;
        height: 44px;
        border: 2px solid #FFFFFF;
        padding-top: 7px;
        font-size: 16px;
    }
    
    #moon {
        top: 45vh;
        height: 125px;
        width: 120px;
        background-size: 120px;
    }

    #spaceman {
        top: 30vh;
        height: 250px;
        width: 200px;
        background-size: 200px;
    }
    
    #satellite {
        top: 218px;
        left: 85%;
        height: 150px;
        width: 145px;
        background-size: 100px;
    }

    #star-1 {
        top: 100px;
        left: 35%;
    }
    
    #star-2 {
        display: none;
    }
    
    #star-3 {
        display: none;
    }
    
    #star-4 {
        display: none;
    }
}

/*---------- Mobile ----------*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    
    #overview {
        min-height: 790px;
    }
    
    #brief {
        margin-top: 300px;
        margin-left: 60px;
    }

    #brief h1 {
        font-size: 24px;
        line-height: 30px;
    }

    #call-to-action {
        margin-top: 20px;
        margin-left: 60px;
        width: 180px;
        height: 44px;
        border: 2px solid #FFFFFF;
        border-radius: 50px;
        padding-top: 7px;
        font-size: 18px;
    }
    
    #earth {
        left: calc(50% - 450px);
        height: 215px;
        width: 300px;
        background-size: 290px;
    }

    #moon {
        top: 200px;
        left: 55%;
        height: 135px;
        width: 135px;
        background-size: 130px;
    }

    #drone {
        top: 150px;
        left: 40%;
        height: 45px;
        width: 40px;
        background-size: 35px;
    }

    #spaceman {
        top: 341px;
        left: 75%;
        height: 200px;
        width: 180px;
        background-size: 175px;
    }

    #satellite {
        top: 118px;
        left: 85%;
        height: 105px;
        width: 105px;
        background-size: 100px;
    }

    #star-1 {
        top: 100px;
        left: 70%;
        height: 90px;
        width: 75px;
        background-size: 70px;
    }

    #star-2 {
        top: 390px;
        left: 50%;
        height: 60px;
        width: 75px;
        background-size: 70px;
    }

    #star-3 {
        display: none;
    }

    #star-4 {
        top: 150px;
        left: 15%;
        height: 70px;
        width: 125px;
        background-size: 120px;
    }

    #star-5 {
        top: 400px;
        left: 95%;
        height: 15px;
        width: 15px;
        background-size: 13px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    
    #overview {
        height: 700px;
        min-height: inherit;
    }
    
    #brief {
        margin-top: 220px;
        margin-left: 5px;
    }

    #brief h1 {
        font-size: 22px;
        line-height: 30px;
    }

    #call-to-action {
        margin-top: 20px;
        margin-left: 5px;
        width: 170px;
        height: 42px;
        border: 1.5px solid #FFFFFF;
        padding-top: 7px;
        font-size: 16px;
    }
    
    #cloud-1 {
        height: 200px;
    }

    #cloud-2 {
        height: 200px;
    }

    #cloud-3 {
        height: 200px;
    }

    #cloud-4 {
        height: 200px;
    }
    
     #earth {
        left: calc(50% - 300px);
        height: 160px;
        width: 230px;
        background-size: 230px;
    }

    #moon {
        top: 250px;
        left: 75%;
        height: 95px;
        width: 95px;
        background-size: 90px;
    }

    #drone {
        top: 400px;
        left: 10%;
        height: 35px;
        width: 35px;
        background-size: 30px;
    }

    #spaceman {
        top: 341px;
        left: 45%;
        height: 175px;
        width: 160px;
        background-size: 150px;
    }

    #satellite {
        top: 100px;
        left: 55%;
        height: 95px;
        width: 95px;
        background-size: 90px;
    }

    #star-1 {
        display: none;
    }

    #star-2 {
        top: 390px;
        left: 25%;
        height: 50px;
        width: 65px;
        background-size: 60px;
    }

    #star-3 {
        display: none;
    }

    #star-4 {
        top: 100px;
        left: 15%;
        height: 60px;
        width: 105px;
        background-size: 100px;
    }

    #star-5 {
        top: 400px;
        left: 85%;
        height: 12px;
        width: 12px;
        background-size: 10px;
    }
    
    #mouse-icon {
        display: none;
    }
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    
    #overview {
        height: 420px;
        min-height: inherit;
    }
    
    #brief {
        margin-top: 120px;
        margin-left: 5px;
    }

    #brief h1 {
        font-size: 16px;
        line-height: 30px;
    }

    #call-to-action {
        margin-top: 20px;
        margin-left: 5px;
        width: 145px;
        height: 35px;
        border: 1.5px solid #FFFFFF;
        padding-top: 6px;
        font-size: 14px;
    }
    
    #cloud-1 {
        height: 110px;
    }

    #cloud-2 {
        height: 120px;
    }

    #cloud-3 {
        height: 120px;
    }

    #cloud-4 {
        height: 120px;
    }
    
    #earth {
        left: calc(50% - 175px);
        width: 120px;
        height: 110px;
        background-size: 120px;
    }

    #moon {
        display: none;
    }

    #drone {
        top: 70px;
        left: 15%;
        height: 30px;
        width: 25px;
        background-size: 23px;
    }

    #spaceman {
        top: 200px;
        left: 60%;
        height: 120px;
        width: 110px;
        background-size: 100px;
    }

    #satellite {
        top: 260px;
        left: 35%;
        height: 45px;
        width: 45px;
        background-size: 40px;
    }

    #star-1 {
        
    }

    #star-2 {
        top: 260px;
        left: 5%;
        height: 35px;
        width: 45px;
        background-size: 40px;
    }

    #star-3 {
        display: none;
    }

    #star-4 {
        top: 70px;
        left: 65%;
        height: 40px;
        width: 65px;
        background-size: 60px;
    }

    #star-5 {
        top: 300px;
        left: 55%;
        height: 8px;
        width: 8px;
        background-size: 6px;
    }
    
    #mouse-icon {
        display: none;
    }
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

}

/* Copyright (C) nebla Ltd. 2017 */