*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "NomeFont";
  src: url("../assets/Fonts/Inter-VariableFont_opsz,wght") format("wght"),
    url("../assets/Fonts/Helvetiva") format("wght");
  font-weight: normal;
  font-style: normal;
}

section {
  position: relative;
}

/*Typefaces*/

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0px !important;
  line-height: 120%;
}
body {
  font-family: "Inter", Helvetica, sans-serif !important;
  font-size: 16px;
}

#about h2,
#soluzioniEspositive h2,
#esposizioni h2,
#fiereOrganzizateEPartner h2 {
  color: #d93832;
  font-size: 50px;
  line-height: 115%;
}
#about h1 span,
h2 span {
  font-weight: 900;
}

/*MyClasses*/

.btnCTA {
  padding: 10px 20px;
  background-color: #d93832;
  color: white;
  font-size: 20px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.3s linear;
}

.btnCTA:hover {
  background-color: #f5413b;
}
.col-60 {
  width: 60% !important;
}

.col-40 {
  width: 40% !important;
}

.vh-150 {
  height: 150vh !important;
}

.h-150 {
  height: 150% !important;
}

.backgroundImgHolder {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  object-fit: contain;
}

.backgroundImgHolder img:not(#slogan .backgroundImgHolder img) {
  width: 100%;
  height: 100%;
}
.overflow-hidden img {
  width: 100%;
  height: 100%;
}

.backgroundImgHolder::after {
  content: url("../assets/img/svgs/imgDecoration.svg");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.backgroundImgHolder::before {
  content: url("../assets/img/svgs/imgDecoration.svg");
  position: absolute;
  bottom: 0px;
  width: 100%;
  z-index: 99;
  transform: rotate(180deg);
  left: 0;
}

#laFiera .backgroundImgHolder::after {
  transform: scaleX(-1);
}

#laFiera .backgroundImgHolder::before {
  transform: scaleY(-1);
}

#soluzioniEspositive .backgroundImgHolder::after {
  transform: scaleX(-1);
}

#slogan .backgroundImgHolder::after {
  content: none;
}

/*HERO*/
#hero {
  padding-top: 100px;
}
/*ABOUT*/
#about h2 {
  line-height: 100%;
  margin-bottom: 10px !important;
}
/*LA FIERA*/
#laFiera {
  padding: 150px 0 100px;
}

#laFiera {
  padding: 150px 0 100px;
}

#laFiera h2 {
  font-size: 100px;
  color: white;
  line-height: 90%;
  margin: 50px 0 200px !important;
}

.cardsFiera h4,
.cardsFiera p {
  font-size: 20px;
  color: white;
  font-weight: 700;
  line-height: 130%;
}

.cardsFiera .col-12 {
  padding: 0 60px;
}

.cardsFiera .cardBody {
  background-color: #4d4d4d;
  padding: 20px;
}

.cardsFiera .cardHeader {
  background-color: #999999;
  padding: 20px;
}

/*SOLUZIONI ESPOSITIVE*/
#soluzioniEspositive {
  padding: 180px 0;
}
#soluzioniEspositive h2 {
  color: white;
  font-weight: 900;
  margin: 100px 0 50px !important;
}

#soluzioniEspositive h4 span {
  font-weight: 900;
}

.cardsFiera .cardHeader {
  position: relative;
}
#soluzioniEspositive .cardBody,
#soluzioniEspositive .cardHeader,
#soluzioniEspositive .overflow-hidden,
.cardsFiera .cardHeader,
.cardsFiera .cardBody {
  -webkit-box-shadow: -4px -3px 15px -3px #000000;
  box-shadow: -4px -0px 15px -3px #000000;
  z-index: 0;
}

#soluzioniEspositive .cardsEsposizioni {
  margin-bottom: 100px;
}

#soluzioniEspositive .cardsEsposizioni .col-12 {
  padding: 0 30px;
}
#soluzioniEspositive .cardBody {
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#soluzioniEspositive .cardBody,
#soluzioniEspositive .cardHeader {
  background-color: white;
  padding: 20px;
  position: relative;
}

#soluzioniEspositive .cardPrice {
  transition: all 0.1s linear;
}

#soluzioniEspositive .cardPrice a {
  text-decoration: none;
}

#soluzioniEspositive .cardPrice {
  padding: 10px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#soluzioniEspositive .cardPrice::before {
  content: "";
  background-color: #d93832;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: -1;
  transition: all 0.2s ease-in-out;
}

#soluzioniEspositive .cardPrice:hover::before {
  background-color: #f5413b;
}

#soluzioniEspositive .cardHeader {
  text-align: center;
  color: #d93832;
}

