/* Box sizing rules */
@import url("https://fonts.googleapis.com/css2?family=Italiana&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

* {
  font-family: "Manrope", sans-serif;
}

.top-border {
  width: 100%;
  height: 10px;
  background-color: #6d1924;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 85%;
  max-width: 1300px;
  padding: 70px 0;
  margin: 0 auto;
}

.page-title {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.page-title__title {
  flex-basis: 100%;
  font-size: 50px;
  font-weight: 600;
  color: #6d1924;
  margin: 0;
  text-align: center;
  font-family: "Italiana", serif;
}
.page-title__subtitle {
  flex-basis: 100%;
  font-size: 35px;
  font-weight: 400;
  color: #3b8edb;
  margin: 0;
  text-align: center;
  font-family: "Italiana", serif;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 8px solid #6d1924;
  padding-top: 100px;
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 9;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 30px;
}
.nav-container.stuck {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.nav-container.stuck .nav__logo-img {
  width: 130px;
}
.nav--left, .nav--right {
  flex-basis: 35%;
}
.nav__title {
  width: 80%;
  text-align: left;
  transition: color 0.3s;
  font-size: 30px;
  font-family: "Italiana", serif;
  line-height: 70px;
  margin-bottom: 0.5rem;
}
.nav__title a {
  text-decoration: none;
  color: #2a2a2a;
  font-family: "Italiana", serif;
}
.nav__title a:hover {
  color: #3b8edb;
}
.nav--right .nav__title {
  text-align: right;
}
.nav__divider {
  display: block;
  width: 100%;
  height: 2px;
  background: #3b8edb;
}
.nav__logo-img {
  display: block;
  width: 190px;
  transition: all 0.3s;
}
.nav__bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  transition: color 0.3s;
  font-size: 40px;
  font-family: "Italiana", serif;
  line-height: 40px;
}
.nav__bottom a {
  text-decoration: none;
  color: inherit;
  font-family: "Italiana", serif;
}
.nav__bottom--home a {
  background-color: #6d1924;
  color: white;
  text-decoration: none;
  font-family: "Italiana", serif;
  padding: 25px;
  border-radius: 15px;
}
.nav__bottom a:hover {
  color: #3b8edb;
}

@media screen and (max-width: 800px) {
  .nav-container {
    padding-top: 50px;
  }
  .nav__logo-img {
    width: 150px;
  }
}
.nav-hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 100px;
  padding: 15px;
  background-color: #6d1924;
  cursor: pointer;
  background-color: rgba(59, 142, 219, 0.6);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.nav-hamburger-bar {
  width: 60px;
  height: 7px;
  background-color: white;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}
.nav-hamburger-bar:nth-child(1) {
  transform-origin: top left;
}
.nav-hamburger-bar:nth-child(2) {
  transform-origin: center;
}
.nav-hamburger-bar:nth-child(3) {
  transform-origin: bottom left;
}
.nav-hamburger--active {
  background-color: transparent;
  box-shadow: none;
}
.nav-hamburger--active .nav-hamburger-bar {
  background-color: #6d1924;
}
.nav-hamburger--active .nav-hamburger-bar:nth-child(1) {
  transform: rotate(28deg);
}
.nav-hamburger--active .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
}
.nav-hamburger--active .nav-hamburger-bar:nth-child(3) {
  transform: rotate(-28deg);
}

.nav-mobile {
  display: flex;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 999;
  height: 100%;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 50px;
  transition: left 0.3s ease-in-out;
  background-color: rgba(255, 255, 255, 0.97);
}
.nav-mobile--show {
  left: 0;
}
.nav-mobile__logo {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  padding-top: 100px;
}
.nav-mobile__logo-img {
  width: 150px;
}
.nav-mobile__item {
  font-size: 24px;
  line-height: 50px;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #2a2a2a;
}
.nav-mobile__divider {
  width: 80%;
}

@media screen and (max-width: 768px) {
  .nav-container {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}
.footer {
  width: 100%;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 5px solid #6d1924;
  color: #2a2a2a;
}
.footer__text {
  text-align: center;
}

.hero {
  position: relative;
  text-align: center;
  background: linear-gradient(60deg, #6d1924 0%, #3b8edb 100%);
  color: white;
  height: 55vh;
  min-height: 550px;
}
.hero__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -250px;
}
.hero__text {
  flex-basis: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
}
.hero__text--title {
  text-transform: uppercase;
  color: #f8f8f8;
  flex-basis: 260px;
  font-size: 24px;
}
.hero__text--date {
  flex-basis: 100%;
  margin-top: 5%;
}
.hero__text--date-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__text--dayoftheweek, .hero__text--time {
  flex-basis: 30%;
  font-size: 24px;
  line-height: 70px;
  margin: 10px auto;
  text-transform: uppercase;
}
.hero__text--dayoftheweek::before, .hero__text--dayoftheweek::after, .hero__text--time::before, .hero__text--time::after {
  content: "";
  display: block;
  height: 5px;
  width: 100%;
  background-color: rgba(248, 248, 248, 0.7);
}
.hero__text--day {
  flex-basis: 20%;
  font-size: 80px;
  line-height: 80px;
}
.hero__text--month, .hero__text--year {
  flex-basis: 100%;
  font-size: 24px;
  margin: 10px auto;
  text-transform: uppercase;
}
.hero__image {
  flex-basis: 50%;
  height: 100%;
}
.hero__image--img {
  width: 100%;
  height: 100%;
}

.logo {
  width: 50px;
  fill: white;
  padding-right: 15px;
  display: inline-block;
  vertical-align: middle;
}

.waves {
  position: relative;
  width: 100%;
  height: 150px;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}
.waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
.home-content {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.home-content__text {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.home-content__text p {
  flex-basis: 100%;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}
.home-content__blocks {
  display: flex;
  flex-direction: column;
}
.home-content__block {
  padding: 120px 24px;
  text-align: center;
  color: #fff;
  transition: background 0.3s ease;
}
.home-content__block-inner {
  max-width: 900px;
  margin: 0 auto;
}
.home-content__block h3 {
  font-size: 40px;
  margin-bottom: 16px;
}
.home-content__block p {
  font-size: 20px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.home-content__block .btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 18px;
  background-color: #6d1924;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.home-content__block .btn:hover {
  background-color: rgba(109, 25, 36, 0.7);
}
.home-content__block--programma {
  background: linear-gradient(135deg, rgba(109, 25, 36, 0.1), rgba(109, 25, 36, 0.6));
}
.home-content__block--location {
  background: linear-gradient(135deg, rgba(59, 142, 219, 0.1), rgba(59, 142, 219, 0.6));
}
.home-content__block--location .btn {
  background-color: #3b8edb;
}
.home-content__block--location .btn:hover {
  background-color: rgba(59, 142, 219, 0.7);
}
.home-content__block--logistica {
  background: linear-gradient(135deg, rgba(109, 25, 36, 0.1), rgba(109, 25, 36, 0.6));
}
.home-content__block--noi {
  background: linear-gradient(135deg, rgba(59, 142, 219, 0.1), rgba(59, 142, 219, 0.6));
}
.home-content__block--noi .btn {
  background-color: #3b8edb;
}
.home-content__block--noi .btn:hover {
  background-color: rgba(59, 142, 219, 0.7);
}
.home-content__block--rsvp {
  background: linear-gradient(135deg, rgba(109, 25, 36, 0.1), rgba(109, 25, 36, 0.6));
}

.home-nav {
  flex-basis: 100%;
  display: none;
  justify-content: center;
  flex-wrap: wrap;
}
.home-nav__logo {
  flex-basis: 150px;
  margin-top: 20px;
}
.home-nav__logo img {
  max-width: 100%;
  height: auto;
}
.home-nav__links {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}
.home-nav__link {
  flex-basis: 70%;
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #6d1924;
  font-size: 22px;
  font-weight: 600;
  padding: 7px;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.3s ease;
  margin-bottom: 15px;
}
.home-nav__link--rsvp {
  background-color: #6d1924;
  border: 1px solid black;
  color: #f8f8f8;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  .hero__inner {
    flex-wrap: wrap;
  }
  .hero__text {
    flex-basis: 100%;
    margin-top: 10%;
  }
  .hero__image {
    flex-basis: 100%;
    height: auto;
  }
  .hero__image--img {
    height: 50%;
  }
  .home-nav {
    display: flex;
  }
  .waves {
    height: 100px;
    min-height: 100px;
  }
}
.scroll-animations {
  display: flex;
  overflow-x: scroll;
  width: 100%;
}
.scroll-animations > .scrollsection {
  padding: 0 10vh 10vh 10vmax;
  min-width: 1150vh;
}
.scroll-animations > .scrollsection > .item {
  display: inline-block;
  position: relative;
  margin: 0 -15vh 0 3vh;
}
.scroll-animations > .scrollsection > .item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}
.scroll-animations > .scrollsection > .item.-big {
  height: 80vh;
  width: 60vh;
}
.scroll-animations > .scrollsection > .item.-big.-horizontal {
  height: 60vh;
  width: 80vh;
}
.scroll-animations > .scrollsection > .item.-normal {
  height: 60vh;
  width: 45vh;
}
.scroll-animations > .scrollsection > .item.-normal.-horizontal {
  height: 45vh;
  width: 60vh;
}
.scroll-animations > .scrollsection > .item.-normal.-horizontal > .item.-normal.-horizontal {
  bottom: 2vh;
}
.scroll-animations > .scrollsection > .item.-normal:nth-of-type(3n) {
  bottom: 5vh;
}
.scroll-animations > .scrollsection > .item.-normal:nth-of-type(4n) {
  bottom: -5vh;
}
.scroll-animations > .scrollsection > .item.-small {
  height: 40vh;
  width: 30vh;
  z-index: 2;
}
.scroll-animations > .scrollsection > .item.-small.-horizontal {
  height: 30vh;
  width: 40vh;
}
.scroll-animations > .scrollsection > .item.-small:nth-of-type(3n) {
  bottom: 13vh;
}
.scroll-animations > .scrollsection > .item.-small:nth-of-type(4n) {
  bottom: -13vh;
}
.scroll-animations > .scrollsection > .item > .image {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateY(0) scale(1);
  transition: filter 0.3s ease, opacity 1s ease, transform 1s ease;
}
.scroll-animations > .scrollsection > .item:nth-of-type(4n) > .image {
  transform: translateX(-30vh) translateY(-30vh) scale(0.8);
  transition-delay: 0;
}
.scroll-animations > .scrollsection > .item:nth-of-type(4n - 1) > .image {
  transform: translateX(30vh) translateY(30vh) scale(0.8);
  transition-delay: 0.05s;
}
.scroll-animations > .scrollsection > .item:nth-of-type(4n - 2) > .image {
  transform: translateX(-30vh) translateY(30vh) scale(0.8);
  transition-delay: 0.1s;
}
.scroll-animations > .scrollsection > .item:nth-of-type(4n - 3) > .image {
  transform: translateX(-30vh) translateY(-30vh) scale(0.8);
  transition-delay: 0.15s;
}
.scroll-animations > .scrollsection > .item > .image.-active {
  transform: translateX(0) translateY(0) scale(1);
  opacity: 0.7;
  pointer-events: auto;
  transition: transform 0.4s ease, filter 0.3s ease, opacity 1s ease, transform 1s ease;
}
.scroll-animations > .scrollsection > .item > .image.-clicked {
  transform: translateX(0) translateY(0) scale(5);
  opacity: 0;
  pointer-events: auto;
  transition: transform 0.4s ease, filter 0.3s ease, opacity 1s ease, transform 1s ease;
}
.scroll-animations > .scrollsection > .item > .image.-active:hover {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(0);
  opacity: 1;
  z-index: 10;
}

.noi p {
  font-family: "Manrope", sans-serif;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: normal;
}

.noi-page-content {
  position: relative;
  z-index: 10;
}

.programma h3 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}
.programma p {
  font-family: "Manrope", sans-serif;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: normal;
  padding-left: 30px;
}

.location h3 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}
.location p {
  font-family: "Manrope", sans-serif;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: normal;
  padding-left: 30px;
}
.location__link {
  flex-basis: 100%;
  display: flex;
}
.location__images {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.location__images-img {
  flex-basis: 30%;
  height: 250px;
}
.location__images-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 1200px) {
  .location__images-img {
    flex-basis: 45%;
  }
}
@media screen and (max-width: 800px) {
  .location__images-img {
    flex-basis: 100%;
  }
}

