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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: "Segoe UI", sans-serif;

    background: linear-gradient(
        180deg,
        #e45f2f 0%,
        #ed7a50 40%,
        #ffffff 100%
    );

    padding: 20px;
}

.header {
    width: 80%;
    height: auto;

    display: block;
    margin: 0 auto 24px auto;
}

.quiz-container {
    width: 100%;
    max-width: 430px;

    background: rgba(255,255,255,0.95);

    border-radius: 24px;
    padding: 20px;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.15);

    text-align: center;
}

.header-img {
    width: 100%;
    display: block;

    border-radius: 16px;
    margin-bottom: 24px;
}

#qhead {
    color: #111;
    font-size: 1.8rem;
    line-height: 1.3;

    margin-bottom: 24px;
    min-height: 70px;
}

#this,
#that {
    width: 100%;

    border: none;
    border-radius: 16px;

    padding: 18px;

    font-size: 1.1rem;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;

    margin-bottom: 14px;
}

#this {
    background: #e45f2f;
    color: white;
}

#that {
    background: white;
    color: #e45f2f;

    border: 3px solid #e45f2f;
}

#this:hover,
#this:active {
    transform: translateY(-2px);
    background: #e45f2f;
}

#that:hover,
#that:active {
    transform: translateY(-2px);
    background: #fff5ec;
}

@media (max-width: 480px) {
    #qhead {
        font-size: 1.5rem;
    }

    #this,
    #that {
        font-size: 1rem;
        padding: 16px;
    }
}

#receipt {
    margin-top: 20px;
}

.receipt {
    background: #fffdf5;
    color: #111;

    font-family: "Courier New", monospace;

    padding: 25px;

    border-radius: 12px;

    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    text-align: left;

    margin: 0 auto;
    max-width: 320px;
}

.receipt-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.receipt-subtitle {
    margin-bottom: 15px;
}

.receipt hr {
    border: none;
    border-top: 2px dashed #333;
    margin: 15px 0;
}

.receipt p {
    margin: 8px 0;
}

.receipt h3 {
    font-size: 2rem;
    color: #ff7a00;
    margin: 15px 0;
}

.receipt img {
    width: 100%;
    max-width: 250px;

    border-radius: 12px;

    display: block;
    margin: 20px auto;
}

.receipt-line {
    font-family: "Courier New", monospace;
    margin: auto 0;
    padding: 0 .5em;
}

.receipt-title,
.receipt-subtitle,
.result-label,
.receipt h3 {
    text-align: center;
}