/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: sans-serif;
}

/* 2x2 colored background */
.background {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background > div:nth-child(1) { background-color: #c23d3d; }
.background > div:nth-child(2) { background-color: #42d372; }
.background > div:nth-child(3) { background-color: #4199e0; }
.background > div:nth-child(4) { background-color: #d4d22f; }


.top-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Center white box */
/* Main container — fully responsive */
/* White center box */
.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;

    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.tekst {
    text-align: center;
}

/* Buttons layout */
.buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Default (desktop-ish) font sizes */
h2 {
    font-size: 1.6rem;
    text-align: center;
}
p, label, li {
    font-size: 1.0rem;
}
button {
        font-size: 1.2rem;
        padding: 1rem 1.4rem;
    }

/* ✅ Mobile styling */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p, label, li {
        font-size: 1.4rem;
    }

    button {
        font-size: 1.2rem;
        padding: 0.5rem 1.5rem;
    }

    input[type="radio"] {
        transform: scale(1.5);
    }
}

.logo {
    max-width: 200px;
    height: auto;
    margin-top: 1rem;
}
