body, html {
    height: 100%;
    margin: 0;
}

.bg-img {
    background-image: url('../img/principal.jpg');
    min-height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.text1 {
    color: black;
    text-align: center;
}

.text1:hover {
    color: white;
}

.text2 {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.text3 {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
}

.content h1 {
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 40px;
}

.content p {
    margin-bottom: 60px;
}

.options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    margin: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 0;
}

.card-btn {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.card-btn:hover {
    background-color: rgba(25, 80, 192, 0.8);
}

.footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.social-icon {
    color: white;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #007bff;
}

.footer p {
    margin: 10px 0;
}

.copyright {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .content {
        padding: 10px;
        margin-top: 50px;
    }

    .content h1 {
        font-size: 3em;
    }

    .content p {
        margin-bottom: 30px;
    }

    .footer-logo {
        width: 120px;
    }

    .social-icons {
        font-size: 1.5em;
    }

    .card {
        min-width: 92%; /* Ensure cards are full-width on small screens */
        max-width: 92%;
    }
}

@media (max-width: 576px) {
    .content h1 {
        font-size: 2.5em;
    }
}