:root {
  --fg: #fff;
  --bg: #110c19;
  --bg-alt: #261a39;
  --bg-alt-light: #2c2040;
  --violet: #4b096b;
  --green: #00e5bc;
  --blue: #33a9ff;
  --pink: #fb49ff;
  --purple: #651e72;
  --violet: #b67dfc;
  --yellow: #ffdeab;
  --popup-bg: #27122c;

  --radius: 0.75rem;

  --header-height: 7vh;
  --content-height: calc(100vh - var(--header-height));
  --nav-width: 20%;
  --toolbar-width: 5%;
  --main-width: calc(100% - var(--nav-width) - var(--toolbar-width));
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  display: inline-block;
}

body {
  background: var(--bg);
  color: var(--fg);
}

.he-header {
  width: 100%;
  height: var(--header-height);
  border-bottom: 0.125rem solid var(--bg-alt-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;
  position: relative;
}
.he-progress-bar{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  justify-content: center;
  align-items: center;
}
.progress-bar-part{
  display: flex;
  /* justify-content: center; */
  align-items: center;
}
.progress-bar-part .num{
  height: 18px;
  width: 18px;
  font-size: 12px;
  /* padding: 2px; */
  color: #000000;
  background: #ffffff;
  border-radius: 50%;
  text-align: center;
}
.progress-bar-part .bar{
  height: 15px;
  width: 200px;
  /* font-size: 12px; */
  /* padding: 2px; */
  /* color: #fff; */
  background: #ffffff;
  border-radius: 40px;
  font-size: 10px;
  color: #000;
  text-align: center;
}

.progress-bar-part.fill-bar .bar{
  background: linear-gradient(to right, var(--green), var(--pink)) ;
  color: #fff;
}
.progress-bar-part.fill-bar .num{
  background: linear-gradient(to right, var(--green), var(--pink)) ;
  color: #fff;
}


.he-header-button {
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  margin-left: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.he-header-button img {
  max-height: 1.75rem;
}

#he-navigation-open-button {
  display: none;
}
.he-header-button:hover {
  background-color: var(--bg-alt);
}

.he-content {
  width: 100%;
  height: var(--content-height);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
}

.he-navigation-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.he-navigation-heading img {
  height: 2.5rem;
}

.he-navigation ul {
  list-style: none;
  margin-top: 1rem;
  padding: 1rem;
}
.he-navigation-item {
  padding: 0.5rem;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  cursor: pointer;
}

.he-navigation-item.he-active {
  background: var(--purple);
}

.he-navigation-item:not(.he-active):hover {
  background: var(--bg-alt-light);
}

.he-navigation-item a img {
  width: 1.75rem;
  aspect-ratio: 1;
}
.he-navigation-item a {
  text-decoration: none;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.he-navigation {
  transition: left 0.2s;
  border-right: 0.125rem solid var(--bg-alt-light);
  padding: 1rem;
  grid-column: span 3;
  grid-row: span 12;
  font-size: 0.95rem;
}

.he-navigation-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.he-main {
  grid-column: span 8;
  grid-row: span 12;
  padding: 1.5rem;
}
.gradient {
  background: linear-gradient(90deg, var(--violet), var(--yellow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.he-main-heading {
  margin-bottom: 1rem;
}

.he-toolbar {
  border-left: 0.125rem solid var(--bg-alt-light);
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  grid-row: span 12;
}

.he-toolbar-button {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  color: var(--fg);
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
}
.he-toolbar-button:hover {
  background: var(--bg-alt-light);
}

.gradient-button:hover {
  background: linear-gradient(to right, var(--green), var(--pink)) border-box;
  color: var(--bg-alt);
  -webkit-animation: gradientMove 2s infinite;
  animation: gradientMove 2s infinite;
}

.gradient-button {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--fg);
  background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    linear-gradient(to right, var(--green), var(--pink)) border-box;
  border-radius: 0.5rem;
  border: 0.15rem solid transparent;
}

.he-teamchat,
.he-notification {
  max-width: 25rem;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -100%;
  background: #000;
  transition: right 0.2s;
}
.he-teamchat-header-buttons {
  padding: 0.25rem;
  display: flex;
  gap: 0.25rem;
  border-radius: 0.5rem;
  background: #000;
}

.he-teamchat-header-button {
  width: 100%;
  background: transparent;
  color: var(--fg);
  border: none;
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.he-teamchat-close,
.he-notification-close {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.25rem;
  position: absolute;
  top: 1rem;
  cursor: pointer;
  right: 1rem;
}

.he-teamchat-content,
.he-notification-content {
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.he-teamchat-input {
  width: 100%;
  padding: 0.5rem;
  border: 0.0625rem solid var(--fg);
  border-radius: 0.5rem;
  background: transparent;
  display: flex;
  align-items: center;
}
.he-teamchat-input input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--fg);
  padding: 0 0.5rem;
}
.he-teamchat-input input:focus {
  outline: none;
}

.he-teamchat-header-button:not(.he-active) {
  cursor: pointer;
}

.he-teamchat-header-button.he-active {
  background: var(--fg);
  color: #000;
}

.he-teamchat-header,
.he-notification-header {
  width: 100%;
  padding: 2rem;
  background: linear-gradient(135deg, var(--purple), #000);
}

.he-teamchat-title,
.he-notification-title {
  margin-bottom: 1rem;
}

.he-teamchat-members {
  list-style: none;
}

.he-teamchat-member {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.he-teamchat-member-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.he-teamchat-member-name {
  font-size: 1rem;
}
.he-teamchat-member-role {
  font-size: 0.75rem;
}
.he-teamchat-member-action {
  background: none;
  border: none;
  color: var(--violet);
  padding: 0.25rem 0;
  cursor: pointer;
}

.he-teamchat-member {
  border-bottom: 0.125rem solid var(--bg-alt-light);
  padding: 1.5rem 0;
}

.sm-show {
  display: none;
}

.notification-p {
  background: var(--bg-alt-light);
  border-radius: 0.5rem;
  padding: 1rem;
}

.hackathon-container {
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.tabs-buttons {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
}

.tabs-buttons .tabs-button {
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.25rem;
  outline: none;
  display: flex;
  border: 0.15rem solid transparent;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
}

.tabs-button:hover {
  background: var(--bg-alt-light);
  border-radius: var(--radius);
}

.tabs-button img {
  width: 3rem;
  object-fit: contain;
}

/* keyboard css  */
.key-container {
  margin-left: 7px;
}
.keyboard {
  padding: 7px;
  background: linear-gradient(
      0deg,
      rgba(3, 3, 3, 0.08) 0%,
      rgba(59, 59, 59, 0.08) 100%
    ),
    #0f0f0f;
  border-radius: 15px;
  width: 925px;
}
.key-row {
  width: 100%;
  height: 60px;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.one,
.two,
.three,
.four,
.five {
  margin: 8px 0 0 0;
}
.key-board-btn {
  color: rgb(255, 255, 255);
  width: 50px;
  height: 55px;
  border: none;
  border-radius: 15%;
  background-color: rgb(0, 0, 0);
  box-shadow: 1px 1px 5px #0a0a0a, -1px -1px 5px #858383;
  font-size: 18px;
  margin-left: 5px;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
}
.key-board-btn:active {
  box-shadow: 1px 1px 2px #858383, -1px -1px 2px #0a0a0a;
}
/* .key-board-btn:hover{
    color: rgba(255, 255, 255);
} */
.key-board-btn span {
  position: absolute;
  font-size: 16px;
  top: 4%;
  left: 13%;
}
.sym {
  font-size: 11px;
  left: 11%;
}
.sym_ {
  top: 1%;
}
.backspace {
  width: 113px;
  border-radius: 10px;
}
.tab {
  width: 80px;
  border-radius: 10px;
}
.slace {
  width: 80px;
  border-radius: 10px;
}
.cap {
  width: 95px;
  border-radius: 10px;
}
.ent-btn {
  width: 130px;
  border-radius: 10px;
}
.shift {
  width: 145px;
  border-radius: 10px;
}
.other {
  width: 55px;
  border-radius: 10px;
}
.space-bar {
  width: 345px;
  border-radius: 10px;
}
.five {
  display: flex;
}
.arrow-key {
  display: flex;
}
.arrow-key .key-board-btn {
  width: 59px;
}
.arrow-key span {
  display: flex;
  flex-direction: column;
}
.arrow-key span .key-board-btn {
  height: 27px;
}
.launch-lab-btn-cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@keyframes rowColorChange {
  0% { color: #666666; }
  100% { color: #fff; }
}

/* .key-row.one .key-board-btn:nth-child(odd) {
  animation: rowColorChange 2s infinite alternate;
}

.key-row.two .key-board-btn:nth-child(even) {
  animation: rowColorChange 2s infinite alternate;
}

.key-row.three .key-board-btn:nth-child(odd) {
  animation: rowColorChange 2s infinite alternate;
}

.key-row.four .key-board-btn:nth-child(even) {
  animation: rowColorChange 2s infinite alternate;
} */

.key-row.one .key-board-btn {
  animation: rowColorChange 2s infinite alternate;
}

.key-row.two .key-board-btn {
  animation: rowColorChange 2s infinite alternate;
  animation-delay: 2s;
}

.key-row.three .key-board-btn {
  animation: rowColorChange 2s infinite alternate;
  animation-delay: 4s;
}

.key-row.four .key-board-btn {
  animation: rowColorChange 2s infinite alternate;
  animation-delay: 6s;
}
.key-row.five .key-board-btn {
  animation: rowColorChange 2s infinite alternate;
  animation-delay: 8s;
}



/* join team  */

.form_popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--popup-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  max-width: 30rem;
  width: 90%;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.form_popup-backdrop {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
}
.form_popup .form_popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  color: var(--fg);
}

.gradient-button {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.gradient-button:hover {
  background: linear-gradient(to right, var(--green), var(--pink)) border-box;
  color: var(--bg-alt);
  animation: gradientMove 2s infinite;
}
#join_team_form {
  display: flex;
  flex-direction: column;
}
.join-btn {
  text-align: center;
}
.gradient-button,
.tabs-button.active {
  color: var(--fg);
  background: linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    linear-gradient(to right, var(--green), var(--pink)) border-box;
  border-radius: 0.5rem;
  border: 0.15rem solid transparent;
}

.hidden {
  display: none;
  opacity: 0;
}

.he-teamchat-input-msg {
  display: flex;
  justify-content: center;
  align-items: center;
}
.msg-cont {
  width: 97%;
  margin: 5px auto;
  position: relative;
}
.msg-cont .date-and-time {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 12px;
  color: #000;
}
.user-msg-cont {
  display: flex;
  align-items: center;
}
.user-profile img {
  height: 70px;
  /* width: 50px; */
  border-radius: 50%;
  object-fit: contain;
}
.name-and-msg span {
  font-size: 15px;
  color: #000;
  font-weight: 800;
}
.name-and-msg p {
  font-size: 14px;
  width: 100%;
  text-align: left;
  color: #000;
}
.seen_nof {
  background: #c0a5ed;
  color: #000;
}
.Notificationbtn {
  position: relative;
}
.Notificationbtn span {
  position: absolute;
  top: -10%;
  right: 10%;
  border-radius: 50%;
  padding: 3px;
  background: red;
  color: #fff;
  height: 18px;
  width: 18px;
  font-size: 10px;
  font-weight: 800;
}
.mess_btn{
  position: relative;
}
.message_count{
  position: absolute;
  top: -3%;
  right: 32%;
  border-radius: 50%;
  padding: 3px;
  background: red;
  color: #fff;
  height: 18px;
  width: 18px;
  font-size: 10px;
  font-weight: 800;
}


.team-meet-details{
  display: flex;
  justify-content: space-around;
  align-items: center;
}


@media screen and (max-width: 1024px) {
  .he-navigation {
    grid-column: span 4;
  }
  .he-main {
    grid-column: span 7;
  }
}

@media screen and (max-width: 768px) {
  .he-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background-color: var(--bg-alt-light);
    z-index: 10;
  }

  .he-main {
    grid-row: span 11;
    grid-column: span 12;
  }

  #he-navigation-open-button {
    display: flex;
  }

  .sm-show {
    display: block;
  }

  .he-toolbar {
    border-left: none;
    border-top: 0.125rem solid var(--bg-alt-light);
    grid-column: span 12;
    grid-row: span 1;
    display: flex;
    justify-content: space-around;
  }
}
