body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

#gallery-container, #media-container, #fullscreen-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#login-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

#login-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#login-form label {
    font-size: 16px;
    color: #555;
    text-align: left;
}

#login-form input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#login-form button {
    padding: 10px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#login-form button:hover {
    background-color: #45a049;
}

.error-message {
    color: red;
    font-size: 14px;
}

#gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    text-align: center;
}

.gallery-item {
    background-color: rgb(255, 255, 0);
    color: rgb(255, 0, 0);
    font-family: 'Calibri', sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100px;
}

.gallery-item:hover {
    background-color: #d0d0d0;
}

#fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

#fullscreen-container img, #fullscreen-container video {
    max-width: 90%;
    max-height: 90%;
}

.fullscreen-control {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

#next, #prev {
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 3em;
    cursor: pointer;
    user-select: none;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}
