:root {
	--nav-h: 60px;

	--font-size-paragrafo: 19px;
	--line-height-paragrafo: 1.4;

	--font-size-grande: 28.7px;
	--line-height-grande: 1.35;

	--font-size-paragrafo-mob: 18px;
	--line-height-paragrafo-mob: 1.4em;

	--font-size-uppercase: 22.5px;
	--line-height-uppercase: 1.4em;

	--font-size-small-mob: 14.4px;
	--line-height-small-mob: 1.4em;

	--font-size-small-mob-2: 14.4px;
	--line-height-small-mob-2: 1.4em;

	--font-size-grande-mob: 22.5px;
	--line-height-grande-mob: 1.4em;

	--font-size-h1: 43px;
	--line-height-h1: 1.4em;

	--font-size-h1-mob: 32.4px;
	--line-height-h1-mob: 1.2em;
}

* {
	box-sizing: border-box;
	list-style: none;
	margin: 0;
	cursor:none;
}

#cursor {
	position: fixed;
	top: 0;
	left: 0;

	width: 18px;
	height: 18px;

	border-radius: 50%;

	background: white;
	mix-blend-mode: difference;

	pointer-events: none;

	transform: translate(-50%, -50%);

	z-index: 99999;

	transition: width .18s ease, height .18s ease, background-color .18s ease;
}

#cursor.is-hover {
	width: 42px;
	height: 42px;
}

@media (hover: none) {
	body {
		cursor: auto;
	}

	#cursor {
		display: none;
	}
}

html,
body {
	margin: 0;
	min-height: 100%;
}

@font-face {
	font-family: 'Rossella';
	src: url('fonts/Rossella-Medium.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

body,
html,
h2,
h3,
h4,
::placeholder,
input,
button,
small,
span {
	font-family: 'Rossella', Arial, Helvetica, sans-serif;
	font-size: var(--font-size-paragrafo);
	line-height: var(--line-height-paragrafo);
	font-weight: normal;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: font-family 1s ease;
}

h1 {
	font-family: 'Rossella', Arial, Helvetica, sans-serif;
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	font-weight: normal;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: font-family 1s ease;
}
/* ANIMAZIONE */

.typewriter {
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}

.js .typewriter:not(.typewriter--started) {
  visibility: hidden;
}

.js .typewriter.typewriter--started {
  visibility: visible;
}

.typewriter-mobile{
	display: none;
}

.hero {
	min-height: calc(100dvh - var(--nav-h));
	display: grid;
	padding-top: 27px;
	text-align: center;
}

.hero h1 {
	margin: 0;
	font-size: clamp(4rem, 9.5vw, 12rem);

}

/* GIF */

#gif {
	width: 30%;
	height: fit-content;
	margin: 0 auto;
	align-self: start;
	transform: translateY(-40px);
}

#gif img {
	display: block;
	width: 100%;
	height: auto;
}

a {
	color: initial;
	text-decoration: none;
}

p {
	padding: 0;
	margin: 0;
}

body {
	overflow: hidden;
	font-family: 'Rossella';
	background: #fff;
	color: #111;
}

