﻿
#app-banner {
    width: 100%;
    height: 150px;
    color: #fff;
    background-color: #18b1df;
    background-image: url('../img/app-banner-background.png');
    background-position: center;
    background-size: cover;
    overflow: hidden;
    cursor: pointer;
}

.app-banner-contents {
    max-width: 500px;
    margin: 0px auto;
    padding: 0px 15px;
}

#app-banner-info {
    display: inline-block;
    vertical-align: top;
}

#app-banner-info-line-1 {
    margin-top: 12px;
    font-size: 1em;
    font-weight: 700;
}

#app-banner-info-line-2 {
    line-height: 42px;
    font-size: 2em;
    font-weight: 700;
}

#app-banner-info-app-store-details {
    display: inline-block;
}

#app-banner-info-line-3 {
    margin-top: 5px;
    font-size: 0.9em;
    font-weight: 500;
}

#app-banner-info-line-4 {
    font-size: 0.9em;
    font-weight: 500;
}

#app-banner-info-platform-icons {
    display: none;
}

#app-banner-info-platform-icon-android {
    width: 29px;
    height: 28px;
    padding: 0px 0px 2px 0px;
    background-image: url('img/app-banner-android.svg');
}

#app-banner-info-platform-icon-apple {
    width: 25px;
    margin: 0px 0px 0px 3px;
    background-image: url('img/app-banner-apple.svg');
}

#app-banner-screenshot {
    float: right;
    width: 105px;
    margin-top: -35px;
    margin-right: -35px;
    transform: rotate(17deg);
    transition-duration: 200ms;
    transition-property: transform scale;
    box-shadow: 10px -10px 20px rgb(0, 0, 0, 0.55);
}

@media (hover: hover) and (pointer: fine) {
    #app-banner:hover #app-banner-screenshot {
        transform: rotate(16deg) scale(1.05);
    }
}

@media only screen and (min-width: 370px) {
    #app-banner-info-line-1 {
        margin-top: 10px;
        font-size: 1.2em;
    }

    #app-banner-info-line-2 {
        line-height: 35px;
        font-size: 2.2em;
    }

    #app-banner-info-line-3 {
        margin-top: 10px;
    }

    #app-banner-info-line-4 {
    }

    #app-banner-screenshot {
        width: 140px;
        margin-top: -40px;
        margin-right: -50px;
    }
}

@media only screen and (min-width: 410px) {
    #app-banner-info-line-1 {
        margin-top: 10px;
        font-size: 1.2em;
    }

    #app-banner-info-line-2 {
        line-height: 38px;
        font-size: 2.3em;
    }

    #app-banner-info-line-3 {
        line-height: 23px;
        margin-top: 12px;
        font-size: 1em;
    }

    #app-banner-info-line-4 {
        line-height: 23px;
        font-size: 1em;
    }

    #app-banner-screenshot {
        margin-right: -20px;
    }
}

@media only screen and (min-width: 500px) {
    #app-banner {
        height: 180px;
        padding: 7px 0px;
    }

    #app-banner-info-line-1 {
        margin-top: 11px;
        font-size: 1.4em;
    }

    #app-banner-info-line-2 {
        line-height: 42px;
        font-size: 2.5em;
    }

    #app-banner-info-line-3 {
        margin-top: 15px;
    }

    #app-banner-info-platform-icons {
        display: block;
        float: right;
        margin: 20px 0px 0px 20px;
        opacity: 0.85;
    }

    #app-banner-screenshot {
        width: 160px;
        margin-top: -50px;
        margin-left: 0px;
    }
}

@media only screen and (min-width: 1200px) {
    .app-banner-contents {
        max-width: 550px;
    }
}
