:root
{
    --color-primary: #345382;
    --color-secondary: #95c11f;
    --color-accent: #21a5df;
    --font-primary: 'Work Sans', sans-serif;
    --color-text: #4b5968;
}

html,body
{
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

header {
	position: sticky;
	z-index: 2;
	top: 0;
	left: 0;
    padding-bottom: 80px;
}
.logo-website {
	background-color: white;
	border-bottom-right-radius: 40px;
}
#opening-screen
{
    position: relative;
    min-height: 100vh;
}
.video-container
{
    height: 100vh;
    width: 100vw;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
    overflow: hidden;
}

.video-container video
{
    position: absolute;
    top: 50%;
    left: 50%;
   
    
    /* min-height: 101vh; */
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;

    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

main
{
    min-height: 50vh;
}

h1 {
	font-size: 7rem;
	line-height: 6.4rem;
	color: black;
	font-weight: 700;
}

p {
	font-size: 1.3rem;
    line-height: 1.9rem;
	color: var(--color-text);
	font-weight: 400;
}

.imagebox {
	aspect-ratio: 3 / 4;
	width: 100%;
	background: #ccc;
    position: relative;
}

.imagebox {
	aspect-ratio: 3 / 4;
	width: 100%;
	background: #ccc;
    position: relative;
}


.imagebox.img1
{
    aspect-ratio: 1 / 1;
}
.imagebox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#listacomuni {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#listacomuni .comune {
	font-size: 1.3rem;
    line-height: 1.9rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}
#listacomuni .comune:hover
{
	font-size: 1.3rem;
    line-height: 1.9rem;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}
#listacomuni .comune.active
{
    font-weight: 600;
    color: var(--color-accent);
}

a.button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;

    font-size: 1.3rem;
    line-height: 1.9rem;
    margin-top: 40px;
}
a.button:hover {
    background-color: var(--color-primary);
}