
/* Global styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    background: url('images/pexels-victorfreitas-744780.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

/* Container styles */
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(36 223 119 / 87%);
    width: 300px;
    margin-bottom: 20px;
    position: relative; 
    z-index: 1; 
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Form styles */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 100px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #5cb85c;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #4cae4c;
}

/* User profile container */
#userProfileContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    z-index: 0; /* Ensure it's below the form */
    position: relative; /* Positioning context for pseudo elements */
}

/* User profile styles */
.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: 250px; /* Fixed width for consistency */
    box-sizing: border-box; /* Include padding and border in width */
}

.user-icon {
    font-size: 40px;
    margin-bottom: 10px; /* Space between icon and text */
}

.user-info {
    text-align: center; /* Center text */
}

.aboutMeBtn {
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.aboutMeBtn:hover {
    background-color: #0056b3;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2; /* Above all other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Scrollable section styles */
#scrollableSection {
    max-height: 60vh; /* Adjust height as needed */
    overflow-y: auto;
    padding: 10px;
    margin-top: 20px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px; /* Adjust width as needed */
}

/* Hide horizontal scrollbar */
#scrollableSection::-webkit-scrollbar {
    display: none;
}


