body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
    background: #f9f9f9;
    scroll-behavior: smooth;
}

header {
    /*background: url('cornhole_werfer.jpg') center/cover no-repeat;*/
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 112, 183, 0.6);
}

header h1,
header p,
header a {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1.2em;
    margin: 0.5em 0;
}

header a.button {
    background: #ffc107;
    padding: 0.8em 1.5em;
    border-radius: 4px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin-top: 1em;
    transition: background 0.3s;
}

header a.button:hover {
    background: #e0a800;
}

section {
    padding: 1em;
    max-width: 600px;
    margin: auto;
    background: white;
    border-radius: 8px;
    margin-top: 1em;
}

h1,
h2 {
    color: #0f70b7;
}

label {
    display: block;
    margin-top: 0.5em;
}

input,
textarea {
    width: 100%;
    padding: 0.5em;
    margin-top: 0.2em;
}

button {
    background: #0f70b7;
    color: white;
    padding: 0.7em 1.2em;
    border: none;
    border-radius: 4px;
    margin-top: 1em;
    cursor: pointer;
}

button:hover {
    background: #0d5d99;
}

footer {
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
    color: #555;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 0.95em;
}

form {
    padding: 0 1em;
}

input[type="text"],
textarea {
    width: calc(100% - 1em);
    padding: 0.5em;
    margin-top: 0.2em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}