* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
    position: relative;
    min-height: 100vh;
    padding-bottom: 2rem; /* Approximate height of the footer */
    overflow-x: hidden;
}

header {
    background-color: #333;
    color: white;
    padding: 0.25rem;
    text-align: center;
}

header h1 {
    font-size: 1.5rem;
}

.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1rem;
    min-height: 70vh;
}

.tile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tile {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.folder-icon::before {
    content: "\f07b"; /* Font Awesome folder icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 4rem;
    color: #87CEEB;
}

h2 {
    margin-top: 1rem;
    font-size: 1.2rem;
}

footer {
    text-align: center;
    padding: 0.25rem;
    background-color: #333;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1.5rem;
    margin: 0.25rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-style: italic;
}

footer a {
    color: #87CEEB;
    text-decoration: none;
}

/* Back button */
.back-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background-color: #87CEEB;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #5F9EA0;
}

/* Folder and file lists */
.folder-list,
.file-list {
    list-style-type: none;
    padding: 0;
}

.folder-list li,
.file-list li {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.folder-list li:hover,
.file-list li:hover {
    background-color: #f9f9f9;
}

.folder-list li a,
.file-list li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.folder-list .folder-icon::before,
.file-icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 2rem;
    color: #87CEEB;
    margin-right: 1rem;
}

.folder-list .folder-icon::before {
    content: "\f07b"; /* Font Awesome folder icon */
}

.file-icon::before {
    content: "\f15b"; /* Font Awesome file icon */
}