:root {
    --primary-color: #ffffff;
    --secondary-color: #00a7d9;
    --light-color: #00a7d9;
    --dark-color: #000000;
    --formal-dark-color: #333;
    --formal-light-color: #f1f1f1;
    --desert-color: #00a7d9;
}


.main-tramites{
    padding-top: 100px;
}

#titulo-area{
    text-align: center;
    font-size: 2rem;
}

#tramites-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

#lista-tramites {
    list-style: none;
    padding: 0;
}

#lista-tramites li {
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    border-radius: 2rem;
}

#lista-tramites li:hover {
    background-color: #333;
    color: #00a7d9;
}

#lista-tramites li:last-child {
    border-bottom: none;
}

/* Estilos para la ventana emergente */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
    
}

.popup-content {
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    min-height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
    font-size: 1.5rem;
}

.close-btn {
    color: var(--secondary-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-nav {
    display: inline-block;
    margin: 20px 10px 0;
    padding: 10px 20px;
    background-color: var(--formal-dark-color);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    align-self: flex-end;

}

.popup-nav:hover {
    color: var(--primary-color);
}


.popup-nav-container {
    align-self: flex-end;
    align-items: end;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideIn {
    from {transform: translateY(-50px);}
    to {transform: translateY(0);}
}