/* Import gotham font from fonts/gotham

GothamMedium.ttf is the default
GothamBold.ttf is the bold version
GothamBook.ttf is the light version

*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
  font-family: 'Gotham Bold';
  src: url('../fonts/gotham-woff/gotham-bold-webfont.woff') format('woff2'),
       url('../fonts/gotham-woff/gotham-bold-webfont.woff2') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Gotham Book';
  src: url('../fonts/gotham-woff/gothambook-webfont.woff2') format('woff2'),
       url('../fonts/gotham-woff/gothambook-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Gotham Light';
  src: url('../fonts/gotham-woff/gothamlight-webfont.woff2') format('woff2'),
       url('../fonts/gotham-woff/gothamlight-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Gotham Medium';
  src: url('../fonts/gotham-woff/gothammedium-webfont.woff2') format('woff2'),
       url('../fonts/gotham-woff/gothammedium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

/* use gotham book as default font */
body {
  font-family: 'Gotham Medium', sans-serif;
  font-weight: lighter;
  background-color: #ffffff;
}

/* use gotham bold for h1 */
h1 {
  font-weight: bold;
}

.category-card {
  background-color: #C8D4BF;
  color: #0C4325;
  border: 1px solid #2E613D;
  padding: 0.75rem;
  margin: 5px;
  border-radius: 0.3rem;
}

.category-card :first {
  margin-left: 0;
}

.category-card:hover {
  background-color: #A5B99C;
  transition: background-color 0.3s ease;
}

.scrollable-flex {
  display: flex;
  flex-direction: row;
  margin-bottom: 3px;
  justify-content: start;
  overflow: auto;
  white-space: nowrap;
}

.scrollable-flex :first-child {
  margin-left: 0;
}

.event-card {
  width: 100%;
  position: relative; /* Required for absolute positioning of child elements */
  border-radius: 1.1rem;
}

.event-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.event-card .badge {
  position: absolute;
  top: 10px; /* Adjusts distance from top */
  left: 10px; /* Adjusts distance from left */
  background-color: rgba(0, 0, 0, 0.7); /* Optional: Add transparency for better readability */
  color: #fff; /* Text color */
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
}

.event-card .card-body {
  padding: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card .card-title {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-location {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #595e62;
}

.card-datetime {
  padding-top: 0;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
}

.status-badge {
  background-color: rgb(76, 76, 76); /* Optional: Add transparency for better readability */
  color: #fff; /* Text color */
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  width: fit-content;
}

.bg-green {
  background-color: #28a745;
}

.bg-red {
  background-color: #dc3545;
}

.bg-gray {
  background-color: #6c757d;
}

.logo-a {
  text-decoration: none;
  color: #0C4325;
}

.logo-b {
  text-decoration: none;
  color: #2E613D;
}

header {
  background-color: white;
  color: #FDFFF8;
  padding: 0.5rem;
  border-bottom: #2E613D 0.5px solid;
}

h5 {
  font-size: 1.25rem;
  color: black;
}

.new-event-pill {
  background-color: #f5f5f5;
  color: white;
  padding: 0.3rem;
  border-radius: 0.3rem;
  border: #d1d1d1 1px solid;
}