#soluzioniEspositive .cardBody p {
  color: #999999;
}

#soluzioniEspositive .cardBody ul {
  padding: 10px;
}

#soluzioniEspositive .cardBody ul li {
  line-height: 110%;
}

#soluzioniEspositive .cardPrice p {
  text-align: center;
  font-size: 25px;
  color: white;
}

#soluzioniEspositive .cardPrice p span {
  font-size: 10px;
}

#soluzioniEspositive .backgroundImgHolder img {
  filter: grayscale(100%);
}

/*ESPOSIZIONI*/

#esposizioni h2 {
  color: #4d4d4d;
  font-weight: 900;
  margin-bottom: 20px !important;
}
#esposizioni .testi h4 {
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 86%);
  position: absolute;
  padding: 10px 20px;
  transform: translateX(-100px);
  font-size: 100px;
  font-weight: 900;
  color: white;
}

#esposizioni .testi p::before {
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  clip-path: polygon(0 4%, 100% 2%, 100% 100%, 4% 91%);
  position: relative;
  background-color: #d93832;
  padding: 30px 30px 30px 100px;
  margin: 10px;
  overflow: visible;
}

#esposizioni .testi p {
  font-size: 20px;
  color: white;
  font-weight: 700;
  line-height: 110%;
  position: relative;
}

.cardsMotivazioni {
  display: flex;
  margin: 20px;
  position: relative;
  transition: all 0.1s linear;
}

.cardsMotivazioni:hover h4 {
  transform: translateY(-50%);
  clip-path: polygon(0 11%, 100% 0, 100% 89%, 0 100%);
}
.cardsMotivazioni p {
  background-color: #d93832;
  padding: 40px 30px 40px 80px;
  font-weight: 900;
  clip-path: polygon(0 8%, 100% 15%, 100% 100%, 0 91%);
  color: white;
  font-size: 20px;
  line-height: 100%;
  transition: all 0.1s linear;
}

.cardsMotivazioni h4 {
  font-weight: 700;
  position: absolute;
  font-size: 90px;
  z-index: 1;
  color: white;
  font-weight: 700;
  background-color: #4d4d4d;
  padding: 10px 20px;
  clip-path: polygon(0 3%, 100% 11%, 100% 100%, 0 93%);
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.1s linear;
}

#esposizioni > div > div > div.col-12.text-center {
  margin-top: 50px !important;
}
/*SLOGAN*/

#slogan {
  text-align: center;
  color: white;
  overflow: hidden !important;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#slogan h2 {
  font-size: 50px;
  line-height: 110%;
  margin-bottom: 50px !important;
  position: relative;
}

#slogan h2::before {
  content: "\0022";
  font-size: 200px;
  position: absolute;
  transform: translate(-130px, 25px);
  font-family: "Inter", Helvetica, sans-serif;
}

#slogan h2::after {
  content: "\0022";
  font-size: 200px;
  position: absolute;
  transform: translate(70px, 25px);
  font-family: "Inter", Helvetica, sans-serif;
}

#slogan h2 span {
  font-weight: 900;
}

#slogan p {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px !important;
  line-height: 110%;
}
#slogan p span {
  font-weight: 400;
}

#slogan .backgroundImgHolder {
  left: -10px;
  width: calc(100% + 20px);
}

/*FOOTER*/
footer {
  background-color: #d93832;
  padding: 100px 0;
  color: white;
  font-weight: 700;
  text-align: end;
  position: relative;
  margin-top: 250px;
}

footer::before {
  content: url("../assets/img/svgs/imgDecorationRed.svg");
  position: absolute;
  top: -150px;
  width: 100%;
  z-index: -1;
  left: 0;
  transform: scale(-1);
}
footer .social {
  margin-bottom: 20px;
}
footer .social a {
  color: white;
  display: flex;
  background-color: #4d4d4d;
  margin-right: 20px;
  padding: 10px;
  text-align: center;
  line-height: 20px;
  align-items: center;
  justify-content: center;
}

footer .social i {
  font-size: 20px;
}

.iubenda a {
  color: white;
  text-decoration: none;
  margin-right: 10px;
  font-weight: 700;
}

.iubenda span {
  margin-right: 10px;
}

/*FIERE ORGANIZZATE E PARTNER*/
#fiereOrganzizateEPartner > div > div:nth-child(3) {
  padding: 50px 0;
}
#fiereOrganzizateEPartner h2 {
  font-weight: 700;
  margin-top: 50px !important;
}

#fiereOrganzizateEPartner img {
  object-fit: contain;
  padding: 40px;
}
#fiereOrganzizateEPartner > div > div:nth-child(2) > div img {
  width: 300px;
  height: 300px;
}

