﻿/* --------------------------------------------------------------
# Hero Section from BOOTSLANDIA
-------------------------------------------------------------- */
#hero {
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 120px 0 0 0;

    /* was 120px */
    /* my code */
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    position: relative;
}

#hero:before {
    content: "";
    background: rgba(2, 5, 161, 0.0);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: rgba(255, 255, 255, 0.8);
}

#hero h1 span {
    color: #fff;
    border-bottom: 4px solid #00D9A5;
}

#hero h2 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 24px;
}

#hero .btn-get-started {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.5s;
    color: #fff;
    background: #00D9A5;
}

#hero .btn-get-started:hover {
    background: #00D9A5;
}

#hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 991px) {
    #hero {
        padding-top: 80px;
    }

    #hero .animated {
        -webkit-animation: none;
        animation: none;
    }

    #hero .hero-img {
        text-align: center;
    }

    #hero .hero-img img {
        max-width: 50%;
    }

    #hero h1 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 10px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    #hero .hero-img img {
        width: 80%;
    }
}

@-webkit-keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-waves {
    display: block;
    margin-top: 60px;
    width: 100%;
    height: 60px;
    z-index: 5;
    position: relative;
}

.wave1 use {
    -webkit-animation: move-forever1 10s linear infinite;
    animation: move-forever1 10s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.wave2 use {
    -webkit-animation: move-forever2 8s linear infinite;
    animation: move-forever2 8s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

.wave3 use {
    -webkit-animation: move-forever3 6s linear infinite;
    animation: move-forever3 6s linear infinite;
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}

@-webkit-keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@-webkit-keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@-webkit-keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

/* --------------------------------------------------------------
# Hero Section
-------------------------------------------------------------- */
.promo-hero {
    background: linear-gradient(to right, rgba(74, 44, 153, 0.0) 0%, rgba(61, 179, 197, 0.0) 100%);
    width: 100%;
    position: relative;
    background-size: cover;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* added code 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;*/
}

.promo-hero .wave {
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    bottom: -150px;
}

@media screen and (max-width: 992px) {
    .promo-hero .wave {
        bottom: -180px;
    }
}

.promo-hero .wave svg {
    width: 100%;
}

.promo-hero,
.promo-hero > .container > .row {
    height: 100vh;
    min-height: 880px;
}

.promo-hero.inner-page {
    height: 60vh;
    min-height: 0;
}

.promo-hero.inner-page .hero-text {
    transform: translateY(-150px);
    margin-top: -120px;
}

@media screen and (max-width: 992px) {
    .promo-hero.inner-page .hero-text {
        margin-top: -80px;
    }
}

.promo-hero h1 {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
}

@media screen and (max-width: 992px) {
    .promo-hero h1 {
        font-size: 2.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 992px) {
    .promo-hero .hero-text-image {
        margin-top: 4rem;
    }
}

.promo-hero p {
    font-size: 18px;
    color: #fff;
}

.promo-hero .iphone-wrap {
    position: relative;
}

@media screen and (max-width: 992px) {
    .promo-hero .iphone-wrap {
        text-align: center;
    }
}

.promo-hero .iphone-wrap .phone-2,
.promo-hero .iphone-wrap .phone-1 {
    position: absolute;
    top: -50%;
    overflow: hidden;
    left: 0;
    box-shadow: 0 15px 50px 0 rgba(0, 0, 0, 0.3);
    border-radius: 30px;
}

@media screen and (max-width: 992px) {
    .promo-hero .iphone-wrap .phone-2,
    o-section .iphone-wrap .phone-1 {
        position: relative;
        top: 0;
        max-width: 100%;
    }
}

.promo-hero .iphone-wrap .phone-2,
.promo-hero .iphone-wrap .phone-1 {
    width: 250px;
}

@media screen and (max-width: 992px) {
    .promo-hero .iphone-wrap .phone-1 {
        margin-left: -150px;
    }
}

.promo-hero .iphone-wrap .phone-2 {
    margin-top: 50px;
    margin-left: 100px;
    width: 250px;
}

@media screen and (max-width: 992px) {
    .promo-hero .iphone-wrap .phone-2 {
        width: 250px;
        position: absolute;
        margin-top: 0px;
        margin-left: 100px;
    }
}