/*______________________________GENERAL____________________________*/
@font-face {
  font-family: "Oxanium";
  src: url("fonts/Oxanium-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oxanium";
  src: url("fonts/Oxanium-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: bold;
  font-display: swap;
}

a {
  color: inherit;
}

.honeypot {
  position: absolute;
  left: -99999px;
  opacity: 0;
  pointer-events: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #48115f;
  transition: background-color 999999s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0px 1000px #f5f5f5 inset;
  box-shadow: 0 0 0px 1000px #f5f5f5 inset;
  caret-color: #48115f;
}

html{
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  -webkit-appearance: none; /* Per browser basati su WebKit */
  -moz-appearance: none; /* Per Firefox */
  appearance: none; /* Standard */

  /* Resetta gli stili nativi */
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
}

body {
  font-family: "Oxanium", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
width: 100%;
}

textarea {
  font-family: "Oxanium", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: normal;
  margin: 0;
  line-height: 26px;
}

p,
button,label,li {
  font-size: 1.2em;
}

h1 {
  font-size: 1.6em;
  letter-spacing: 0.1em;
}

h2 {
  font-size: 1.4em;
  letter-spacing: 0.1em;
}

.deviceWidth {
  width: 1280px;
}

.wide_only {
  display: block;
}
.portrait_only {
  display: none !important;
}

.marginSmall {
  margin-bottom: 12px !important;
}

.marginMid {
  margin-bottom: 24px !important;
}

.marginHuge {
  margin-bottom: 48px !important;
}

:root {
  --mailButton_lines: 3;
  --mailButton_gap: 0.03;
}

/*______________________________COLORS____________________________*/

.color_white {
  color: #f5f5f5;
}

.color_yellow {
  color: #daad0f;
}

.color_darkPurple {
  color: #1e0429;
}

.color_purple {
  color: #48115f;
}

.background_white {
  background-color: #f5f5f5;
}

.background_yellow {
  background-color: #daad0f;
}

.background_darkPurple {
  background-color: #1e0429;
}

.background_purple {
  background-color: #48115f;
}

/*______________________________MAIL BUTTON____________________________*/

.mailButton {
  position: relative;
  padding: 12px 24px;
  background: transparent;
  color: #daad0f;
  border: none;
  cursor: pointer;
  font-size: 18px;
  shape-rendering: geometricPrecision;
  border: 2px solid #daad0f;
  border-radius: 4px;
    display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mailButton p {
  font-size: 1.1em;
  letter-spacing: 0.1em;
}

/*
.mailButton span {
  position: relative;
  z-index: 2;
}

.mailButton svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mailButton rect {
  fill: none;
  stroke: #daad0f;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 0.2 0.05 0.1 0.05 0.05 0.05 0.175 0.075 0.0625 0.0625 0.0625
    0.0625;

  animation: run 20s linear infinite;
}

@keyframes run {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -1;
  }
} */

/*______________________________HOME____________________________*/

#home {
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  text-align: center;
}

#home .mainLogo {
  height: 128px;
}

#home .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#home_background {
  position: fixed;
  height: 100%;
  /* min-height: 100vh; */
  /* min-height: 100dvh; */
  width: 100%;
  align-items: center;
  background-image: url("./images/pattern_shapes.jpg");
  background-size: 512px;
  z-index: -1;
  top: 0;
}

#home .contents > *:not(:last-child) {
  margin-bottom: 24px;
}

.mailIntro {
  margin-bottom: 12px !important;
}

/*______________________________INFO____________________________*/

#info {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  background-image: url("./images/pattern_character.jpg");
  background-size: 512px;
}

#info .contents {
  display: inline-flex;
  align-items: center;
}

#info .contents img {
  width: 35%;
  margin-left: 48px;
  margin-bottom: -48px;
}

#info .contents > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#info .contents > div p {
  font-size: 2.2em;
  line-height: 1.2em;
  /* padding-left: 12px;
  border-left: 3px solid #48115f; */
}
#info .contents .line {
  width: 100%;
  height: 10px;
  border-bottom: 2px #48115f dashed;
}

.infoTitle {
  padding: 12px 24px;
  font-weight: bolder;
  border-radius: 4px;
}

.infoTitle:not(:first-of-type) {
  margin-top: 24px;
}

