@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;1,100&display=swap');
* {
    /* border-box accounts for any margin/padding so box doesn't outgrow parent container */
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin:0;
    background-color: #1E0555;
    font-family:'Poppins', sans-serif;
}

.container {
    background-color: #F0DB4F;
    padding: 1rem;
    border-radius: 1rem;
    width: 700px;
    max-width: 90%;
    margin-top: 2rem;
}

.grid-container {
    display: inline-grid;
    border-radius: 1rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background-color: #F0DB4F;
    gap: 10px;
    max-width: 90%;
    row-gap: 0;
}

.grid-header {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
}
.grid-item {
    padding: 5px 10px 10px 10px;
    text-align: center;
}

.header-container {
    width: 700px;
    max-width: 90%;
    text-align: center;
}

.title {
    margin-top: 1rem;
    font-size: 3rem;
    color: #F0DB4F;
    font-weight: bold;
    margin-bottom: 1rem;
}

.flash {
    margin-top: 1rem;
    width: 550px;
    max-width: 100%;
}

.start-test-button {
    background-color: #1E0555;
    color: #F0DB4F;
    border-radius: 1rem;
    margin-top: 1rem;
    width: 100%;
    height: 2rem;
}
.start-test-button:hover {
    background-color: #371184;
}
.img-container {
    margin-top: 1rem;
    max-width: 90%;
    display: flex; /* Use flexbox to center the image horizontally and vertically */
    justify-content: center; /* Center horizontally child elements */
    height: 350px; 
}
.reference-img {
    max-width: 100%;
}