@import url("https://fonts.googleapis.com/css2?family=Protest+Strike&display=swap");

:root {
  --min: 6px;
  --primary: #ff0763;
  --secondary: #143447;
  --main-bg: #eef1f3;
  --roundshadow: 2px 4px 15px 0px rgba(0, 0, 0, 0.351);
  --shadow-a: #9b9b9bce;
}

@media (prefers-color-scheme: dark) {
  :root {
    --shadow-a: #505050ce;
  }

  h1 {
    text-shadow: 0px 3px 5px black;
    /* color: rgba(255, 255, 255, 0.303) !important; */
  }
}

/* @media (prefers-color-scheme: light) {
  :root {
    --shadow-a: #9b9b9bce;
  }
} */

body {
  overflow-x: hidden;
  width: 100vw;
}

main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 3.6rem - 5px);
  width: 100vw;
  overflow-x: hidden;
}

.headings {
  margin: 2rem 0;
  padding: 0 10px;
  text-align: center;
  /* max-width: 60rem; */
  width: 100vw;
  /* text-overflow: ellipsis; */
  /* border: solid 1px red; */
}

h1 {
  font-family: "Protest Strike", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: min(12vmin, 2rem);
  overflow-wrap: anywhere;
}

h3#hero-subheader {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0 2rem;
  color: var(--secondary);
  font-size: min(5vmin, 1rem);
  overflow-wrap: anywhere;
}

#main-getstarted-btn {
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 18px;
  padding: 13px 35px;
  width: 70vmin;
  max-width: 25rem;
  min-width: 10rem;
  border-radius: var(--min);
  background: rgb(2, 20, 31);
  background: linear-gradient(
    234deg,
    rgb(5, 51, 80) 0%,
    rgb(188, 2, 70) 67%,
    rgb(139, 9, 53) 100%
  );
  color: rgb(255, 255, 255);
  box-shadow: var(--roundshadow);
}

#main-getstarted-btn:active::before {
  transition: all 60ms linear;
  /* background: linear-gradient(0deg, #e5e5e5, white); */
  box-shadow: 0px 0px 10px 0px #ffffffbe,
    inset calc(100px + min(70vmin, 25rem) + 1rem) 0px 0px -100px rgba(255, 255, 255, 0.663);
}

#main-getstarted-btn::before {
  position: absolute;
  display: grid;
  place-items: center;
  content: "Join Chat";
  inset: 0;
  color: var(--secondary);
  /* background: rgb(2, 20, 31); */
  background: linear-gradient(45deg, rgb(105, 199, 236), #f34a88);

  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s linear, box-shadow 5s ease-in;
  border-radius: inherit;
}

#main-getstarted-btn:hover::before {
  opacity: 1;
  scale: 1.01;
}

.image-container {
  /* background-color: #143447; */
  margin: 1rem;
}

.image-container .image-card {
  padding: 5px;
  border-radius: var(--min);
  background: rgb(235, 235, 235);
  box-shadow: 0px 5px 30px 0px var(--shadow-a);
  min-height: 30vmin;
  /* padding: 1rem; */
}

.image-container .image-description {
  color: #1434479a;
  display: none;
  line-break: strict;
  width: 85vmin;
  /* margin: 1.5rem 0; */
  margin-top: 5px;
}

.image-card img {
  display: grid;
  place-items: center;
  /* border-radius: 5px; */
  width: 85vmin;
  height: auto;
  /* min-height: 20vmin; */
  color: #143447b3;
}

/* page started: OCT 5(NIGHT) */

/* MEDIA QUERY */

/* MOBILE */

/* FEATURED SITE */

.featured-section {
  /* border: solid 1px black; */
  width: calc(95vmin + 10px);
  margin-top: 5rem;
  border: solid 2px rgba(255, 255, 255, 0.07);
  padding: 1rem;
  background: rgb(34, 34, 34);
  border-radius: 0.3rem;
}

.featured-section h2 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  /* color: rgba(255, 255, 255, 0.9); */
}

.featured-section p {
  color: rgba(255, 255, 255, 0.436);
}

.featured-section button {
  padding: 1rem 0;
  width: 16rem;
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 0.3rem;
  background: rgb(83, 89, 141);
}

.featured-section .image-grid {
  /* background: white; */
  /* border: solid 1px grey; */
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 10px; /* Adds spacing between images */
  width: 100%; /* Ensures the grid takes the full width */
  /* background: rgba(255, 255, 255, 0.03); */
  /* padding: 0.5rem; */
  /* border: solid 2px rgba(255, 255, 255, 0.253); */
  border-radius: 0.2rem;
}

.featured-section .image-grid img {
  width: 100%;
}

@media (max-width: 800px) {
  .featured-section .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 3 equal columns */
  }
}