#info .contents > div > *:not(:last-child) {
  margin-bottom: 24px;
}

/*______________________________CONTACTS____________________________*/

#contacts {
  padding: 48px 0 96px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  background-image: url("./images/pattern_cofee.jpg");
  background-color: #f5f5f5;
  background-size: 512px;
}

#contacts .contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#contacts .contents > *:not(:last-child) {
  margin-bottom: 24px;
}

/*______________________________FOOTER____________________________*/

#footer {
  margin-top: -48px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
}

#footer img {
  max-width: 100%;
}

#footer p {
  font-size: 0.8em;
  line-height: 1.4em;
  margin-right: 24px;
  margin-top: 24px;
}

#footer a {
  font-size: 0.8em;
  line-height: 1.4em;
  margin-right: 24px;
  margin-top: 24px;
}

#footer .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text_contents {
  position: relative;
  display: inline-flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cookiesButton {
  text-decoration: underline;
  letter-spacing: 0.1em;
  color: #f5f5f5;
  font-weight: bolder;
  border-radius: 4px;
  font-size: 0.8em;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  cursor: pointer;
}

/*______________________________CONTACT FORM____________________________*/

.slide .title {
  margin-bottom: 12px;
}

.slide textarea {
  width: calc(100%);
  height: 100%;
  padding: 16px;
  font-size: 1.2em;
  color: #48115f;
  margin-top: 12px;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

#contactForm {
  width: 100%;
}

.slides {
  width: 100%;
  position: relative;
  transition: all 0.25s linear;
}

#contactForm #UI {
  height: 48px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

#contactForm #UI .back,
#contactForm #UI .next {
  border-radius: 4px;
  display: flex;
  align-items: center;
  width: 128px;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 0.1em;
  cursor: pointer;
  user-select: none;
}

#contactForm #UI .back {
  opacity: 0;
  transition: all 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

#contactForm #UI .back.active {
  opacity: 1;
  pointer-events: all;
}

#contactForm #UI .map {
  display: flex;
  align-items: center;
}

.slideBullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #daad0f;
  margin: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideBullet > span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #daad0f;
  transform: scale(0);
  transition: all 0.75s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.slideBullet.active > span {
  transform: scale(1);
}

.slide {
  position: absolute;
  height: auto;
  display: flex;
  width: 100%;
  transition:
    margin 0.75s ease-in-out,
    opacity 0.5s ease-in-out;

  flex-direction: column;
  justify-content: space-between;
}

.slide.active {
  margin-left: 0;
  margin-right: 0;
  opacity: 1;
}

.slide.outRight {
  margin-left: 110%;
  opacity: 0;
}

.slide.outLeft {
  margin-left: -110%;
  opacity: 0;
}

.slide input {
  width: 100%;
  border: none;
  outline: none;
  padding: 16px;
  font-size: 1.2em;
  margin-top: 12px;
  box-sizing: border-box;
  transition: all 0.25s ease-in-out;
}

.slide span.error {
  padding: 12px 24px;
  height: 100%;
  background-color: #daad0f;
  border-radius: 4px;
  margin-top: 12px;
  color: #48115f;
  text-transform: uppercase;
  font-weight: bold;
  display: none;
}

.slide span.error p {
  margin: 0;
  font-weight: bolder;
  font-size: 1em;
}

.slide span.error img {
  height: 21px;
  margin-right: 12px;
}

.slide span.error.active {
  display: flex;
  align-items: center;
}

.slide .inputBox {
  display: inline-flex;
  width: 100%;
  box-sizing: content-box;
  flex-direction: column;
  align-items: flex-start;
}

.inputBox input {
  background-color: #f5f5f5;
  color: #48115f;
  border-radius: 4px;
}

.inputBox input.error {
  background-color: #daad0f;
  color: #1e0429;
}

.inputBox textarea {
  background-color: #f5f5f5;
  color: #48115f;
  border-radius: 4px;
  height: 128px;
}

.inputBox textarea.error {
  background-color: #daad0f;
  color: #1e0429;
}

