@media screen and (max-width: 600px) {
  body {
    background-size: auto;
  }

  /* Adjust the styles of other elements as needed */

}

/* Set the background image */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body::after {
  content: "";
  background-color: #111C26;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  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;
text-align: center;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
}

/*body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
} */

.navbar {
  /* Other properties */
  /*width: 10px !important;*/
  /*width: auto;*/
  position: relative; /* Add this line if not already present */
  z-index: 3; /* Highest value, navbar will be on top */
}

/* 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;
}
.container {
  margin: 100px auto 0;
  width: 50%;
  background-color: rgba(17, 28, 38, 0.8);
  background-repeat: repeat;
  border: 1px solid black;
  padding: 20px;
  border-radius: 0px;
}

table {
  border-collapse: collapse;
  width: 100%;
  
}


th, td {
  text-align: center;
  padding: 3px;
  border: 1px solid black; /* Add border property */
  background-color: rgb(255, 255, 255);
}

.td1 {
  text-align: left;
  padding: 3px;
  border: 1px solid black;
}

.Rank {
  width: 50px; /* adjust as needed */
  text-align: center;
  background-color: #aeaeae;
}

.clanIdCell {
  width: 70px;
  text-align: center;
  background-color: #aeaeae;
}
.profile {
  background-color: #aeaeae;
}
.matches {
  background-color: #aeaeae;
  text-align: center;
}

.left-align {
  text-align: left;
}

.clan-details-table td {
  background-color: #bdb6b6;
}

.stats-table td {
  background-color: #d0d0d0;
  
}

.games_header {
  text-align: left;
  background-color: #aeaeae;
}

.header-image {
  width: 20px; /* adjust as needed */
  height: 20px; /* adjust as needed */
  display: inline-block;
  padding-right: 100px; /* adds some space between the image and the text */
  
}

.player-name {
  width: 50px; /* adjust as needed */
  
}

.role {
  width: 5px; /* adjust as needed */
  background-color: #aeaeae;
}

.teamNameCell {
  width: 300px;
  background-color: #aeaeae;
}

.ClanDetails {
  width: calc((100% - 50px) / 3);
  text-align: left;
  margin-bottom: 5px;
  background-color: #aeaeae;
}

.streakCell {
  width: 50px; /* Adjust this value to fit your website's design */
  background-color: #aeaeae;
}

.crownCell {
  background-color: #aeaeae;
  width: 10px;
}
td.crownCell {
  background-color: rgb(255, 255, 255);
}

.stats-table {
  margin-bottom: 5px;
  margin-top: 5px;
  
}

.players-table {
  width: 100%;
}

.players-table th, .players-table td {
  text-align: left;
}


.pic-cell {
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.pic-cell img {
  max-width: 100%; /* Add this line */
  vertical-align: middle;
  align-items: center;
}
.player-name, .player-role, .date-joined {
  width: calc((100% - 50px) / 3); /* Distribute the remaining width equally among the other columns */
  
}

.team-logo {
  width: 400px;
  height: auto;
  display: block;
  margin: 0 auto; /* centers the logo */
}

.team-name {
  text-align: center; /* centers the team name */
}

.team-name {
  margin-top: 10px;
  margin-bottom: 5px;
  color: lightgray;
  
}

th {
  background-color: #554b3579;
  color: rgb(0, 0, 0);
  
}

.center-text {
  text-align: center;
  font-size: 20px;
}

h3 {
  text-align: center;
  font-family: sans-serif;
  margin-bottom: 10px;
  font-size: 25px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  
}
tr:nth-child(even) {
  background-color: #cdcacc;
}

tr:nth-child(odd) {
  background-color: #ece8e8;
}
a.teamname {
  color: lightgray;
  
}


a.teamname:hover {
  color: rgb(100, 9, 9);
}
.links a {
  display: inline-block;
  margin-right: 10px;
  color: lightgray;
  text-decoration: underline;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 15px;
  
}

.links a:hover {
  text-decoration: underline;
  color: rgb(100, 9, 9);
}
.links {
  text-align: center;
}

.challenge-tab {
  font-size: 15px;
  color: white;
  text-decoration: none; /* Removes the underline from the link */
}

.challenge-tab:hover {
  color: green;
}
.members {
  margin: 0 auto;
  width: 50%; /* Adjust as needed */
}
.content {
  transition: margin-left .5s;
  padding: 20px;
  margin-left: 50px;
}
.container-light {
  background-color: rgba(211, 211, 211, 0.5); /* Light gray, somewhat transparent background */
  width: 70%; /* Adjust this value to fit your website's design */
  margin: auto; /* Centers the container */
  padding: 20px; /* Adds some space inside the container */
}

.logo-container {
  text-align: center;
}

.logo-container img {
  max-width: 100%; /* This will make sure the image is responsive */
  height: auto;
}

.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;
  
}
.profile_2 {
  width: 1000px;
}
.rules {
  text-align: left !important;
}
.notification-bubble {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 12px;
  margin-left: 5px;
}
.ui-autocomplete {
  max-width: 200px;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  border: 1px solid #c5c5c5;
  background-color: #ffffff;
  list-style-type: none;
}

.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 */
}
.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;  /* adjust as needed */
  margin: 100px auto 0;
  width: 50%;
  background-color: rgba(123, 122, 119, 0.8);
  background-repeat: repeat;
  border: 1px solid black;
  padding: 20px;
  border-radius: 0px;
}

.form-container * {
  text-align: center;
}

#challengeForm input, #challengeForm select, #challengeForm textarea {
  margin-bottom: 10px;  /* adjust as needed */
}
.crownCell img {
  width: 20px;  /* adjust as needed */
  height: 20px; /* adjust as needed */
}
.signup-button {
  background-color: rgb(121, 121, 121);
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
#challengeForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.disband-button {
  background-color: red;
  color: white;
}
.update-clanbtn {
  background-color: green;
  color: white;
}
.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;
}

.profile-header {
  display: flex;
  justify-content: start;
  align-items: start;
}

.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: 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;
}

.team-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.team-info .team {
  margin: 10px;
  text-align: center;
}

.team-info a {
  color: inherit;
  text-decoration: none;
}

.team-info img {
  width: 75px;
  height: 75px;
  object-fit: cover;
}

.team-info .profile-team-logo {
  width: 100px;
  height: 100px;
  margin-left: 200px;
}

.team-info p {
  margin: 2px 0; 
  font-size: 20px;
  margin-left: 200px;
}

.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 */
}
.members-container {
  margin: 100px auto 0;
  width: 75%;
  background-color: rgba(123, 122, 119, 0.0);
  background-repeat: repeat;
  padding: 20px;
  border-radius: 0px;
}
.members {
  display: flex;
  flex-wrap: wrap;
}

.member {
  width: 20%;
  text-align: center; /* center the content */
}

.member-image img {
  width: 100px; /* adjust as needed */
  height: 100px; /* adjust as needed */
  object-fit: cover; /* scale the image to cover the element, cropping it if necessary */
}
.member .member-name a {
  color: #000; /* default link color */
  text-decoration: none; /* remove underline */
}

#member-name a:hover {
  color: #f00 !important; /* link color on hover */
  text-decoration: underline !important; /* underline on hover */
}
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;
}
.home-container {
    margin-top: 300px;
  margin: 100px auto 0;
  width: auto;
  background-color: rgba(0,0,0,0.0);
  background-repeat: repeat;
  padding: 20px;
  border-radius: 0px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 15px;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
