.green-gradient {
  background: #008b92;
  background: linear-gradient(0deg, #008b92 0%, rgba(0, 139, 146, 0) 100%);
}

html {
  background-color: #fff;
  color: #131F4A;
  font-family: "Hurme Geometric Sans 1", sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html p, html a {
  color: #131F4A;
}

a:hover {
  text-decoration: none;
}

b, strong {
  font-weight: 700;
}

body.locked {
  position: relative;
  overflow: hidden;
}

#main-container {
  position: relative;
  overflow: hidden;
  min-height: 75vh;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.relative {
  position: relative;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

@media (min-width: 1440px) {
  .container {
    width: 1410px;
  }
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes counterRotating {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes counterRotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

input:not([type=checkbox]),
select {
  width: 100%;
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid #fff;
  color: #131F4A;
  padding: 10px 15px;
  font-size: 18px;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

input:not([type=checkbox])::placeholder,
select::placeholder {
  color: #aaa;
}

input:not([type=checkbox]):focus,
select:focus {
  outline: none;
  opacity: 0.9;
  border-color: #915F1F;
}

input[type=checkbox] {
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.35rem;
  display: inline-block;
  background-color: transparent;
  border: 1px solid #fff;
  -webkit-appearance: none;
  appearance: none;
}

input[type=checkbox]:checked {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Niconne", sans-serif;
  font-weight: 400;
  color: #915F1F;
}

.small-button {
  background-color: #eee;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 0.25rem;
  transition: all 0.4s ease;
}

.small-button:hover {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.small-button::after {
  content: '';
  margin-left: 2px;
  width: 12px;
  height: 12px;
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

button,
.button {
  background-color: transparent;
  text-decoration: none;
  border: none;
  box-shadow: none;
  background-color: #131F4A;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.8s cubic-bezier(0.465, 0.183, 0.153, 0.946);
  display: inline-block;
  overflow: hidden;
  font-size: 14px;
  padding: 1rem 1.5rem 0.75rem;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

button img,
.button img {
  display: inline-block;
  margin-left: 1rem;
}

button.green,
.button.green {
  background-color: green;
}

button.yellow,
.button.yellow {
  background-color: #915F1F;
}

button.orange,
.button.orange {
  background-color: #915F1F;
}

button:hover,
.button:hover {
  color: #fff;
  -webkit-transform: scale(1.015);
  -moz-transform: scale(1.015);
  -ms-transform: scale(1.015);
  -o-transform: scale(1.015);
  transform: scale(1.015);
}

@media screen and (min-width: 768px) {
  button,
  .button {
    font-size: 18px;
    padding: 2rem 2.5rem 1.75rem;
  }
}

.section-title {
  font-size: 44px;
  line-height: 44px;
  padding: 0;
  margin: 0;
}

.section-title.smaller {
  font-size: 30px;
}

@media screen and (min-width: 768px) {
  .section-title {
    font-size: 60px;
  }
  .section-title.smaller {
    font-size: 40px;
  }
}

body::-webkit-scrollbar {
  width: 12px;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: #fff;
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: #131F4A;
  /* color of the scroll thumb */
  border-radius: 20px;
  /* roundness of the scroll thumb */
  border: 4px solid #fff;
  /* creates padding around scroll thumb */
}

@media screen and (min-width: 768px) {
  .flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .flex-wrapper .flex-item {
    width: 50%;
  }
  .flex-wrapper .flex-item.third {
    width: 33.333%;
  }
}

#main-header {
  text-align: center;
  padding: 2rem 0;
}

#main-header .flex-wrapper {
  align-items: center;
}

#main-header .flex-wrapper nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

@media screen and (min-width: 768px) {
  #main-header .flex-wrapper nav ul {
    margin: 0;
  }
}

#main-header .flex-wrapper nav ul li {
  display: inline-block;
  margin: 0 1rem;
}

#main-header .flex-wrapper nav ul li a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.4s ease;
}

#main-header .flex-wrapper nav ul li a:hover {
  color: #915F1F;
}

#main-header .flex-wrapper .logo img {
  display: inline-block;
  width: 10rem;
}

@media screen and (min-width: 768px) {
  #main-header .flex-wrapper .logo img {
    width: 12.5rem;
  }
}

#main-header .flex-wrapper .socialbar ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

@media screen and (min-width: 768px) {
  #main-header .flex-wrapper .socialbar ul {
    margin: 0;
  }
}

#main-header .flex-wrapper .socialbar ul li {
  display: inline-block;
  margin: 0 1rem;
}

#main-header .flex-wrapper .socialbar ul li a {
  text-decoration: none;
}

#main-header .flex-wrapper .socialbar ul li a img {
  transition: all 0.4s ease;
}

#main-header .flex-wrapper .socialbar ul li a:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

#main-footer {
  background-color: #131F4A;
  color: #fff;
  padding: 1rem 0;
}

#main-footer .flex-wrapper {
  align-items: center;
}

#main-footer a {
  color: #fff;
}

#main-footer .socialbar nav ul li {
  display: inline-block;
  margin-right: 1rem;
}

