

/* --- Heading styles */
.heading {
    text-align: center;
    font-size: 6rem;
    font-style: "Noto Serif";
    color: red;
    margin: 0; /* ChatGPT code */
    margin-bottom: 10px; /* ChatGPT code */
}

.header-p {
    font-size: 2rem;
    text-align: center;
    margin-top: 0; /* ChatGPT code */
    margin-bottom: 10px; /* ChatGPT code */
}

.logo {
    height: 300px;
    width: 300px;
    display: block;
    margin: 40px auto 0 auto; /* ChatGPT code */
}

body {
    background-color: white;
    font-family: "Noto Serif", serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Controls Area code */

.controls-area {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    gap: 30px; /* space between buttons */
    margin-top: 40px;
}

/* ACK - Chat GPT Button CSS code */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: "Noto Serif";
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 10px solid transparent;
}


.btn--big {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    font-size: 1.5rem;
    background-color: white;
}

.btn--yellow {
    border-color: yellow;
    color: yellow;
}
.btn--yellow:hover {
    background-color: yellow;
    color: white;
}

.btn--orange {
    border-color: orange;
    color: orange;
}
.btn--orange:hover {
    background-color: orange;
    color: white;
}

.btn--red {
    border-color: red;
    color: red;
}
.btn--red:hover {
    background-color: red;
    color: white;
}

.btn--green {
    border-color: green;
    color: green;
}
.btn--green:hover {
    background-color: green;
    color: white;
}


/* Question Area code */

#question-area {
    margin-top: 40px;
    font-size: 2.4rem;
    font-weight: bold;
    color: black;
    padding: 20px;
    min-height: 80px;
}

/* Answer Area code */

.answer-area {
    font-size: 2.4rem;
    font-weight: bold;
    color: black;
    padding: 20px;
    min-height: 80px;
}

#user-answer {
    width: 70%;
    max-width: 350px;
    padding: 15px 20px;
    font-size: 1.6rem;
    border: 4px solid #000; 
    border-radius: 15px;
    font-family: "Noto Serif", serif;
    text-align: center;
}

#submit-answer {
    padding: 12px 30px;
    font-size: 1.5rem;
    font-family: "Noto Serif", serif;
    text-transform: uppercase;
    border-radius: 12px;
    border: 4px solid red;
    background-color: white;
    color: red;
}

#submit-answer:hover {
    background-color: red;
    color: white;
}

/* Success and Incorrect Page */

.resultImage {
    height: auto;
    width: 600px;
    display: block;
    margin: 40px auto 0 auto; /* ChatGPT code */
}

#home-button {
    padding: 12px 30px;
    font-size: 1.5rem;
    font-family: "Noto Serif", serif;
    text-transform: uppercase;
    border-radius: 12px;
    border: 4px solid red;
    background-color: white;
    color: red;
    margin-top: 40px;
}

#home-button:hover {
    background-color: red;
    color: white;
}

/* ================================
   ChatGPT Media Query CSS - MOBILE STYLES
   For screens 600px and smaller
================================ */
@media (max-width: 600px) {

    /* Logo */
    .logo {
        width: 180px;
        height: 180px;
        margin-top: 20px;
    }

    /* Heading & paragraphs */
    .heading {
        font-size: 3rem;
        margin-bottom: 5px;
    }

    .header-p {
        font-size: 1.3rem;
        margin-bottom: 8px;
        padding: 0 10px;
    }

    /* Buttons in difficulty area */
    .btn--big {
        width: 90px;
        height: 90px;
        font-size: 1.1rem;
        border-width: 6px;
    }

    .controls-area {
        gap: 15px;
        margin-top: 20px;
        padding: 0 10px;
    }

    /* Question text */
    #question-area {
        font-size: 1.6rem;
        padding: 10px;
        min-height: 50px;
    }

    /* Input area */
    #user-answer {
        width: 85%;
        max-width: none;
        font-size: 1.2rem;
        padding: 10px;
    }

    #submit-answer {
        font-size: 1.2rem;
        padding: 10px 20px;
        margin-top: 10px;
    }

    /* Success & Incorrect pages */
    .resultImage {
        width: 90%;
        max-width: 300px;
    }

    #home-button {
        font-size: 1.3rem;
        padding: 10px 20px;
        margin-top: 20px;
    }
}