body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-user-select: none;  /* Chrome, Safari, Opera */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Internet Explorer/Edge */
    user-select: none;          /* Estándar: Chrome, Opera, Firefox, Safari, Edge */
}

.main-logo {
    display: block;
    margin: 20px auto;  /* Esto centra el logo principal horizontalmente y da un margen alrededor. */
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section {
    width: 460px;
    height: 200px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-link {
    text-decoration: none;  /* Elimina el subrayado de los enlaces */
    color: inherit;  /* Asegura que el color del texto se herede y no cambie */
    display: block;  /* Hace que el enlace tome toda el área del div */
}

img, a {
    -moz-user-drag: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-drag: element;
    -ms-user-drag: none;
    draggable: false;
}

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

button {
    padding: 10px 20px;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .section {
        width: 90vw;   /* Ocupa casi todo el ancho del viewport en móviles */
        height: 90vw;  /* Mantiene la proporción */
        margin: 5vw;
    }
}