@font-face {
    font-family: "Jersey15";
    src: url("Jersey15-Regular.ttf");
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: black;
}
#app{
    max-width: 1920px;
    height: 100vh;
    overflow: hidden;
    margin-inline: auto;
}

#ui{
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 2 / 1;
    height: 100%;
    max-height: 960px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    pointer-events: none;
    overflow: hidden;
}

#inventaire{
    width: 20%;
    max-height: 100vh;
    position: absolute;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 2em;
    overflow-y: scroll;
    pointer-events: auto;
    padding-top: 2em;
    margin-bottom: 10em;
    opacity: 50%;
    scrollbar-width: none;
    padding-right: 20px;
}

#inventaire:hover{
    opacity: 100%;
}

#inventaire::-webkit-scrollbar{
    display: none;
}

.inventory-object{
    width: 150px;
    height: 150px;
    background: url("../sprites/Object_BG.png");
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

.object-image{
    width: 80%;
}

#pause{
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.3);
    position: absolute;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
}

#pause p{
    width: 100%;
    height: 20%;
    background-color: rgb(0, 0, 0, 0.5);
    color: white;
    font-size: 10em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Jersey15";
}

#unlock-window{
    width: 100%;
    height: 100%;
    position: absolute;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#unlock-bloc{
    width: 50%;
    height: 30%;
    background-color: black;
    color: white;
    padding: 2em;
    font-family: "Jersey15";
}

#unlock-title{
    font-size: 4rem;
}

#unlock-text, #interact-text{
    font-size: 2rem;
}

#interact-block{
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

#interact-window{
    margin-right: 400px;
    width: 1000px;
    height: 50%;
    padding: 1em;
    background-color: black;
    color: white;
    font-family: "Jersey15";
    font-size: 3rem;
}

#drop-zone{
    width: 150px;
    height: 150px;
    border: solid white 5px;
    margin-top: 20px;
}

.unpaused{
    display: none;
}

.paused{
    display: flex;
}