* {
    margin: 0;
    padding: 0;
    /* font-family: Lora, serif; */
    font-family: 'Roboto', sans-serif;
}

/* Navbar styles */
.navbar {
    display: block;
    position: static;
    background: #004b93;
    width: 100%;
    height: 100px;
}

.navbar-brand {
    color: #fff;
    text-decoration: none;
    width: 75%;
    text-align: center;
}

.navbar-brand:hover {
    color: #fff;
    text-decoration: none !important;

}

#logo-unimex {
    height: auto;
}

/* Main content styles */
.container {
    min-height: 100%;
    padding-bottom: 55px;
}

main {
    flex: 1;
    position: relative;
    min-height: 100%;
    background-image: url('../img/logo-fondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.container .row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

h2 {
    text-align: center;
}

/* 
.card {
    background-color: transparent;
    border: none;
}

.card:hover {
    box-shadow: 0 2rem 2rem rgba(0, 0, 0, 0.50) !important;
    background-color: #fff !important;
} */
/* propuesta de estilos de cards*/
.card {
    position: relative;
    background-color: #ffffff;
    display: flex;
    padding: 12px;
    gap: 12px;
    cursor: pointer;
    color: rgb(0, 0, 0);
    box-shadow: 10px 10px 5px #004c93a6;
    transition: box-shadow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Añade transición */

}

.card:hover {
    box-shadow: none;
    /* Elimina el box-shadow en hover */
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    left: 0px;
    margin: auto;
    border-radius: 10px;
    background: #004b93;
    z-index: -1;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none;
}

.card::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: #004b93;
    transform: translate3d(0, 0, 0) scale(0);
    filter: blur(20px);
}

.card:hover::after {
    filter: blur(30px);
}

.card:hover::before {
    transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);

}

/* fin propuesta de estilos de cards */

.card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card>img {
    align-self: center;
    max-width: 65%;
    height: auto;
}

.btn-unimex {
    background-color: #004b93;
    width: 70%;
    min-width: 168px;
    box-sizing: border-box;
    text-align: center;
    padding: 0.5rem 1rem;
    color: #fff;
    transition: all 0.4s ease-out;


}

.btn-unimex:hover {
    background-color: #f8981d;
    border-color: #f8981d;
    transform: scale(1.1);
}

#flotante {
    position: fixed;
    bottom: 50%;
    top: 50%;
    left: 0;
}

.launch {
    font-size: 20px;
}

.email-icon {
    font-size: 34px;
    color: #fff;
    width: auto;
    height: auto;
}

.mat-icon {
    width: 32px !important;
}

.tooltip-unimex {
    background-color: #004b93 !important;
    color: #fff;
}

#flotante .btn {
    min-width: 70px;
}

/* Footer styles */
footer {
    width: 100%;
    height: 55px;
    margin-top: -55px;
    background-color: #004b93;
    position: relative;
    bottom: 0;
}

footer p {
    text-align: center;
    font-size: 25px;
    color: #fff;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 575.98px) {
    .navbar-brand #logo-unimex {
        float: none !important;
        align-self: center !important;
    }

    .navbar h1 {
        display: none;
    }

    .card {
        box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15) !important;
        background-color: #fff;
        width: auto !important;
    }

    .card:hover::before {
        transform: rotate(-180deg) scaleX(1.05) scaleY(0.77);
    }


    .card>img {
        display: none;
    }

    .email-icon {
        font-size: 26px;
    }

    footer p {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand #logo-unimex {
        float: none !important;
        align-self: center !important;
    }

    .navbar h1 {
        display: none;
    }

    .card {
        box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15) !important;
        background-color: #fff;
        width: auto !important;
    }

    .card:hover::before {
        transform: rotate(-180deg) scaleX(1.10) scaleY(0.77);
    }

    .card>img {
        display: none;
    }

    .email-icon {
        font-size: 27px;
    }

    footer p {
        font-size: 18px;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand #logo-unimex {
        float: left;
    }

    .card {
        width: 14rem;
    }

    .email-icon {
        font-size: 29px;
    }

    .tooltip-unimex {
        font-size: 12px;
    }

    footer p {
        font-size: 22px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-brand #logo-unimex {
        float: left;
    }

    .card {
        width: 10rem;
    }

    .email-icon {
        font-size: 30px;
    }

    .tooltip-unimex {
        font-size: 14px;
    }
}

@media (max-width: 1399.98px) {
    .navbar-brand #logo-unimex {
        float: left;
    }

    .card {
        width: 11rem;
    }

    .email-icon {
        font-size: 32px;
    }

    .tooltip-unimex {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand #logo-unimex {
        float: left;
    }

    .card {
        width: 11rem;
    }

    .email-icon {
        font-size: 32px;
    }

    .tooltip-unimex {
        font-size: 12px;
    }
}