@import url('https://fonts.googleapis.com/css2?family=Nova+Mono&family=Syne+Tactile&display=swap');

:root {
    --red: rgb(247, 0, 0);
    --redd: rgba(247,0,0,0.99);
    --white: #ebebeb;
}


* {

    font-family: "Syne Tactile", serif;
    font-weight:100;
    font-style: normal;
}

html {
    height: 100%;
    /* Ensure the root and body take full height */
    margin: 0;
    font-size: 18px;
    /* Increase font size for better visibility */
    text-shadow: 0px 0px 5px var(--redd);
}

body {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--white);
    color: var(--red);
    align-self: center;
}


/* /////////////////////////////////////////////////////////////////////////////////////////////////// */



/* Fullscreen overlay styling */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--red);
    color: var(--white);
    text-shadow: 1px 1px 10px var(--white), 1px 1px 10px var(--white);

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15rem;
    z-index: 1000;
    /* Ensures it's on top of all other elements */
    opacity: 1;
    /* Fully visible by default */
    transition: opacity 2s ease;
    /* Fades out over 2 seconds */
}

#overlay.hidden {
    opacity: 0;
    /* Fully transparent */
    pointer-events: none;
    /* Disable interaction after fading out */
}

/* Question Box Styling */
#questionBox {
    display: none;
    /* Initially hides the question box */
}

#questionBox.visible {
    display: block;
    /* Reveals the question box */
}

#question-container {
    font-size: 18px;
    align-items: center;
    text-align: center;

}

#userQuestion {
    margin-top: 20px;
    background-color: var(--white);
    border: none;
    border-bottom: solid 1px var(--red);
    height: 30px;
    width: 400px;
    text-align: center;
    
}

#askQuestion {
    background-color: var(--white);
    color: var(--red);
    margin-top: 20px;
    height: auto;
    border: none;
    padding: 10px 20px 10px 20px;
    box-shadow: 0px 0px 20px var(--red);
}



/* /////////////////////////////////////////////////////////////////////////////////////////////////// */



#meme-deck {
    padding: 5%;
    margin: auto;
}

#meme-deck img {
    width: 150px;
    margin: 10px;
    cursor: pointer;
}

.card-container {
    display: flex;
    /* Enable flexbox layout */
    flex-wrap: wrap;
    /* Allow items to wrap to the next line if necessary */
    justify-content: center;
    /* Center items horizontally */
    align-items: center;
    /* Center items vertically */
    gap: 15px;
    /* Space between items */
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* img.meme-card {
    max-width: 150px;
    height: auto;
    border: solid 1px black;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
} */

.meme-card { 
    box-shadow: 0px 0px 20px var(--red);
}



/* /////////////////////////////////////////////////////////////////////////////////////////////////// */




#reading-container {
    margin: 0;
    padding: 20px;
    align-items:left;
}

#consoleLog, #consoleLog * {
    background-color: var(--white);
    color: var(--red);
    padding: 10px;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    overflow-y: auto;
}
#meme-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the content */
    justify-content: center;
    height: 100vh;
}

#reading-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    align-items: left;
}

#memeImage {
    width: 80%;
    /* Limit the image width to 80% of the browser width */
    height: auto;
    /* Maintain aspect ratio */
    margin-bottom: 30px;
    /* Add some space below the image */
    box-shadow: 0px 0px 80px var(--red);
}



#receiveReading {
    padding: 10px 20px;
    border:none;
    border-radius: 10px;
    background-color: var(--white);
    color: var(--red);
    box-shadow: 0px 0px 50px var(--red);
}

#claimReading {
    padding: 10px 20px;
    border:none;
    border-radius: 10px;
    background-color: var(--white);
    color: var(--red);
    box-shadow: 0px 0px 20px var(--red);
}