*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

::-moz-selection {
  color: black; background: white;
}

::selection {
  color: black; background: white;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  padding: 0;
  margin:0;
  width: 100vw;
  overflow-x: hidden;
  height: 100%;
}


/* VARIABLES */
:root{
--theme-color: #3a405a;
--color-white: #FFF;
}


/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Zen+Kaku+Gothic+Antique&display=swap');

h1, h2, h3, h4, h5, h6{
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

h1{
    text-transform: uppercase;
    margin-bottom: 2rem;
}

p, a, strong, *{
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.5rem;
  color: var(--theme-color);
}

.section-title{
  font-size: 1.8rem;
  text-transform: uppercase;
  line-height: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;

  /*&::before{
    content: url('../images/drop.png');
    position: relative;
    margin-right: 0.5rem;
  }

  &::after{
    content: url('../images/drop.png');
    transform: rotate(180deg);
    position: relative;
    margin-left: 0.5rem;
  }*/
}


/* img-fluid */
.img-fluid{
  width: 100%;
  max-width: none;
  height: auto;
}

.img-map{
  margin-bottom: 0;

  svg{
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 1200px) {
    margin-bottom: 2rem;
  }
}

.img-map svg{
  width: 100%;
  height: auto;
}

g[id^="poi_g"]{
  path[id$="circle"]{
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }

  path[id$="num"]{
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
  }
}

g[id^="poi_g"]:hover{
  cursor: pointer;

  path[id$="circle"]{
    fill: var(--color-white);
  }

  path[id$="num"]{
    fill: var(--theme-white);
  }
}


/* Buttons */

.btn {
	display: inline-block;
	cursor: pointer;
	text-align: center;
	pointer-events: auto;
	color: var(--color-white);
	border: 0;
	border-radius: 2rem;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 1rem;
	padding: 0.5rem 2rem;
	margin: 0 auto;
	background: linear-gradient(0deg,rgba(58, 64, 90, 1) 0%, rgba(58, 64, 90, 1) 50%, rgba(58, 64, 90, 1) 100%) !important;
	-webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;

  &:hover{
    color: var(--color-white);
    background: linear-gradient(0deg,rgba(58, 64, 90, 1) 0%, rgba(96, 106, 148, 1) 50%, rgba(58, 64, 90, 1) 100%) !important;
  }
}

.btn:focus {
	outline: none;
}

.btn:hover {
	background: var(--color-white);
}

.btn--trigger {
	width: 15em;
	position: absolute;
	bottom: 2em;
	left: 50%;
	margin: 0 0 0 -7.5em;
}

.btn--hidden {
	opacity: 0;
	pointer-events: none;
}

/* Links */

a {
	text-decoration: none;
	color: var(--color-white);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-white);
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}



.main-header {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.main-header .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-header .slide .text::before{
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg,rgba(58, 64, 90, 1) 0%, rgba(58, 64, 90, 0.8) 10%, rgba(58, 64, 90, 0) 40%, rgba(58, 64, 90, 0) 100%);
  left: 0;
  bottom: 0;
  position: absolute;
}

.main-header .slide .text h1 {
  font-size: 100px;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  -webkit-transform: translate(-50%, -0%);
  transform: translate(-50%, -0%);
  margin: 0;
  text-align: center;
  color: var(--color-white);
  font-size: 3.5rem;
  width: 100%;
}

.main-header .slide .text p {
  font-size: 16px;
  position: absolute;
  bottom: 40px;
  right: 60px;
  margin: 0;
}

@media screen and (max-width: 640px) {
  .main-header .slide .text h1 {
    font-size: 36px;
  }
  .main-header .slide .text p {
    bottom: 20px;
    margin: 0;
    text-align: center;
    width: 100%;
    right: auto;
    font-size: 14px;
  }
}

