/*
Theme Name: chondrogrid
Author: L'aziendina Creativa
Version: 1.0
Text Domain: chondrogrid
*/



:root {
	--blu1: #005795;
	--blu2: #093165;
}

:focus {
	background: inherit !important;
	border-radius: 0 !important;
    outline: 2px dotted #000 !important;
}
@media (prefers-reduced-motion: no-preference) {
	:focus {
	transition: outline-offset .25s ease;
	outline-offset: 3px;
	background-color: inherit !important;
	color: inherit !important;
	}
}

body {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 2rem;
	line-height: 3rem;
}


#masthead {
	background: #333;
	text-align: center;
	padding: 10px 20px;
}
#masthead img {
	margin: 0 auto;
}



h1 {
	font-weight: 400;
	letter-spacing: 0.2rem;
	font-size: 6rem;
	line-height: 8rem;
}

h2 {
	font-weight: 600;
	letter-spacing: 0.2rem;
	font-size: 2.8rem;
	line-height: 3.2rem;
	color: var(--blu1);
	text-transform: uppercase;
}

h3 {
	font-weight: 600;
	letter-spacing: 0.2rem;
	font-size: 2.8rem;
	line-height: 3.2rem;
	color: var(--blu1);
	text-transform: uppercase;
	margin: 20px 0 0;
}






#colophon {
	background: var(--blu2);
	color: #fff;
	text-align: center;
	padding: 50px 20px;
}
#colophon img {
	margin: 0 auto;
}
.payoff {
	font-size: 1rem;
	line-height: 1rem;
	margin: 5px 0;
}
address {
	font-style: normal;
	margin: 30px 0 40px;
	font-size: 1.5rem;
}
.small {
	color: #1e81a3;
	font-size: 1.5rem;
}
.small a {
	color: #1e81a3;
}
.small a:hover {
	color: #fff;
}


.sec-home {
	min-height: calc(100vh - 54px);
	display: flex;
	flex-direction: column;
	color: #fff;
	text-transform: uppercase;
	align-items: center;
	justify-content: center;
	padding: 30px 20px;
	box-sizing: border-box;
}
.content-home {
	position: relative;
	z-index: 1;
}
.content-home p {
	font-size: 3.4rem;
	letter-spacing: 0.30rem;
}

.prods-home {
	display: flex;
	max-width: 970px;
	margin-top: -100px
}
.prods-home img {
	transform: scale(1.1);
}
.prods-home p {
	position: relative;
	text-align: center;
	font-size: 3.4rem;
	line-height: 5rem;
	margin-top: -120px;
	letter-spacing: 0.2rem;
}



.sec-intro {
	padding: 50px 0;
}

.si-img {
	max-width: 500px;
	margin: 0 auto;
}



.lista-icone {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
}

.lista-icone__item {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.lista-icone__item .lista-icone__title {
	font-weight: 700;
	letter-spacing: 0.2rem;
	font-size: 2.8rem;
	line-height: 3.2rem;
	color: var(--blu1);
	text-transform: uppercase;
	margin: 15px 0;
}
.lista-icone .lista-icone__item:first-child .lista-icone__text {
	max-width: 310px;
}



.sec-comp {
	background: #f2f2f2;
	padding: 40px 0;
}
.sec-comp {
	background: #f2f2f2;
	padding: 40px 0;
}
.sec-comp .biggerTit h2 {
	font-size: 5.3rem;
	line-height: 7.3rem;
	font-weight: 300;
	letter-spacing: 0;
}



.comparazione {
	text-align: center;
}

.comparazione__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 130px;
	justify-items: center;
	align-items: start;
	max-width: 580px;
	margin: 30px auto;
}
.comparazione__img {
	max-width: 200px;
}



.sec-blu {
	background: var(--blu1);
	color: #fff;
	padding: 40px 0;
}
.sec-blu h2 {
	color: #fff;
}
.sec-blu .biggerTit h2 {
	font-size: 4rem;
	line-height: 4.2rem;
	letter-spacing: 0;
}


.sec-chiusa {
	padding: 20px 0;
}
.chiusura {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	justify-items: center;
	align-items: start;
	max-width: 840px;
	margin: 30px auto;
}
.chiusura h2 {
	font-size: 3.6rem;
	line-height: 5rem;
	color: var(--blu2);
	letter-spacing: 0;
}

.btn {
	background: var(--blu1);
	font-weight: 400;
	font-size: 2.2rem;
	min-width: 305px;
	padding: 15px 20px;
}
.btn:hover,
.btn:focus {
	background: var(--blu2);
}

.chiusura__img {
	max-width: 150px;
}






@media (max-width: 768px) {

	/* ===== TYPO ===== */
	body {
		font-size: 1.6rem;
		line-height: 2.4rem;
	}

	h1 {
		font-size: 3.6rem;
		line-height: 4.4rem;
		letter-spacing: 0.1rem;
	}

	h2,
	h3 {
		font-size: 2.2rem;
		line-height: 2.8rem;
		letter-spacing: 0.1rem;
	}
	.sec-comp .biggerTit h2 {
		font-size: 2em;
		line-height: 3.8rem;
	}

	/* ===== HOME ===== */
	.sec-home {
		min-height: auto;
		padding: 10px 20px 30px;
	}

	.content-home p {
		font-size: 2.2rem;
		line-height: 3rem;
		letter-spacing: 0.2rem;
	}
	
	.si-img {
		max-width: 100%;
		margin-bottom: 30px;
	}

	.prods-home {
		flex-direction: column;
		margin-top: 30px;
		gap: 40px;
	}

	.prods-home img {
		max-width: 240px;
    	margin: -60px auto;
	}

	.prods-home p {
		margin-top: 10px;
		font-size: 2.4rem;
		line-height: 3.2rem;
	}

	/* ===== LISTA ICONE ===== */
	.lista-icone {
		flex-direction: column;
		gap: 40px;
	}

	.lista-icone__item {
		max-width: 100%;
	}

	/* ===== COMPARAZIONE ===== */
	.comparazione__grid {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.comparazione__img {
		max-width: 180px;
	}
	
	.comparazione__item--no {
		transform: translateX(-13px);
	}
	.comparazione__item--yes {
		transform: translateX(16px) scale(1.04);
		margin-bottom: 30px;
	}
	
	.comparazione2 .comparazione__item--no {
		transform: translateX(-33px);
	}
	.comparazione2 .comparazione__item--yes {
		transform: translateX(33px);
		margin-bottom: 30px;
	}

	/* ===== SEZIONE BLU ===== */
	.sec-blu {
		padding: 30px 20px;
	}

	.sec-blu .biggerTit h2 {
		font-size: 2.8rem;
		line-height: 3.4rem;
	}

	/* ===== CHIUSURA ===== */
	.chiusura {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.chiusura h2 {
		font-size: 2.6rem;
		line-height: 3.4rem;
	}

	.chiusura__img {
		max-width: 120px;
	}

	/* ===== BOTTONI ===== */
	.btn {
		min-width: auto;
		width: 100%;
		font-size: 2rem;
	}
}
