@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', Arial, sans-serif;
    background: #f6f6f6;
    color: #222;
}

header {
    background-color: #fff;
    color: #222;
    padding: 32px 0 8px 0;
    text-align: center;
    border-bottom: 1px solid #ececec;
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2.4em;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.griesser-underline {
    width: 80%;
    height: 5px;
    margin: 20px auto 8px auto;
    background: linear-gradient(90deg, #98e132 0%, #00e6c4 100%);
    border-radius: 3px;
}

main {
    max-width: 700px;
    margin: 40px auto;
    background: #fff;
    border-radius: 8px;
    padding: 32px 32px 24px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex: 1 0 auto;
}

h2 {
    color: #00b27a;
    margin-top: 32px;
    font-size: 1.3em;
}

a {
    color: #00b27a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    background: #fff;
    color: #222;
    text-align: center;
    padding: 18px 0;
    font-size: 0.96em;
    border-top: 1px solid #ececec;
    flex-shrink: 0;
    /* Ensures footer stays at bottom */
    width: 100%;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 800px) {
    main {
        padding: 18px 6vw 18px 6vw;
    }
    .griesser-underline {
        width: 94%;
    }
}