body{
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #aebbc3;
    font-family: "Akz";
}

/* CABINET D'ARCHIVES */

.archive-cabinet{
    display: grid;
    grid-template-columns: 12vw 1fr 12vw;
    grid-template-rows: 2vh 1fr 2vh;
    height: 100%;
    border-radius: 2px;
    column-gap: 3vh;
    row-gap: 3vh;
}

.drawer{
    background: #bcc8cf;
    border: 1px solid #9eaab1;
}

.label {
  border: 9px solid #d3dbe0;
  grid-area: 2 / 4 / 4 / 6;

  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("./assets/UDDPPNA-posts_insta-hor.png");

  box-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

#handle {
    grid-area: 6 / 4 / 7 / 6;
    border-radius: 2px 2px 7px 7px;
    background-color: #c8d1d6;
    cursor: grab;
    height: 40%;
    align-self: center;

    --r: .25em;

    border-radius: 0.8em;

    --_g:0/var(--r) calc(2*var(--r)) no-repeat;

      background: 
    radial-gradient(100% 50% at right,#0005 98%,#0000 101%) 0    var(--_g),
    radial-gradient(100% 50% at left ,#0005 98%,#0000 101%) 100% var(--_g),
    conic-gradient(at var(--r) calc(2*var(--r)),#0000 25%,#d3dbe0 0)
     0 0/calc(100% - var(--r)) 100%;

    box-shadow: 4px 4px 3px rgba(0,0,0,0.25);
}

#handle:active{
    cursor: grabbing;
} 

.middle-left{
    background: #bcc8cf;
    grid-area: 2 / 1 / 2 / 1;
}

.middle-middle{
    background: #bcc8cf;
    grid-area: 2 / 2 / 2 / 2;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    column-gap: 0;
    border: 1px solid #9eaab1;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.4), inset 3px 0px 5px rgba(255, 255, 255, 0.15);
}

.middle-right{
    background: #bcc8cf;
    grid-area: 2 / 3 / 3 / 4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2vh;
}

#frontview{
    position: relative;
    z-index: 2;
}

#reset{
    display: none;
    padding: 5px 10px;
    font-family: "Akz";
    font-size: 12px;
    color: #2f3a40;
    background: #fff;
    cursor: pointer;
    border: 5px solid #d3dbe0;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.25)
}

#reset:hover{
    background: #fafafa;
}




/* INTERIEUR */

#inside{
    background: #7d8a92;
    box-shadow: inset 0 -5px 10px rgba(0,0,0,0.25);
    border: none;
    overflow: auto;
    padding: 3vh 0;

    display: grid;
    grid-template-columns: repeat(auto-fill, 150px); 
    grid-template-rows: none;
    grid-auto-rows: auto;
    justify-content: space-around; 
    align-content: start;
    align-items: start;
    gap: 3vh 1vw;
    position: relative;
    z-index: 1;
}

figure{
    margin: 0;
    text-align: center;
    font-size: 12px;
    overflow-wrap: anywhere;
    cursor: pointer;
    user-select: none;
}

figure > img{
    width: 80px;
    height: auto;
}

.landscaped{
    transform: rotate(90deg);
}

figcaption{
    text-transform: uppercase;
    margin-top: 5px;
}


@font-face {
    font-family: "Akz";
    src: url(./assets/AkzidenzGrotesk-Medium.otf);
}