/*-------------------------------------------------------------------------*/
/* Copyright (c) Aeterna Memoria                                           */
/* Tutti i diritti sono riservati - All rights reserved                    */
/* https://www.aeternamemoria.com - info@aeternamemoria.com                */
/* CSS Document                                                            */
/*-------------------------------------------------------------------------*/
/* Main Style - v.2.00 September 2023                                      */
/*-------------------------------------------------------------------------*/

@charset "utf-8";

@import 'reset.css';
@import 'fonts.css';
/*@import 'flex-box.css';
@import 'font-awesome.css';
@import 'fx.css';
@import 'complianceCookie.css';*/

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
}

html{
    /*scroll-behavior:smooth;*/

    min-width: auto;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;   
    
    -webkit-tap-highlight-color: transparent; /* for removing the highlight */
}

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 0;
    filter: brightness(1);
}

@keyframes scanim
{
    from {
        -webkit-transform: scale(0.2);
        -moz-transform: scale(0.2);
        -o-transform: scale(0.2);
        -ms-transform: scale(0.2);
        transform: translate(-50%,-50%) scale(0.2);
   
        -moz-opacity: 0;
        opacity: 0;
        filter: alpha(opacity=100); /* IE8 and lower */
    }
    to
    {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -o-transform: scale(1);
        -ms-transform: scale(1);
        transform: translate(-50%,-50%) scale(1);
       
        -moz-opacity: 1;
        opacity: 1;
        filter: alpha(opacity=0); /* IE8 and lower */	
    }
}

*:focus {
    outline: none;
}


img {border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; display: inline-block; box-sizing:content-box;}


/* Preload */
.img-preload {
	opacity: 1;
	transition: opacity 0.3s;
}

img[data-src] {
	opacity: 0;
}


