body {
    background-color: #ffffff;
    position: relative;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    padding-bottom: 70px;
    /* background-image: url("/images/background.png");*/
}

.navbar,
.footer {
    background-color: #002147;
}

html,
body {
    height: 100%;
}

.navbar {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-brand img {
    height: 50px;
}

.container {
    margin-top: 5%;
}

h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

#main {
    overflow: auto;
    padding-bottom: 100px;
}

.card {
    background-color: #002147;
    border: none;
    color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Ensure cards are the same height */
}

.card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.card-title {
    font-size: 18px;
    margin-top: 15px;
}


.card-placeholder {
    background-color: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.footer {
    padding-top: 20px;
}


.footer-icons a {
    color: white;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #D4AF37;
    border-radius: 50%;
    margin: 0 10px;
    text-decoration: none;
    margin-bottom: 15px;
}

.card-body img {
    max-width: 100%;
    height: auto;
}


a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: #8222ff;
    text-decoration: none;
    cursor: pointer;
}



.card {
    transition: transform .2s;
    /* Animation */
}

.card:hover {
    transform: scale(1.1);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* Desktop view */
@media (min-width: 577px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .col-md-4 {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex: 1;
        padding: 10px;
    }

    .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;

    }

    .logo-financeiro {
        width: 40%;
        max-width: 50px;
        /* Adjust logo size */
        /* margin-right: 10px; */
        margin-bottom: 10px;
    }
    @supports (-moz-appearance: none) {
        .logo-financeiro {
            width: 35%;
        }
    }
    .name-financeiro {
        width: 70%;
        max-width: 100px;
        /* Adjust text size */
    }

    .logo-protesto {
        width: 40%;
        max-width: 50px;
        /* Adjust logo size */
        /* margin-right: 10px; */
        margin-bottom: 10px;
    }

    .name-protesto {
        width: 70%;
        max-width: 100px;
        /* Adjust text size */
    }

    .logo-notas {
        width: 40%;
        max-width: 50px;
        margin-bottom: 10px;
    }
    
    /* Específico para Firefox */
    @supports (-moz-appearance: none) {
        .logo-notas {
            width: 66%;
        }
    }

    .name-notas {
        width: 70%;
        max-width: 100px;
        /* Adjust text size */
    }


    .card-body .logo-pair {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
    }

}



/* Mobile view */
@media (max-width: 576px) {
    .card-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card-body .logo-pair {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .card-body .logo-pair img {
        width: 70%;
        /* max-width: 100px; */
        /* Adjust text size */
    }

    .card {
        height: auto;
        /* Allow card height to adjust based on content */
    }

    a {
        color: #ffffff;
        font-size: AUTO;
        text-decoration: none;
    }

    a:hover {
        color: #00A0C6;
        font-size: AUTO;
        text-decoration: none;
        cursor: pointer;
    }


}


.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.circles img {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles img:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles img:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles img:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles img:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles img:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles img:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles img:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles img:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles img:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles img:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}