* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  color: #d4d4d4; /* Softer light color for text */
  background: linear-gradient(
    rgb(21 21 21 / 97%),
    rgb(9 17 24 / 97%),
    rgb(24, 29, 43)
  );
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

html,
body {
  background-color: #10131a; /* Set a background color to ensure full coverage */
}

body.sidebar-open {
  overflow: hidden;
}

nav {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  width: 90px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #d4d4d4; /* Softer light color for text*/
  display: inline-block;
  font-size: 20px;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #d4d4d4;
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

header {
  margin-top: 100px;
}

main {
  flex: 1;
  padding: 50px;
  margin-bottom: 100px; /* Increased bottom margin to add more space between profile cards and the footer */
}

h1 {
  text-align: center;
  margin-bottom: 4rem;
  color: #d4d4d4; /* Softer light color for text*/
}

img {
  max-width: 100%;
}

.coming-soon p {
  font-size: 6rem;
  color: #d4d4d4;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50svh; /* Make sure it takes the full height of the viewport*/
}

.About {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.About p {
  font-size: 15px;
  color: #d4d4d4;
}

.users {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.user {
  position: relative;
  z-index: 1;
  width: 250px;
  /*height: 350px;*/
  /* 350/250 = 1.4*/
  aspect-ratio: 1 / 1.4;
  padding: 1rem;
  border-radius: 20px;
  border: 2px solid #556d9466;
  border-style: solid;
  background: linear-gradient(240deg, #000, #10131a, #282e3c, transparent);
  box-shadow: 0 30px 30px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.user-img-wrap {
  position: relative;
  width: 210px;
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 20px;
}

.user-img-wrap::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    45deg,
    #693f76,
    #2fade8,
    #0959ae,
    #588293,
    #3b3a91,
    #9d5764
  );
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation: scale 4s linear infinite;
  animation-play-state: paused;
  filter: saturate(2) blur(10px);
}

.user:hover .user-img-wrap::after {
  opacity: 0.8;
  animation-play-state: running;
  transform: scale(1.05);
}

@keyframes scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.user-img {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
}

.user-meta {
  text-align: center;
}

.user-name {
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #d4d4d4; /* Softer light color for text*/
}

.user-profiles {
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.user-profiles a {
  position: relative;
  text-decoration: none;
  color: #d4d4d4;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, black, #161819ed, transparent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.user-profiles a:hover {
  transform: scale(1.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #1f53a1;
}

footer {
  text-align: center;
  background: linear-gradient(359deg, #000c15, #0000003b);
  color: #d4d4d4;
  padding: 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 3rem;
  margin-bottom: 15px;
}

.social-media a {
  color: #d4d4d4; /* Default color for icons */
  transition: color 0.3s, transform 0.3s;
}

.social-media a:hover {
  color: #cbcbcb; /* Change color on hover */
  transform: scale(1.2); /* Scale up on hover */
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: 250px;
  z-index: 999;
  background-color: #000000f2;
  backdrop-filter: blur(20px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px;
  overflow: hidden;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
  color: #fff;
  padding: 10px 20px;
}

.menu-button {
  display: none;
}

/* Small devices*/
@media (max-width: 800px) {
  .coming-soon p {
    font-size: 29px;
  }

  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }

  /* disabled hover effect for mobile*/
  nav ul li a:hover:after {
    width: 0;
  }
}

/* Tablets*/
@media (min-width: 600px) and (max-width: 932px) {
  .coming-soon p {
    font-size: 4rem;
  }

  .hideOnMobile {
    display: none;
  }

  .menu-button {
    display: block;
  }

  nav ul li a:hover:after {
    width: 0;
  }
}

@media (max-width: 430px) {
  .sidebar {
    width: 100%;
  }
}
