/* General body styling */
body {
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #000;
}

video#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.box {
    width: 30rem; /* Fixed width */
    height: 20rem; /* Fixed height */
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
}

.search-bar {
    width: calc(100% - 2rem);
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.search-bar::placeholder {
    color: #FFFFFF;
}

.elements {
    margin-top: 1rem;
    text-align: left; /* Align items to the left */
}

.element-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
}

.element-item:last-child {
    border-bottom: none;
}

.date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7); /* Slightly dimmer for dates */
}

.back-button {
    top: 1rem;
    left: 1rem;
    position: absolute;
    padding: 0.5rem 1rem;
    font-size: 18px;
    background-color: #ff2f2f52;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
}
.button:hover {
    background-color: #ff5050;
}