* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Niramit Regular', sans-serif;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar {
    background-color: #FFE4AA;
    width: 100vw;
    display: flex;
    justify-content: start;
    align-items: center;
}

.navbar img {
    height: 120px;
    margin-right: 20px;
    padding: 10px 20px;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul li {
    padding: 0 15px;
    font-weight: 400;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

footer {
    width: 100vw;
    height: 50vh;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFE4AA;
}

.parrocchia {
    font-size: 25px;
    font-weight: bold;
}

.indirizzo a{
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
    color: #333;
}


.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    width: 100vw;
}

.container h2{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}

.carosello{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.carosello h3{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}


.carousel-container {
  width: 70%;
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}

.carousel-container-eventi {
    width: 40%;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}


.mySlides{
  display: none;
  border-radius: 20px;
  overflow-y: hidden;
}

.mySlides h3{
    width: 100%;
    text-align: center;
}

/* Immagine responsive */
.mySlides img {
  width: 100%;
  vertical-align: middle;
  border-radius: 30px;
  overflow-y: hidden;
}

/* Pulsanti Next/Prev */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Testo */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Dots container */
.dots-container {
    text-align: center;
    padding-top: 10px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} to {opacity: 1}
}

@media screen and (max-width: 1024px) {
    .carousel-container {
        width: 100%;
        position: relative;
        margin-bottom: 40px;
        overflow: hidden;
    }
    .dot {
        cursor: pointer;
        height: 8px;
        width: 8px;
        margin: 0 2px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
    }
}