.team-logo {
    width: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.card-link {
    text-decoration: none;
    color: white;
}

.card-background-wrapper {
    position: relative;
    height: 200px; 
    overflow: hidden;
}

.backfont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    font-size: 100px;
    letter-spacing: -5px;
    opacity: 0.3;
    font-weight: 800;
    font-style: italic;
    color: #3A3A3A;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.card-content {
    position: relative;
    z-index: 1;
    height: 200px;
    background-color: #B0B0B0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cta {
    background-color: #fb4242;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 8px 16px;
    height: 38px; 
    line-height: 1.5;
    border-radius: 0 .25rem .25rem 0;
}

.input-group .form-control {
    height: 38px; 
    border-top-right-radius: 0; 
    border-bottom-right-radius: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-right: none;
}

.input-group .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: #fb4242;
}

@media (max-width: 576px) {
    .team-logo {
        width: 55%;
    }
    .card-background-wrapper {
        height: 150px; 
    }
    .text-truncate {
        font-size: 1rem;
    }
    .card-content p {
        font-size: 0.87rem;
    }
}
@media (max-width: 575px) {
    .team-logo {
        width: 50%;
    }
    .card-content {
        top: 0px;
    }
}

@media (max-width: 375px) {
    .card-content {
        top: -15px;
    }
}
@media (max-width: 425px) {
    .card-content {
        top: -25px;
    }
    .team-logo {
        width: 50%;
    }
}
@media (max-width: 320px) {
    .card-content {
        top: -20px;
    }
}
@media (max-width: 768px) {
    .team-logo {
        width: 70%;
    }
}
@media (min-width: 425px) and (max-width: 575px) {
    .team-logo {
        width: 50%;
    }
    .card-content {
        top: -20px;
    }
}
@media (min-width: 1440px) {
    .card-content {
        top: 0px;
    }
}
@media (min-width: 2560px) {
    .team-logo {
        width: 60%;
    }
}