body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 2em;
}

.directories ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin: 20px 0;
}

.directories ul li {
    display: inline-block;
    margin: 15px;
    font-size: 1.2em;
    text-align: center;
}

.directories ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.directories ul li a:hover {
    color: #0056b3;
}

.folder-icon {
    width: 24px;
    height: 24px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.image {
    margin: 10px;
    border: 2px solid #ccc;
    overflow: hidden;
    max-width: 200px;
    max-height: 200px;
}

.image img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.image img:hover {
    transform: scale(1.05);
}

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.image-viewer img {
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 20px;
}

.image-viewer button {
    font-size: 1.5em;
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.image-viewer button:hover {
    background-color: #0056b3;
}

.image-viewer #close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    background-color: transparent;
    color: #fff;
}


/* Login page styles */
.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.login-container form div {
    margin-bottom: 15px;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
}

.login-container input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    font-weight: bold;
    text-align: center;
}

.logout-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.logout-btn:hover {
    background-color: #c82333;
}