#content {
    background: #003a3b;
}

#archive-categorywrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 5vh;
    width: calc(100% - min(10vh, 10vw) - 30pt);
    padding: 5pt 15pt 5pt 15pt;
    align-self: center;
    height: fit-content;
    border-radius: 15pt;
    backdrop-filter: blur(20px);
    background: linear-gradient(to right, #d0f8bd40, #00000000);
    box-shadow: 0 .3vh 3vh 0 rgba(0,0,0,0.5);
}

#archive-categorytitle {
    font-size: 2.2vh;
    font-weight: light;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

#archive-categoryselect {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 2.2vh;
    font-weight: light;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    background-color: transparent;
    border: none;
    outline: none;
    width: fit-content;
    border-radius: 5px;
}

#archive-categoryselect option{
    color: rgb(79, 92, 98);
}

#archive-categoryselect option:hover{
    color: white;
    background-color: #005538;
}

#archive-wrap {
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    height: fit-content;
    background: #003a3b;
    background-image: url(/imgs/newsbg.png);
    background-repeat: repeat-y;
    background-position: center top;
    background-size: min(300vh, 300vw);
}

#archive-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30vh, 1fr));
    gap: 7vh;
    padding: 5vh 0vh 5vh 0vh;
    white-space: nowrap;
    width: calc(100% - min(10vh, 10vw));
    align-self: center;
    height: fit-content;
    border-radius: 0px;
    position: relative;
    margin-top: 5vh;
}

.archive-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex: none;
    height: fit-content;
    margin-bottom: 3vh;
    border: none;
    border-radius: 5pt;
    overflow: hidden;
    white-space: pre-wrap;
    scroll-snap-align: center;
    transition: filter 0.18s;
    transition: opacity 0.1s;
    cursor: pointer;
    backdrop-filter: blur(20px);
    background: linear-gradient(to bottom right, #d0f8bd40, #00000000);
    box-shadow: 0vh 0 3vh 0px rgba(0,0,0,0.5);
    transition: .3s ease;
}

.archive-item:hover {
    scale: 1.01;
}

.archive-item h3 {
    font-size: clamp(2vh, 3vh, 5vw);
    margin-top: 0.5vh;
    width: calc(100% - 20pt);
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    border-radius: 5pt;
    padding: 10pt 10pt 5pt 10pt;
    transition: .3s ease;
}

.archive-item:hover h3{
    color: #d0f8bd;
}

.archive-item-imgwrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5pt;
    margin-bottom: 2vh;
    width: 100%;
    aspect-ratio: 3 / 2;
    transition: .3s ease;
    box-shadow: 0vh 0.3vh 2vh 0px rgba(0,0,0,0.5);
}

.archive-item-imgwrap img{
    align-self: center;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    transform-origin: center center;
}

.archive-item:hover .archive-item-imgwrap img {
    transform: scale(1.05);
    max-width: 100%;
}

.archive-item p {
    width: calc(100% - 20pt);
    margin: 0;
    text-align: justify;
    line-height: normal;
    font-size: 2vh;
    color: rgba(255, 255, 255, 0.5);
    padding: 5pt 10pt 0 10pt;
}

#archive-mibtn {
    margin: 5vh 0 5vh 0;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: -.5vh .3vh 1vh rgba(0,0,0,0.1);
    font-size: 2vh;
    text-align: center;
    align-self: center;
    padding: 0 min(2.5vh, 5vw) 0 min(2.5vh, 5vw);
    width: fit-content;
    border: none;
    height: fit-content;
    min-height: 5vh;
    border-radius: 2vh;
    cursor: pointer;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom right, #d0f8bd40, #00000000);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.1);
}

#archive-mibtn:hover {
    scale: 1.1;
    color: #d0f8bd;
    text-shadow: 0 0 0 rgba(0,0,0,0);
    box-shadow: 0 0 2vh 0 rgba(0,0,0,0.3);
}

#archive-mibtn:disabled {
    color: rgba(255, 255, 255, 0.3);
    font-size: 2.2vh;
    background: linear-gradient(to bottom right, #001e1435, #003a3b95);
    cursor: default;
    border: 2pt rgba(255, 255, 255, 0.05) solid;
}

#archive-mibtn:disabled:hover{
    scale: 1;
    color: rgba(255, 255, 255, 0.3);
    text-shadow: none;
    box-shadow: none;
}