#home-page {

}

/* splash screen */

.home-splash-screen {
  position: fixed;
  z-index: 99999;

  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100vh;
  opacity: 1;

  background-color: var(--base-papiroti-blue-7);

}

.home-splash-screen__image {
  width: 30vw;;
  height: auto;
}

.home-splash-screen.home-splash-screen--fade-out {
  opacity: 0;
  /*z-index: -9999;*/
  visibility: hidden;
  /*visibility: hidden;*/
  transition: all 1s ease-in-out;
  /*animation: fade-out-splash-screen 2s ease-out;*/

}

@keyframes fade-out-splash-screen {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}



/* slider */

#home-slider {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  width: 100%;
  /*height: 100vh;*/
  min-height: 640px;
}

.home-slide-wrapper {
  position: relative;
  width: 100vw;
  height: 100%;

  overflow: hidden;
}

.home-slide-background-image {
  position: absolute;
  top: 0;
  /*left: 0;*/

  width: 100%;
  height: 150vh;

  object-fit: cover;
  z-index: -1;
}

.home-slide-content-wrapper {
  position: relative;

  margin: 0 auto;
  padding: 0 30px;

  width: 100%;
  max-width: var(--base-page-max-width);

  z-index: 1;
}

.home-slide-content__image-wrapper {
  display: none;
}

.home-slide-content__image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-slide-content__text-wrapper {
  position: relative;
  /*top: 120px;
  left: 0;*/

  margin: 150px 0 60px 0;
  /*padding: 150px 0 60px 0;*/

  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  align-items: flex-start;

  width: 100%;
  max-width: var(--base-page-max-width);
  height: 100%;

  z-index: 3;
}

.home-slide-content__text__title {
  margin: 0 0 30px 0;

  color: #fff;
  line-height: 2.5rem;
  font-size: 2.5rem;
  font-weight: var(--base-font-black-weight);
}

.home-slide-content__text__subtitle {
  margin: 0 0 30px 0;

  color: #fff;
  line-height: 1.4rem;
  font-size: 1rem;
  font-weight: var(--base-font-regular-weight);
}

.home-slide-link-button {
  background-color: var(--base-papiroti-yellow);

  padding: 6px 48px;
  border-radius: 17px;

  text-transform: uppercase;
  color: var(--base-papiroti-blue-7);
  font-size: 1rem;
  font-weight: var(--base-font-black-weight);
}

.home-slide__pagination {

}

.home-slide__pagination li {
  margin: 0 6px 15px 6px;
}

.home-slide__pagination__page {
  opacity: 1;
  background-color: var(--base-papiroti-blue-5);
  transition: none;
}

.home-slide__pagination__page.is-active {
  transform: none;
}



/* cards section */

#home-cards {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: center;

  padding: 90px 30px;
}

.home-cards-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;
  max-width: var(--base-page-max-width);
}

.home-cards-content__title {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: center;

  width: 100%;
  border-top: 2px solid var(--base-papiroti-yellow);
  background-color: #fff;

}

.home-cards-content__title-text-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  margin-top: -42px;
  margin-bottom: 60px;
  padding: 15px;
  background-color: #fff;
}

.home-cards-content__title-text__title {
  color: var(--base-papiroti-blue-7);
  font-weight: var(--base-font-black-weight);
  font-size: 2rem;
  text-align: center;
}

.home-cards-content__title-text__subtitle {
  color: var(--base-papiroti-blue-7);
  font-weight: var(--base-font-regular-weight);
  font-size: 1rem;
  text-align: center;
  max-width: 500px;
}

.home-cards-content__cards-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.home-card {
  position: relative;

  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 3px 8px var(--base-papiroti-blue-7-box-shadow);
  padding: 30px;

  overflow: hidden;
}

.home-card-wrapping-link {

}

.home-card-background-image-overlay {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: 2;

  border-radius: 15px;
  background: linear-gradient(to right, white 40%, transparent);
}

.home-card-background-image {
  position: absolute;
  top: 0;
  right: 0;

  /*width: 100%;*/
  height: 100%;

  object-fit: cover;
  object-position: top right;

  /*z-index: 1;*/
  border-radius: 15px;
}

