/*
Theme Name: Progetto
Author: DNA s.r.l.
Author URI: https://dnasrl.com
Description: WordPress theme.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Titillium+Web:wght@300;400;600&display=swap');

body {
	font-family: 'Titillium Web', sans-serif;
	margin: 0;
	padding: 0;
	background: #f3efe8;
}

h1, h2, h3, h4, h5, h6 {
	color: #b58727;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3rem;
	margin-top: 1rem;
	color: #527b26;
}

h2 {
	font-size: 2rem;
	margin-top: 2rem;
	margin-bottom: 0;
}

header, footer {
	background: #e3cfa8;
	padding: 1rem;
	text-align: center;
}

header {
        opacity: 0.8;
        position: relative;
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 1rem;
}

.grid {
	margin: 3rem 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5rem;
}

@media (max-width: 900px) {
	.grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

@media (max-width: 500px) {
	.grid {
		grid-template-columns: 1fr;
	}
}

.category-header {
	align-content: center;
}

.card {
	background: #ddd;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.card-content {
	padding: 1rem;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: scroll;
	display: grid;
	align-content: end;
	width: 100%;
        box-sizing: border-box;
}


.card-content h3 {
	margin: 0;
	font-family: 'Titillium Web', sans-serif
}
.main-nav {
	text-align: center;
}

.nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	gap: 5rem;
}

.menu-button {
	font-size: 1.5rem;
	cursor: pointer;
}

@media (min-width: 1000px) {
	.menu-button {
		display: none;
	}
}

@media (max-width: 1000px) {
	.nav-list {
		flex-direction: column;
		gap: 1rem;
		text-align: left;
		position: absolute;
		background: #e3cfa8;
		top: 0;
		left: 0;
		padding: 1rem;
		width: 100%;
	}
	.nav-list li:not(:first-child) {
		display: none;
	}
}

.nav-list li {
	align-content: center;
}

.nav-list li a {
	text-decoration: none;
	color: black;
	padding: 0 1rem;
}

.nav-list li a:hover {
       color: #777777;
       transition: color 0.15s ease-in-out;

}

.wp-block-separator {
	border-top: 1px solid;
	margin: 3rem 0;
}

figure {
	margin: 0;
}

figure > img {
	width: 100% !important;
	height: auto;
	display: block;
}

.article-attributes {
	display:flex;
	column-gap: 5rem;
	row-gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.article-attribute {
	display:flex;
	gap: 2rem;
	align-items: center;
	font-size: 1.2rem;
}

.article-attribute-header {
	background-color: #BCBCBC;
	font-size: 1.5rem;
	padding: 10px;
	border-radius:5px;
	width:2rem;
	height:2rem;
	text-align:center;
	align-content:center
}

.home-header {
	transition: background-size 10s ease-in-out;
	margin-top: -150px;
	background-position: center;
	width: 100%;
	height: 600px;
	text-align: center;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.zoom {

}

.home-header h1 {
	color: white;
	font-size: 5rem;
	margin: 0;
	padding: 0 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {
	.home-header h1 {
		font-size: 4rem;
	}
	.home-header p {
		font-size: 0.8rem;
	}
}

.home-header p {
	font-size: 1.8rem;
        font-weight: bold;
	margin: 0;
	padding: 0 1rem;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.home-circles {
	width: 100%;
	display: grid;
	grid-template-columns:1fr 1fr 1fr 1fr;
	gap: 20px;
	padding: 70px 50px;
	box-sizing: border-box;
}

.home-circle {
	width: 50px;
	margin: auto;
	background-color: #b58727;
	border-radius: 100%;
	padding: 17px 20px;
	margin-bottom: 20px;
}

.home-circle-link {
	color: black;
	text-decoration: none;
}

@media (max-width: 900px) {
	.home-circles {
		grid-template-columns:1fr 1fr;
	}
}

input, textarea {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
}

footer > img {
	max-width: 100%;
}