h1 {
    margin-top: 0px;
}

button {
    font-size: 1rem;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 0 1rem;
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
}

.container {
    display: inline-flex;
    margin: auto;
    gap: 20px;
    margin-top: 20px;
}

.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.person img {
    height: 100%;
    height: 250px;
    width: auto;

    border-radius: 10px;
}

@keyframes pulse-color {
    0% {
        border-color: #666;
        background-color: #f9f9f9;
    }

    50% {
        border-color: #666a;
        background-color: #f9f9f9;
    }

    100% {
        border-color: #666;
        background-color: #f9f9f9;
    }
}

.dropzone {
    min-height: 50px;
    height: 100%;
    margin-top: 10px;
    border: 2px dashed #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 5px;
    animation: pulse-color 1.5s infinite ease-in-out;
    width: 90%;
}


.draggable {
    padding: 8px;
    margin: 5px;
    background-color: #00000011;
    color: #000000cc;
    border-radius: 5px;
    border: 1px solid #000000cc;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    white-space: break-spaces;
}

#descriptions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-width: 500px;
    margin: 20px auto;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-top: 0;
    background: #fff8;
}

#up-symbol {
    font-size: 16px;
    color: #000b;
}

#submit-button {
    display: none;
    margin-top: 20px;
}

.wrong {
    background-color: #ff000066;
}

.correct {
    background-color: #00aa0066;
}

#show-answer-section {
    margin-top: 20px;
    display: none;
}

.selected-draggable {
    background-color: #f0f8ff;
    color: #333;
    box-shadow: inset 0 0 16px rgba(0, 123, 255, 0.7);
    animation: pulse 0.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.02);
    }
  }