/* GENERALI */
html {
	padding: 0;
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
	background-color: rgb(0, 20, 50);
	margin: 0;
	padding: 0;
}

/* ICONE FONT AWESOME */
i {
	min-width: 30px;
	color: rgba(255, 255, 255, 0.3);
}

/* TABELLA CONTATTI */
table {
	font-size: 30px;
	th {
		color: rgba(255, 255, 255, 0.3);
		padding: 20px 40px 20px 0;
		text-align: left;
		font-weight: normal;
		a {
			text-decoration: none;
			color: rgb(100,100,255);
		}
		a:hover {
			color: rgb(200, 255, 0);
		}
		i {
			color: rgb(60, 60, 150);
		}
	}
}

/* CONTATTI (SOLO PER VERSIONE MOBILE) */
.container2>.contattiMobile {
	display: none;
}

/* DIVISORIO HOME PAGE */
.banner {
	position: relative;
	height: 180px;
	width: 100%;
	overflow: hidden;
}

/* .banner>section>img {
	width: 100%;
	opacity: 0.5;
}

.banner>p {
	position: absolute;
	margin: 20px;
	bottom: 10px;
} */

/* TESTI */
h1 {
	margin: 1.5vh 0 0 5vh;
	width: fit-content;
	height: fit-content;
	font-size: 30px;
	font-weight: normal;
	color: rgb(255,255,255);
}

h2{
	font-size: 50px;
	color: rgb(255,255,255);
	margin-bottom: 20px;
}

h3 {
	margin-bottom: 0;
	font-size: 30px;
	font-weight: normal;
	color: rgb(255,255,255);
}

p {
	font-size: 30px;
	color: rgba(255, 255, 255, 0.3);
	margin-top: 10px;
	margin-bottom: 20px;
}

pre {
	width: fit-content;
	padding: 5px 10px 5px 10px;
	background-color: rgb(0, 20, 50);
	border-radius: 15px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: rgba(255, 255, 255, 0.6);
}

.p2 {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.6);
	margin: 15px 0 15px 0;
}

ul {
	font-size: 30px;
	list-style:square;
	color: rgba(255, 255, 255, 0.3);
	margin-top: 10px;
	margin-bottom: 20px;
}

