.btn-babylon {
    border: 1px solid #3C996C;
    border-radius: 40px;
    color: #000;
    font-size: 16px;
    padding: 10px 20px;
    text-decoration: none;
}

.btn-babylon:hover {
    text-decoration: none;
    color: #000;
}

.buttons {
    position: relative;
    bottom: 40px;
    margin: 0 auto;
}
  
.buttons img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.buttons a {
    text-decoration: none;
}

.body-container a {
    text-decoration: none;
    color: #000;
}

.fanclubs-title.active {
    position: relative;
}

.fanclubs-title.active::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -8px;
    width: 60%;
    height: 4px;
    background-color: #ccc;
    border-bottom: none;
}

.babylonclub-nav { 
    margin-left: 200px;
}

.fanclubs-title {
    font-weight: bold;
    margin-left: 10px;
}

.body-container-content-text {
    display: flex;
    justify-content: center;
}

.body-container-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}
  
.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 2px solid #000 !important;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    background: white;
    gap: 1.5rem;
    flex: 1 1 calc(50% - 2rem);
    justify-content: center;
}

.card .card-content {
    gap: 30px;
}

.card .card-content h3 {
    padding-bottom: 20px;
}

.card-content img {
    width: 180px !important;
    height: 180px !important;
    object-fit: cover;
    background-color: #D9D9D9;
}

.flag {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    background: #ccc;
}

.info {
    flex: 1;
}

.body-container-fanclubs {
    margin-top: 50px;
    text-align: center;
}

.card-fanclub {
    display: flex;
    justify-content: center;
    height: 290px;
}

.body-container-fanclubs span {
    font-size: 20px;
    margin-bottom: 30px;
    display: block;
}

.body-container-fanclubs .container {
    margin-bottom: 60px;
    width: 60%;
}

.body-container-fanclubs .container.container-form {
    width: 50%;
}
  
h2 {
    margin: 0;
    font-size: 1.5rem;
}

.babylons {
    color: #777;
    margin: 0.3rem 0 1rem;
}
  
.buttons button {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border: 2px solid #000;
    border-radius: 999px;
    background: white;
    cursor: pointer;
}
  

.body-container-content a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    border: 2px solid #000;
    border-radius: 40px;
    padding: 10px 20px;
    margin: 30px;
    width: 30%;
    text-align: center;
}

a.btn-rules {
    border: 1px solid #3C996C;
    border-radius: 40px;
    padding: 10px 20px;
    margin: 30px;
    width: 20%;
    cursor: pointer;
}

a.btn-rules:hover {
    background-color: #3C996C;
    color: #fff;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 140px;
    text-align: center;
}

.modal-header {
    border: none;
}

.modal-body {
    padding: 0 80px;
}

.modal-body h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.modal-body p {
    padding-top: 20px;
}

.modal-body ol li:hover {
    text-decoration: none;
    font-weight: lighter;
}

.card-add-fanclub {
    display: flex;
    justify-content: center;
    border: none;
    background-color: #D9D9D9;
    border-radius: 22px;
    font-size: 30px;
    height: 290px;
    display: flex;
    align-items: center;
}

.content-form {
    background-color: #F5F5F5;
    border-radius: 20px;
    padding: 50px 40px;
}

.content-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.content-form .row.rrss{
    text-align: left;

}

.content-form form label {
    color: #5F5F5F;
    text-align: left;
}
.content-form form input {
    border: none;
    background-color: #F5F5F5;
    border-bottom: 1px solid #000!important;
}

.content-form .btn-send {
    border-radius: 20px;
    border: 2px solid #5F5F5F;
    width: 18%;
    padding: 6px;
}

.content-form .send {
    display: flex;
    justify-content: end;
}

.body-container-fanclubs .invalid-feedback {
    font-size: 14px;
    margin-bottom: 0;
    text-align: left;
}

.modal-success .modal-body{
    padding: 50px 100px;
    text-align: center;
}

.fanclub-card {
    display: flex;
    flex-direction: column;
    height: 180px;
    align-items: center;
}

.fanclub-card h3 {
    min-height: 3rem; /* Altura mínima para el título */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.fanclub-card .d-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fanclub-card .btn {
    margin-bottom: 0.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .body-container-content a {
        width: 92%;
    }

    .babylonclub-nav {
        margin-left: 20px;
    }

    .body-container-fanclubs .container {
        width: 100%;
    }

    .card .card-content {
        gap: 12px;
    }

    .body-container-fanclubs .container.container-form {
        width: 92%;
    }

    .content-form .btn-send {
        width: 60%;
    }

    .content-form .send {
        justify-content: center;
    }
   
    .modal-body {
        padding: 0 30px;
    }
    
}