body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0f7fa, #ffc2ef);
    color: #333;
    line-height: 1.7;
}

header {
    background-color: #38c172;
    color: white;
    text-align: center;
    padding: 10px 0; /* Reducido el padding vertical */
    box-shadow:  4px 80px rgba(0, 0, 0, 0.1);
    display: flex; /* Añadido display flex */
    align-items: center; /* Centrado verticalmente */
    justify-content: space-between; /* Espacio entre elementos */
}

header h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin: 0 520px; /* Añadido margen derecho */
}

.quejas-logo {
    height: 103px; /* Tamaño del logo reducido a 30px */
    margin-right: 20px; /* Añadido margen derecho */
}

main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.modulo-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.modulo {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 30px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 15px;
    display: flex;
    align-items: center;
    width: 300px;
}

.modulo:hover,
.modulo:active {
    transform: translateY(-15px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.modulo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.modulo i {
    font-size: 90px;
    margin-right: 20px;
    color: #38c172;
    transition: color 0.3s ease;
}

.modulo a:hover i,
.modulo a:active i {
    color: #38c172;
}

.modulo span {
    font-size: 1.3em;
    font-weight: 600;
    flex-grow: 1;
    text-align: left;
}

.modulo a::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 30px;
    color: #38c172;
    margin-left: 20px;
}

.redes-sociales-lateral {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.red-social-lateral {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.red-social-lateral:hover {
    transform: translateY(-5px);
}

.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #1877F2;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#accesibilidad-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #20c997;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modo-accesibilidad {
    font-size: 1.2em;
    line-height: 1.8;
    background-color: #f0f0f0;
    color: #333;
}

.modo-accesibilidad a {
    text-decoration: underline;
}

.modo-accesibilidad img {
    border: 2px solid #333;
}