:root {
  --body-bg: #212529;
  --text: #ffffff;
  --accent: #42a4b9;
  --accent: #ea317b;
  --accent: #FFA86A;
}

/* Custom scrollbar styling */
::-webkit-scrollbar-track {
  background: var(--body-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #FFB87A;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--body-bg);
}

body {
  --bs-body-font-family: var(--bs-font-monospace);
  --bs-body-line-height: 1.4;
  --bs-body-bg: var(--bs-gray-100);
  background-color:var(--body-bg);
  color:var(--text);
}

a {
	--bs-body-font-family: var(--bs-font-monospace);
	text-decoration: none;
	color:var(--text);
	border-bottom:1px solid var(--text);
}

.col,[class*="col-"]{
	margin-bottom:25px;
}

.wrapper{
	/*width:90%;*/
	margin:0px auto; 
}

.header{
	padding:25px 0px;
	background-image: linear-gradient(to bottom, rgb(33, 37, 41), rgb(33, 37, 41), rgb(33, 37, 41), rgb(33, 37, 41), rgba(255,0,0,0));
}

.header a{
	margin:0px 10px;
}

.header .nav, .header .nav img{
	height:80px;
}

.framed{
	border: 1px solid var(--accent);
    padding: 20px;
	
}

code,highlight {
    font-feature-settings: normal;
    background: rgba(255,168,106,0.2);
    color: var(--accent);
    padding: 1px 6px;
    margin: 0 2px;
    font-size: .95rem
}
colored {
	color: var(--accent);
}

.img{
	padding:5px;
	border:5px solid var(--accent);
	margin:15px 0px;
}

/* Event description images */
.event-description img {
	max-width: 100%;
	height: auto;
	max-height: 400px;
	margin: 10px 0;
	border: 1px solid var(--accent);
}

/* Event card hover effect */
.event-card {
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.event-card:hover {
	transform: translateY(-2px);
	border-color: var(--accent) !important;
	box-shadow: 0 4px 8px rgba(255, 168, 106, 0.3);
}

/* Limit future event card height to prevent oversized posts */
#upcomingEvents .event-card {
	max-height: 350px;
	overflow-y: auto;
}

h1 {
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
	
	position: relative;
    color: var(--accent);
    margin: 0 0 15px;
    padding-bottom: 15px;
    border-bottom: 3px dotted var(--accent);
	margin:20px 0px;
}

h1:after {
    content: '';
    position: absolute;
    bottom: 2px;
    display: block;
    width: 100%;
    border-bottom: 3px dotted var(--accent);
}

h2 {
    display: block;
    font-size: 1.1em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
	
	position: relative;
    color: var(--accent);
    margin: 0 0 15px;
    padding-bottom: 15px;
	margin:10px 0px;
}

h2 a{
	text-decoration: none;
	color:var(--accent);
	border-bottom:1px solid var(--accent);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 2px;
    display: block;
    width: 100%;
}


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

/* For the active nav tab */
a.active {
    border-bottom: 3px solid #FFA86A; /* Orange line for active tab */
}

/* Button */
.btn {
    display: inline-block;            /* Allow setting width and height */
    padding: 10px 20px;              /* Adjust padding as needed */
    color: #FFA86A;                   /* Text color */
    background-color: transparent;    /* Transparent background */
    border: 2px solid #FFA86A;        /* Orange border */
    border-radius: 0;                 /* Remove rounded borders */
    text-decoration: none;             /* Remove underline from text */
    font-size: 16px;                  /* Adjust font size */
    cursor: pointer;                  /* Change cursor to pointer */
    transition: background-color 0.3s; /* Smooth background transition */
}

.btn:hover {
    background-color: rgba(250, 168, 106, 0.2); /* Light orange background on hover */
}

/* Space Open Banner */
.space-open-banner {
    width: 100%;
    background-color: transparent;
    border-top: 1px solid #7FD87F;
    border-bottom: 1px solid #7FD87F;
    overflow: hidden;
    padding: 15px 0;
    font-family: var(--bs-font-monospace);
    font-size: 1.3em;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: bold;
}

.space-open-banner.hidden {
    display: none;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-banner 30s linear infinite;
    color: #7FD87F;
}

.banner-text {
    display: inline-block;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