.logistica h3 {
  font-family: "Manrope", sans-serif;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}
.logistica p {
  font-family: "Manrope", sans-serif;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: normal;
  padding-left: 30px;
}

.rsvp {
  width: 100%;
}

.viaggio {
  margin-top: 50px;
  width: 100%;
}
.viaggio p {
  line-height: 25px;
  margin-bottom: 10px;
}
.viaggio .highlight {
  font-weight: bold;
  font-style: italic;
}

.login {
  display: flex;
  justify-content: center;
}
.login__container {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  padding-top: 50px;
  flex-wrap: wrap;
  flex-basis: 85%;
  max-width: 500px;
  margin: 0 auto;
}
.login__logo {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
}
.login__logo-img {
  display: block;
  height: 150px;
  margin-bottom: 50px;
}
.login__title {
  margin-top: 0;
  margin-bottom: 20px;
}
.login__box {
  text-align: center;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex-basis: 100%;
}
.login__box input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  box-sizing: border-box;
}
.login__box button {
  padding: 0.5rem 1rem;
  width: 100%;
  cursor: pointer;
  background-color: rgba(109, 25, 36, 0.8);
  color: #fff;
  border: 1px solid #6d1924;
  border-radius: 4px;
  transition: all 0.3s;
}
.login__box button:hover {
  background-color: rgba(59, 142, 219, 0.8);
  border: 1px solid #3b8edb;
}

.error {
  color: #c00;
  margin-top: 0.5rem;
}

/*# sourceMappingURL=main.css.map */
