body {
    font-family: 'DM Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#main {
    background-color: #ffffff;
    padding: 20px;
    vertical-align: top;
    text-align: left;
    display:inline-block;
    max-width: 1200px;
}
/*
.header {
    background-color: #ffffff;
    padding: 10px;
    text-align: left;
    display:inline-block;
}
*/
.title {
    font-size: 30px;
    font-weight: bold;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color:#424242
}


.word-list {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f0f0;
}

.word {
    cursor: pointer;
    margin-bottom: 10px;
}
  

.thumbnail_wc {
    text-align: center;
    padding: 0 0 10px 0;
}

.thumbnail {
display: block;
width: 200px;
height: 200px;
margin: 10px;
cursor: pointer;
}

.thumbnail_wc {
    display: inline-block;
}
  
#sidebar {
    background-color: #f0f0f0;
    padding: 0 20px 10px 20px;
    float: left;
}

#image-viewer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.65);
    padding: 50px;
    display: none;
    overflow: auto;
    text-align: center; 
    box-sizing: border-box;
    margin: 10px;
    z-index: 9999;
}

#image-viewer #image-details {
    margin-top: -5px;
    color: #fff;
}


#image-viewer #legends {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}



#image-viewer img {
    max-height: 80vh;
    max-width: 80vw;
    margin-bottom: 10px;
}

#image-viewer .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    margin-top: 10px; 
}
  
#image-details {
margin-top: 10px;
color: #fff;
}

.bold {
font-weight: bold;
}
  

 
#image-viewer .arrow {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}
  
.left-arrow {
    float: left;
    margin-left: 10px;
}
  
.right-arrow {
    float: right;
    margin-right: 10px;
}

.color-box {
    width: 10px;
    height: 10px;
    margin-right: 5px;
    display: inline-block; 
}

.legend-text {
    align-items: left;
    font-size: 14px;
    color: #424242;
    margin-top: 0px;
    margin-left: 10px;
}

#new_legends {
    display: flex;
    justify-content: left;
    align-items: left;
    /* align-items: flex-start; */
    margin-top: 20px;
    flex-direction: column;
}
/* #new_legends {
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    margin-top: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
} */

.sense-legend {
    text-align: left;
    margin-bottom: 10px; 
}

.legend-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    align-items: center;
    margin-bottom: 0px;
}
