@font-face {
    font-family: 'Merriweather';
    src: url('/Merriweather-Regular.ttf') format('truetype');
    font-weight: normal;
    font-display: auto;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/Merriweather-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: auto;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: Merriweather, sans-serif;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFF;
    padding: 1rem 0 0 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(00, 00, 00, 0.3);
}

.logo {
    display: block;
    margin: 0 auto;
    width: 180px;
    height: auto;
}

.intro {
    padding: 14rem 0 10rem 0;
    background-image: url('/background_oa.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    color: #FFF;
}

.intro h1 {
 margin-bottom: 1rem;	
}

.intro p {
	font-size: 1.3rem;
    max-width: 800px;
    margin: 1rem auto 0 auto;
}

.button {
    background: #8FBD05;
    color: #FFF;
    margin-top: 2rem;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.intro:before {
    display: block;
    content: ' ';
    position: absolute;
    inset: 0;
    background: rgba(00, 00, 00, 0.4);
    z-index: 0;
}

h1, h2 {
    text-shadow: 0 2px 4px rgba(00, 00, 00, 0.3);
}

h1 {
    font-size: clamp(2.1875rem, 1.9167rem + 1.3542vw, 3rem);
    margin: 0;
}

h2 {
    font-size: clamp(1.75rem, 1.7083rem + 0.2083vw, 1.875rem);
    margin: 0;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 1rem;
    position: relative;
}

.events {
    text-align: center;
}

.events .container {
    padding: 2rem 1rem;
}

.footer {
    background: #F0F0F0;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 1rem;
}

.footer h5 {
    font-size: 1rem;
}

@media screen and (min-width: 740px) {
    .footer > .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.news {
    padding-top: 3rem;
    display: grid;
    gap: 2rem;
}

.news h2 {
    text-shadow: unset;
}

.news p {
    line-height: 1.5em;
}

.images {
    display: grid;
    gap: 2rem;
}

.news a {
    color: inherit;
    text-decoration: none;
}

.news .button {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #FFF;
}

@media screen and (min-width: 600px) {
    .images { grid-template-columns: repeat(2, 1fr)}
}

@media screen and (min-width: 900px) {
    .images { grid-template-columns: repeat(4, 1fr)}
}

figure {
    margin: 0;
}

.invite {
	padding: 3rem 0;
	box-sizing: border-box;
	display: grid;
	gap: 2rem;
	text-align: center;	
}

.invite img {
    max-width: 500px;
	width: 100%;
	margin: 0 auto;
}

.invite h2 {
	text-shadow: unset;
}

figcaption {
    font-size: .9rem;
}

.images img {
    width: 100%;
    height: auto;
}