.page-home .landing-image {
  width: 100%;
  position: relative;
  height: 20rem;
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url("../img/Marina_di_Punta_Ala.jpg");
}

.page-home .landing-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-color: #131F4A;
  opacity: 0.75;
}

.page-home .landing-image figcaption {
  color: #fff;
  text-align: center;
  font-size: 26px;
  position: absolute;
  width: 90%;
  left: 50%;
  top: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.page-home .landing-image figcaption small {
  display: block;
}

.page-home #programma {
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .page-home #programma {
    padding: 5rem 0;
  }
}

@media screen and (min-width: 768px) {
  .page-home #programma .flex-item {
    padding-right: 2rem;
  }
  .page-home #programma .flex-item.bordered {
    position: relative;
    padding-right: 4rem;
  }
  .page-home #programma .flex-item.bordered::after {
    content: '';
    position: absolute;
    right: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #F4EFE8;
    border-radius: 100%;
  }
}

.page-home #programma .section-title.smaller {
  padding-top: 0.9rem;
}

.page-home #programma h6.list-title {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  color: #131F4A;
  font-family: "Hurme Geometric Sans 1", sans-serif;
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .page-home #programma h6.list-title {
    margin-bottom: 2rem;
  }
}

.page-home #programma .boat {
  display: none;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .page-home #programma .boat {
    display: block;
  }
}

.page-home #programma .boat img {
  max-width: 100%;
}

.page-home #programma .bird {
  position: absolute;
  right: -4rem;
  bottom: -1rem;
  z-index: -1;
  width: 40rem;
}

.page-home #documenti {
  background-color: #F4EFE8;
  padding: 2rem 0;
}

@media screen and (min-width: 768px) {
  .page-home #documenti {
    padding: 5rem 0;
  }
}

@media screen and (min-width: 768px) {
  .page-home #documenti .flex-item {
    padding: 0 1rem;
  }
}

.page-home #documenti .section-title {
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
  .page-home #documenti .section-title {
    margin-bottom: 5rem;
  }
}

.page-home #documenti .button {
  margin-bottom: 2rem;
}

.result-overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: -o-linear-gradient(135deg, #131F4A, #915F1F);
  background: linear-gradient(-45deg, #131F4A, #915F1F);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result-overlay .animation-wrapper {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 10;
}

.result-overlay .animation-wrapper .outer-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  height: 60vh;
  width: 60vh;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.result-overlay .animation-wrapper .outer-circle::after {
  content: '';
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
  border-radius: 100%;
  height: 100%;
  width: 100%;
  display: inline-block;
  animation: pulsar1 5s ease infinite;
}

@media screen and (max-width: 567px) {
  .result-overlay .animation-wrapper .outer-circle {
    height: 20rem;
    width: 20rem;
  }
}

.result-overlay .animation-wrapper .inner-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  border-radius: 100%;
  height: 50vh;
  width: 50vh;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.result-overlay .animation-wrapper .inner-circle::after {
  content: '';
  border-radius: 100%;
  height: 100%;
  width: 100%;
  display: inline-block;
  background: radial-gradient(circle at center, #fff 0, #131F4A 75%, #131F4A 100%);
  animation: pulsar2 5s ease infinite;
}

@media screen and (max-width: 567px) {
  .result-overlay .animation-wrapper .inner-circle {
    height: 17rem;
    width: 17rem;
  }
}

.result-overlay .animation-wrapper .text-label {
  background-color: #131F4A;
  font-weight: 700;
  padding: 0.5rem;
  width: 15rem;
  text-transform: uppercase;
  font-size: 20px;
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  transform: rotate(-10deg);
}

@media screen and (max-width: 567px) {
  .result-overlay .animation-wrapper .text-label {
    font-size: 17px;
    width: 12.5rem;
  }
}

.result-overlay .animation-wrapper .disclaimer {
  display: inline-block;
  -webkit-transform: translate(0, 2.5rem);
  -moz-transform: translate(0, 2.5rem);
  -ms-transform: translate(0, 2.5rem);
  -o-transform: translate(0, 2.5rem);
  transform: translate(0, 2.5rem);
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulsar1 {
  0% {
    -webkit-transform: scale(1.075);
    -moz-transform: scale(1.075);
    -ms-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
  }
  50% {
    -webkit-transform: scale(0.975);
    -moz-transform: scale(0.975);
    -ms-transform: scale(0.975);
    -o-transform: scale(0.975);
    transform: scale(0.975);
  }
  100% {
    -webkit-transform: scale(1.075);
    -moz-transform: scale(1.075);
    -ms-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
  }
}

@keyframes pulsar2 {
  0% {
    -webkit-transform: scale(0.975);
    -moz-transform: scale(0.975);
    -ms-transform: scale(0.975);
    -o-transform: scale(0.975);
    transform: scale(0.975);
  }
  50% {
    -webkit-transform: scale(1.075);
    -moz-transform: scale(1.075);
    -ms-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
  }
  100% {
    -webkit-transform: scale(0.975);
    -moz-transform: scale(0.975);
    -ms-transform: scale(0.975);
    -o-transform: scale(0.975);
    transform: scale(0.975);
  }
}

#confetti {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