.home-card-info-wrapper {
  position: relative;

  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  z-index: 3;
}

.home-card-info__title {
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: var(--base-font-black-weight);
  color: var(--base-papiroti-blue-7);
}

.home-card-info__subtitle {
  max-width: 80%;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: var(--base-font-regular-weight);
  color: var(--base-papiroti-blue-7);
}

.home-card-info__link-wrapper {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;
}

.home-card-info__link,
.home-card-info__link:visited,
.home-card-info__link:active {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  align-items: flex-end;

  text-decoration: none;
  cursor: pointer;
}

.home-card-info__link__text {
  font-size: 1rem;
  font-weight: var(--base-font-black-weight);
  color: var(--base-papiroti-blue-1);
  margin-right: 6px;
}

.home-card-info__link__icon {
  font-size: 0.875rem;
  color: var(--base-papiroti-yellow);
}



/* contact section */

#contact {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: center;

  background-color: var(--base-papiroti-blue-7);
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;
  max-width: var(--base-page-max-width);

  padding: 60px 30px;
}

.contact-content__header {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}

.contact-content__content {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}

.contact-info-title {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  margin: 0 0 30px 0;

  font-weight: var(--base-font-black-weight);
  font-size: 2.5rem;
  line-height: 2.5rem;
  color: #fff;
}

.contact-info-subtitle {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  margin: 0 0 60px 0;
  width: 100%;

  font-weight: var(--base-font-regular-weight);
  font-size: 1rem;
  color: #fff;
}

.contact-info-sections-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;

  margin-bottom: 30px;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
}

.contact-info-section__title-wrapper {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: flex-start;

  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--base-papiroti-blue-1);
}

.contact-info-section__title {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  margin-bottom: -12px;
  padding: 0 6px 6px 0;

  font-weight: var(--base-font-black-weight);
  color: var(--base-papiroti-blue-1);
  background-color: var(--base-papiroti-blue-7);
}

.contact-info-section__line {
  color: #fff;
}

.contact-info-section__line a {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: space-between;

  color: var(--base-papiroti-blue-1) !important;
}

.contact-info-section__line__text {
  color: #fff;
}

.contact-info-section__line__icon {
  color: var(--base-papiroti-yellow);
}

.contact-info-map {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;
}

.contact-info-map__title-wrapper {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: flex-start;

  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--base-papiroti-blue-1);
}

.contact-info-map__title {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  margin-bottom: -12px;
  padding: 0 6px 6px 0;

  font-weight: var(--base-font-black-weight);
  color: var(--base-papiroti-blue-1);
  background-color: var(--base-papiroti-blue-7);
}

.contact-info-map__title-icon {
  margin-left: 6px;
  color: var(--base-papiroti-yellow);
}

.contact-info-map__container {
  width: 100%;
  height: 200px;
}

#google-map {
  height: 100%;
  width: 100%;
}


.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  margin: 60px 0 0 0;
}

.contact-form__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.contact-form__title {
  font-size: 1.75rem;
  line-height: 1.75rem;
  font-weight: var(--base-font-black-weight);
  color: #fff;
}

.contact-form__subtitle {
  font-size: 1rem;
  font-weight: var(--base-font-regular-weight);
  color: #fff;

  margin-bottom: 30px;
}

.contact-form__form-wrapper {

}

.contact-form__form {

}

.papiroti-input {
  position: relative;

  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  align-items: flex-start;
}

.papiroti-input.error .papiroti-input__label-wrapper {
  color: var(--base-error-color);
}

.papiroti-input.error .papiroti-input__input-wrapper,
.papiroti-input.error .papiroti-input__textarea-wrapper {
  border: 1px solid var(--base-error-color);
}

.papiroti-input__label-wrapper {
  z-index: 3;

  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  align-items: flex-start;

  margin: 0 0 -15px 12px;
  padding: 6px;
  background-color: var(--base-papiroti-blue-7);
  color: var(--base-papiroti-blue-1);
}

.papiroti-input__label-wrapper label {
  font-weight: var(--base-font-black-weight);
  font-size: 0.875rem;
}

