body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #e6e9ef;
    color: #333;
}

#principal {
    background: #5d3b92; /* Purple background */
    color: #fff;
    position: relative;
    overflow: hidden;
}

header {
    text-align: center;
    padding: 35px;
}

.title-container {
    position: relative;
    z-index: 1;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3em;
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5em;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.2;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

#content {
    width: 80%;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: transparent;
    margin: 20px 60px; /* Reduced top margin */
    padding: 20px;
    position: relative;
}

.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(50% - 40px);
    box-sizing: border-box;
    text-align: center;
    /* Removed display block to make it no longer a clickable link */
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h2 {
    margin: 0 0 10px;
    color: #5d3b92;
}

.card p {
    margin: 0 0 20px;
    color: #666;
}

footer {
    text-align: center;
    padding: 10px;
    background: #4a4a4a; /* Dark grey background */
    color: #fff;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    #content {
        margin: 20px 30px; /* Adjusted margin for tablet */
    }

    .card {
        width: calc(50% - 30px);
        margin: 15px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 20px;
    }

    h1 {
        font-size: 2.5em;
    }

    .card {
        width: calc(100% - 40px);
        margin: 20px;
    }

    #content {
        width: 100%;
        margin: 20px 0; /* Adjusted margin for mobile */
        padding: 20px;
    }
}
