
/***************************
src: https://codepen.io/Web_Developer-_Atamora/pen/zxOgvLW

    src: https://codepen.io/Web_Developer-_Atamora/pen/zxOgvLW
<!-- FONT AWESOME-- >
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" >
<!-- GOOGLE FONTS-- >
<link rel="preconnect" href="https://fonts.googleapis.com" / >
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin / >
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Ysabeau+Infant:wght@1;100;200;300;400;500;600;700;800;900;1000&display=swap" rel="stylesheet" / >


            CUSTOM SCROLL BAR
        ****************************/


*, html {
    scroll-behavior: smooth;
}

    *, *:after, *:before {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

:root {
    --white: #FFF;
    --black: #232323;
    --lite: rgba(255,255,255,0.6);
    --gray: rgba(1,1,1,0.6);
    --dark: #3c3d3c;
    --primary: linear-gradient(145deg,#ff2f09,#c24a4e);
    --primary_dark: #970104;
    --primary_lite: #c24a4e;
    --secondary: #000a17;
    --default_font: 'Ysabeau Infant', sans-serif;
    --title_font: 'Outfit', sans-serif;
}

::-webkit-scrollbar {
    height: 12px;
    width: 8px;
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: gray;
    -webkit-box-shadow: 0px 1px 2px var(--dark);
}

::-webkit-scrollbar-corner {
    background: var(--dark);
}



/***************************
                    DEFAULT
        ****************************/
body {
    margin: 0;
    overflow-x: hidden !important;
    font-family: var(--default_font);
}

a {
    text-decoration: none !important;
    min-width: fit-content;
    width: fit-content;
    width: -webkit-fit-content;
    width: -moz-fit-content;
}

a, button {
    transition: 0.5s;
}

em {
    font-style: normal;
    color: var(--primary_lite);
}

a, p, .btn {
    font-size: 15px;
}

/*p {
    line-height: 1.9em;
    color: var(--lite);
}*/

a, button, input, textarea, select {
    outline: none !important;
}

fieldset {
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

.title, .sub_title {
    font-family: var(--title_font);
    font-weight: 400;
    margin: 0;
}

.flex, .fixed_flex {
    display: flex;
}

.flex_content {
    width: 100%;
    position: relative;
}

.padding_1x {
    padding: 1rem;
}

.padding_2x {
    padding: 2rem;
}

.padding_3x {
    padding: 3rem;
}

.padding_4x {
    padding: 4rem;
}

.big {
    font-size: 3.5em;
}

.medium {
    font-size: 2em;
}

.small {
    font-size: 1.3em;
}

.btn {
    padding: 1rem;
    border-radius: 5px;
    color: var(--white);
    position: relative;
    border: 0;
    text-align: center;
}

.btn_3 {
    display: block;
    background-color: 0;
    color: var(--white);
    position: relative;
    font-family: var(--default_font);
    font-weight: 400;
    text-transform: uppercase;
}

    .btn_3:before {
        content: "";
        border-radius: 50%;
        background-color: rgba(255,255,255,0.2);
        position: absolute;
        left: 0;
        top: 50%;
        width: 40px;
        height: 40px;
        transition: 0.5s;
        transform: translate(0%, -50%);
    }

    .btn_3:after {
        content: "\f178";
        font-family: "FontAwesome";
        margin-left: 5px;
    }

    .btn_3:hover:before {
        border-radius: 40px;
        width: 100%;
    }

@media (max-width:920px) {
    .flex {
        flex-wrap: wrap;
    }

    .padding_1x, .padding_2x, .padding_3x, .padding_4x {
        padding: 1rem;
    }

    .big {
        font-size: 1.8em;
    }

    .medium {
        font-size: 1.3em;
    }

    .small {
        font-size: 1.1em;
    }

    .btn {
        padding: 0.5rem 1rem;
    }

    a, p, .btn {
        font-size: 12px;
    }
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

ul {
    padding: 0;
    margin: 0;
}

.slider .title {
    font-weight: 400;
}

.slider li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: clip .7s ease-in-out, z-index 0s .7s;
    clip: rect(0, 100vw, 100vh, 100vw);
    display: flex;
    align-items: center;
    justify-content: left;
    background-position: center;
}

    .slider li:nth-child(1) {
        background: linear-gradient(to right, rgba(1,1,1,1) 10%, rgba(1,1,1,0.8) 51%, rgba(1,1,1,0.2) 100%), url("https://i.postimg.cc/VNgvq45t/slider-1.jpg");
        background-size: cover;
        background-position: center;
    }

    .slider li:before {
        content: "";
        position: absolute;
        top: -20px;
        right: 0;
        width: 250px;
        height: 250px;
        background-image: url("https://emirates-letsgofar.com/Content/Theme/assets/custom-carousel/images/slider-shape.png");
        background-size: 100% 100%;
        transition-delay: 1s;
        transform: rotate(-90deg);
        z-index: 1;
    }

    .slider li:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background-image: url("https://emirates-letsgofar.com/Content/Theme/assets/custom-carousel/images/slider-shape-2.png");
        background-size: 100% 100%;
        transform: rotate(360deg);
        transition: all 1.5s cubic-bezier(0,0,.2,1);
        z-index: 1;
        background-position: center left;
    }

    .slider li:nth-child(2) {
        background: linear-gradient(to right, rgba(1,1,1,1) 10%, rgba(1,1,1,0.8) 51%, rgba(1,1,1,0.2) 100%), url("https://i.postimg.cc/gchVRX3K/slider-2.jpg");
        background-size: cover;
        background-position: center;
    }

    .slider li:nth-child(3) {
        background: linear-gradient(to right, rgba(1,1,1,1) 10%, rgba(1,1,1,0.8) 51%, rgba(1,1,1,0.2) 100%), url("https://i.postimg.cc/gchVRX3K/slider-2.jpg");
        background-size: cover;
        background-position: center;
    }

.slider article {
    width: 60%;
    margin-top: 4rem;
    color: #fff;
    z-index: 11;
}

.slider h3 + p {
    display: inline-block;
    color: var(--lite);
    font-weight: 300;
}

.slider h3, .slider h3 + p, .slider p + .btn, li:after {
    opacity: 0;
    transition: opacity .7s 0s, transform .5s .2s;
    transform: translate3d(0, 50%, 0);
}

li.current h3, li.current h3 + p, li.current p + .btn, li.current:after {
    opacity: 1;
    transition-delay: 1s;
    transform: translate3d(0, 0, 0);
}

.slider li:before {
    transition: 0.5s;
    top: -250px !important;
}

li.current:before {
    transition-delay: 1s;
    transform: rotate(-90deg);
    top: -20px !important;
}

li.current {
    z-index: 1;
    clip: rect(0, 100vw, 100vh, 0);
}

li.prev {
    clip: rect(0, 0, 100vh, 0);
}

.slider aside {
    position: absolute;
    bottom: 5rem;
    left: 2rem;
    text-align: center;
    z-index: 10;
}

    .slider aside a {
        display: inline-block;
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        background-color: var(--white);
        margin: 0 0.2rem;
        transition: transform .3s;
    }

.slider em {
    background: var(--primary);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

a.current_dot {
    transform: scale(1.4);
    background: var(--primary) !important;
}

@font-face {
    font-family: 'SliderFont';
    src: url('../../../../../fonts/DancingScript-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'SliderFontBold';
    src: url('../../../../../fonts/DancingScript-Bold.ttf') format('truetype');
}


.slider .title {
    color:#fff;
}
.slider h1, .slider h2, .slider h3, .slider h4, .slider h5, .slider h6 {
    font-family: SliderFontBold;
}

.slider a, .slider p, .slider a, .slider button {
    font-family: SliderFont;
}
@media screen and (max-width: 920px) {
    header {
      /*  height: 70vh;*/
        position: relative;
    }

    .cs-down {
        display: none;
    }

    .slider {
        height: 90vh;
    }

        .slider article {
            width: 100%;
            margin-top: 2rem;
        }

        .slider li:nth-child(2) {
            background-position: top center;
        }

        .slider li:nth-child(3) {
            background-position: top center;
        }

    li.current:before {
        top: -30px;
        right: -10px;
    }
}
