﻿.slider-main-container {
    width: 100%;
    position: relative;
}

.container-arrows {
    position: absolute;
    z-index: 5;
    top: 40%;
}

    .container-arrows > .arrow_prev {
        position: absolute;
        z-index: 5;
        left: 0;
        margin-left: 2.5rem;
    }

    .container-arrows > .arrow_next {
        position: absolute;
        z-index: 5;
        right: 0;
        margin-right: 1.5rem;
    }

.offer-slider-title {
    text-align: center;
    margin-top: 2rem;
}

    .offer-slider-title h2 {
        color: black;
        font-family: TypeNextCondensedProLight;
    }

    .offer-slider-title h3 {
        color: #888888;
        font-family: TypeNextCondensedProLight;
        margin-top: 1rem;
    }

.slider-title {
    background: black;
    color: white;
    font-family: TypeNextCondensedProLight;
    min-height: 5rem;
    display: flex;
    align-items: center;
}

.offer-slider .arrow_prev {
    position: absolute;
    top: 50%;
    left: 20%;
}

.slider-img {
    position: relative;
    margin: 0 0.25rem;
}

    .slider-img > img {
        width: 100% !important;
        height: 100% !important;
    }

    .slider-img > span {
        position: absolute;
        top: 0;
        z-index: 2;
        color: #fff;
        padding: 1rem;
        font-size: 18px;
        line-height: 24px;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.15);
    }

    .slider-img:hover > span {
        transition: all 200ms ease;
        background-color: rgba(0, 0, 0, 0.5);
    }

.slider-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 1rem;
    z-index: 3;
    background-color: #1C69D4;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none !important;
}

    .slider-btn:hover {
        background-color: #0653B6;
        color: white;
    }

.arrow_prev {
    width: 100%;
    height: 100%;
}

    .arrow_prev span,
    .arrow_next span {
        font-size: 5rem;
        cursor: pointer;
    }

        .arrow_prev span:hover,
        .arrow_next span:hover {
            color: #0066B1;
            font-weight: bold;
            transition: all 0.2s ease;
        }


/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
    /* CSS */
    .offer-slider {
        margin: 4rem 0rem;
    }

    .slider-title {
        padding: 1rem;
        margin: 0rem 0.5rem;
    }

    .slider-img {
        aspect-ratio: 1;
    }

        .slider-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .slider-content {
        color: #fff;
        position: absolute;
        z-index: 5;
        top: 0;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
        padding: 1.12rem;
    }
}

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

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

    /* CSS */

    .offer-slider {
        margin: 3rem 0rem;
    }

    .slider-title {
        padding: 1rem;
        margin: 0rem 0.5rem;
    }

    .slider-img {
        aspect-ratio: 1;
    }

        .slider-img img {
            object-fit: cover;
        }

    .slider-content {
        color: #fff;
        position: absolute;
        z-index: 5;
        top: 0;
        height: 105vh;
        display: flex;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
        padding: 1.12rem;
    }
}

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

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

    /* CSS */
    .offer-slider {
        margin: 2rem 0rem;
    }

    .slider-title {
        padding: 0.5rem;
        margin: 0rem 0.5rem;
    }

    .slider-img {
        aspect-ratio: 1;
    }

        .slider-img img {
            object-fit: cover;
        }

    .slider-content {
        color: #fff;
        position: absolute;
        z-index: 5;
        top: 0;
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
        padding: 1.12rem;
    }

    .container-arrows {
        display: none;
    }
}

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

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

    /* CSS */
    .container-arrows {
        display: none;
    }
}

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

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

    /* CSS */
    /* .offer-slider {
        margin: 1rem 0rem;
    } */

    .slider-title {
        padding: 0.5rem;
        margin: 0rem 0.5rem;
    }

    .slider-img {
        aspect-ratio: 1;
    }

        .slider-img img {
            object-fit: cover;
        }

    .slider-content {
        color: #fff;
        position: absolute;
        z-index: 5;
        top: 0;
        height: 68vh;
        display: flex;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
        padding: 1.12rem;
    }

    .container-arrows {
        display: none;
    }
}

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

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

    /* CSS */
    /* .offer-slider {
        margin: 1rem 0rem;
    } */
    .offer-slider-title {
        padding: 1rem 0rem 2rem 0rem;
        margin-top: 0rem;
    }

    .slider-title {
        padding: 0.5rem;
        margin: 0rem 0.5rem;
    }

    .slider-img {
        aspect-ratio: 1;
    }

        .slider-img img {
            object-fit: cover;
        }

    .slider-content {
        color: #fff;
        position: absolute;
        z-index: 5;
        top: 0;
        height: 68vh;
        display: flex;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
        padding: 1.12rem;
    }

    .container-arrows {
        display: none;
    }
}