.folder-system {
    position: fixed;
    inset: 0;
    z-index: 50;

    display: grid;
    grid-template-rows: var(--nav-h) 1fr;

    transform: translateY(calc(100dvh - var(--nav-h)));
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.folder-system.is-open {
    transform: translateY(0);
}

.folders {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    height: var(--nav-h);
    font-size: var(--font-size-paragrafo);
}

.folder {
    position: relative;
    display: block;
    width: 100%;
    height: var(--nav-h);
    border: 0;
    padding: 0;
    background: transparent;
    font: inherit;
    font-weight: 600;
    line-height: normal;
    color: var(--color);
    text-decoration: none;
    cursor: pointer;
    overflow: visible;
}

.folder__shape {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: var(--nav-h);

    color: var(--color);
}

.folder__shape path {
    fill: currentColor;
}

.folder__label {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: var(--nav-h);

    color: #111;
    pointer-events: none;
}

.folder-sheet {
	height: calc(100dvh - var(--nav-h));
	background: var(--sheet-color, #cccccc);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 90px;
}

.folder-page__text {
	width: 80%;
	margin: 0 auto;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
	padding-bottom: 90px;
}


/* CONTATTI */

.two-column-container {
	justify-content: space-between;
	display: flex;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
	padding-bottom: 90px;
	gap: 30px;
}

.column {
	width: 50%;
	margin: 0;
}

.column p {
	margin: 0;
}

.column p + p {
	margin-top: 30px;
}


/* PRESS */

.two-press-container {
	width: 90%;
	min-height: 70vh;
	justify-content: space-between;
	display: flex;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
	padding-bottom: 90px;
	gap: 30px;
	margin: 0 auto;
}

.press-column {
	max-width: 650px;
	margin: 0;
}

.press-column p {
	margin: 0;
}

.press-column p + p {
	margin-top: 30px;
}


/* PROGETTI */

.works-container,
.related-works {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	justify-content: space-around;
}

.work {
	text-align: center;
	width: 100%;
}

.work img {
	width: 100%;
	height: auto;
	margin: 0;
}

.work-title {
	padding-top: 1vw;
	font-size: var(--font-size-paragrafo);
	line-height: var(--line-height-paragrafo);
	padding-bottom: 90px;
}

.title {
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	text-align: center;
	width: 70%;
	margin: 0 auto;
	padding-bottom: 90px;
}

.title h1 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.back-to {
	display: flex;
	justify-content: center;
	padding-bottom: 90px;
}

.back-to_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	text-align: center;
	background-color: black;
	color: white;
}


/* HOMEPAGE */

.related-works-container ul {
	padding: 0;
}

.related-works-container h3 {
	text-align: center;
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	padding-bottom: 90px;
	margin-top: 24px;
}


/* SERVIZI */

.related-services-container ul {
	padding: 0;
}

.services-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 100px 100px;
	padding-bottom: 90px;
}

.service-link {
	display: block;
	text-decoration: none;
}

.service-sheet-preview {
	position: relative;
	aspect-ratio: 210 / 297;
	background: #fff;
	padding: 48px 20px 20px 40px;
}

.service-title {
	margin: 0 auto;
	font-size: var(--font-size-uppercase);
	line-height: var(--line-height-uppercase);
	text-align: center;
	width: 75%;
}

.binder-holes {
	position: absolute;
	left: 32px;
	top: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.binder-holes span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--sheet-color, #ccc);
}


/* SERVIZI IN HOMEPAGE */

.related-services-container {
	display: block;
	padding-bottom: 90px;
}

.related-services-container h3 {
	text-align: center;
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	padding-bottom: 90px;
	margin-top: 24px;
}

.related-services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 100px 100px;
}


/* FOGLIO OVERLAY */

.service-overlay-sheet {
	position: relative;
	width: min(720px, calc(100vw - 80px));
	aspect-ratio: 210 / 297;
	margin: 0 auto;
	margin-top: 25px;
	background: white;
	padding: 70px 70px 70px 120px;
	overflow: hidden;
}

.service-overlay-sheet li{
	list-style-type: disc;
}

.service-overlay-sheet ul{
	padding-bottom: 25px;
}

.service-overlay-sheet a{
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 2.5px;
}

.service-overlay-header h1 {
	margin: 0;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
	padding-bottom: 50px;
}

.service-overlay-content {
	height: 100%;
	overflow: hidden;
	font-size: var(--font-size-paragrafo);
	line-height: var(--line-height-paragrafo);
}

.service-overlay-content p + p {
	margin-top: 25px;
}



/* SFONDO OVERLAY */

.service-overlay {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	overflow-y: auto;
	padding: 90px 0;
}

.service-overlay.is-open {
	display: block;
}

.service-overlay__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
}