#fiereOrganzizateEPartner > div > div:nth-child(4) > div img {
  padding: 50px;
}

#fiereOrganzizateEPartner > div > h2:nth-child(3) {
  margin-bottom: 50px !important;
  font-size: 30px;
}

#fiereOrganzizateEPartner > div > h2:nth-child(1) {
  font-size: 30px;
}
/*Form*/
.form-container {
  position: absolute;
  text-align: center;
  background-color: white;
  padding: 30px;
  -webkit-box-shadow: -4px -3px 15px -3px #000000;
  box-shadow: -4px -3px 15px -3px #000000;
  margin-right: 10px;
}

.form-container h1 {
  font-size: 30px;
  color: #d93832;
}

.form-container p {
  font-size: 15px;
  color: #999999;
}

.form-container .form-group,
.form-container button {
  margin-top: 20px;
}
.form-container button {
  background-color: #d93832;
  padding: 10px 30px;
  border: none;
  color: white;
  text-align: end;
}
.form-container .form-group input,
.form-container .form-group textarea {
  border-radius: 0;
  background-color: #ededed;
}
.form-container .form-group input:focus,
.form-container .form-group textarea:focus {
  border-color: #999999;
  box-shadow: none;
}
.form-container button {
  transition: all 0.3s linear;
}
.form-container button:hover {
  background-color: #f5413b;
}

.form-container #privacy {
  margin-top: 20px;
}

.form-container label a {
  color: black !important;
}

.iubenda a {
  font-weight: 400;
}

.text-copy {
  font-weight: 400;
}

.text-copy a {
  color: #fff;
  text-decoration: none;
}

/*MEDIAQUERIES*/
/*Mobile*/
@media (max-width: 767px) {
  section {
    height: auto !important;
  }

  /*HERO*/
  #hero {
    padding-top: 50px;
    margin-bottom: 100px;
  }
  #hero .backgroundImgHolder {
    position: absolute !important;
    top: 210px;
    height: 80%;
  }

  #hero .col-60 {
    padding: 0px 50px;
  }
  #hero .col-40,
  #hero .col-60 {
    width: 100% !important;
  }
  #hero .col-60 img {
    width: 100%;
  }

  /*La fiera*/
  #laFiera {
    padding-top: 100px;
  }
  #laFiera h2 {
    font-size: 60px;
    text-align: center;
    margin: 30px 0 40px !important;
  }

  #laFiera .cardsFiera .col-12 {
    margin-bottom: 20px;
  }
  #laFiera .cardsFiera > div:nth-child(3) {
    margin-bottom: 40px;
  }
  /*Soluzioni Esposizioni*/
  #soluzioniEspositive .cardsEsposizioni .col-12 {
    margin-bottom: 10px;
  }

  #soluzioniEspositive .cardsEsposizioni .col-12 {
    padding: 0px 10px;
  }
  #soluzioniEspositive {
    padding: 50px 0;
  }
  /*Esposizioni*/

  #esposizioni .col-40 {
    width: 100% !important;
  }

  .cardsMotivazioni p {
    padding: 40px 30px 30px 80px;
  }

  /*slogan*/

  #slogan .backgroundImgHolder img {
    height: 100%;
  }
  #slogan h2 {
    margin-bottom: 20px !important;
  }

  #slogan p {
    margin-bottom: 10px !important;
  }
  #slogan h2::before {
    font-size: 100px;
    transform: translate(-45px, 5px);
  }

  #slogan h2::after {
    font-size: 100px;
    transform: translate(20px, 5px);
  }
  /*FORM*/
  .form-container {
    position: relative;
    margin-top: 50px;
    padding: 30px 10px;
  }

  /*FOOTER*/

  footer {
    margin-top: 80px;
    padding: 30px;
  }
}

@media (max-width: 1200px) {
  /*Form*/
  /*La fiera*/

  #laFiera h4 {
    font-size: 15px;
  }

  #laFiera p {
    font-size: 13px;
  }
  /*Soluzioni espositive*/
  .cardsFiera .col-12 {
    padding: 0 10px;
  }

  #soluzioniEspositive .cardsEsposizioni .col-12 {
    padding: 0 10px;
  }
  #soluzioniEspositive h4 {
    font-size: 14px;
  }

  #soluzioniEspositive ul li {
    font-size: 12px;
  }

  #soluzioniEspositive h4 {
    font-size: 14px;
  }

  #soluzioniEspositive .cardPrice p {
    font-size: 14px;
  }

  #slogan {
    min-height: 700px;
  }

  .cardsMotivazioni p {
    font-size: 14px;
  }
}