.main-header .bullets {
  position: relative;
  bottom: 0;
  left: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.main-header .bullets .arrow {
  float: left;
  cursor: pointer;
  filter: blur(3px);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.main-header .bullets .arrow.next {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.main-header .bullets .arrow:hover {
  filter: blur(0px);
}    

.main-header .bullets .arrow svg {
  height: 4rem;
  width: 2.5rem;
  padding: 2px;
}

.main-header .bullets .arrow svg polygon {
  fill: var(--color-white);
}

.main-header .bullets .arrow {
  position: absolute;

  &.previous{
    left: 0.5rem;
  }

  &.next{
    right: 0.5rem;
  }

  @media screen and (min-width: 1200px) {
    &.previous{
      left: 3.5rem;
    }

    &.next{
      right: 3.5rem;
    }
  }
}

@media screen and (max-width: 640px) {
  .main-header .bullets {
    bottom: 60px;
    left: 50%;
    z-index: 120;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .main-header .bullets .arrow.previous:hover {
    -webkit-transform: none;
            transform: none;
  }
  .main-header .bullets .arrow.next:hover {
    -webkit-transform: translate3d(0, 0, 0) rotate(180deg);
            transform: translate3d(0, 0, 0) rotate(180deg);
  }
}

.main-header,
.slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  will-change: mask-position, -webkit-mask-position;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* evita delay del tap su mobile */
.arrow {
  touch-action: manipulation;
  user-select: none;
}

.slide.hide {
  mask: url(../images/smoke-sprite.png);
  -webkit-mask: url(../images/smoke-sprite.png);
  mask-size: 2300% 100%;
  -webkit-mask-size: 2300% 100%;
  animation: mask-play 1.4s steps(22) forwards;
}

@keyframes mask-play {
  from { mask-position: 0 0; -webkit-mask-position: 0 0; }
  to { mask-position: 100% 0; -webkit-mask-position: 100% 0; }
}

@-webkit-keyframes mask-play {
  from {
    -webkit-mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
  }
}

/* HEADER */

header {
  background: url(../images/smoke-sprite.png) no-repeat -9999px -9999px;
  background-size: 0;
  height: 100vh;
  width: 100vw;
  position: relative;
  object-fit: cover;
}

.main-header .slide:nth-child(1) {
  background-image: url(../images/head_1.jpg);
}

.main-header .slide:nth-child(2) {
  background-image: url(../images/head_2.jpg);
}

.main-header .slide:nth-child(3) {
  background-image: url(../images/header.png);
}

.main-header .slide:nth-child(4) {
  background-image: url(../images/test-gallery.jpg);
}

nav.navbar{
  background: rgba(255, 255, 255, 0.85);
  padding: 0;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;

  &.scrolled{
    background: rgba(255, 255, 255, 1);
  }
}

nav.navbar .main-dk-logo{
  max-width: 60px;
}

nav.navbar .navbar-collapse{
  flex-grow: unset;
}

nav.navbar .nav-link {
    font-size: 1.3rem;
    text-transform: uppercase;
    margin: 0 2rem;
}

nav.navbar .nav-link.active{
    font-weight: 700;
  }

  

/* simple-row */
.simple-row.force-left .block-img{
  order: 1;
}

.simple-row.force-left .block-txt{
  order: 2;
}

.simple-row.force-right .block-img{
  order: 2;
}

.simple-row.force-right .block-txt{
  order: 1;
}

.simple-row .block-img{
  margin: 1rem 0;
}

.simple-row .block-txt{
  margin: 1rem 0;
}

@media screen and (min-width: 1200px) {
  .simple-row.force-right{
    padding-right: 0 !important;
  }

  .simple-row.force-right{
    padding-right: 0 !important;
  }

  .simple-row .block-img{
    margin: 0;
  }

  .simple-row .block-txt{
    margin: 0;
  }
}

/* card-box */

@property --a {
  syntax: '<angle>';
  initial-value: 36deg;
  inherits: true;
}

@keyframes animate-box {
      0%{
          --a: 36deg;
      }
      100%{
          --a: 360deg;
      }
  }


.card-box .box{
    position: relative;
    width: 20rem;
    height: 20rem;
    border-radius: 0px;
    background: repeating-conic-gradient(from var(--a),#3a405a 0%, #3a405a 5%, transparent 5%, transparent 50%, #3a405a 50%);

    &:hover{
      animation: animate-box 4s linear infinite;

      &::before{
        animation: animate-box 4s linear infinite;
      }
    }
}

.card-box .box::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0px;
    background: repeating-conic-gradient(from var(--a),#3a405a 0%, #3a405a 5%, transparent 5%, transparent 50%, #3a405a 50%);
    animation-delay: -1s;
}

.card-box .box::after{
    content: '';
    position: absolute;
    width: 95%;
    height: 95%;
    background: var(--color-white);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0px;
}

.card-box .textBox{
  position: relative;
  width: 100%;
  height: 100%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  background: rgba(58, 64, 90, 0);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;

  &:hover{
    text-decoration: none;
    background: rgba(58, 64, 90, 0.1);
  }
}

.card-box .textBox i, .card-box .textBox span{
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-box .textBox .box-title{
  font-size: 1.4rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

.card-box .textBox .textBox p{
    padding: 0.5rem 1rem;
    text-align: center;
}


/* loader */
.loader{
  position: fixed;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  background-color: var(--color-white);
  z-index: 9999;
}

.loader .contain-logo{
  width: 250px;
  height: 250px;
  padding: 0rem;
  display: flex;
  align-items: center;
  justify-content: center;

  &:before{
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: repeating-conic-gradient(from var(--a),#3a405a 0%, #3a405a 20%, transparent 35%, transparent 35%, #3a405a 50%);
    animation: animate-box 4s linear infinite;
    z-index: 1;
  }
}

.loader .contain-logo img{
  width: 100%;
  height: auto;
  z-index: 2;
}

/* GALLERY */
.grid {
  max-width: 1400px;
  margin: 0 auto;
}

.grid-sizer,
.grid-item {
  width: 25%;
}

@media (max-width: 768px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
  }
}

.grid-item {
  padding: 8px;
  box-sizing: border-box;
  cursor: pointer;
}

.grid-item .contain-img {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(04, 05, 24, 0.6);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
  }

  &:hover{
    &::before{
      background: rgba(04, 05, 24, 0);
    }
  }
}

.grid-item img {
  width: 100%;
  display: block;
}

.load-more-wrapper {
  text-align: center;
  margin: 40px 0;
}

button {
  padding: 12px 25px;
  font-size: 16px;
  cursor: pointer;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
}

.lightbox-content {
  position: relative;
  width: 90%;
  height: 90%;
  margin: auto;
  top: 5%;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.lightbox-counter {
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: #fff;
  font-size: 14px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* fast-link */
.fast-link .fl-contain{
  text-decoration: none;
  position: relative;
  display: block;

  &:hover{
    .overlay-txt{
      opacity: 0;
    }
  }
}

.fast-link .fl-contain .overlay-txt{
  z-index: 999;
  opacity: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.fast-link .fl-contain p{
  color: var(--color-white);
  font-size: 2rem;
  text-transform: uppercase;
}

.fast-link .fl-contain small{
  color: var(--color-white);
  font-size: 1.1rem;
}

.fast-link .fl-contain:after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(1, 1, 1, 0.6);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.fast-link .fl-contain:hover:after{
  background: rgba(1, 1, 1, 0);
}

/* flags-row */
.flags-row{
  display: flex;
  align-items: center;
  justify-content: center;
}

.flags-row img{
    width: 3rem;
    height: auto;
    margin: 1rem 2rem;
    opacity: 1;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.flags-row img:hover{
  opacity: 0.5;
}


.dl-pdf {
    margin-top: 1.5rem;
}


/* FOOTER */
footer .footer-info .logos{
  margin-top: 3rem;
  display: flex;
  align-items: center;
}

footer .footer-info .logos #unpli-logo{
  text-decoration: none;
  margin-right: 1rem;

  img{
    max-width: 200px;
    height: auto;
  }
}

footer .footer-info .logos .social-box{
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .footer-info .logos .social-box a{
  text-decoration: none;
  margin: 0 0.5rem;
}

footer .footer-info .logos .social-box i{
  font-size: 2rem;
  color: var(--theme-color);
  opacity: 1;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

footer .footer-info .logos .social-box a:hover i{
  opacity: 0.8;
}

footer .footer-privacy{
  background: var(--theme-color);
  padding: 1.5rem;
  margin-top: -1rem;
}

footer .footer-privacy a{
  text-decoration: none;
  position: relative;

  &:hover{
    text-decoration: underline;
  }

  &:not(:last-child)::after{
    content: '-';
    position: relative;
    padding: 0 0.5rem;
    color: var(--color-white);
  }
}


/*video-wrapper*/
.video-wrapper {
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.base-link{
  color: var(--theme-color);
  text-decoration: underline;

  &:hover{
    text-decoration: none !important;
    color: var(--theme-color) !important;
  }
}



/* media-query*/

@media screen and (max-width: 991px) {
  nav.navbar {
    background: rgba(255, 255, 255, 1);
  }

  nav.navbar .navbar-collapse.collapse{
    height: 100vh;
  }

  nav.navbar .navbar-collapse.collapse ul.navbar-nav{
    height: 100vh;
    --bs-scroll-height: 100vh !important;
    overflow: auto;
    max-height: none;
  }
}


@media screen and (min-width: 992px) {
    .custom-container {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

@media screen and (min-width: 1400px) {
    .custom-container {
        padding-left: 8vw;
        padding-right: 8vw;
    }

    /* flags-row */
  .flags-row img{
    margin: 1rem 3rem;
  }

  footer .footer-info .logos #unpli-logo{
    margin-right: 3rem;
  }
}

@media screen and (min-width: 1800px) {
    .custom-container {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}


@media screen and (max-width: 1399px) {
  nav.navbar .nav-link {
      font-size: 1.1rem;
  }
}