@font-face {
    font-family: "Microserif";
    src: url("/static/Microserif.ttf") format("truetype");
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Cinzel;
    background-color: #221942ff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit; 
    text-decoration:none; 
    cursor: pointer;  
}

.navigation {
    display: flex;
    background-color: #93512cff;
}

.navigation div {
    color: white;
    font-weight: 500;
    padding: 1rem;
    font-size: 1.5rem;
}

.cards {
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 90px;
    height: 120px;
    overflow: clip;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 8px;
    background-color: white;
    border-radius: 3px;
}

.card .pic {
    width: 80px;
    height: 80px;
    margin: 5px;
    object-fit: cover;
}

.card .title {
    font-family: Tiny5;
    font-size: 10px;
    padding: 0px 5px;
    word-break: break-all;
    color: #f47682ff;
    text-align: center;
}

.archives {
    display: flex;
    flex-wrap: wrap;
}

.binder {
    width: 30px;
    height: 150px;
    overflow: clip;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    margin: 1px;
    background-color: white;
    border-radius: 1px;
}

.binder .title {
    writing-mode: sideways-lr;
    font-family: sans-serif;
    font-size: 15px;
    padding: 5px 5px;
    word-break: break-all;
    color: brown;
}

.card_container {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.card_container div {
    background-color: white;
    border-radius: 3px;
    width: 100px;
    height: 100px;
    font-family: Microserif;
    font-size: 10px;
    position: relative;
    word-break: break-all;
}

.card_container div div {
    padding: 5px;
    height: 100%;
    width: 100%;
    display: inline-block;
    position: absolute;
    background-color: transparent;
}

.card_container div .background {
    background-color: transparent;
    width: 100%;
    padding: 0;
}