.slideData {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.slideData label, .slideData p {
  margin-top: 12px;
  display: block;
}

.multiChoicesContainer {
  display: inline-flex;
  flex-wrap: wrap;
}

.multiChoicesContainer button {
  padding: 12px 24px;
  border: 2px solid #f5f5f5;
  border-radius: 4px;
  margin-right: 24px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  user-select: none;
  transition: all 0.25s ease-in-out;
  background-color: #1e042900;
  margin-top: 12px;
  color: #f5f5f5;
}

.multiChoicesContainer.error p {
  background-color: #daad0f;
  color: #1e0429;
  border: 2px solid #daad0f;
  transition: all 0.25s ease-in-out;
}

.multiChoicesContainer button.active {
  background-color: #f5f5f5;
  color: #48115f;
}

.slideHeaderLine {
  width: 100%;
  height: 2px;
  background-color: #f5f5f5;
  display: block;
  margin-top: 24px;
  margin-bottom: 12px;
}

#sendEmailBox {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1e0429e6;
  opacity: 1;
  pointer-events: none;
  opacity: 0;
  transition: all 0.75s ease-in-out;
}



#sendEmailBox.active {
  pointer-events: all;
  opacity: 1;
}

#sendEmailBox > div {
  padding: 24px;
  border-radius: 4px;
  text-align: center;
  max-width: calc(100% - 48px * 2);
}

#sendEmailBox .btns {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-top: 12px;
}

#sendEmailBox .btns button {
  padding: 12px 0;
  border-radius: 4px;
  width: 128px;
  cursor: pointer;
  margin: 0 12px;
}

#sendEmailBox input {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.msg {
  display: none;
}

.msg.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*______________________________RESPOSIVNESS____________________________*/

/* Small devices (phones) */

@media (max-width: 576px) {

  /* .multiChoicesContainer button {
    padding: 6px 12px;
    font-size: 1em;
  } */
.slideHeaderLine {

    margin-top: 12px;
    margin-bottom: 0px;
}
.multiChoicesContainer button {
    padding: 6px 12px;
    margin-right: 12px;
    font-size: 1em;
}

#footer img {
  max-width: fit-content;
    max-height: 512px;
}

  .deviceWidth {
    max-width: calc(100% - 48px * 2);
  }
  .wide_only {
    display: none !important;
  }
  .portrait_only {
    display: block !important;
  }

  #info .contents {
    flex-direction: column;
  }

  #info .contents img {
    margin-left: 0;
    margin-top: 48px;
    width: auto;
    max-width: 100%;
  }

  #info .contents > div p {
    font-size: 1.8em;
    line-height: 1.2em;
  }

#contactForm #UI .back,
#contactForm #UI .next {
    width: 96px;
  }

  .slideBullet {
    width: 16px;
    height: 16px;
  }

  .slideBullet > span {
    width: 12px;
    height: 12px;
  }
}


#cookies_mainWrapper{
      display: flex;
  width: 100%;
  min-height: 100%;
  position: absolute;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("./images/pattern_shapes_dark.jpg");
  background-size: 512px;
}

#cookies_mainWrapper #content{
    width: calc(100% - 40%);
    margin: 48px 0;
    border-left: 2px solid #daad0f;
    padding-left: 2em;
}

#cookies_mainWrapper #content > *{
    margin: 0;
    margin-bottom: 12px;
}



/* Tablets */
@media (min-width: 577px) and (max-width: 991px) {
  .deviceWidth {
    max-width: calc(100% - 48px * 2);
  }
  #info .contents {
    flex-direction: column;
  }

  #info .contents img {
    margin-left: 0;
    margin-top: 48px;
    width: auto;
    max-width: 100%;
  }
}

/* Laptops */
@media (min-width: 992px) and (max-width: 1199px) {
  .deviceWidth {
    max-width: calc(100% - 48px * 4);
  }
  #info .contents {
    flex-direction: column;
  }

  #info .contents img {
    margin-left: 0;
    margin-top: 48px;
    width: auto;
  }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
  .deviceWidth {
    max-width: 1140px;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .deviceWidth {
    max-width: 1280px;
  }
}









#pageLoader {
  position: absolute;
  inset: 0;
  z-index: 99999;

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

  background-color: #1e0429;
  background-image:
    url("./images/pattern_shapes.jpg");
  background-size: 512px;

  opacity: 1;
  visibility: visible;

      width: 100%;
    height: 100%;

  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
}
