.box-container {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 84px);
    overflow-y: auto;

    transform: none;
    z-index: 1;
    padding-bottom: 40px;
}

.box-container.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-container.scroll {
    display: block;
}

.box {
    position: relative;

    width: 360px;
    min-height: 150px; /*200px; will looks better with expiration time*/

    border-radius: 20px;
    padding: 10px;

    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);

    margin: 20px auto;
}

.box p {
    word-break: break-all;
}

.title {
    font-size: 1.6rem;
    margin: 0;
}

.file-data {
    margin-bottom: calc(10px + 50px /*buttons are absolute*/);
}

.buttons {
    position: absolute;
    bottom: 10px;

    width: calc(100% - 20px);
    height: 40px;

    display: flex;
    flex-direction: row;

    gap: 10px;
    margin-top: auto;
}

.buttons a {
    width: 100%;
    height: 100%;
}

.buttons button {
    position: relative;

    width: 100%;
    height: 100%;

    background-color: #2A2A2AFF;
    color: #eee;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    overflow: hidden;
    z-index: 0;

    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
}

.buttons button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, #2193b0, #ba6ded);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.buttons button:hover::before {
    opacity: 1;
}