@font-face {
    font-family: "LibreBaskerville";
    src: url("/fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("/fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "PerfectlyNineties";
    src: url("/fonts/PerfectlyNineties-regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
	--bg-color: #fff1e7;
	--footer-color: #322d2d;
	--action-color: #322d2d;
	--header-color : #6c5c73;
	--header-color2 : #6b4457;
	--font-title: "LibreBaskerville";
	--font-corpus: "Montserrat";
	--step-gap: calc(5% - 30px);
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	background: var(--bg-color);
	font-family: var(--font-corpus);
	line-height: 1.45;
}

a:hover {
	text-decoration: underline;
}

.link{
	font-weight: bold;
	text-decoration: underline;
}

h2 {
	/*font-size: 3.617rem !important; */
	/*line-height: 1.1;*/
}

.header {
	background: var(--header-color2);
	color:white;
	border-radius:8px;
}

.header--mobile {
	background:pink;
	border-radius:8px;
}


.button, button {
	border-radius: 8px;
	background-color: var(--header-color2);
	color: white !important;
	transition: opacity .3s;
}

button:hover, .button:hover {
	opacity: .8;
}

.image{
	border-radius: 8px;
	border: 2px solid black;
}

.icon {
	cursor: pointer;
}

h1, h2, h3, h4 {
	font-family: var(--font-title);
}

.card {
	border-radius: 20px;
	border: 2px solid black;
	background: white;
}

.footer {
	background: var(--header-color2);
	color: white;
	border-radius: 20px;
}

.accordion {
}

.accordion__header {
	cursor: pointer;
	font-weight: bold;
}

.accordion__header > * {
	pointer-events: none;
}

.accordion__content {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease-out;
}

.accordion__content--is-open {
	grid-template-rows: 1fr;
}

.accordion__content > * {
	overflow: hidden;
}

.accordion__arrow {
	transition: transform .3s ease;
}

.accordion__arrow--is-open {
	transform: rotate(90deg);
}

/* Step */
.step {
	background:white;
	border-radius:8px;
}

.step__index {
	background:white;
	border:2px solid green;
	border-radius:100%;
}


.event {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "content dot empty";
	gap: 1rem;
}

.event .content {
	grid-area: content;
}


.event .dot {
	grid-area: dot;
	background:white;
	border:2px solid green;
	border-radius:100%;
}

.event:nth-child(odd) {
	grid-template-areas: "empty dot content";
}

.event:nth-child(even) {
	grid-template-areas: "content dot empty";
}



@media (max-width: 800px) {
	.event {
		grid-template-columns: auto 1fr;
		grid-template-areas: "dot content" !important;
	}

	.event > div:empty {
		display: none;
	}

	.step {
		grid-area: content;
	}

	.dot {
		grid-area: dot;
	}
}