hr {
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* select {
	border: none;
	font-size: 18px;
	color: rgb(255, 255, 255);
	background-color: rgb(60, 60, 150);
	border-radius: 20px;
	padding: 10px;
	margin: 1.5vh 10vh 0 10vh;
	cursor: pointer;
}

	select:hover {
		color: rgb(60, 60, 150);
		background-color: rgb(200, 255, 0);
	} */

/* FILTRI HOME PAGE */
.filter {
	border: none;
	font-size: 18px;
	color: rgb(255, 255, 255);
	background-color: rgb(60, 60, 150);
	border-radius: 20px;
	padding: 10px;
	margin: 0 10px 20px 10px;
	cursor: pointer;
}

	.filter:hover {
		color: rgb(60, 60, 150);
		background-color: rgb(200, 255, 0);
	}

	.filter:focus {
		color: rgb(60, 60, 150);
		background-color: rgb(200, 255, 0);
	}

.hidden {
	display: none;
}

/* CONTENUTO PAGINE */
.container {
	min-height: 80vh;
	padding: 20px;
	margin-top: 100px;
	position: relative;
	display: block;
}

	.container>p>a {
		text-decoration: none;
		color: rgb(100,100,255);
		margin: 15px 0 15px 0;
	}

	.container>p>a:hover {
		color: rgb(200, 255, 0);
	}

.container2 {
	min-height: 80vh;
	padding: 20px;
	margin-top: 200px;
	position: relative;
	display: block;
}
	.container2>div {
		display: flex;
		pre {
			margin-top: 0;
			margin-right: 10px;
		}
	}

	.container2>a {
		font-size: 30px;
		text-decoration: none;
		color: rgb(100,100,255);
		margin: 15px 0 15px 0;
	}

	.container2>a:hover {
		color: rgb(200, 255, 0);
	}

	.container2>p>a:hover {
		color: rgb(200, 255, 0);
	}

	.container2>p>i {
		color: rgb(60, 60, 150);
	}

	.container2>a.button {
		border: none;
		font-size: 18px;
		color: rgb(255, 255, 255);
		background-color: rgb(60, 60, 150);
		border-radius: 20px;
		padding: 10px;
		margin: 0 10px 20px 0;
		cursor: pointer;
	}

	.container2>a.button:hover {
		background-color: rgb(200, 255, 0);
		color: rgb(60, 60, 150);
	}

	img {
		max-height: 400px;
		margin: 10px 10px 0px 0px;
	}

	.imgGrandi {
		max-height: 700px;
		margin: 10px 10px 0px 0px;
	}

	.container2>p>a {
		color: rgb(100,100,255);
		text-decoration: none;
		margin: 15px 0 15px 0;
	}

/* HEADER */
header {
	background-image: linear-gradient(180deg, rgb(0, 20, 50),rgba(0, 20, 50, 0));
	top: 0;
	padding: 20px;
	width: 100%;
	position: fixed;
}

	header>section {
		display: flex;
	}

	header>section>section {
		margin-top: 50px;
	}

	header>section>div {
		display: flex;
	}

	.pulsantiHeader {
		width: 70%;
		justify-content: end;
	}

		header>section>div>h1 {
			margin: 15px 0 0 40px;
		}

		header>section>div>p {
			margin: 15px 0 0 0;
		}

		header>section>div>a {
			text-decoration: none;
		}

			header>section>div>p>a {
				right: 0;
				font-size: 30px;
				text-decoration: none;
				margin: 0 0 0 20vh;
				color: rgb(255, 255, 255);
			}

			header>section>div>p>a:hover {
				color: rgb(200,255,0);
			}

			header>section>div>a>img {
				max-width: 60px;
				margin: 0 0 0 0;
			}

			header>section>div>img:hover {
				max-width: 70px;
			}

/* FOOTER */
footer {
	background-color: rgb(0, 10, 35);
	margin-top: 50px;
	padding: 20px;
	display: flex;
}

	footer>section {
		width: 45%;
		justify-content: end;
	}

		footer>div>p {
			font-size: 20px;
		}

		footer>section>div>p {
			color: rgba(255, 255, 255, 0.3);
			text-decoration: none;
			font-size: 20px;
		}

			footer>section>div>p>a {
				color: rgb(60,60,150);
				text-decoration: none;
			}

			footer>section>div>p>a:hover {
				color: rgb(100,100,255);
				i {
					color: rgb(255, 255, 255);
				}
			}

/* PULSANTE DROPDOWN (SOLO PER VERSIONE MOBILE)*/
.menuPulsante {
	display: none;
	right: 20px;
	background: none;
	border: none;
	width: fit-content;
	height: fit-content;
	position: fixed;
}

	.menuPulsante>p {
		margin-top: 10px;
		margin-bottom: 10px;
		height: 4px;
		width: 40px;
		background-color: rgb(255,255,255);
	}

/* MENU DROPDOWN (SOLO PER VERSIONE MOBILE)*/
.menuVoci {
	background-color: rgb(100,100,255);
	right: 0;
	top: 0;
	height: 100%;
	padding: 50px;
	width: fit-content;
	position: fixed;
	display: none;
}

		.menuVoci>button>p {
			margin-top: 10px;
			margin-bottom: 10px;
			height: 4px;
			width: 40px;
			transform:rotate(45deg);
			background-color: rgb(255,255,255);
		}

	.menuVoci>a {
		color: rgb(255,255,255);
		font-size: 30px;
		font-display: block;
		text-decoration: none;
	}

/* CARDS HOME PAGE */
.projects {
	display:flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 100%;
}

.project {
	border: 1px solid rgb(255, 255, 255);
	height: 500px;
	text-decoration: none;
	flex: 1;
	min-width: 380px;
	max-width: 600px;
	position: relative;
	div {
		width: calc(100% - 32px);
		object-fit: cover;
		display: none;
		position: absolute;
		padding: 2px 16px;
		div {
			padding: 0;
		}
		h3 {
			color: rgb(200, 255, 0);
		}
		p {
			color: rgb(255, 255, 255);
		}
	}
	img {
		position: absolute;
		margin: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		max-height: none;
		object-fit: cover;
	}
}
.project:hover {
	img {
		filter: blur(2px) opacity(0.2) grayscale();
	}
	div {
		display: block;
		div {
			display: flex;
			pre {
				margin-right: 10px;
			}
		}
	}
}

/* VIDEO INCORPORATI */
video {
	margin: 20px 20px 0 0;
	flex: 1;
	width: 600px;
}

/* VIDEO YOUTUBE */
iframe {
	border: 2px solid rgba(255, 255, 255, 0.3);
	/* border-radius: 10px; */
	margin: 20px 20px 0 0;
	flex: 1;
	width: 100%;
	height: 450px;
	min-width: 400px;
	max-width: 800px;
}

/* RITRATTO CHI SONO */
.ritratto {
	position: absolute;
	top: 0;
	right: 40px;
	background-color: rgb(0, 20, 50);
	border: 2px solid rgba(255, 255, 255, 0.3);
	width: 600px;
	max-height: 800px;
}

/* RESPONSIVE --> VERSIONE TABLET */
@media only screen and (max-width: 1320px) {
	.ritratto {
		position: relative;
		max-width: 100%;
		left: 0;
		margin: 20px 20px 20px 0;
	}
}

/* RESPONSIVE --> VERSIONE MOBILE */
@media only screen and (max-width: 600px) {

	header>div>a>h1 {
		font-size: 20px;
		margin: 20px 0 0 20px;
	}

	footer {
		display: none;
	}

	h2 {
		font-size: 30px;
	}

	table {
		display: none;
		th {
			font-size: 18px;
			padding: 10px 10px 0 0;
		}
	}

	div>p>a {
		color: rgb(100, 100, 255);
		text-decoration: none;
	}
	div>p>a:hover {
		color: rgb(200, 255, 0);
	}

	.menuPulsante {
		display: block;
	}

	.pulsantiHeader {
		display: none;
	}

	.menuVoci {
		width: 100%;
		left: 0;
		background-color: rgb(0, 20, 50);
	}

	.banner {
		height: 200px;
	}

	.banner>section {
		display: none;
	}

	.banner>div {
		display: none;
	}

	.container2>div {
		display: grid;
	}

	.container2>.contattiMobile {
		display: grid;
	}

	.container2>img {
		max-width:100%;
	}

	.container2>a {
		font-size: 20px;
	}

	.filter {
		display: none;
	}

	.show {
		display: block;
	}

	.projects {
		display:grid;
	}

	.project {
		min-width: 0;
		height: 400px;
	}

	.project>img {
		max-height: 100%;
		max-width: 100%;
	}

	.videos {
		display: grid;
	}

	iframe {
		height: fit-content;
		min-width: 0;
		width: 100%;
	}

	video {
		height: fit-content;
		min-width: 0;
		width: 100%;
	}

	.column {
		float: left;
		width: 50px;
		padding: 0 5px 5px 0;
	}

	embed {
		width: 100%;
	}
}