.service-overlay__inner {
	position: relative;
	z-index: 2;
	width: min(720px, calc(100vw - 80px));
	margin: 0 auto;
}

.service-overlay__close {
	position: fixed;
	left: 50%;
	top: 24px;
	transform: translateX(-50%);
	width: 72px;
	height: 62px;
	border: none;
	border-radius: 999px;
	background: #111;
	color: #fff;
	cursor: pointer;
	z-index: 999;
}


/* BLOCKS */

figure {
	margin: 0;
}

.central_image {
	width: 25em;
	height: auto;
	margin: 0 auto;
	padding-bottom: 90px;
}

.central_image img {
	width: 100%;
	height: auto;
}

.double_images {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
	width: 55%;
	margin: 0 auto;
	padding-bottom: 90px;
}

.double_images img {
	display: block;
	width: 100%;
	height: auto;
}

.paragraph-title {
	text-align: center;
	margin: 0;
}

.paragraph {
	margin: 0 auto;
	width: 34em;
	padding-bottom: 90px;
}

.container-attrezzi {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 8vw;
	row-gap: 120px;
	align-items: end;
	padding-bottom: 90px;
}

.attrezzo {
	display: contents;
}

.attrezzo figure {
	margin: 0;
	text-align: center;
}

.attrezzo img {
	width: 100%;
	max-height: 320px;
	object-fit: contain;
	display: block;
}

.attrezzo figcaption {
	margin-top: 40px;
	font-size: var(--font-size-paragrafo);
}

.whatsapp img {
	margin: 0 auto;
	display: flex;
	width: 20%;
	margin-top: 40px;
	padding-bottom: 90px;
}

.whatsapp p {
	width: 50%;
	margin: 0 auto;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
}

.big_paragraph{
	width: 100%;
	margin: 0 auto;
	text-align: center;
	font-size: var(--font-size-grande);
	line-height: var(--line-height-grande);
	padding-bottom: 90px;
}

.big_paragraph a{
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 3.5px;
}

/* FOOTER */

.page-footer{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    text-align: center;
	margin-top: 50px;
}

.footer-column{
    width: 100%;
}

/* TABLET */


@media (max-width: 1200px) {

	:root {
		--nav-h: 50px;
	}

	#gif {
		width: 50%;
		height: fit-content;
		margin: 0 auto;
		align-self: start;
		transform: translateY(-30px);
	}

	#gif img {
		display: block;
		width: 100%;
		height: auto;
	}

}


/* MOBILE	 */

