/* Tarieven page */

/*General styling for structure*/
section:nth-of-type(1) {
	background: var(--color-warm);
}

section:nth-of-type(1) > .container {
	justify-content: space-between;
	min-height: 28em;
}


/*Styling for the Tarieven section*/
section:nth-of-type(1) article {
	flex: 1;
	max-width: 38em;
}

section:nth-of-type(1) article h1 {
	margin-bottom: var(--space-16);
}


/*Content of the tarieven*/
section:nth-of-type(1) ul {
	display: grid;
	gap: var(--space-16);
	margin: 0 0 var(--space-32);
	padding: 0;
	list-style: none;
	color: var(--color-heading);
	font-size: var(--font-size-text);
	font-weight: var(--font-weight-semibold);
}

section:nth-of-type(1) ul li {
	display: flex;
	justify-content: space-between;
	gap: var(--space-16);
	padding-block: var(--space-16);
	border-bottom: 1px solid var(--color-border);
}

section:nth-of-type(1) ul span {
	white-space: nowrap;
}

section:nth-of-type(1) article > p:nth-of-type(1) {
	font-weight: var(--font-weight-semibold);
	color: var(--color-heading);
	padding-block: var(--space-8);
}

section:nth-of-type(1) article > ul:nth-of-type(2) {
	margin: var(--space-32) 0 0;
	padding: 0;
	list-style: none;
	}

section:nth-of-type(1) article > ul:nth-of-type(2) li {
	color: var(--color-secondary);
	font-style: italic;
	padding-block: var(--space-8);
	font-size: var(--font-size-tiny);
	font-weight: var(--font-weight-normal);
}


section:nth-of-type(1) article > .button {
	margin-top: var(--space-16);
}


/*Styling of the image in the tarieven*/
section:nth-of-type(1) div img {
	width: 25em;
    height: 25em;

    border-radius: var(--radius-8);
    border: 2px solid var(--color-secondary);

    object-fit: cover;
    object-position: 20% 0%;

    box-shadow: 8px 8px 8px rgba(0, 0, 0, .25);
}



/*Different styling for when the screen becomes too small*/
@media (width < 72em) {
	section:nth-of-type(1) div img {
		width: 18em;
		height: 18em;
	}
}

@media (width < 48em) {
	section:nth-of-type(1) > .container {
		align-items: stretch;
		gap: var(--space-40);
	}

	section:nth-of-type(1) article {
		max-width: none;
	}

	section:nth-of-type(1) ul li {
		align-items: flex-start;
		flex-direction: column;
		gap: var(--space-8);
	}

	section:nth-of-type(1) div img {
		align-self: center;
		flex-basis: 16em;
		width: min(100%, 16em);
	}
}
