﻿:root {
    --button-back-color: #d0262f;
    --button-fore-color: white;
}

/* Base layout */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Kalam', sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    color: white
}

/* Containers */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
}

.main {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 20px 40px 20px; /* top / sides / bottom */
    box-sizing: border-box;
}

/* Banner */
.banner {
    width: 100%;
    display: block;
}
.visual {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Headings & text */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
}

/* Primary CTA button */
.styled-button {
    width: 100%;
    margin-top: 30px; /* breathing room above */
    margin-bottom: 20px; /* and below */
    background-color: var(--button-back-color);
    color: var(--button-fore-color);
    border: 2px solid var(--button-back-color);
    padding: 12px 0;
    box-sizing: border-box;
    font-family: 'Kalam', sans-serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

    .styled-button:hover {
        box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.5);
        transform: translateY(-2px);
    }

    .styled-button:focus-visible {
        outline: 3px solid rgba(0,0,0,0.2);
        outline-offset: 2px;
    }

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .styled-button {
        transition: none;
    }

        .styled-button:hover {
            transform: none;
            box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
        }
}

/* Responsive tweaks */
@media (max-width: 600px) {

    h1, h2, h3 {
        margin: 20px 0 8px 0;
        line-height: 1.15;
    }

    p {
        font-size: 21px;
        margin: 8px 0 14px 12px;
        line-height: 1.55;
    }
}
