/* default */
* {
    border: none;
    margin: 0;
    padding: 0;
    color: #3F4B3B;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -ms-touch-select: none;
    -webkit-user-select: none;
}
body {
    width: calc(100dvw - var(--scrollbar-width));
    overflow-y: auto;
    font-size: 16px;
    background-color: #F3F3F5;
}
/* info */
.info {
    margin: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    width: calc(100% - 2rem);
    background-color: #FFC952;
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: sticky;
    left: 0;
    top: 0;
}
.info span {
    font-weight: bold;
    text-align: justify;
    text-wrap: wrap;
}
/* nav */
nav {
    padding: 1rem 2rem;
    width: calc(100% - 4rem);
    height: 4rem;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 2rem;
    position: sticky;
    top: 0;
    left: 0;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.subject {
    width: 6rem;
    height: 3.5rem;
    border-radius: 1.75rem;
    position: relative;
}
.subject-select {
    border-radius: 1.75rem;
    background-color: #CFD2CE;
    overflow: hidden;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}
.subject:hover .subject-select {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.subject-option {
    padding: 1rem;
    height: 1.5rem;
    width: 4rem;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.subject-option.active {
    border-radius: 1.75rem;
    background-color: white;
}
.subject-option:hover {
    background-color: white;
}
.subject-option:hover span {
    font-weight: bold;
}
.subject-option span {
    font-size: 1.25rem;
}
.nav-items-container {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    column-gap: 0;
}
.nav-items {
    padding: 0.25rem;
    border-radius: 2.25rem;
    background-color: #CFD2CE;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav-item {
    padding: 0.25rem 1rem;
    border-radius: 1.75rem;
    height: 2.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav-item.active {
    background-color: white;
    cursor: default;
}
.nav-item span {
    font-size: 1.25rem;
}
.user-toggle-bt span {
    font-size: 1.25rem;
}
.nickname {
    cursor: pointer;
}
/* container */
.container {
    width: calc(100% - 4rem);
    padding: 1rem 2rem 2rem 2rem;
}
#papers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 0.5rem;
}
.tags-paper {
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 0;
    flex-wrap: wrap;
    position: static;
    top: 0;
    left: 0;
}
.tag-paper {
    padding: 0.5rem 1rem;
    border-radius: 2.5rem;
    text-wrap: nowrap;
    cursor: pointer;
}
.tag-paper:hover {
    font-weight: bold;
}
.tag-paper.active {
    font-weight: bold;
    cursor: default;
}
.item-paper {
    width: calc(100% - 2rem);
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
}
.item-paper-info {
    flex-grow: 1;
}
.item-paper-info span {
    font-size: 1.25rem;
}
.item-paper-bt {
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}
.item-paper-bt:hover {
    background-color: #F3F3F5;
}
/* fonts */
.h1 {
    font-size: 1.5rem;
    font-weight: bold;
}