* {
  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
      box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
      box-sizing: border-box;
}

dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, cite, code, em, img, q, small, strike, strong, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
	margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline;
}

input:focus, textarea:focus, select:focus{
	outline: none;
}

input::-moz-focus-inner { 
  border: 0; 
}
a {outline:none; word-wrap:break-word;}
a:hover, a:active, a:focus {outline:none;}
img {border: 0; vertical-align:bottom;}
table {margin:0; padding:0; border:0; border-collapse:collapse;}
table td {vertical-align:middle;}
/* table td {padding-bottom:4px;} */

/* blurry images chrome edge */
img {image-rendering: -webkit-optimize-contrast;}
/* image map safari ? */
area {outline:none !important;}


html, body {
    height: 100%;
}





/*
@font-face {
    font-family: 'Figtree_light';
    src: url('font/Figtree-Light.woff2') format('woff2'),
        url('font/Figtree-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree_lightItalic';
    src: url('font/Figtree-LightItalic.woff2') format('woff2'),
        url('font/Figtree-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
*/
@font-face {
    font-family: 'Figtree_regular';
    src: url('font/Figtree-Regular.woff2') format('woff2'),
        url('font/Figtree-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/*
@font-face {
    font-family: 'Figtree_italic';
    src: url('font/Figtree-Italic.woff2') format('woff2'),
        url('font/Figtree-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree_medium';
    src: url('font/Figtree-Medium.woff2') format('woff2'),
        url('font/Figtree-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree_mediumItalic';
    src: url('font/Figtree-MediumItalic.woff2') format('woff2'),
        url('font/Figtree-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
*/
@font-face {
    font-family: 'Figtree_semibold';
    src: url('font/Figtree-SemiBold.woff2') format('woff2'),
        url('font/Figtree-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
/*
@font-face {
    font-family: 'Figtree_semiboldItalic';
    src: url('font/Figtree-SemiBoldItalic.woff2') format('woff2'),
        url('font/Figtree-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}
*/
@font-face {
    font-family: 'Figtree_bold';
    src: url('font/Figtree-Bold.woff2') format('woff2'),
        url('font/Figtree-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/*
@font-face {
    font-family: 'Figtree_boldItalic';
    src: url('font/Figtree-BoldItalic.woff2') format('woff2'),
        url('font/Figtree-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}
*/






/* SCENA */
.scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        to top,
        #fff5c4 0%,
        #fdfbef 50%
    );
    overflow: hidden;
}


/* CONTENITORE BOLLE */
.bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

/* BOLLA */
/*
.bubble {
    position: absolute;
    bottom: -40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1px solid #999;
    box-shadow:
        inset 0 0 4px rgba(255,255,255,0.8),
        0 0 2px rgba(0,0,0,0.05);
    animation: rise linear infinite;
}
*/
.bubble {
	transform: translateZ(0);
	
    position: absolute;
    bottom: -40px;
    border-radius: 50%;

    /* highlight più marcato */
    background:
        radial-gradient(
            circle at 28% 28%,
            rgba(255,255,255,1),
            rgba(255,255,255,0.75) 22%,
            rgba(255,255,255,0.4) 40%,
            rgba(255,255,255,0.15) 60%,
            rgba(255,255,255,0) 75%
        );

    /* bordo più leggibile */
    border: 1px solid #bbb;

    /* ombre più contrastate */
	/*
    box-shadow:
        inset -3px -3px 6px rgba(255,255,255,0.9),
        inset 3px 3px 8px rgba(0,0,0,0.12),
        0 2px 4px rgba(0,0,0,0.12);
*/
    /* effetto vetro */
    backdrop-filter: blur(0.6px);

    animation: rise linear forwards;
	
	will-change: transform, opacity;
}





/* ANIMAZIONE */
/*
@keyframes rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    100% {
        transform: translateY(-120vh) translateX(var(--drift));
        opacity: 0;
    }
}
*/

@keyframes rise {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate3d(var(--drift), -1400px, 0);
        opacity: 0;
    }
}



/* layout principale */

.page {
    position: relative;
    z-index: 2;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

/* centro */
.center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
}

/* logo */
.logo {
    max-width: 73%;
    width: 500px;
    height: auto;
}

/* testo sotto */
.subtitle {
    margin-top: 50px;
    font-size: 25px;
	font-family: 'Figtree_bold';
	color: #005d2a;
	line-height: 1.4;
}

/* footer */
.footer {
    text-align: center;
    padding: 25px 0 25px 0;
    font-size: 1em;
	font-family: Arial;
	color: #555;
}

.footer a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) 
{
    .logo {
        width: 400px;
    }

    .subtitle {
        font-size: 19px;
		letter-spacing: -0.01em;
    }
}


@media (max-width: 490px) 
{
    .subtitle {
        font-size: 17px;
		letter-spacing: -0.02em;
    }
}



