/*layout tools*/


.forum-img-fluid {
    max-width: 100%; /* Makes the image responsive */
    height: auto; /* Maintain aspect ratio */
}

.image-container {
    position: relative;
    padding: 10px;
    margin: 0;
    text-align: center;
    color: black;
    width: 100%;
    height: 400px; /* Fixed height */
    background-color: transparent;
    margin-bottom: 10px;
    border: 1px solid lightgrey;
    overflow: hidden; /* Hide overflow to maintain clean edges */
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.image-container img {
    max-width: 100%; /* Ensure the image fits within the container */
    max-height: 100%; /* Ensure the height does not exceed the container */
    height: auto; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
}


.chat-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.question {
    background-color: #e7f3fe;
    border-left: 5px solid #2196F3;
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    border-radius:10px;
}

.answer {
    background-color: #e1ffe1;
    border-left: 5px solid #4CAF50;
    padding: 10px;
    margin: 5px 0;
    border-radius:10px;
}

.input-container {
    display: flex;
    margin-top: 10px;
}

.input-field {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.submit-button {
    padding: 10px 15px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #1976D2;
}

.interaction-bar {
    background-color: transparent; /* Light background */
    padding: 20px;
    border-bottom: 1px solid #dee2e6; /* Light border */
    text-align: left;
}
.emoji-btn {
    font-size: 24px; /* Emoji button size */
    cursor: pointer;
    margin: 0 10px; /* Spacing between buttons */
    background-color: white;
    border:none;
    border-radius: 50%;
    padding: 8px;
}

.emoji-btn:hover {
    font-size: 24px; /* Emoji button size */
    cursor: pointer;
    margin: 0 10px; /* Spacing between buttons */
    background-color: lightblue;
    border:none;
    border-radius: 50%;
    padding: 8px;
}

.floating-emoji {
    position: absolute;
    font-size: 36px;
    opacity: 1;
    animation: floatOut 1s forwards; /* Animation for floating out */
}
@keyframes floatOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}


/*forum main page*/

#memoInput {
    margin-bottom: 20px;
    width: 90%;
}
#memoBoard {
    border: 2px dashed #333;
    width: 400px; /* Fixed width to accommodate 6 memos */
    height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto; /* Allow scroll when necessary */
    margin-top: 20px;
    margin-left: 20px;
    background-color: white;
}
.memo {
    font-size: 0.7em;
    position: relative;
    width: 300px; /* Fixed width for memo */
    height: 300px; /* Fixed height for memo */
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: move;
    transition: transform 0.2s;
    color: white; /* Text color */
    word-wrap: break-word; /* Allow words to break */
    overflow-wrap: break-word; 
    overflow-y: scroll; 
}

.memo:hover {
    transform: scale(1.05);
}
.dragging {
    opacity: 0.5;
}
.folded-corner {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-bottom: 20px solid rgba(0, 0, 0, 0.2);
    top: 0;
    right: 0;
}
#displayArea {
    border: 10px solid rgb(104, 51, 29);
    width: 100%;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: rgb(37, 45, 22);
    overflow: scroll;
}

#motivation-bg {
    width:100%;
    background-image: url('/static/images/postit-bg.jpg');
    background-size: cover;
    background-position: center;
    background-position: no-repeat;
}

/*word cloud*/
.word-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
}
.word {
    margin: 5px;
    transition: transform 0.3s;
}
.word:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.cloud-container {
    display: flex;
    flex-direction: column;  /* Stack items vertically */
    align-items: center;      /* Center items horizontally */
    padding: 20px;
    /* border: 1px solid #ccc;   Optional border */
    /* border-radius: 10px;      Optional rounded corners */
    background-color: white;   /* White background for the container */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); Optional shadow */
}
/* Questions Page*/

.tag {
    display: inline-block;
    background: #007bff;
    color: white;
    border-radius: 12px;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
}
.checkbox-group {
    margin-bottom: 15px;
}
.refresh-button {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.sublist {
    margin-left: 15px;
    margin-top: 5px;
    display: none; /* Initially hidden */
}
