﻿* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style: none;
  font-family: 'Gudea', sans-serif;
  font-weight: normal
}
body {
  background: #eee
}
h1 a {
  font-size: 14px;
  color: #aaa;
  background: #fff;
  border-radius: 5px;
  padding: 2px 5px;
  border: 1px solid #dcdcdc;
  text-decoration: none
}
h1 a:hover {
  color: #0fe0ba;
  text-decoration: underline
}
.slider2 {
  width: 100%;
  max-width: 850px;
  padding: 0 50px;
  margin: 25px auto 0;
  height: 450px;
  position: relative;
}
.slider2 ul, .slider2 ul li {
  width: 100%;
  height: 100%
}
.slider2 ul {
  position: relative;
  overflow: hidden;
  border-radius: 15px
}
.slider2 ul li {
  position: absolute;
  top: 0;
  left: -100%;
  background-size: cover; /* semon #f98686 */
  background-position: center;
  color: #fff;
  font-family: serif;
}
.slider2 ul li:first-of-type {
  background-image: url("https://www.finances.gov.ma/Marrakech2022/images/AdobeStock_49425661.jpg")
}
.slider2 ul li:nth-of-type(2) {
  background-image: url("https://www.finances.gov.ma/Marrakech2022/images/AdobeStock_248433050-1.jpg")
}
.slider2 ul li:nth-of-type(3) {
  background-image: url(https://www.finances.gov.ma/Marrakech2022/images/AdobeStock_19029276.jpg")
}
.slider2 ul li:nth-of-type(4) {
  background-image: url("https://www.finances.gov.ma/Marrakech2022/images/AdobeStock_284510053.jpg")
}

.slider2 ul li:nth-of-type(5) {
  background-image: url("https://www.openmorocco2022.ma/wp-content/uploads/2020/03/6.jpg")
}


.slider2 .controll {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 44%;
  border-bottom: 3px solid #333;
  border-left: 3px solid #333;
  cursor: pointer;
  color: #333
}
.slider2 .controll:first-of-type {
  transform: rotate(45deg);
  left: 20px
}
.slider2 .controll:last-of-type {
  transform: rotate(225deg);
  right: 20px
}
.slider2 .controll:hover, .slider2 .controll.active {
  border-color: #f98686 /* rose */
}
.slider2 ol {
  text-align: center;
  padding-top: 10px
}
.slider2 ol li {
  display: inline-block;
  margin-right: 5px;
}
.slider2 ol .fa {
  font-size: 20px;
  color: #333;
  cursor: pointer;
  font-weight: normall
}
.slider2 ol li:hover .fa:before, .slider2 ol li.active .fa:before {
  content: "\f111"
}
/* .slider2 ul li.active {
  z-index: 999;
  left: 0
} */
@media(max-width: 490px) {
  h1 {font-size: 45px}
}
@media(max-width: 350px) {
  h1 {font-size: 25px}
}