@import url("https://fonts.googleapis.com/css2?family=BioRhyme:wght@200;400;700&family=IM+Fell+English+SC&family=Rancho&display=swap");
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "BioRhyme";
}
header {
	z-index: 0;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 200px;
	transition: 0.8s ease;
	background: rgb(118, 0, 253);
	border-bottom: 2px solid white;
}
header .brand {
	color: #000;
	font-size: 3rem;
	font-family: "Rancho";
	text-transform: none;
	text-decoration: none;
	margin-left: -100px;
}
header .navigation {
	position: relative;
	margin-right: -100px;
}
header .navigation .navigation-items a {
	position: relative;
	color: #000;
	font-weight: 700;
	font-size: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
	margin-left: 30px;
	transition: 1s ease;
}
header .navigation .navigation-items a:hover {
	border: 2px solid rgb(255, 255, 255);
	padding: 5px;
	color: #fff;
}
header .navigation .navigation-items a:before {
	content: "";
	position: absolute;
	background: rgb(255, 255, 255);
	width: 0;
	height: 3px;
	bottom: 0;
	left: 0;
	transition: 1s ease;
}
header .navigation .navigation-items a:hover:before {
	width: 100%;
	color: #fff;
}
.slider-navigation .nav-btn {
	width: 12px;
	height: 12px;
	background: #fff;
	border-radius: 50%;
	cursor: pointer;
	transition: 0.5s ease;
}
.slider-navigation .nav-btn.active {
	background: rgb(255, 0, 234);
}
.slider-navigation .nav-btn:not(:last-child) {
	margin-right: 40px;
}
.slider-navigation .nav-btn:hover {
	box-shadow: 0 0px 15px rgba(0, 255, 242, 1);
	transform: scale(2);
	transition: 0.5s ease;
}
.footer {
	background-color: #000;
	color: aqua;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	height: 8vh;
	bottom: 0;
	z-index: 0;
}
/*scritti*/
.container_scritti {
	width: 100%;
	height: 200vh;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: space-around;
	background-image: url(./sfondi/sfondo1.jpg);
	background-size: cover;
	background-position: center;
	gap: 20px;
}
.titolo_pagina {
	display: flex;
	position: absolute;
	top: 20%;
	align-items: center;
	justify-content: center;
	width: 25%;
	font-size: 2rem;
	text-transform: uppercase;
	background-color: rgba(139, 0, 139, 0.529);
	border: 4px solid rgb(152, 152, 152);
	box-shadow: inset 0 15px 35px rgb(0, 0, 0), inset 0px 0px 35px rgb(0, 0, 0), 0px 0px 35px rgb(0, 0, 0), 0 15px 35px rgb(0, 0, 0);
	color: #fff;
	border-radius: 20px;
}
.card {
	width: 30rem;
	cursor: pointer;
}
.content {
	text-align: center;
	position: relative;
	transition: all 2.25s;
	background-color: rgb(213, 2, 255);
	padding: 5em;
	transform-style: preserve-3d;
	border: 2px solid black;
	min-height: 10rem;
	height: 25rem;
	margin: 5rem 0rem;
}
.content_A {
	text-align: center;
	position: relative;
	transition: all 2.25s;
	background-color: rgb(213, 2, 255);
	padding: 5em;
	transform-style: preserve-3d;
	border: 2px solid black;
	height: 30rem;
	background-image: url(./sfondi/sfondo2.jpg);
	background-size: cover;
	background-position: center;
}
.content_B {
	text-align: center;
	position: relative;
	transition: all 2.25s;
	background-color: rgb(213, 2, 255);
	padding: 5em;
	transform-style: preserve-3d;
	border: 2px solid black;
	height: 30rem;
	background-image: url(./sfondi/Caustic.png);
	background-size: cover;
	background-position: center;
}
.content_C {
	text-align: center;
	position: relative;
	transition: all 2.25s;
	background-color: rgb(213, 2, 255);
	padding: 5em;
	transform-style: preserve-3d;
	border: 2px solid black;
	height: 30rem;
	background-image: url(./sfondi/magic1.png);
	background-size: cover;
	background-position: center;
}
.content_D {
	text-align: center;
	position: relative;
	transition: all 2.25s;
	background-color: rgb(213, 2, 255);
	padding: 5em;
	transform-style: preserve-3d;
	border: 2px solid black;
	height: 30rem;
	margin-top: 100px;
	background-image: url(./sfondi/test.png);
	background-size: cover;
	background-position: center;
}
.link {
	display: flex;
	justify-items: center;
	align-items: center;
	justify-content: center;
	width: 20rem;
	height: 10rem;
	margin: 30px 16%;
	background-color: rgb(81, 0, 255);
	color: #00ffff;
	font-size: 3rem;
	border: 3px solid black;
	border-radius: 15px;
}
.link a {
	color: #00ffff;
	text-decoration: none;
	background-color: rgb(131, 74, 255);
	padding: 3%;
	border: 3px solid black;
	border-radius: 15px;
}
.link:hover {
	background-color: rgb(131, 74, 255);
	transition: 1s ease-in-out;
}
.link:hover a {
	background-color: rgb(81, 0, 255);
	transition: 1s ease-in-out;
}
.sfondo {
	width: 110%;
	height: 85%;
	object-fit: cover;
	margin-left: -5%;
}
.back p {
	font-size: 0.5rem;
}
.content_D .back p {
	font-size: 0.4rem;
}
.back .description_C {
	font-size: 1.3rem;
	transform: translateZ(3rem);
}
.card:hover .content {
	transform: rotateY(0.5turn) scale(1.2);
}
.card:hover .content_A {
	transform: rotateY(0.5turn);
	transition: 2s ease-in-out;
	height: 58rem;
}
.card:hover .content_B {
	transform: rotateY(0.5turn);
	transition: 2s ease-in-out;
	height: 58rem;
}
.card:hover .content_C {
	transform: rotateY(0.5turn);
	transition: 2s ease-in-out;
}
.card:hover .content_D {
	transform: rotateY(0.5turn);
	transition: 2s ease-in-out;
	height: 65rem;
}
.card:hover .content_D .back p {
	transform: scale(2.1);
	transition: 1.8s ease-in-out;
}
.card:hover .back p {
	transform: scale(1.8);
	transition: 1.8s ease-in-out;
}
.front,
.back {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 2em;
	transform-style: preserve-3d;
	backface-visibility: hidden;
}
.title {
	transform: translateZ(5rem);
	font-size: 2rem;
	width: 50%;
}
.title_A {
	transform: translateZ(5rem);
	font-size: 1.8rem;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 60%;
}
.title_B {
	transform: translateZ(5rem);
	font-size: 1.8rem;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 60%;
}
.title_C {
	transform: translateZ(5rem);
	font-size: 1.8rem;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 60%;
}
.title_D {
	transform: translateZ(5rem);
	font-size: 1.8rem;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	width: 60%;
}
.subtitle {
	transform: translateZ(2rem);
}
.subtitle_A {
	transform: translateZ(2rem);
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.2rem;
	padding: 2%;
	width: 60%;
}
.subtitle_B {
	transform: translateZ(2rem);
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.2rem;
	padding: 2%;
	width: 60%;
}
.subtitle_C {
	transform: translateZ(2rem);
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.2rem;
	padding: 2%;
	width: 60%;
}
.subtitle_D {
	transform: translateZ(2rem);
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1rem;
	padding: 2%;
	width: 90%;
}
.back {
	transform: rotateY(0.5turn);
	background-color: #00ffff;
}
.description {
	transform: translateZ(3rem);
}
@media (max-width: 1500px) {
	.container_scritti {
		height: 270vh;
	}
}
@media (max-width: 1400px) {
	.container_scritti .titolo_pagina {
		margin-top: 10vh;
	}
}
@media (max-width: 1300px) {
	header {
		padding: 7px 100px;
	}
	header .brand {
		margin-left: -80px;
	}
	header .navigation-items {
		margin-right: 30px;
	}
	.home .content h1 {
		font-size: 3rem;
	}
	header .navigation {
		display: none;
	}
	header .navigation.active {
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 0;
		left: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 997;
	}
	header .navigation .navigation-items a {
		color: #fff;
		font-size: 1.5rem;
		margin: 20px;
		text-align: center;
	}
	header .navigation .navigation-items a:hover {
		color: rgb(255, 0, 234);
		font-size: 1.5rem;
		margin: 20px;
	}
	header .navigation.active .navigation-items {
		width: 600px;
		max-width: 600px;
		margin: 20px;
		padding: 40px;
		display: flex;
		flex-direction: column;
		background: #000;
		border-radius: 3rem;
		align-items: center;
		box-shadow: 0 5px 25px rgb(0, 255, 242);
		background-color: transparent;
		backdrop-filter: blur(10px);
	}
	.brand {
		padding: 1%;
		transform: translateX(4%);
	}
	.menu-btn {
		background: url(./icone/menu-icon1.png) no-repeat;
		background-size: 50px;
		background-position: center;
		width: 80px;
		height: 80px;
		cursor: pointer;
		transition: 0.8 ease;
		margin-right: -5%;
	}
	.menu-btn.active {
		background: url(./icone/X-Mark_2.png) no-repeat;
		background-size: 50px;
		background-position: center;
		transition: 0.8s ease;
		z-index: 999;
	}
	.container_scritti .titolo_pagina {
		font-size: 1.8rem;
	}
}
@media (max-width: 1100px) {
	.container_scritti .titolo_pagina {
		width: 35%;
	}
}
@media (max-width: 1000px) {
	.container_scritti {
		height: 400vh;
	}
}
@media (max-width: 850px) {
	.container_scritti .titolo_pagina {
		width: 40%;
	}
}
@media (max-width: 700px) {
	.container_scritti .titolo_pagina {
		width: 50%;
	}
}
@media (max-width: 500px) {
	.container_scritti .titolo_pagina {
		width: 80%;
	}
	.container_scritti .card {
		width: 90%;
	}
}
@media (max-width: 400px) {
	.container_scritti .link {
		width: 100%;
		margin: 0;
		margin-top: 50px;
		margin-left: 0%;
	}
}
