/* The side navigation menu */
html, body {
  background-color: black;
  max-height: 99vh;
  height: 100vh;
}
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 5px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}


/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


.page-content {
  width: 95%;
  height: 70vh;
  background-color: #111;
  border-radius: 15px;
  padding: 15px;
  transition-duration: 0.4s;
  overflow-y: scroll;

}


/* Style the button that is used to open and close the collapsible content */
.menubtn {
    /* background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%); */
    background: linear-gradient(90deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
    color: white;
    cursor: pointer;
    padding: 16px;
    border: none;
    width: 150px;
    text-align: center;
    outline: none;
    font-size: 24px;
    border-radius: 10px;
  }
  
 /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .menubtn:hover {
    background: linear-gradient(90deg, rgba(52,78,207,1) 0%, rgba(205,57,86,1) 100%);
  }
  
  /* Style the collapsible content. Note: hidden by default */
  .content {
    font-size: 24px;
    padding: 0 10px;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    width:auto;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
  }

#menuitem {
    
    background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    /* padding: 0 50px; */
    border-radius: 10px;
    background-color: #f1f1f1;
    /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
}
#menuitem:hover {
  background: -webkit-linear-gradient(rgb(52, 78, 207), rgb(205, 57, 86));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#menuitem:active {
  background: -webkit-linear-gradient(rgb(52, 78, 207), rgb(205, 57, 86));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#sign-up-form {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}
#new-server-form {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.fancyText {
  background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fancyText2 {
  background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: -10px;
    margin-bottom: -10px;

}
td {
    vertical-align: top;
}
p {
  font-family: Arial, Helvetica, sans-serif;
}
h1 {
  font-family: Arial, Helvetica, sans-serif;
}
input {
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 20px;
  border-width: 2px;
  border-style: ridge;
  /* background: linear-gradient(90deg, rgba(52, 78, 207,1) 0%, rgba(205, 57, 86,1) 100%); */
  background-color: #111;
  font-size: 42px;
  text-decoration-color: white;
}
input, select, textarea{
  color: #ffffff;
}
label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 42px;
}
.alert-error {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color:red;
}
.alert-success {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color:green;
}
#message {
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 15px;
  width: 100%;
  background-color: #111;
  font-size: 42px;
  text-decoration-color: white;
  transition-duration: 0.4s;
  flex: 1;
}
/* Dropdown Button */
.dropbtn {
    background: linear-gradient(90deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
    color: white;
    cursor: pointer;
    padding: 16px;
    padding-inline: 50px;
    font-size: 24px;
    border: none;
    border-radius: 10px;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
    
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background-color: #111;
    background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  .message-box {
    border-color: black;
    border-width: 1px;
    border-style: ridge;
    border-radius: 10px;
    background-color: #111;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  .messages {
    
    flex: 100;
    width: 100%;
    margin-bottom: 0px;
    overflow-y: scroll;
    text-align: right;
    margin-right: 10px; /* Adjust the margin as needed to control the right spacing */
    position: relative;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    
    border-radius: 10px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: white; 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: gray; 
  }
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {color: #ddd; border-radius: 10px;}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {background: linear-gradient(90deg, rgba(52, 78, 207,1) 0%, rgba(205, 57, 86,1) 100%);}

  .inputs {
    padding: 10px;
    display: flex;
    width: 100%;
    max-width: 100%;
  }
  
  h2 {
    text-align: center;
  }
  .text {
    /* display: flex;
    flex-direction: row;
    align-items: center; */
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #818181;
    border-radius: 15px;
    width:fit-content;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    margin-right: 10px;
    margin-left: 15px;
    margin-top: 15px;
    padding: 10px;
    vertical-align: bottom;
  }

  .channels {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-color: black;
    border-width: 1px;
    border-style: ridge;
    border-radius: 10px;
    
  }
  .channels button{
    background: linear-gradient(90deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
    color: white;
    cursor: pointer;
    padding: 6px;
    padding-inline: 20px;
    font-size: 24px;
    border: none;
    border-radius: 10px;
    align-items: center;
    width:fit-content;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
    
  }
  .channels button:hover{
    background: linear-gradient(90deg, rgba(52, 78, 207,1) 0%, rgba(205, 57, 86,1) 100%);
    /* font-size: 26px; */
  }
  /* .members {
    display: none;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    font-size: 24px;
  } */
  .muted {
    font-size: 10px;
    margin-top: 15px;
    padding: 0px;
    color: darkgray;
    max-height: 0;
  }
.text .muted {
  margin-top: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease; /* Add transitions for max-height and opacity */
    opacity: 0;
}
.text:hover .muted {
    max-height: 100px;
    opacity: 1;
}
.description {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    border-color: black;
    border-width: 1px;
    border-style: ridge;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    
}
.description p {
  font-family: Arial, Helvetica, sans-serif;
  
  font-size: 38px;
  padding: 15px;
  padding-top: 0px;
  padding-left: 25px;
}
.description input {
  background: none;
  background-color: #111;
  font-size: 32px;
  width:290px;
}
textarea {
  background-color: #111;
  font-size: 32px;
  width:100%;
  height: 100%;
}
.description button {
    background-color:#111;
    color: white;
    cursor: pointer;
    padding: 16px;
    border: none;
    width: fit-content;
    text-align: center;
    outline: none;
    font-size: 42px;
    border-radius: 10px;
}
.description button:hover {
  background-color: #818181;
}
.image {
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 10px;
    
}
.image img {
    float: left;
}
.descriptiontext {
  float: left;
}
.profilename {
  background: -webkit-linear-gradient(rgb(63,94,251), rgb(252,70,107));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 10px;
}
.themeText {
  color: white;
}
.checkbox{
  -webkit-appearance: none;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #111;
  border: 1px ridge black;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.checkbox:checked{
  
  background: linear-gradient(140deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
}
.checkbox input:checked + span:before {
  content: "✔";
}
