/* Google font import */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

.montserrat-font {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

:root {
  --text: #e1e1e1;
  --background: #222222;
  --background-l: #303030;
  --primary: #283a4c;
  --m-primary: #2f3b47;
  --mm-primary: #383d42;
  --secondary: #648cb3;
  --accent: #c2ef67;
  --gradientB: rgba(40, 58, 76, 0.8);
  --gradientG: rgba(194, 239, 103, 0.3);
}
html {
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--background);
  color: var(--text);
}

.muted-white {
  color: rgba(255, 255, 255, 0.753);
}

.brand {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #4a4a4f;
}

.text-white {
  color: var(--text);
}

.mytext-primary {
  color: var(--secondary);
}

.accent {
  color: var(--accent);
}

.mybg-mprimary {
  background-color: var(--m-primary);
}

.mybg-l {
  background-color: var(--background-l);
}

.form-text {
  color: var(--muted-white);
}

/* NavBar  */

.navbar {
  border-bottom: 1px solid #5a5a5a;
}

.state {
  background-color: white;
  color: #283a4c; /* text color */
  font-weight: 600;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--accent);
  font-weight: 600;
}

/* Homepage styling */

.gradient {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-b {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(-2px -2px 3px #ffffff);
}

.image-adj {
  max-width: 416px;
}

.outline {
  font-style: italic;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--text);
  color: transparent;
}

.hero-img {
  object-fit: cover;
  filter: brightness(0.2);
  max-height: 700px;
}

.leader {
  font-size: 1.5rem;
  font-weight: 400;
}
/* elements styling */

.container {
  border-radius: 10px;
}

.home-card {
  border-radius: 5px;
}

.dark-bg {
  background-color: #445261;
}

.main-bg {
  background-color: var(--background);
}
/*  Index page styling */

/* Searchbar placeholder */

.form-control.custom-width::placeholder {
  color: #9aa0a600;
  font-style: italic;
}

.card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background-color: rgb(41, 41, 41);
  border-width: 0 0 0 2px;
  border-color: var(--accent);
}

.index-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px 2px rgba(121, 121, 121, 0.3);
}

.index-card:hover .list-group {
  background: linear-gradient(120deg, var(--gradientB), var(--gradientG));
}

.list-group {
  background: linear-gradient(120deg, var(--gradientB), var(--background-l));
}

.list-group-item {
  background: transparent;
  color: white;
  border: none;
}

/* About page */

.about-img {
  position: relative;
}

.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 0;
}

.about-img > * {
  position: relative;
  z-index: 1;
}

.about-header-bg {
  background: rgba(0, 0, 0, 0.8); /* semi-transparent black */
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  display: inline-block;
  margin: 0 auto;
  max-width: 90vw;
}

.card.about-card {
  background-color: rgb(24, 24, 24);
  border-width: 0 5px 0 5px;
  border-color: var(--m-primary);
}

.prob-link {
  text-decoration: none;
  color: var(--text);
}

.page-link {
  color: #e84610;
}

.btn-signup,
.btn-edit {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

.btn-signup:hover {
  background-color: #fff;
  color: var(--primary);
  font-weight: 600;
}

/* .link {
  color: #23bbbb;
  text-decoration: none;
}

.link:hover,
.link:active {
  color: #445261;
  text-decoration: underline;
} */

.btn-delete {
  color: #fff;
  background: #e84610;
}

.faded {
  opacity: 0.5;
}

.approval {
  color: rgb(222, 146, 168);
}

/* Style form inputs to match dark theme */
.form-control,
.form-select {
  background-color: var(--background);
  color: var(--text);
  border: 1px solid #5a5a5a;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--background);
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(194, 239, 103, 0.25);
}

.form-label {
  color: var(--text);
  font-weight: 600;
}

.form-check-label {
  color: var(--text);
}

.form-check-input {
  background-color: var(--background);
  border-color: #5a5a5a;
}

.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

@media (min-width: 768px) {
  .form-control.custom-width::placeholder {
    color: #9aa0a6 !important;
    font-style: italic;
  }
}

@media (min-width: 992px) {
  .card-clamp {
    max-width: 400px;
  }

  .custom-width {
    width: 65% !important;
  }
}
