@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Plus Jakarta Sans", Arial;
    line-height: 28px;
    --Light-Primary-50: #52b8ff;
    --Light-Primary-90: #f0f9ff;
    background-color: #1c1c1d;
}
button {
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: 0.3s;
}
button:hover {
    background-color: rgb(229, 229, 229);
}
.container {
    margin: 50px 0;
}
.upload-file {
    width: 100%;
    text-align: center;
}
.upload-file input {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
}
#pdf-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
    gap: 20px;
}

#canvas-container {
    flex: 1;
    position: relative;
    text-align: center;
}

canvas {
    border: 1px solid #e7e7e7;
    max-width: 100%;
}

.controls {
    margin-top: 10px;
    color: #fff;
}
.controls button {
    font-family: inherit;
    border-radius: 20px;
    border: none;
}

#text-container {
    flex: 1;
    text-align: left;
    padding: 15px;
    /* border-left: 1px solid gray; */
    overflow-y: auto;
    max-height: 600px;
    font-size: 15px;
    line-height: 27px;
    background-color: #252728;
    color: #fff;
    font-weight: 400;
    border-radius: 15px;
}
#text-container::-webkit-scrollbar {
    width: 5px;
}

#text-container::-webkit-scrollbar-track {
    background: rgb(6, 6, 6);
    border-radius: 100px;
}

#text-container::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #ccc;
    cursor: pointer;
}
.hidden {
    display: none;
}

#word-popup {
    position: absolute;
    background: white;
    border: 1px solid #e7e7e7;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

button {
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
}
.vocabulary_list {
    text-align: center;
    border: 1px solid #ddd;
    width: 55%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
}
.vocabulary_list ul {
    list-style: none;
}
#dictionary-list {
    position: relative;
}

#dictionary-list > button {
    position: absolute;
    right: -20px;
    top: -47px;
}
