html {
    scroll-behavior: smooth;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("./header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

body {
    margin: 0;
    /*font-family: 'Playfair Display', serif;*/
    font-family: sans-serif;
    color: #2c3e50;
}

a {
    color: inherit;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 0 20px;
}

.header img {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 100px auto;
}

.spacer {
    background-color: #2125297f;
    height: 200px;
}

h1 {
    /*font-family: sans-serif;*/
    display: block;
    max-width: 1170px;
    margin: 0 auto 200px auto;
    font-size: 30px;
    color: #2f383c;
    text-align: center;
    /*text-shadow: 2px 2px 3px #00000044;*/
}

.cards {
    max-width: 1170px;
    margin: 50px auto 0px auto;
    display: flex;
    flex-direction: row;
}

.cards h2 {
    text-align: center;
    margin: 0;
}

.cards img {
    height: 50px;
    margin-bottom: 20px;
}

.cards div {
    background: #F6F6F6;
    transition: background 1s ease-in-out;
    text-align: center;
    /*background: white;*/
    border-radius: 4px;
    padding: 30px;
    margin: 20px 20px 20px 20px;
    box-shadow: 1px 1px 3px #00000022;
    flex: 1;
}

.cards div:hover {
    background: #E9E8E6;
}

.section {
    background-color: white;
    padding: 80px 20px;
}

.section-content {
    max-width: 920px;
    margin: auto;
}

.section-content h2 {
    text-align: center;
    margin: 40px 0;
}


.video {
    width: fit-content;
    margin: auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 1px 1px 3px #00000022;
}

.video video {
    margin-bottom: -3px;
}

@media only screen and (max-width: 1024px) {
    .cards {
        display: none;
    }
}

.button-container {
    display: flex;
    flex-direction: row-reverse;
}

.buttons {
    display: flex;
    flex-direction: row;
}

.buttons a {
    display: block;
    padding: 10px;
    margin: 10px;

    border-radius: 10px;
    background-color: #D9D7D4;
    border: 2px solid transparent;
    text-decoration: none;

    transition: border 0.5s, background-color 0.5s;
}

.buttons a:hover {
    background-color: #e0dfdc;
    border: 2px solid #D9D7D4;
}

.buttons a.primary {
    background-color: #2e7d32;
    color: white;
}

.buttons a.primary:hover {
    background-color: #4caf4f;
    border: 2px solid #2e7d32;
}
