:root {
	--text-color-heading:  #b54b4b;
	--text-color-nav: #F2F2F2;
	--text-color-footer: #C7C7C7;
}


//#FF8C97
* {
	margin: 0;
	padding: 0;
}

html {-webkit-text-size-adjust: 100%;}

html, body {
	min-height: 100vh;
	
}

body {
	display: flex;
	flex-direction: column;
	font-family: "Helvetica", sans-serif;
	
}

h1, h2, h3 {
	text-transform: uppercase;
	
}

h1 {
	font-size: 3rem;
	padding: 0 1rem 0 1rem;
	margin: 0;
	display: block;
	
}

h2 {
	font-size: 2rem;
	color: var(--text-color-heading);
	text-align: center;
	margin-bottom: 3rem;
	
}

h3 {
	font-size: 1.5rem;
	color: var(--text-color-heading);
	border-bottom: 1px solid black;
	margin-bottom: 1.5rem;
	
}


p {
	font-size: 0.85rem;
}

/* HEADER */

header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	padding: 0;

}

span {
	margin: 0;
	padding: 0;
}

header > div {
	display: flex;
	background-color: white;
	align-items: stretch;
	justify-content: space-between;
	
}

header .menu-toggle {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	cursor: pointer;
	width: 3.25rem;
	height: 3.25rem;
	opacity: 0;
}

header .menu-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 3.25rem;
	margin: 0;
	top: 0;
	right: 0;
	z-index: 1;
	background-color: var(--text-color-heading);
	
}

header .menu-icon > div {
	display: flex;
	position: relative;
	width: 70%;
	height: 3px;
	background-color: white;
	transition: all 0.3s ease;
	
}

header .menu-icon > div:before,
header .menu-icon > div:after{
	content: "";
	position: absolute;
	top: -0.6rem;
	z-index: 1;
	width: 100%;
	height: inherit;
	background: inherit;
	
}

header .menu-icon > div:after {
	top: 0.6rem;
	
}


header .menu-toggle:checked + .menu-icon > div {
	transform: rotate(135deg);
	
}

header .menu-toggle:checked + .menu-icon > div::before,
header .menu-toggle:checked + .menu-icon > div::after {
	top: 0;
	transform: rotate(90deg);
	
}

header nav {
	visibility: hidden;
	opacity: 0;

}


header nav ul {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	list-style-type: none;
	margin: 0;
	padding: 0.85rem;
	gap: 0.85rem;
}

header nav ul li {
	 text-align: right;
}

header nav ul li a {
	font-size: 0.85rem;
	color: var(--text-color-heading);
	text-decoration: none;
	font-weight: bold;
	transition: color 0.25s ease;
	text-transform: uppercase;
}

a:visited {
	color: var(--text-color-heading);
}

a:hover {
	color: black;
}

nav ul li a.active {
	color: black !important;
}

/* Main */

main.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 1 1 auto;
	background-image: url(img/bkg_3p25.jpg);
	background-size: cover;
  	background-position: center center;
  	background-repeat: no-repeat;
  	min-height: 100vh;
  	margin: 0;
}

main.hero > div {
	display: flex;
	flex-direction: column;
	position: relative;
	top : 0.5rem;
}

main.hero > div > h2 {
	color: black;
	font-size: 2.5rem;
/* 	font-weight: normal; */
	text-align: center;
/* 	text-transform: none; */
	margin-bottom: 1rem;
/* 	border: 1px black solid; */
}


main.hero > div > h3 {
	border: 0;
	font-size: 1rem;
	text-align: center;
	margin: 0.5rem 0 0 0;
	color: black;
}

main {
	margin: 6rem 10% 2rem 10%;
}

main p {
	line-height: 1.2rem;
	margin-top: 0;
	margin-bottom: 2rem;
	
}

main .past-festivals p {
	line-height: 1rem;
	margin-top: 0;
	margin-bottom: 0rem;
}

section {
/* 	border-style: solid; */
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}

section > img {
/* 	border-style: solid; */
	max-width: unset;
  	max-height: unset;
  	object-fit: none;
	padding: 0 2rem 1rem 2rem;
}


a {
	color: var(--text-color-heading);
	text-decoration: none;
	transition: color 0.25s ease;
}

footer {
	padding: 1rem 5% 7% 5%;
	margin-top: auto;
	background-color: var(--text-color-footer);
	
}

footer > p {
	padding: 1rem;
}


.logo-footer {font-size: 2rem;}

@media (max-width: 1299px) {

  header div:has(.menu-toggle:checked) ~ nav {
    visibility: visible;
    padding: 0.2rem 0.5rem;
    background-color: var(--text-color-nav);
    opacity: 1;
    transition: opacity 1s ease;
    
  }
  
}

@media (min-width: 1300px) {
	
	header {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		background-color: white;
	}
	
	header nav {
		visibility: visible;
		opacity: 1;
		display: flex;
		align-items: center;
		background-color: transparent;
	}
	
	header nav ul {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		padding: 0 1rem 0 1rem;
		gap: 1rem;
	}
	
	nav ul li {text-align: left;}
	
	header .menu-icon,
	header .menu-toggle {display: none;}

	
	main.hero {margin: 0;}
	
	main {
		margin: 6rem 30% 2rem 30%;
	}
	
	section {
		display: flex;
		align-items: flex-start;
		flex-wrap: nowrap;	
	}	
	/* 

	.logo-footer {font-size: 2rem;}
 */
	
}


