* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

img {
  max-width: 380px;
  max-height: 500px;
}

body {
  background-color: rgba(240,240,240,1);
}

header {
	width: 380px;
	height: 500px;

	background-color: rgba(30,30,30,1);
	color: rgba(255,255,255,1);
  border-bottom: 5px solid rgba(0,120,220, 1);

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

	font-size: 1rem;
}

header h2 {
  font-size: 2.3em;
}

header h2::before, header h2:after {
  content: '';
  width: 380px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 0 auto;
  margin-bottom: 1%;
}

header p {
  font-size: .8em;
}

.info {
  width: 80%;
  padding: 3%;
  line-height: 25px;
}

.info h3 {
  color: rgba(120,0,0,1);
}

#carousel,
.carousel,
.slide {
  width: 380px;
  max-width: 450px;
  position: relative;
  margin: 0 auto;
  margin-top: 5%;
}

span {
  display: none;
}

.carousel {
  position: relative;
}

.carousel.pointer-event {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: auto;
  margin-right: -100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
}

/*Duração da transição entre as imagens*/
.carousel .carousel-item {
    transition-duration: 1.5s;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

.carousel-item-next:not(.carousel-item-left),
.active.carousel-item-right {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

.carousel-item-prev:not(.carousel-item-right),
.active.carousel-item-left {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  -webkit-transform: none;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  z-index: 1;
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  z-index: 0;
  opacity: 0;
  transition: opacity 0s 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-fade .active.carousel-item-left,
  .carousel-fade .active.carousel-item-right {
    transition: none;
  }
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 7%;
  color: #fff;
  text-align: center;
  /*opacity: 0.8;
  transition: opacity 0.15s ease;*/
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-prev,
  .carousel-control-next {
    transition: none;
  }
}

.carousel-control-prev:hover, .carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 2%;
  left: 0;
  z-index: 15;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

.carousel-indicators li {
  box-sizing: content-box;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 3px;
  margin-left: 3px;
  /*text-indent: -999px;*/
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-indicators li {
    transition: none;
  }
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}

/*Texto das imagens*/
.titulo {
  width: 100%;
  height: auto;
  padding: 3%;
  background-color: rgba(255, 255, 255, 0.651);
  color: #324381;
  text-shadow: 1px 1px 0px rgba(12, 12, 12, 0.384);
  position: absolute;
  text-align: center;
  bottom: 89%;
}

/* Paragrafo de texto não aparece em tela menor que 720px */
@media (max-width: 720px) {
  .titulo {
    width: 100%;
    padding: 1%;
    bottom: 0;
    font-size: .8em;
  }

  .titulo p {
    display: none;
  }
}

.contador {
  width: auto;
  height: auto;
  padding: 1%;
  position: absolute;
  text-align: center;
  top: 10px;
  left: 0;
  color: rgba(255,255,255,1);
  text-shadow: 1px 1px 0px rgba(0,0,0,1);
}

/* Contador não aparece em tela menor que 720px */
@media (max-width: 720px) {
  .contador {display: none;}
}