* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f3f5f7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 40px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.module-btn {
    background: white;
    border: none;
    border-radius: 12px;
    padding: 30px 20px;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0px 5px 15px rgba(0,0,0,.08);
    font-size: 18px;
    font-weight: bold;
    color: #444;
}

.module-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,.15);
    background: #204E78;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,.5);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;

    margin: 80px auto;
    border-radius: 15px;
    overflow: hidden;
    animation: aparecer .25s;
}

@keyframes aparecer {
    from {
        transform: scale(.9);
        opacity: .5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: #204E78;
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px;
}

#closeModal {
    font-size: 30px;
    cursor: pointer;
}

#linksContainer {
    padding: 20px;
}

.link-item {
    margin-bottom: 12px;
}

.link-item a {
    display: block;
    text-decoration: none;
    background: #f7f7f7;
    color: #333;

    padding: 15px;
    border-radius: 8px;

    transition: .2s;
}

.link-item a:hover {
    background: #204E78;
    color: white;
}
