body{
    margin: 0;
    font-family: Poppins;
}

:root{
    --width-circle: 150vw;
    --radius: calc(100vw / 6);
}
.slider{
    width: 100vw;
    height: 100vh;
    overflow: hidden; 
    position: relative;
    background-color: #17232A;
    background-image: radial-gradient(#fff3, transparent 50%);
    margin-top: -50px;
}
.slider .list{
    position: absolute;
    width: max-content;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    transition: transform 0.8s;
    
}
.slider .list .item{
    width: calc(var(--radius) * 2);
    text-align: center;
    transform: rotate(45deg);
    transition: transform 1s;
}
.slider .list .item.active{
    transform: rotate(0deg);
}
.slider .list .item img{
    width: 90%;
    filter: drop-shadow(0 0 20px #000);
}
.slider .content{
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #eee;
    width: max-content;
}
.slider .content div:nth-child(2){
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-weight: bold;
    position: relative;
}
.slider .content div:nth-child(2)::before{
    position: absolute;
    left: 60%;
    bottom: 50%;
    width: 80px;
    height: 80px;
    content: '';
    background-image: url(img/leaves.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.slider .content div:nth-child(1){
    text-align: left;
    text-transform: uppercase;
    transform: translateY(20px);
}
.slider .content button{
    border: 1px solid #eee5;
    background: transparent;
    color: #eee;
    font-family: Poppins;
    letter-spacing: 5px;
    border-radius: 20px;
    padding: 10px 20px;
}
#prev,
#next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #eee9;
    background-color: #eee5;
    color: #eee;
    font-size: x-large;
    font-family: monospace;
    cursor: pointer;
    z-index: 15;
}
#prev{
    left: 20px;
}
#next{
    right: 20px;
}

/* //circle */

.circle{
    pointer-events: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    -webkit-mask: radial-gradient(var(--radius), transparent 100%, #000);
    mask: radial-gradient(var(--radius), #0000 98%, #000);
    backdrop-filter: blur(10px);
    background: radial-gradient( 
        calc(var(--radius) + 1px), #eee5 100%, #eee2
    );
    
}
.circle span{
    display: block;
    position: absolute;
    height: calc(var(--radius) * 2 + 50px);
    top: 50%;
    left: 50%;
    --rotate: 50deg;
    transform: translate(-50%, -50%) rotate(var(--rotate));
    text-transform: uppercase;
    color: #fff;
    font-size: small;
    animation: circleRotate 20s linear infinite;
}
@keyframes circleRotate{
    to{
        transform: translate(-50%, -50%) rotate(calc(var(--rotate) + 360deg));
    }
}





@media (max-width: 600px) {
    :root {
        --radius: calc(100vw / 3.2); /* تصغير الدائرة وكل العناصر المرتبطة بها */
    }
    
    .slider {
        height: 92vh;
        min-height: 220px;
        margin-top: 0;
    }
    .slider .list .item {
        width: calc(var(--radius) * 2);
    }
    .slider .list .item img {
        width: 101%;
        max-width: 260px;
        transform: translateX(-69%);
    }
    .slider .content div:nth-child(2) {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .slider .content {
        width: 92vw;
        bottom: 3%;
    }
    #prev, #next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 75%;
    }
    #prev { left: 25px; }
    #next { right: 25px; }
    .circle {
        font-size: 0.8rem;
    }
    .circle span {
        font-size: xx-small;
    }
}



@media (max-width: 414px) {
    :root {
        --radius: calc(100vw / 3.2); /* تصغير الدائرة وكل العناصر المرتبطة بها */
    }
    
    .slider {
        height: 100vh;
        min-height: 220px;
        margin-top: 0;
    }
    .slider .list .item {
        width: calc(var(--radius) * 2);
    }
    .slider .list .item img {
        width: 101%;
        max-width: 260px;
        transform: translateX(-70%);
    }
    .slider .content div:nth-child(2) {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .slider .content {
        width: 92vw;
        bottom: 3%;
    }
    #prev, #next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 75%;
    }
    #prev { left: 25px; }
    #next { right: 25px; }
    .circle {
        font-size: 0.8rem;
    }
    .circle span {
        font-size: xx-small;
    }
}



@media (max-width: 430px) {
    :root {
        --radius: calc(100vw / 3.2); /* تصغير الدائرة وكل العناصر المرتبطة بها */
    }
    
    .slider {
        height: 100vh;
        min-height: 220px;
        margin-top: 0;
    }
    .slider .list .item {
        width: calc(var(--radius) * 2);
    }
    .slider .list .item img {
        width: 106%;
        max-width: 270px;
        transform: translateX(-70%);
    }
    .slider .content div:nth-child(2) {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .slider .content {
        width: 92vw;
        bottom: 3%;
    }
    #prev, #next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 75%;
    }
    #prev { left: 25px; }
    #next { right: 25px; }
    .circle {
        font-size: 0.8rem;
    }
    .circle span {
        font-size: xx-small;
    }
}



@media (max-width: 360px) {
    :root {
        --radius: calc(100vw / 3.2); /* تصغير الدائرة وكل العناصر المرتبطة بها */
    }
    
    .slider {
        height: 100vh;
        min-height: 220px;
        margin-top: 0;
    }
    .slider .list .item {
        width: calc(var(--radius) * 2);
    }
    .slider .list .item img {
        width: 101%;
        max-width: 260px;
        transform: translateX(-70%);
    }
    .slider .content div:nth-child(2) {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .slider .content {
        width: 92vw;
        bottom: 3%;
    }
    #prev, #next {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 75%;
    }
    #prev { left: 25px; }
    #next { right: 25px; }
    .circle {
        font-size: 0.8rem;
    }
    .circle span {
        font-size: xx-small;
    }
}