﻿#home {
    background-image: url(../img/intro-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

#counters {
    background-image: url(../img/counters-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

#overlay {
    background-image: url(../img/overlay-bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
}


@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 4 & 4S*/
only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 5, 5S, 5SC & 5C*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone 6, 6S, 7 and 8*/
only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 6+, 7+ and 8+*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone X*/
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), /*iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max & iPhone XR */
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3), /*iPhone 11 Pro Max & iPhone Xs Max*/
only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 mini, iPhone 12 mini, iPhone 11 Pro, iPhone Xs, and iPhone X*/
only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13, iPhone 12 & 12 Pro*/
only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 Pro Max & iPhone 12 Pro Max*/
only screen and (width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14*/
only screen and (width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14 Pro*/
only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) /*iPhone 14 Pro Max*/
{
    #home {
        background-image: url(../img/intro-bg-9-16.jpg) !important;
        background-repeat: no-repeat !important;
        background-size: auto 100vh !important;
        -moz-background-size: auto 100vh !important;
        -webkit-background-size: auto 100vh !important;
        -o-background-size: auto 100vh !important;
        background-position: top !important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 4 & 4S*/
only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 5, 5S, 5SC & 5C*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone 6, 6S, 7 and 8*/
only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 6+, 7+ and 8+*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone X*/
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), /*iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max & iPhone XR */
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3), /*iPhone 11 Pro Max & iPhone Xs Max*/
only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 mini, iPhone 12 mini, iPhone 11 Pro, iPhone Xs, and iPhone X*/
only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13, iPhone 12 & 12 Pro*/
only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 Pro Max & iPhone 12 Pro Max*/
only screen and (width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14*/
only screen and (width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14 Pro*/
only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) /*iPhone 14 Pro Max*/
{
    #counters {
        background-image: url(../img/background.png) !important;
        background-repeat: no-repeat !important;
        background-position: center;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        max-width: 100%;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 4 & 4S*/
only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 5, 5S, 5SC & 5C*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone 6, 6S, 7 and 8*/
only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), /*iPhone 6+, 7+ and 8+*/
only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), /*iPhone X*/
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2), /*iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max & iPhone XR */
only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3), /*iPhone 11 Pro Max & iPhone Xs Max*/
only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 mini, iPhone 12 mini, iPhone 11 Pro, iPhone Xs, and iPhone X*/
only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13, iPhone 12 & 12 Pro*/
only screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3), /*iPhone 13 Pro Max & iPhone 12 Pro Max*/
only screen and (width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14*/
only screen and (width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3), /*iPhone 14 Pro*/
only screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) /*iPhone 14 Pro Max*/
{
    #overlay {
        background-image: url(../img/background.png) !important;
        background-repeat: no-repeat !important;
        background-position: center;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        max-width: 100%;
    }
}
