body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

h2, h3 {
    text-align: center;
    color: #333;
    margin: 20px 0;
}

button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

a{
    text-decoration: none;
}

.navbar {
    background-color: #333;
    padding: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%; 
    justify-content: center; 
}

.navbar .nav-item {
    margin: 0 20px;
    padding: 10px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.navbar .nav-item:hover {
    background-color: #555;
}

.navbar .nav-item.active {
    background-color: #4CAF50; 
}

.navbar .logout {
    background-color: #f44336; 
    font-weight: bold;
    position: absolute;
    right: 10px;
}

.navbar .logout:hover {
    background-color: #e53935; 
}

.dropArea {
    width: 300px;
    height: 300px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    background-color: white;
    transition: 0.3s;
}

.dropArea:hover {
    border-color: #4CAF50;
}

.dropArea img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.botones-drop{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
}

.gallery img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #ddd;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
    border-color: #4CAF50;
}

.imageViewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.imageViewer img {
    max-width: 80%;
    max-height: 80%;
    margin-bottom: 20px;
    border-radius: 10px;
}

.imageViewer .buttonContainer {
    display: flex;
    gap: 10px;
}