@media (max-width: 768px) {

	:root {
		--nav-h: 50px;
		--padding-items: 52.5px;
	}

	body,
	html,
	h2,
	h3,
	h4,
	::placeholder,
	input,
	button,
	small,
	span {
		font-family: 'Rossella', Arial, Helvetica, sans-serif;
		font-size: var(--font-size-paragrafo-mob);
		line-height: var(--line-height-paragrafo-mob);
		font-weight: normal;
		font-style: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		transition: font-family 1s ease;
	}
	
			/* ANIMAZIONE */

	.typewriter {
		display: inline-block;
		white-space: nowrap;
		margin: 0;
		display: none !important;
		}

	.js .typewriter:not(.typewriter--started) {
		visibility: hidden;
		}

	.js .typewriter.typewriter--started {
		visibility: visible;
		}
	.typewriter-mobile{
			display: block;
		}

	.hero {
		min-height: calc(100dvh - var(--nav-h));
		display: grid;
		padding: 30px 20px 0 20px;
		text-align: center;
	}

	.hero h1 {
		margin: 0;
		font-size: 55px !important;
		letter-spacing: -0.01em;
	}

	/* GIF */

	#gif {
		width: 75%;
		height: fit-content;
		margin: 0 auto;
		align-self: start;
	}

	#gif img {
		display: block;
		width: 100%;
		height: auto;
	}


	h1 {
		font-family: 'Rossella', Arial, Helvetica, sans-serif;
		font-size: var(--font-size-h1-mob);
		line-height: var(--line-height-h1-mob);
		font-weight: normal;
		font-style: normal;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		transition: font-family 1s ease;
	}

	.folders {
		display: flex;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0;
		scrollbar-width: none;
		-ms-overflow-style: none;
		scroll-snap-type: x proximity;
	}

	.folders::-webkit-scrollbar {
		display: none;
	}

	.folder {
		flex: 0 0 42vw;
		height: var(--nav-h);
		scroll-snap-align: start;
	}

	.hero h1 {
		margin: 0;
		font-size: 50px;
		letter-spacing: -0.01em;
	}

	.folder-sheet {
		height: calc(100dvh - var(--nav-h));
		background: var(--sheet-color, #cccccc);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 35px;
	}

	.folder-page__text {
		width: 100%;
		margin: 0 auto;
		text-align: center;
		padding-bottom: 35px;
		font-size: var(--font-size-paragrafo-mob);
		line-height: var(--line-height-paragrafo-mob);
	}


	/* CONTATTI */

	.two-column-container {
		display: block;
		text-align: center;
		font-size: var(--font-size-grande-mob);
		line-height: var(--line-height-grande-mob);
		padding-bottom: var(--padding-items);
	}

	.two-column-container .column:first-child{
		padding-bottom: 30px;
	}

	.column {
		width: 100%;
		margin: 0;
	}

	.column p {
		margin: 0;
	}

	.column p + p {
		margin-top: 30px;
	}


	/* PRESS */

	.two-press-container {
		display: block;
		text-align: center;
		font-size: var(--font-size-grande-mob);
		line-height: var(--line-height-grande-mob);
		padding-bottom: var(--padding-items);
	}

	.two-press-container .press-column:first-child{
		padding-bottom: 30px;
	}

	.press-column {
		width: 100%;
		margin: 0;
	}

	.press-column p {
		margin: 0;
	}

	.press-column p + p {
		margin-top: 30px;
	}

	.back-to {
		display: flex;
		justify-content: center;
		font-size: var(--font-size-small-mob);
		line-height: var(--line-height-small-mob);
		padding-bottom: var(--padding-items);
	}

	.back-to_button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 14px 24px;
		border-radius: 999px;
		text-decoration: none;
		cursor: pointer;
		text-align: center;
		background-color: black;
		color: white;
	}

	.whatsapp img {
		width: 60%;
		margin-top: 20px;
		padding-bottom: var(--padding-items);
	}

	.whatsapp p {
		width: 90%;
		font-size: var(--font-size-paragrafo-mob);
		line-height: var(--line-height-paragrafo-mob);
	}


	/* HOMEPAGE */

	.related-works-container h3 {
		text-align: center;
		font-size: var(--font-size-h1-mob);
		line-height: var(--line-height-h1-mob);
		padding-bottom: var(--padding-items);
	}


	/* SERVIZI */

	.services-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 52.5px 12px;
		padding-bottom: var(--padding-items);
	}

	.service-sheet-preview {
		position: relative;
		aspect-ratio: 210 / 297;
		background: #fff;
		padding: 24px 10px 10px 20px;
	}

	.services-container > .service:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - 12px) / 2);
	}

	.service-title {
		margin: 0 auto;
		font-size: var(--font-size-small-mob-2);
		line-height: var(--line-height-small-mob-2);
		text-align: center;
		width: 80%;
	}

	.binder-holes {
		position: absolute;
		left: 15px;
		top: 0;
		bottom: 0;
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
	}

	.binder-holes span {
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background: var(--sheet-color, #ccc);
	}


	/* FOGLIO OVERLAY MOBILE */

	.service-overlay {
		display: none;
		align-items: center;
		justify-content: center;
		padding: 20px;
		overflow-y: auto;
	}

	.service-overlay.is-open {
		display: flex;
	}

	.service-overlay__inner {
		width: min(390px, calc(100vw - 40px));
		display: flex;
		justify-content: center;
	}

	.service-overlay-sheet {
		width: 100%;
		aspect-ratio: 210 / 297;
		padding: 24px 20px 24px 38px;
		overflow: hidden;
		margin: 0;
	}

	.service-overlay-sheet a{
		text-decoration: underline;
		text-underline-offset: 4px;
		text-decoration-thickness: 2px;
	}

	.service-overlay__close {
		top: 16px;
		width: 62px;
		height: 54px;
	}

	.service-overlay-header h1 {
		margin: 0;
		font-size: var(--font-size-grande-mob) !important;
		line-height: var(--line-height-grande-mob);
		text-align: center;
		padding-bottom: 20px;
	}

	.service-overlay-content {
		height: 100%;
		overflow: hidden;
		font-size: var(--font-size-small-mob) !important;
		line-height: var(--line-height-small-mob);
	}

	.service-overlay-content {
	height: 100%;
	overflow: hidden;
	font-size: var(--font-size-paragrafo);
	line-height: var(--line-height-paragrafo);
	}

	.service-overlay-content p + p {
		margin-top: 15px;
	}

	/* SERVIZI IN HOMEPAGE */

	.related-services-container {
		display: block;
		padding-bottom: var(--padding-items);
	}

	.related-services-container h3 {
		text-align: center;
		font-size: var(--font-size-h1-mob);
		line-height: var(--line-height-h1-mob);
		padding-bottom: var(--padding-items);
	}

	.related-services {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 52.5px 12px;
		margin: 0 auto;
	}

	.related-services > .service:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc((100% - 12px) / 2);
	}



	/* BLOCKS */

	figure {
		margin: 0;
	}

	.central_image {
		width: 80% !important;
		height: auto;
		margin: 0 auto;
		padding-bottom: var(--padding-items);
	}

	.central_image img {
		width: 100%;
		height: auto;
	}

	.double_images {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 45px;
		width: 80% !important;
		margin: 0 auto;
		padding-bottom: var(--padding-items);
	}

	.double_images img {
		display: block;
		width: 100%;
		height: auto;
	}

	.paragraph-title {
		text-align: center;
		margin: 0;
	}

	.paragraph {
		margin: 0 auto;
		width: 100% !important;
		padding-bottom: var(--padding-items);
		hyphens: auto !important;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		word-break: break-word;
		-ms-word-break: break-all;
		word-wrap: break-word;
		hyphenate-limit-chars: 6 4 4 !important;
	}

	.container-attrezzi {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		align-items: end;
		padding-bottom: var(--padding-items);
	}
	
	.attrezzo figcaption {
		margin-top: 40px;
		font-size: var(--font-size-small-mob);
	}

	.big_paragraph {
		width: 100%;
		margin: 0 auto;
		padding-bottom: var(--padding-items);
		text-align: center;
		font-size: var(--font-size-paragrafo-mob);
		line-height: var(--line-height-paragrafo-mob);
	}

	.big_paragraph a{
		text-decoration: underline;
		text-underline-offset: 2.5px;
		text-decoration-thickness: 1.75px;
	}

	/* PROGETTI E PROGETTI CORRELATI */

	.works-container,
	.related-works {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 0;
		justify-content: space-around;
	}

	.works-container .work:last-child .work-title,
	.related-works .work:last-child .work-title {
		padding-bottom: var(--padding-items);
	}

	.work-title {
		padding-top: 3vw;
		font-size: var(--font-size-small-mob);
		line-height: var(--line-height-small-mob);
		padding-bottom: 35px;
	}

	.title {
		padding-top: 17.5px;
		font-size: var(--font-size-h1-mob);
		line-height: var(--line-height-h1-mob);
		text-align: center;
		width: 100%;
		margin: 0 auto;
		padding-bottom: var(--padding-items);
	}

	/* FOOTER */

	.page-footer{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		gap: 30px;
		text-align: center;
		margin-top: 26.25px;
		padding-bottom: 26.25px;
	}

	.footer-column{
		width: 100%;
	}
}