@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
body {
    font-family: 'EB Garamond', serif;
    background-color: #ebd89eff;
    color: #444444;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.125;
    z-index: -1;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif;
    color: #000000;  /* Blue Violet */
}
h1 {
    font-size: 4rem;
    font-weight: 300;
    padding-bottom: 25px;
}

h4, h5 {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: #6e6e6ed8;  
}

.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);  /* Semi-transparent white */
}

.btn-primary {
    background-color: #ff69b4;  /* Hot Pink */
    border-color: #ff69b4;
}

.btn-primary:hover {
    background-color: #ff1493;  /* Deep Pink */
    border-color: #ff1493;
}

.btn-secondary {
    background-color: #20b2aa;  /* Light Sea Green */
    border-color: #20b2aa;
}

.btn-secondary:hover {
    background-color: #008b8b;  /* Dark Cyan */
    border-color: #008b8b;
}

.list-group-item {
    color: #4b0082;  /* Indigo */
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);  /* Semi-transparent white */
}

.list-group-item:hover {
    background-color: rgba(230, 230, 250, 0.8);  /* Semi-transparent Lavender */
    color: #8a2be2;  /* Blue Violet */
}

.solution-steps {
    font-family: 'EB Garamond', serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure content is above the background image */
.container, .card, form, .list-group {
    position: relative;
    z-index: 1;
}

/* Whiteboard and Chat Styles */
#whiteboard-container {
    background-color: #ffffff;
    border-radius: 8px;
}

#chat-messages {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

#user-input {
    border-color: #8a2be2;
}

#send-button {
    width: 100%;
}

/* Styles for generate_questions.html */
#question-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ced4da;
    border-radius: 0;
    padding: 0.375rem 0;
}

#question-input:focus {
    box-shadow: none;
    border-color: #8a2be2;
}

.question-card {
    position: absolute;
    width: 150px;
    height: 100px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: move;
    user-select: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.question-card.selected {
    border: 4px double #40aa3c;
}
}

#questions-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.question-card {
    pointer-events: auto;
}

#further-down-btn {
    background-color: #ff69b4;
    border-color: #ff69b4;
}

#further-down-btn:hover {
    background-color: #ff1493;
    border-color: #ff1493;
}

[data-tooltip] {
    position: relative;
    cursor: help;
  }
  
  [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  [data-tooltip].show-tooltip::after {
    opacity: 1;
    visibility: visible;
  }