* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: Arial, sans-serif;
    background-color: #1e0320;
    padding: 50px;
      width: 100%; 
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #fffdfd;
}

.contenedor-tarjetas {
    display: flex;           
    gap: 20px;               
    width: 100%;   
      flex-wrap: wrap;          
}

.tarjeta {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(182, 132, 240, 0.1);
    border: 1px solid #400652;
      flex:1 ;
}

.tarjeta img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #000000;
    display: block;
}

.tarjeta h2 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tarjeta p {
    color: #ffffff;
    margin: 8px 0;
    line-height: 1.4;
}

.botones {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    flex: 1;                 /* Botones del mismo tamaño */
    max-width: 100px;
}

.btn-seguir {
    background-color: #007bff;
    color: white;
}

.btn-seguir:hover {
    background-color: #0056b3;
}

.btn-mensaje {
    background-color: #6c757d;
    color: white;
}

.btn-mensaje:hover {
    background-color: #545b62;
}

.img:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5); 
}

.tarjeta img.icono {
    width: 50px;     
    height: 50px;  
    border-radius: 5px;
   display: inline-block
}