﻿/* 
  ##Device = All
  ##Screen = Styles will be apply for all resolutions
*/

/* CSS */
.swiper-text {
    position: relative;
    display: inline-block;
}

.swiper-component-desktop,
.swiper-component-mobile {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

.swiper-text {
    position: absolute;
    top: 0%;
    left: 5%;
    color: white;
    z-index: 1;
    font-family: FordAntennaLight !important;
    max-width: 460px;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

    .swiper-text h2 {
        text-transform: uppercase;
        font-size: 40px;
        font-weight: bold;
        line-height: 49px;
        letter-spacing: 0.05em;
        text-align: left;

    }

    .swiper-text h4 {
        font-size: 26px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.05em;
        text-align: left;
    }

    .swiper-text p {
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.05em;
        text-align: left;
    }

    .swiper-text h5 {
        font-size: 40px;
        font-weight: 500;
        line-height: 49px;
        letter-spacing: 0em;
        text-align: left;
    }

.swiper-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.swiper-buttons {
    text-decoration: none;
    font-family: FordAntennaLight;
    font-size: 22px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.05em;
    text-align: center;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

    .swiper-buttons:nth-child(2n+1) {
        background-color: #012E40;
    }

        .swiper-buttons:nth-child(2n+1):hover {
            background-color: #2D96CD;
            color: white !important;
            cursor: pointer;
        }

    .swiper-buttons:nth-child(2n+2) {
        background-color: #2D96CD;
    }

        .swiper-buttons:nth-child(2n+2):hover {
            background-color: #012E40;
            color: white !important;
            cursor: pointer;
        }

.swiper-component-mobile {
    display: none !important;
}

.swiper-component-desktop {
    display: block !important;
    height: 592px !important;
}

.button-next-swiper-component {
    background-color: #012E40;
    color: white !important;
    width: 48px !important;
    height: 48px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 25px !important;
}

.swiper-pagination-bullet {
    width: 45px !important;
    height: 6px !important;
    border-radius: 0px !important;
    background: #D5DEE2 !important;
    opacity: unset !important;
}

.swiper-pagination-bullet-active {
    background: #012E40 !important;
}

/* 
  ##Device = Desktops large
  ##Screen = 1920px to higher resolution desktops
*/
@media (min-width: 1920px) {
    /* CSS */
}


/* 
  ##Device = Desktops
  ##Screen = 1281px to 1919px
*/

@media (min-width: 1281px) and (max-width: 1919px) {

    /* CSS */

}

/* 
    ##Device = Laptops, Desktops
    ##Screen = B/w 1025px to 1280px
  */

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */
    .swiper-text {
        left: 10%;
    }

        .swiper-text h2 {
            font-size: 35px;
        }

        .swiper-text h4 {
            font-size: 22px;
        }

        .swiper-text p {
            font-size: 16px;
        }

        .swiper-text h5 {
            font-size: 35px;
        }

    .swiper-buttons {
        font-size: 18px;
    }
}

/* 
    ##Device = Tablets, Ipads (portrait)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) {

    /* CSS */
    .swiper-text {
        left: 10%;
    }

        .swiper-text h2 {
            font-size: 35px;
        }

        .swiper-text h4 {
            font-size: 22px;
        }

        .swiper-text p {
            font-size: 16px;
        }

        .swiper-text h5 {
            font-size: 35px;
        }

    .swiper-buttons {
        font-size: 18px;
    }
}

/* 
    ##Device = Tablets, Ipads (landscape)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */
    .swiper-text {
        left: 10%;
    }

        .swiper-text h2 {
            font-size: 35px;
        }

        .swiper-text h4 {
            font-size: 22px;
        }

        .swiper-text p {
            font-size: 16px;
        }

        .swiper-text h5 {
            font-size: 35px;
        }

    .swiper-buttons {
        font-size: 18px;
    }
}

/* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */
    .swiper-component-mobile {
        display: block !important;
        height: 390px !important;
    }

    .swiper-component-desktop {
        display: none !important;
    }

    .swiper-text {
        left: 10%;
        gap: 0rem;
        max-width: 320px;
    }

        .swiper-text h2 {
            font-size: 20px;
        }

        .swiper-text h4 {
            font-size: 16px;
        }

        .swiper-text p {
            font-size: 12px;
        }

        .swiper-text h5 {
            font-size: 20px;
        }

    .swiper-buttons {
        font-size: 14px;
    }

    .button-next-swiper-component {
        background-color: #012E40;
        color: white !important;
        width: 24px !important;
        height: 24px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px !important;
    }
}

/* 
    ##Device = Most of the Smartphones Mobiles (Portrait)
    ##Screen = B/w 320px to 479px
  */

@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */
    .swiper-component-mobile {
        display: block !important;
        height: 390px !important;
    }

    .swiper-component-desktop {
        display: none !important;
    }

    .swiper-text {
        left: 10%;
        gap: 0rem;
        max-width: 320px;
    }

        .swiper-text h2 {
            font-size: 20px;
        }

        .swiper-text h4 {
            font-size: 16px;
        }

        .swiper-text p {
            font-size: 12px;
        }

        .swiper-text h5 {
            font-size: 20px;
        }

    .swiper-buttons {
        font-size: 14px;
    }

    .button-next-swiper-component {
        background-color: #012E40;
        color: white !important;
        width: 24px !important;
        height: 24px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px !important;
    }
}
