/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
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;
}
body {
    font-family: 'Iosevka Web', sans-serif;
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* let's fucking go */
html:focus-within {
    scroll-behavior: smooth;
}

html {
    font-size: 16px; /* Default root font size (browser default) */
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

header#hero { 
    position: relative;
    background: #000;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

header#hero #video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: 1;
}
header#hero video {
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
}
header#hero #video:after {
    content: '';
    display: block;
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

header#hero #title {
    position: relative;
    z-index: 3;
    color: #fff;
    margin; 0 auto;
}

header#hero #title h1 {
    display: block;
    padding: 2rem;
    text-align: center;
}

/* header#hero #title h1 .mobile { */
/*     display: block; */
/* } */
/* header#hero #title h1 .desktop { */
/*     display: none; */
/* } */

header#hero #title h1 img {
    display: inline-block;
    max-width: 100%;
}
header#hero #arrowdown {
    text-decoration: none;
    border: none!important;
    color: #fff;
    font-size: 5rem;
    display: block;
    position:absolute; bottom:3rem; right:3rem; z-index: 4;
    width: 2rem;
    animation-name: scrolldown;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-timeline: ;
}

main section .colfull {
    grid-column: 1 / -1; /* span all columns */
}

main section .cols {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
    z-index: 3;
}

main section.impact {
    position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
}
main section.aria {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
main section.aria:before, #fabbrica:before {
    content: '';
    display: block;
    background: rgba(0,0,0,0.5);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}
#fabbrica:before { background: rgba(0.0,0,0,0.8); }
main section.aria .cols {
    gap: 0;
    padding: 5rem 3rem;
}
main section .cols .col {padding: 0}
main section h2, main section h3 { /*word-break: break-all;*/ }
main section.aria h3 { line-height: 1.25; margin-bottom: 2rem }
main section h2 { font-size: 2rem; font-weight: 200 }
main section h3 { font-size: 2rem; font-weight: 400; line-height:3rem;letter-spacing: 0.05rem; }


main p { font-size:1.5rem;  line-height: 1.5; margin-bottom: 1rem;}
main p.txtright { text-align: right; }
main section p a { color: #222; text-decoration: none; font-weight: bold; border-bottom: 2px solid #222 }
main section p a svg { width: 1.5rem; vertical-align: middle; display: inline-block; color: #000; } 
main p a.button { background: #222; color: #fff; display: inline-block; padding: .5rem; text-decoration: none; font-weight: bold }
main p a.button svg { width: 1rem; vertical-align: middle; display: inline-block; color: #fff; } 
.icons { list-style: none; display: flex; flex-flow: row wrap; justify-content: space-around; }
.icons li { color: #fff; margin: 1rem; display: flex; 
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
 width:5rem }
.icons li img { display: block; width: 3rem; height: 3rem; padding: 1rem; color: #fff}
.icons li span { display: block; color: #fff; font-size: 1rem; font-style: italic; text-align: center; }

main section.impact .cols .col p { font-size: 1.5rem; }

main section#about {
    background: #00cdda url(../i/about.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 40vh;
}
main section#macchine {
    background: #00080e url(../i/macchine.jpg);
    background-size: cover;
    color: #fff;
    min-height: 40vh;
}
main section#fabbrica {
    background: #00080e url(../i/fabbrica.jpg);
    background-size: cover;
    color: #fff;
    min-height: 40vh;
}
main section#tecnologia {
    background: #00080e url(../i/tecnologia.jpg);
    background-size: cover;
    color: #fff;
    min-height: 40vh;
}


main article footer { padding: 2rem; text-align: center; background: #000; color:#666 }
main article footer p img { display: inline-block; width: 3rem; }
main article footer small { display: block; font-size: 1rem; }

/* Very small devices (portrait phones, less than 576px) */
@media (min-width: 400px) {
    html {
        /* Optionally adjust root font-size for small devices */
        /* Example: font-size: 17px; */
    }
    header#hero #title h1 {
        padding: 5rem;
    }
    main section h3 { font-size: 3rem }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    html {
        /* Optionally adjust root font-size for small devices */
        /* Example: font-size: 17px; */
    }
    header#hero #title h1 {
        padding: 2rem;
    }
    header#hero #title h1 .desktop {
        display: block;
    }
    /* header#hero #title h1 .mobile { */
    /*     display: none; */
    /* } */
}

/* Medium devices (tablets, 768px and up) */
/*@media (min-width: 768px) {
    html {
    }
}*/

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}


/* Accessibility best practices */

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
@keyframes scrolldown{0%{opacity:0;transform:translateY(-2.5rem)}50%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(2.5rem)}}
