@media screen and (max-width: 600px) {
  body {
    /* Adjust the styles as needed */
    background-size: auto;
  }
    .profile-header {
        max-width: 100%; /* Make the box take up the full width */
        height: 50vh;
        margin: auto; /* Add top margin equal to the height of the navbar */
        box-sizing: border-box; /* Include border and padding in box's total width and height */
    }
}
/* Set the background image */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 0;
}

body::after {
  content: "";
  background-color: #111C26;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed; /* Change this line */
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Style the navigation bar */
.navbar ul {
position: fixed;
z-index: 2;
width: 100%;
top: 0;
background-color: #111C26;
list-style: none;
padding: 0;
margin: -10px;
 flex-direction: row; /* Change the flex-direction to row */
text-align: center;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
}
.navbar {
  /* Other properties */
  overflow: auto; 
  position: fixed;
  width: 100%;
}
/* Style the navigation links */
.navbar li {
display: inline-block; /* Change the display property to inline-block */

}

.navbar a {
color: white;
text-decoration: none;
width: auto;
padding: 25px 20px;
display: block; /* Add display property to make links go across the navigation bar */
font-size: 20px;
text-align: center;
font-family: sans-serif;
position: relative;

}

/* Add a hover scale effect to the navigation links */
.navbar a:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}

/* Add a hover scale effect to the navigation images */
.navbar a img:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease;
}
.sidenav {
  /* Other properties */
  height: auto;
  /* Other properties */
  position: fixed;
  /* Other properties */
  z-index: 2;
  margin-top: -450px;
  background-color: #0b1118;
  overflow-x: hidden;
  overflow-y: hidden;
  transition: 0.5s;
  padding-top: 10px;
}
.sidenav a {
  padding: 8px 16px;
  text-decoration: none;
  font-size: 20px; /* Adjust as needed */
  color: #ffffff;
  display: block;
  transition: 0.3s;
  text-align: center;
}
.sidenav a:hover {
color: #f1f1f1;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  background-color: white;
  z-index: 2;
}

.dropdown:hover .dropdown-content {
  display: block;
  
}

.notification-bubble {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
  margin-left: 5px;
}
.ui-menu-item {
  padding: 5px 10px;
  font-size: 14px; /* Adjust this value to change the font size */
}

.ui-menu-item:hover {
  background-color: #f5f5f5;
}
.ui-helper-hidden-accessible {
  display: none;
}
.ui-helper-hidden-accessible {
  display: none !important;
}
.notifications {
  width: 40%; /* Adjust as needed */
  margin: 0 auto; /* Centers the container horizontally */
  margin-top: 100px; /* Add some space between the top of the page and the container */
  padding: 20px; /* Adds some space inside the container */
  background-color: #f8f9fa; /* A light grey background */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* A little shadow for depth */
}

.notifications ul {
  list-style-type: none; /* Removes the default bullet points */
  padding: 0; /* Removes the default padding */
}

.notifications li {
  padding: 10px; /* Adds some space around each notification */
  border-bottom: 1px solid #ddd; /* A line between each notification */
}

.notifications li:last-child {
  border-bottom: none; /* Removes the line from the last notification */
}

.notifications form {
  margin-top: 10px; /* Adds some space above the form */
}

.profile-picture {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 20px;
}
.username {
  font-size: 50px;
  color: white;
  order: 1;
}
.profile-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50vw;  /* adjust as needed */
  height: 30vh; /* adjust as needed */
  margin: 20vh auto 0;
  background-color: rgba(123, 122, 119, 0.8);
  background-repeat: repeat;
  border: 1px solid black;
  padding: 20px;
  border-radius: 0px;
  position: relative;
  padding-bottom: 50px;
  z-index: 1;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px); /* Assuming your navbar is 60px high */
}
.profile-header {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border: 2px solid gray;
  max-width: 300px;
  text-align: center;
}

.profile-pic-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic-container img {
  width: auto;  /* adjust as needed */
  height: auto;
  object-fit: cover;
}

.profile-info {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 20px; /* adjust as needed */
}
.profile-info h2, .profile-info p {
  margin: 0;
  font-size: 50px;
}

.join-date {
  order: 3;
  font-size: 20px !important;
  color: lightgray;
}
.button-container {
  position: absolute;
  right: 100px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.button-container input[type="submit"] {
  width: 100px;  /* adjust as needed */
  height: 30px;  /* adjust as needed */
}

h4 {
  text-align: center;
  font-family: sans-serif;
  margin-bottom: 10px;
  font-size: 25px;
  color: rgb(219, 219, 219);
  text-decoration: none;
  margin-top: 100px;
}
a#my-link.my-link {
  display: inline-block;
    display: flex;
  flex-direction: column;
  align-items: center;
}

