/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
  }
  
  .container {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%; /* Adjusted for smartphone screens */
    max-width: 400px; /* Limit for larger devices */
    margin: auto;
  }
  
  /* Contact Details */
  .contact-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .contact-button {
    flex: 1; /* Make buttons equal in size */
    text-decoration: none;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
  }
  
  .contact-button:hover {
    background-color: #0056b3;
  }
  
  /* Profile Photo */
  .photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Message */
  .message p {
    margin: 10px 0;
    font-size: 14px; /* Slightly smaller font for smartphones */
  }
  
  /* Voice Clip Buttons */
  .voice-clip button {
    padding: 10px;
    margin: 10px 5px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    width: 45%; /* Buttons take half width */
  }
  
  .voice-clip button:hover {
    background-color: #218838;
  }
  
  .voice-clip button:last-child {
    background-color: #dc3545;
  }
  
  .voice-clip button:last-child:hover {
    background-color: #c82333;
  }
  
  /* Navigation Buttons */
  .buttons button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
  }
  
  .buttons button:hover {
    background-color: #218838;
  }
  