* {
  font-family: "Montserrat";
  color: black;
  word-wrap: break-word;
}

body {
  font-size: 20px;
  background-image: url(logo.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  background-position: center;
  padding: 3%;
}

#primapagina {
  height: 100vh;
  background: white;
}
header {
  font-size: 2em;
  font-weight: 900;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#immagineprincipale {
  border-radius: 50%;
  width: 200px;
}

.elencoinizio {
  text-decoration: none;
  margin-right: 20px;
}

.elencoinizio:hover {
  text-shadow: 0px 0px 20px rgb(238, 5, 52);
  font-weight: bold;
}

.home {
  text-decoration: none;
  color: gray;
  display: flex;
  justify-content: right;
}

#principale,
ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

body nav a {
  display: inline;
}

#citazione {
  padding-top: 60px;
}

#sez1,
#sez2,
#sez3,
#contatti,
#sez4 {
  min-height: 100vh;
  line-height: 1.5;
}

h3 {
  margin-top: 1rem;
}

#sez1 {
  margin: 10%;
}

#elenco {
  border-radius: 50%;
  width: 60px;
}

.carousel {
  --color-default-state: #000000;
  --color-active-state: rgb(238, 5, 52);
  position: relative;
  height: 90vh;
}

.carousel_track-container {
  overflow: hidden;
  /*vengono intese le slide l'una accanto all'altra*/
  width: 100%;
  height: 100%;
}

.carousel_track {
  position: relative;
  width: inherit;
  height: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
  /*non fa vedere l'elenco*/
}

.carousel_slide {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0% 12% 8%;
  text-align: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

.carousel_slide img {
  width: max(30%, 40vmin);
}

.carousel_slide h2 {
  font-size: min(2rem, calc(1rem + 1vmin));
}

.carousel_slide.is-selected {
  transform: translateX(0);
}

.carousel_slide.is-selected ~ .carousel_slide {
  transform: translateX(100%);
}

.carousel_text {
  margin: 0 auto;
  font-size: min(20px, calc(6px + 2vmin));
}

.carousel_btn,
.carousel_dot {
  all: initial;
  z-index: 1;
  padding: 0;
  cursor: pointer;
  border: none;
}

.carousel_btn {
  position: absolute;
  top: 50%;
  background-color: transparent;
  transform: translateY(-50%);
}

.carousel_btn:focus,
.carousel_dot:focus,
.carousel_btn:active,
.carousel_dot:active {
  outline: none;
}

.carousel_btn > * {
  pointer-events: none;
}

.carousel_btn svg {
  fill: var(--color-default-state);
  transform-origin: center;
  transition: fill 0.2s;
}

.carousel_btn:hover svg {
  fill: var(--color-active-state);
}

.jsPrev {
  left: 10px;
}

.jsNext {
  right: 10px;
}

.jsPrev svg {
  transform: rotate(-90deg);
}

.jsNext svg {
  transform: rotate(90deg);
}

#sez4 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

input,
textarea {
  background: white;
  width: 200px;
  padding: 1em;
  margin-bottom: 2em;
  border: none;
  border-left: 1px solid white;
  border-top: 1px solid white;
  border-radius: 5000px;
  backdrop-filter: blur(5px);
  box-shadow: 4px 4px 60px rgb(202, 179, 179);
  font-weight: 500;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

button {
  background: rgb(202, 179, 179);
  width: 200px;
  padding: 1em;
  margin-bottom: 2em;
  border: none;
  border-left: 1px solid white;
  border-top: 1px solid white;
  border-radius: 5000px;
  backdrop-filter: blur(5px);
  font-weight: 500;
}

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

.carousel_nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.carousel_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-default-state);
  transition: background-color 0.2s;
}

.carousel_dot + .carousel_dot {
  margin-left: 20px;
}

.carousel_dot.is-selected {
  background-color: var(--color-active-state);
}

footer img {
  width: 20px;
  aspect-ratio: 1/1;
  vertical-align: middle;
}
