/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
body{
	
    font-weight: bold;
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  src: url(v6/DroidKufi-Regular.eot);
  src: url(v6/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
       url(v6/DroidKufi-Regular.woff2) format('woff2'),
       url(v6/DroidKufi-Regular.woff) format('woff'),
       url(v6/DroidKufi-Regular.ttf) format('truetype');
   /* margin: 0;
    background-color: #000;
    color: #eee;
    font-family: Poppins;*/
    font-size: 12px;
}
a{
    text-decoration: none;
}
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
header a{
    color: #eee;
    margin-right: 40px;
}
/* carousel */
.carousel{
    height: 100vh;
    margin-top: 40px;
    width: 100vw;
    overflow: hidden;
    position: relative;
	direction:rtl;
	text-align:right;
	
    font-weight: bold;
  font-family: 'Droid Arabic Kufi';
  font-style: normal;
  src: url(v6/DroidKufi-Regular.eot);
  src: url(v6/DroidKufi-Regular.eot?#iefix) format('embedded-opentype'),
       url(v6/DroidKufi-Regular.woff2) format('woff2'),
       url(v6/DroidKufi-Regular.woff) format('woff'),
       url(v6/DroidKufi-Regular.ttf) format('truetype');
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
	text-align:right;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 85%;
	height:60%;
    /**/
	left: 51%;
    transform: translateX(-50%);
    /*padding-left: 10%;
*/    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
   /* background: #1d7680;
    background: #A7E4EB;
    background: linear-gradient(180deg, rgba(19, 78, 78, 0.52) 1%, rgba(20, 103, 126, 0.57) 1%, rgba(37, 122, 118, 0.62) 1%, rgba(29, 113, 115, 0.61) 1%);*/
	text-align:right;
	float:right;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 1px;
}


.carousel .list .item .content .author{
    color: #fff;
    /* حد أبيض حول النص */
    text-shadow: 
        -2px -2px 0 #015a91,
         2px -2px 0 #015a91,
        -2px  2px 0 #015a91,
         2px  2px 0 #015a91;
	}


.carousel .list .item .topic {
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
    color: #1d7680;

}


.carousel .list .item .content .topic{
    color: ##015a91;
    /* حد أبيض حول النص */
    text-shadow: 
        -2px -2px 0 white,
         2px -2px 0 white,
        -2px  2px 0 white,
         2px  2px 0 white;
	
}
.carousel .list .item .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
	height:100%;
}
.carousel .list .item .buttons button{
    border: none;
    background-color: #eee;
    letter-spacing: 1px;
    font-family: Poppins;
    font-weight: 500;
	height:100%;
}
.carousel .list .item .buttons button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}
/* thumbail */
.thumbnail{
   position: absolute;
    bottom: 50px;
	alignment-baseline:central;
    right: 2%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
   
	 /*
	right: 9%;
    background: #1d7680;
    background: linear-gradient(180deg, rgba(29, 118, 128, 0.52) 4%, rgba(30, 133, 126, 0.57) 41%, rgba(37, 122, 118, 0.62) 68%, rgba(29, 113, 115, 0.61) 96%);*/
}
.thumbnail .item{
    width: 110px;
    height: 55px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
/* عنوان الصورة*/
.carousel .list .item .content .title{
    color: #fff;
    /* حد أبيض حول النص */
    text-shadow: 
        -2px -2px 0 #015a91,
         2px -2px 0 #015a91,
        -2px  2px 0 #015a91,
         2px  2px 0 #015a91;
	}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 85%;
    left: 3%;
    z-index: 100;
    width: auto;
    /*max-width: 30%;*/
    display: flex;
    gap: 10px;
    align-items: center;
	alignment-adjust:baseline;
	text-align:center;
	alignment-baseline:central;;
}
.arrows button{
    width: 50px;
    height: 30px;
    border-radius: 25%;
    background-color: #eee4;
    border: none;
    color: #fff;
    /**/
	font-family: monospace;
	font-size:16px;
    font-weight: bold;
    transition: .5s;
    border: 0.5px solid #030;
    /* background: #3a3973; */
    background: #1d7680;
    background: linear-gradient(180deg, rgb(13 120 133 / 52%) 5%, rgb(35 133 126 / 57%) 5%, rgb(23 74 72 / 62%) 5%, rgb(1 71 72 / 61%) 5%);
}
.arrows button:hover{
    background-color: #fff;
    color: #fff;
    border: 1px solid #fff;

}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
	
}


.carousel .list .item .content .des{
    color: #fff;
	font-size:16px;

    /* حد أبيض حول النص */
    text-shadow: 
        -2px -2px 0 #015a91,
         2px -2px 0 #015a91,
        -2px  2px 0 #015a91,
         2px  2px 0 #015a91;
	
}

@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    right: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 4px;
    background-color: #fff;
    background-color: #AFE7ED;
    right: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 0.5s linear 2 forwards;
	
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 2 forwards;
    position: absolute;
    bottom: 0;
    right: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        right: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-left: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
	

}