/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    color: #333;
    margin: 0;
    padding: 0;
}

h1 {
    color: #007bff;
    text-align: center;
}

.cover-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    background-color: #ccc; /* Default background color */
    overflow: hidden; /* Ensure cover photo doesn't overflow */
}

.cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cover-photo-container:hover .cover-upload-overlay {
    opacity: 1;
}

.cover-upload-overlay input[type="file"] {
    display: none;
}

.cover-upload-overlay label {
    cursor: pointer;
}

.profile-container {
    display: flex;
	 /*  flex-direction: column;Stack items vertically */
    max-width: 1200px;
    margin: 0 auto; /* Center align container */
}

.profile-details {
    margin-bottom: 20px;
}

.sidebar {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    flex-direction: row; /* Arrange items side by side by default */
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    margin-right: 20px;
}

.profile-info-container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    margin-bottom: 20px; /* Add space between profile info and other content */
}
 

.profile-picture {
    display: block;
    width: 150px; /* Adjust as per your design */
    height: 150px; /* Adjust as per your design */
    border-radius: 50%; /* Ensures it's round if needed */
}

.profile-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    cursor: pointer;
}

.profile-upload-overlay label {
    cursor: pointer;
}

.profile-picture-container:hover .profile-upload-overlay {
    display: flex;
}

.profile-picture-container:hover input[type=file] {
    display: block;
    opacity: 0; /* Hide the file input visually */
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.profile-details {
    padding-left: 10px; /* Add padding to separate from profile picture */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .profile-info-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .profile-details {
        padding-left: 0; /* Reset padding on smaller screens */
    }

    .profile-upload-overlay {
        display: none; /* Hide overlay on smaller screens */
    }
}

.profile-picture-container {
    position: relative;
    display: inline-block;
}

.profile-picture {
    display: block;
    width: 150px; /* Adjust as per your design */
    height: 150px; /* Adjust as per your design */
    border-radius: 50%; /* Ensures it's round if needed */
}

.profile-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    cursor: pointer;
}

.profile-upload-overlay label {
    cursor: pointer;
}

.profile-picture-container:hover .profile-upload-overlay {
    display: flex;
}

.profile-picture-container:hover input[type=file] {
    display: block;
    opacity: 0; /* Hide the file input visually */
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}
.profile-details {
    padding-left: 10px; /* Add padding to separate from profile picture */
}
.content {
    flex: 1; /* Take remaining space */
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.education-list {
    list-style: none;
    padding: 0;
}

.education-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.message-board textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
    resize: vertical; /* Allow vertical resizing */
}

.message-board button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.message-board button:hover {
    background-color: #0056b3;
}
/* Media query for smaller screens */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column; /* Stack items vertically */
    }

    .sidebar {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 20px; /* Add bottom margin to separate from content */
    }
}