:root {
    --text: #222;
    --background: #fafaf8;
    --link: #005bbb;
    --max-width: 760px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 2rem;

    font-family: Calibri, "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;

    color: var(--text);
    background: var(--background);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
	background-color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 10px;
    border: 1px solid #eee;
}

header {
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 8px;
	box-sizing: border-box;
}

header img {
	width: 100%;
	height: auto;
	display: block;
	box-shadow: 0 2px 6px #ddd;
	border-radius: 8px;
	overflow: hidden;
}

h1 {
    font-size: 3rem;
    line-height: 0.9;
    margin: 1rem 0 -0.5rem 0;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0.9rem 0 0 0;
    color: #666;
    font-weight: normal;
}

@media (max-width: 600px) {
    body {
        padding: 0.75rem;
	    font-size: 1.25rem;
	    line-height: 1.45;
    }
    main {
        padding: 1.25rem;
    }
    header img {
		max-height: 220px;
	    width: 100%;
    	object-fit: cover;
	}
    h1 {
        font-size: 2.15rem;
	    margin-bottom: 0;
    }
    h2 {
    	font-size: 1.5rem;
	    margin: 0.6rem 0 0 0;
	}
}

nav.language {
    text-align: right;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

nav.language a {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    color: var(--link);
    text-decoration: none;
}

nav.language a:hover {
    background-color: #eee;
}

nav.language .current {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    background-color: #eee;
    font-weight: 600;
    color: var(--text);
}

details {
	margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

details:first-of-type {
    border-top: none;
    padding-top: 0;
}

summary {
    padding: 0.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;

    list-style: none;
    display: flex;
    align-items: center;
	border-radius: 8px;
	color: #2c3e50;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 1.2em;
    height: 1.2em;
    margin-right: 0.6em;
    flex-shrink: 0;

    border: 1px solid #ccc;
    border-radius: 50%;
	background: #eee;
    font-weight: bold;
    line-height: 1.0;
}

summary:hover {
	background-color: #f4f4f4;
	color: #005bbb;
}

summary:hover::before {
	background: white;
    border-color: #777;
}

details[open] summary::before {
    content: "−";
	background: white;
}

details[open] p {
    padding-left: 0.6rem;
}

details[open] ul {
    margin: 0.5rem 0 0;
    padding-left: 1.5rem;
}

details[open] li {
    margin: 0.3rem 0;
}

p {
    margin: 0.5rem 0;
}

ul {
    margin: 0.5rem;
    padding-left: 1.5rem;
}

li + li {
    margin-top: 0.4rem;
}

a {
    color: var(--link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.backtotop {
    text-align: center;
    margin: 2rem 0;
}

footer {
	display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    text-align: center;
    color: #777;
}