.preloader {position: fixed; left: 0; top: 0; width:100%; height:100%; overflow: hidden; background-color: #000; z-index:999999;}
.preloading { position: relative; width:auto; height:auto; left:50%; top:50%;  animation: scanim 2500ms ease infinite alternate;}

/* STYLES */


h1
{
    font-weight: normal;
    font-family: "Public Sans bold";
}

strong
{
    font-weight: normal;
    font-family: "Public Sans Semi Bold";
}

.flex {width:100%;max-width: 100%;}	
.img-flex {display: block;}

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

/* links */

.lnk {font-size: 12px; text-decoration:none; font-family: 'Times New Roman', Times, Arial, Verdana, Helvetica, sans-serif; -webkit-transition: color 0.2s ease;transition: color 0.2s ease;}


.ta-justify
{
    text-align: justify;  
}

.paragraph
{
    font-family: "Public Sans", Times, Arial, Verdana, Helvetica, sans-serif;
}

.lh-s
{
    line-height: 16px;
}

.lh-n
{
    line-height: 21px;
}

.lh-m
{
    line-height: 24px;
}

.lh-l
{
    line-height: 32px;
}

.lh-xl
{
    line-height: 48px;
}

/* padding 10 */

.padd-t-10
{
    padding-top:10px;
}

.padd-b-10
{
    padding-bottom:10px;
}

.padd-tb-10
{
    padding-top:10px;
    padding-bottom:10px;
}

/* padding 20 */

.padd-t-20
{
    padding-top:20px;
}

.padd-b-20
{
    padding-bottom:20px;
}

.padd-tb-20
{
    padding-top:20px;
    padding-bottom:20px;
}

/* padding 30 */

.padd-t-30
{
    padding-top:30px;
}

.padd-b-30
{
    padding-bottom:30px !important;
}

.padd-tb-30
{
    padding-top:30px;
    padding-bottom:30px;
}

/* padding 40 */

.padd-t-40
{
    padding-top:40px;
}

.padd-b-40
{
    padding-bottom:40px;
}

.padd-tb-40
{
    padding-top:40px;
    padding-bottom:40px;
}

/* padding 60 */

.padd-t-60
{
    padding-top:60px;
}

.padd-b-60
{
    padding-bottom:60px;
}

.padd-tb-60
{
    padding-top:60px;
    padding-bottom:60px;
}


/* MARGINS */

/* margin-right 10*/
.marg-r-10
{
    margin-right:10px !important;
}

/*  LOGO   */

/*.logo-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px; /* menu height 
    overflow: hidden;
}*/

.logo-container
{  

    display: flex;
    position: relative;  

   /* max-width: 268px;
    max-height: 42px;    */

    width: 268px; 
    height: 42px;
    
    overflow: hidden;
}

.crossfade-image {
    flex:1;
   /* display: flex;*/
    position: absolute;

    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.crossfade-image.active {
    opacity: 1;
}

.logo-container:hover .crossfade-image:not(.active) {
    opacity: 1;
}

.logo-container:hover .crossfade-image.active {
    opacity: 0; /* Sfuma l'immagine sempre visibile al passaggio del mouse */
    transition: opacity 0.3s ease-in-out;
}

/* contents */

.fullpage-bg-container
{
    position:relative;
    top:0;
    left:0;
    height:100%;
    width:100%; 
    overflow: hidden;
    background: url("../assets/img/aemebg.jpg") no-repeat center center;
	background-size:cover;
}

#container
{ 
	width: 100%;
}

#wrapper, #wrapper-max
{
	margin: 0 auto;	
	margin-right: auto;
  	margin-left: auto;
	display: block;

   /* background: rgba(256, 256, 256, 1);*/
}

.menu-container
{
    /*background-color: transparent;  Sfondo iniziale trasparente */

    top: 0;
    left: 0;    

    position: fixed;

    z-index: 999;
    transition: background-color 0.3s ease; /* Transizione per la trasparenza */
 
    padding-top: 14px;
    padding-bottom: 14px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    overflow: hidden;
}

.menu-container.sticky
{
    border-bottom:none;
}

.languages
{
    border-top:1px solid;
    border-bottom:1px solid;
}

.menu
{
    width:100%;
    display: flex;
}

.under-menu
{
    width:90%;
    display: flex;  
    position: fixed;  
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    margin-bottom:14px;
    z-index: 1;
}

.btn-pause
{  
    text-align: center;
    border: none;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
} 

/*
.btn-pause {
    position: fixed;
    text-align: center;
    bottom:0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    font-size: 12px;
    padding: 8px 14px;
    cursor: pointer;
} */


.btn-menu-left, .btn-menu-right
{
	display:none;
	float:left;

    font-size: 26px;
	
	/*transition: all 0.3s ease-out;
	padding:10px 0px 10px 0px;*/
}

.btn-menu-right
{
	float:right;
	text-align:right;    
}

/* Stile delle colonne per il menu principale */
.column
{
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */   
}

.left
{
    flex:1;
    text-align: left;
    justify-content: left; /* Allinea orizzontalmente al centro (se necessario) */
}

.right
{
    flex:1;
    text-align: right; 
    justify-content: right; /* Allinea orizzontalmente al centro (se necessario) */
}

.center
{
    text-align: center; 
    margin: 0 auto;
    justify-content: center;
}     


/* dailytips */

.dailytips
{
    font-family: Times, "Roboto","Open Sans", Arial, Verdana, sans-serif;
    font-size:24px;
}

/* payoff */

.payoff
{
    font-family: Times, "Open Sans", Arial, Verdana, sans-serif;
    font-size:30px;
}

/* mission*/

.mission, .vision
{
    font-family: "Open Sans", Arial, Verdana, sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 colonne */
    grid-gap: 40px;
}

.grid-item {
    
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.vision .grid-item
{
    background-color:#c9d3d3;
}


.mission-icon
{
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
    transition: all 0.5s ease-in-out;    
}

.grid-item-title
{
    margin-top: 14px;
    margin-bottom: 14px;    
}

/*.flex-item:hover ~ #mission-icon
{
    -webkit-transform: scale(1.5,1.5);
    -ms-transform: scale(1.5,1.5);
    transform: scale(1.5,1.5);	
}*/


/* YWC */

.yes-we-can
{
    background-color: #7f9796;
    color:#fff;
}

/*footer*/

.footer-content
{
    position: relative;
    width:100%;
    display: flex; 
    font-family: "Roboto","Open Sans", Arial, helvetica, sans-serif;
}

.under-menu-column,.footer-column {
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */   
}

.under-menu-column:nth-child(1),.footer-column:nth-child(1) /*copyright*/
{
    flex:1;
    text-align: left;
    justify-content: left; /* Allinea orizzontalmente al centro (se necessario) */
}

.under-menu-column:nth-child(2),.footer-column:nth-child(2) /*legal*/
{ 
    text-align: center; 
    margin: 0 auto;
    justify-content: center;
}

.under-menu-column:nth-child(3), .footer-column:nth-child(3) /*social*/
{
    flex:1;
    text-align: right; 
    justify-content: right; /* Allinea orizzontalmente al centro (se necessario) */
}

.cur-pointer
{
	cursor:pointer;
}

/* Cookie Law banner */

.complianceCookie 
{
	position:fixed;
	width:100%;
	bottom:0;
    /*-webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;   */ 
	z-index:999999;
}

.complianceCookie-form-box
{
    padding-top:20px;
	display:inline-block;
	margin: 0px auto;
	text-align:center;	
}

