.rotating-slider {
    margin: 5em auto;
    height: 360px;
    position: relative;
    width: 480px;
}
.rotating-slider ul.direction-controls {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rotating-slider ul.direction-controls li.left-arrow {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
}
.rotating-slider ul.direction-controls li.right-arrow {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}
.rotating-slider ul.direction-controls li button {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bold;
    height: 1.5em;
    line-height: 1.5em;
    padding: 0;
    text-align: center;
    transition: background 0.25s;
    width: 1.5em;
}
.rotating-slider ul.direction-controls li button:hover {
    background: rgba(0, 0, 0, 0.6);
}
.rotating-slider ul.slides {
    border-radius: 50%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0);
    transform-origin: center center;
    width: 100%;
}
.rotating-slider ul.slides li {
    background-color: #ecf0f1;
    background-position: center;
    background-size: cover;
    display: block;
    list-style: none;
    position: absolute;
    top: 0;
    left: 50%;
    text-align: center;
    transform-origin: bottom center;
    width: 100%;
}

/* Demo Styles */
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:300,700);

.rotating-slider ul.slides li {
    color: #fff;
}
.rotating-slider ul.slides li:nth-of-type(1) {
    background: #f1c40f;
	background: url("https://res-2.cloudinary.com/hpwmsw17c/image/upload/q_auto/v1/ghost-blog-images/The-Real-Reason-Why-Africa-Was-Called-the-Dark-Continent.jpg") no-repeat;
	background-size: 120%;
	
}
.rotating-slider ul.slides li:nth-of-type(2) {
	background: url("https://africaconnect.travel/wp-content/uploads/2024/06/cutteryt13-ezgif.com-video-to-gif-converter.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(3) {
	background: url("https://knaptours.com/wp-content/uploads/2024/07/safari-vehicle-on-a-night-game-drive-in-the-masai-mara-with-andbeyond-1024x576.jpg") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(4) {
    background: url("https://storage.googleapis.com/msgsndr/cNNK38csf0WsNzyYHjJG/media/6621735670cb7465c2b75165.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(5) {
    background: url("https://www.harpersbazaararabia.com/cloud/2021/09/11/honeymoon-suites-1.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(6) {
    background: url("https://odysseytravels.net/newsletter/images/discover-africa-2020/visual.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(7) {
    background: url("https://artofsafari.travel/wp-content/uploads/2016/10/BANNER-iStock_Zanzibar_SwimmingWithDolphin2.jpg") no-repeat;
	background-size: 190%;
}
.rotating-slider ul.slides li:nth-of-type(8) {
    background: url("https://africaconnect.travel/wp-content/uploads/2024/10/Meskel_demera_celebration_In_Addis_Ababa_Ethiopia.gif") no-repeat;
	background-size: 150%;
}
.rotating-slider ul.slides li:nth-of-type(9) {
    background: url("https://media.assettype.com/outlooktraveller%2Fimport%2Fpublic%2Fuploads%2F2018%2F03%2FLalibela.jpg") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(10) {
    background: url("https://www.thrillist.com/stories/what-is-reducetarianism/assets/14.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(11) {
    background: url("https://www.kibristransfer.pro/images/transfer/kibris-ercan-transfer.gif") no-repeat;
	background-size: 120%;
}
.rotating-slider ul.slides li:nth-of-type(12) {
    background: url("https://africaconnect.travel/wp-content/uploads/2024/10/personalconcierage.jpg") no-repeat;
	background-size: 180%;
}
.rotating-slider ul.slides li .inner {
    box-sizing: border-box;
    padding: 2em;
    height: 100%;
    width: 100%;
}