@import url('https://fonts.googleapis.com/css2?family=Alata&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; 
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
    margin: 0;
    background-color: #161c27;
    color: #e5e5e6;
}
#page-wrapper {
    display: flex; /* Enable flexbox layout */
    flex-direction: column; /* Stack children vertically */
    height: 100vh; /* Make the wrapper take up the full viewport height */
}
#header-banner{
    flex-shrink: 0;
    background-color: #1c3158;
    /* Removed margin-top: 15px; to keep the banner flush at the top. 
       If you want a gap, it should be applied to the body or container *outside* the header. */
    margin: 15px 0; /* Add vertical padding to give the banner height */
    padding: 15px 0;
}

#header-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    margin: 0 50px;
}

#header-container h1 {
    user-select: none;
    margin: 0; 
}

/* CSS to make the hyperlink look like a button */
.button-style {
    display: inline-block;
    text-decoration: none;
    background-color: #203866;
    color: white;
    padding: 15px 15px;
    border: none;
    border-radius: 15px;
    outline: none;
    cursor: pointer;
    /* Use Roboto font for consistency with the rest of the body */
    font-family: "Roboto", sans-serif; 
    font-weight: 500; /* Give the button text some weight */
    text-align: center;
    transition: background-color 0.3s ease;
}

.button-style:hover {
    background-color: #1c3158;
    outline: 3px solid #203866;
    outline-offset: -3px;
}

#main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* KEY LINE: This tells the container to grow and fill ALL remaining space */
    flex-grow: 1; 
    overflow-y: auto; /* Allows content inside to scroll if it overflows */
}
#centre-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    border-radius: 40px;
    background-color: #191f2e;
    gap: 50px;
}

#centre-container h1 {
    user-select: none;
    margin: 0;
    font-size: 50px;
}
#centre-container h2 {
    user-select: none;
    margin: 0;
    font-size: 30px;
}
#centre-container h3 {
    user-select: none;
    margin: 0;
    font-size: 40px;
}

#display-items-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* padding: 50px;
    border-radius: 40px;
    border:10px solid #1c3158; */
}

.item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
    
    padding: 20px;
    border-radius: 40px;
    /* border:5px solid #1c315844; */

}
.image {
    position: relative; /* make this the reference for absolute positioning */
    user-select: none;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 30px;
    outline: 10px solid #00000088;
    outline-offset: -10px;
}

.image img {
    user-select: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image h3 {
    text-align: center;
    position: absolute; /* overlay on top of image */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center exactly */
    color: #ffffffbd;
    font-size: 24px;
    pointer-events: none; /* so text doesn’t interfere with dragging/prevent selection */
    margin: 0;
    font-size: 300px;
}

.item-button {
    display: inline-block;
    text-decoration: none;
    color: white;
    border-radius: 40px;
    cursor: pointer;
    background-color: #212a3f;

    transition: background-color 0.3s ease;
}

.item-button:hover {
    
    background-color: #27354d;
}


.item-button.not-allowed:hover {
    color: white;
    background-color: #212a3f;
    /* background-color: #292b2e; */
}

.not-allowed {
    cursor:not-allowed
}