/*
 * Copyright (c) 2024. Mateable LLC
 */

#userOverlay {
    position: fixed;
    display: flex; /* Changed to flex to center the content */
    align-items: center; /* Center the content vertically */
    justify-content: center; /* Center the content horizontally */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.0); /* Initial background color to be transparent */
    transition: opacity 0.6s, visibility 0.6s, background-color 0.6s; /* Added background-color transition */
    opacity: 0; /* Initial opacity to be transparent */
    visibility: hidden; /* Make it initially hidden */
    z-index: 100;
    cursor: pointer;
}

#userOverlay.show {
    background-color: rgba(0,0,0,0.6); /* Final background color */
    opacity: 1; /* Final opacity to make it visible */
    visibility: visible; /* Make it visible */
}

#userOverlayText {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 100;
}
textarea {
    resize: none;
}

.exit-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.exit-button:hover {
    color: red;
}


.floating-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(57, 50, 62, 0.45);
    color: white;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.6);
}

.floating-menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

.floating-menu a:hover {
    color: #ddd;
}