body {
    font-family: 'Moderustic', sans-serif;
    background-image: url('/files/assets/library/img/filmbg1.webp');
    background-size: cover;
    background-attachment: scroll;
    color: #e10834;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Apply box-sizing to all elements */
*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Style for the header */
header {
    background-color: rgba(28, 28, 28, 0.38);
    color: #f3ecf0;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style for the main content */
main {
    padding: 25px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style for sections */
section {
    margin-bottom: 30px;
}

/* Style for headings */
h1,
h2 {
    font-size: xx-large;
    border-bottom: 2px solid rgba(204, 16, 16, 0.294);
    color: #f3ecf0;
    padding-bottom: 10px;
    text-align: center;
}

/* Style for links */
a {
    color: #ccb610cc;
    text-decoration: none;
    text-align: center;
}

/* Style for links on hover */
a:hover {
    text-decoration: underline;
}

/* Style for the table container */
.table-container {
    max-height: 550px;
    overflow-y: auto;
    width: 100%;
    overflow-x: hidden;
    padding-right: 10px;
}

/* Style for the table, text body */
table {
    width: 100%;
    background: rgba(0, 0, 0, 0.116);
    color: #f8f6f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#movies-table {
    width: 100%;
    border-collapse: collapse;
}

#movies-table th,
#movies-table td {
    padding: 10px;
    text-align: left;
}

/* Style for table cells */
th,
td {
    border: 1px solid #37343641;
    padding: 10px;
    text-align: left;
    height: 20px;
}

/* Style for the header row */
th {
    background-color: #333333e7;
    color: #f3ecf0;
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: center;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
}

/* Style for odd rows */
tbody tr:nth-child(odd) {
    background-color: #272727e9;
}

/* Style for even rows */
tbody tr:nth-child(even) {
    background-color: #6f6b6be6;
}

/* Style for the button */
.styled-button {
    background-color: #cca31078;
    border: none;
    color: rgb(237, 223, 223);
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: "Archivo", serif;
    font-weight: bold;
    font-size: 14px;
    margin: 0px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.6s ease;
}

/* Style for the button on hover */
.styled-button:hover {
    background-color: #e010107b;
}

/* Style for the movies section */
#movies {
    padding: 0;
    border-radius: 8px;
    /* background: rgba(123, 6, 6, 0.7); */
    color: #f3ecf0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#search {
    width: 200px;
    height: 20px;
    border: 2px solid #5c0620d6;
    border-radius: 1px;
    padding: 2px;
    font-size: 14px;
    margin: 1px 1px;
}