

/* Overlay Styles */
.overlay1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Darker semi-transparent background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Ensure the overlay is above everything */
    transition: opacity 0.3s ease; /* Smooth transition for overlay */
}

/* Share Section Styles */
.share-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(36, 36, 36); /* Matching background color */
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 600px;
    max-height: 60%; /* Covers from the bottom to half of the screen */
    overflow-y: auto;
    z-index: 2100; /* Ensure it's above the overlay */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for sliding and fading */
}

/* Show the share section */
.share-section.active {
    transform: translateY(0); /* Slide up to visible position */
    opacity: 1; /* Ensure it's fully visible */
}

/* Hide the share section */
.share-section.inactive {
    transform: translateY(100%); /* Slide back to offscreen */
    opacity: 0; /* Make it transparent */
}

/* Close Button Styles */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #f5f5f5; /* Light color to match text */
    cursor: pointer;
}

/* Share Options Styles */
.share-options {
    display: flex;
    flex-direction: column;
}

.share-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.3s ease;
    color: #f5f5f5; /* Light color for text */
}

.share-option img {
    margin-right: 10px;
}

.share-option:hover {
    background: #333; /* Dark background on hover */
}


