.circle-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.contact-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}

/* Custom CSS */
 .collection-item {
    display: flex;
    align-items: center;
}

.collection-item p {
    margin: 0;
}

.collection-item .title {
    font-size: 1.2rem;
}

.collection-item .material-icons {
    font-size: 36px;
}

/* Custom CSS */
.card-content p {
    margin: 0;
    font-size: 14px; /* Smaller font size for descriptions */
}

.card .material-icons {
    font-size: 48px; /* Increase size of icons */
}

.selected-card {
    background-color: #e0e0e0; /* Light gray background for selected card */
}

/* Bold title */
.card-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.modal {
    max-height: 100%;
}

@media (min-width: 700px) {
    .modal {
        top: 0%;
        min-width: 700px;
        max-width: 1000px;
    }
}


@media (max-width: 700px) {
    
    .modal {
        width: 100%;
        height: 100%;
        top:0 !important;         
        max-height: 100%;
    }

    /* Stack cards vertically on small screens */
    .card {
        flex-direction: column;
    }

    .card-content {
        text-align: left; /* Place description on the right */
        padding-left: 16px;
    }

    .card-content p {
        font-size: 14px;
    }
}


.button2 {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px; /* adjust the padding values to make the button smaller */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0px 21px;
    cursor: pointer;
    
  }a{cursor: pointer;}
  .small{
    font-size: 12px;height: 24px;line-height: 24px;
  }
.top-fab {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}
.tooltip {
    position: relative;
}

.tooltip:hover::before {
    content: attr(title);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.tooltip:hover::before {
    opacity: 1;
}