

body {
    background: url('../img/fond.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

}
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.head{
    background-color: #063566;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
}
.logo-header {
    width: 60px; /* Ajusta el tamaño según lo necesites */
    height: auto;
}
.content {
    flex-grow: 1;
    padding-top: 100px;
}
.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;
}
.footer {
    background-color: #063566;
    color: white;
    padding: 20px 0;
    position: relative;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.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;
}
.card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.card-img-top {
    height: 250px;
    object-fit: cover;
    position: relative;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.card-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 2;
}

.card-title {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

@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;
    }
}
