@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik/Rubik-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

p, a, span, h6{
  font-family: "Rubik";
}

h1, h2, h3, h4, h5{
  font-family: "PlayfairDisplay";
  font-weight: bold;
}

h1{
  font-size: 46px;
}

.nav-link h1{
  font-size: 17px !important;
  margin: 0px 10px;
}

h6{
  font-weight: 400 !important;
  color: #666666;
}

a.nav-link h1{
    color: black;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .5rem !important;
        padding-left: .5rem !important;
    }
}


/* Opzionale: Sovrapposizione scura sulle immagini per migliorare la leggibilità del testo */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-caption {
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mascherina bianca trasparente */
.hero-card {
  background-color: rgba(255, 255, 255, 0.5);
  max-width: 450px;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-left: 10%;
  text-align: center !important;
}

.hero-card h1{
  color: #000000;
}

.hero-card a {
  color: #000000;
  font-size: 20px;
}

/* Pulsante/Ancora */
.btn-hero {
  display: inline-block;
  padding: 18px 50px;
  font-weight: 900 !important;
  text-decoration: none;
  border-radius: 25px;
  border: 1px solid #000000;
  margin-top: 20px;
  font-family: "PlayfairDisplay";
  font-weight: 700 !important;
}

.btn-hero:hover {
  background-color: #000000;
  color: #ffffff !important;
}

.btn-black {
  font-family: "PlayfairDisplay";
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 25px;
  transition: opacity 0.2s ease;
  display: inline-block;
  font-weight: 700 !important;
}

.btn-black:hover {
  opacity: 0.85;
  color: #ffffff;
}

a{
  text-decoration: none;
}

@media (min-width: 992px) {
  .border-separators > .column-item:not(:last-child) {
    border-right: 1px solid #000000;
  }
}

/* Gestione separatori su mobile/tablet */
@media (max-width: 991px) {
  .column-item {
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #000000;
  }
  .column-item:last-child {
    border-bottom: none;
  }
}

.column-item {
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.icon-mb {
  margin-bottom: 25px;
}

.icon-mb i{
  font-size: 80px;
}

.column-item h3{
  margin-bottom: 20px;
}

.column-item p{
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  img.mob-img{
    margin-top: 30px;
  }
  p.mob-p{
    padding-right: 20px !important;
  }
  h1.mob-h1{
    margin-top: 30px;
  }
  .mob{
    display: none !important;
  }
}

.footer{
  padding: 20px 0px;
  text-align: center;
}

.footer p{
  margin: 0px;
}

/* GTranslate styles */
.gflag
{
    vertical-align: middle;
    font-size: 24px;
    padding: 1px 0;
    background-repeat: no-repeat;
    /*background-image: url(//gtranslate.net/flags/24.png);*/
}

.gflag img
{
    border: 0;
}

/*.gflag:hover
{
    background-image: url(//gtranslate.net/flags/24a.png);
}
*/
#goog-gt-tt
{
	display: none !important;
}

.goog-te-banner-frame
{
	display: none !important;
}

.goog-te-menu-value:hover
{
	text-decoration: none !important;
}

body
{
	top: 0 !important;
}

#google_translate_element2
{
	display: none !important;
}
.lang-elem font
{
    vertical-align: unset !important;
}
.lang-elem
{
    opacity: .5;
    transition-duration: .3s;
}
.lang-elem.lang-active,
.lang-elem:hover
{
    opacity: 1;
}
.gtranslate-div ul
{
    display: flex;
    justify-content: flex-end;
    align-items:center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.gtranslate-div ul li img
{
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 3px rgba(0,0,0,.6);
    margin-top: -5px;
    margin-right: 20px;
}
.skiptranslate
{
    display: none !important;
}
.translation-li
{
    display: none;
} 
/*******************/

@media screen and (max-width: 991px)
{
    .translation-li
    {
        display: block !important;
    }
    .gtranslate-div.gtranslate-div-mobile ul 
    {
        justify-content: flex-start;
        list-style: none;
        padding-left: 20px;
    }
    .gtranslate-div.gtranslate-div-mobile ul li
    {
        margin-right: 5px;
    }
    .gtranslate-div.gtranslate-div-mobile ul li img
    {
        width: 30px;
        height: 30px;
    }
}

h1 a{
  color: black;
}