.papiroti-input__input-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;

  padding: 9px;
  border: 1px solid var(--base-papiroti-blue-1);
  border-radius: 6px;
  background: none;
  outline: 0;
}


.papiroti-input__input-wrapper input,
.papiroti-input__input-wrapper input:focus,
.papiroti-input__input-wrapper input:active {
  width: 100%;
  color: #fff;
  border: none;
  background: none;
  outline: 0;
  font-size: 0.875rem;
  padding: 3px;
}

.papiroti-input__textarea-wrapper {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;

  width: 100%;

  padding: 9px;
  border: 1px solid var(--base-papiroti-blue-1);
  border-radius: 6px;
  background: none;
  outline: 0;
}

.papiroti-input__textarea-wrapper textarea,
.papiroti-input__textarea-wrapper textarea:focus,
.papiroti-input__textarea-wrapper textarea:active {
  width: 100%;
  color: #fff;
  border: none;
  background: none;
  outline: 0;
  font-size: 0.875rem;
  min-height: 75px;
  padding: 3px;
}

.contact-form__submit-button-wrapper {

}

.contact-form__submit-button {
  display: flex;
  flex-direction: row;
  flex: 0 1 auto;

  justify-content: center;

  width: 100%;

  padding: 6px 48px;
  margin-top: 15px;

  border-radius: 15px;
  border: none;
  background-color: var(--base-papiroti-yellow);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: var(--base-font-black-weight);
  color: var(--base-papiroti-blue-7);
  cursor: pointer;
}

.contact-form__submit-button--disabled {
  background-color: var(--base-grey-color-300);
  color: var(--base-grey-color-500);
}


@media all and (min-width: 300px) {

}

@media all and (min-width: 350px) {

}

@media all and (min-width: 600px) {

  .home-slide-background-image {
    height: 100vh;
  }

  .home-cards-content__cards-wrapper {
    grid-template-columns: 1fr 1fr;
  }



  /* contact */

  .contact-info-sections-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info-subtitle {
    width: 65%;
  }

  .contact-form__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  #contact-form-first-name-field {
    grid-column: 1 / 2;
  }

  #contact-form-last-name-field {

  }

  #contact-form-email-field {
    grid-column: 1 / 2;
  }

  #contact-form-company-field {

  }

  #contact-form-subject-field {
    grid-column: 1 / 3;
  }

  #contact-form-message-field {
    grid-column: 1 / 3;
  }

  #contact-form-submit-button-field {
    grid-column: 2 / 3;
  }
}

@media all and (min-width: 750px) {

  #home-slider {
    min-height: 600px;
  }

  .home-slide-content__image-wrapper {
    position: absolute;
    top: -60px;
    left: 0;

    display: flex;
    flex-direction: column;
    flex: 0 1 auto;

    width: 75%;
    margin-left: calc(25% - 30px);
    margin-right: 30px;
    max-width: var(--base-page-max-width);
    height: 100%;

    z-index: 2;
  }

  .home-slide-content__text-wrapper {
    /*top: 240px;*/
    margin-top: 240px;
    /*padding-top: 240px;*/
    width: 80%;
    max-width: var(--base-page-max-width);
  }

}

@media all and (min-width: 960px) {
  .home-slide-content-wrapper {
    padding: 0;
  }

  .home-slide-content__image-wrapper {
    margin-left: 25%;
    margin-right: 0;
  }

  .home-slide-content__text-wrapper {
    width: 70%;
    max-width: var(--base-page-max-width);
  }

  .home-slide-content__text__title {
    line-height: 3rem;
    font-size: 3rem;
  }


  #home-cards {
    padding: 90px 0;
  }


  .contact-content-wrapper {
    padding: 60px 0;
  }

  .contact-content__content {
    flex-direction: row;
  }

  .contact-info-title {
    font-size: 3.5rem;
    line-height: 3.5rem;
  }

  .contact-info {
    flex: 0 1 50%;
    padding-right: 15px;
  }

  .contact-form-wrapper {
    flex: 0 1 50%;
    padding-left: 15px;
    margin: 0;
  }


}

@media all and (min-width: 1024px) {

}
