* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f4f4;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px;
  align-items: center;
  justify-content: flex-end;

  row-gap: 24px;
}

.content {
  color: white;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  row-gap: 40px;
}

h2 {
  font-family: lobster;
  font-weight: 400;
  font-size: 34px;

  text-align: center;
}

span {
  font-size: 13px;
  font-weight: 700;
  color: #F49811;

  margin-bottom: -20px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.indicators {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 18px;

  position: absolute;
  width: 100%;
  bottom: 42px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;

  border: none;
}

.dot.active {
  width: 16px;
  height: 16px;
  background-color: #F49811;
}

.slide.active {
  opacity: 1;
}

.highlight-carousel-italy-flag {
  width: 100%;
  height: 10px;

  display: flex;
}

.highlight-carousel-italy-flag-green-section, .highlight-carousel-italy-flag-white-section, .highlight-carousel-italy-flag-red-section {
  width: 33.333%;
  height: 100%;
  min-height: 100%;
}

.highlight-carousel-italy-flag-green-section {
  background-color: #008B44;
}
.highlight-carousel-italy-flag-white-section {
  background-color: white;
}
.highlight-carousel-italy-flag-red-section {
  background-color: #CE0E2D;
}

@media screen and (min-width: 768px) {
  h2 {
    font-size: 44px;
  }

  .slide {
    padding-bottom: 80px;
  }
}