@import url(https://fonts.googleapis.com/css?family=Roboto+Mono);

:root {
  --primary-color: rgb(80, 0, 0);
  --secondary-color: rgb(0, 0, 0);
  --text-color: rgb(255, 255, 255);
}

body {
  background: #181818;
  color: #52bc57;
  margin: 0;
  padding: 0;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/*----- Menu -----*/
.topnav {
  background-color: #333;
  overflow: hidden;
  border: 1px solid #2b2b2b;
  border-radius: 3px;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.topnav a.active {
  background-color: rgb(80, 0, 0);
  color: white;
}

/*----- Typo -----*/
h1 { 
  color: #ffffff; 
  font-size: 35px; 
  font-weight: 300; 
  line-height: 58px; 
  margin: 0 0 20px; 
}

a {
  text-decoration: none;
  color: white;
}

/*----- Images Styles -----*/
.imgpartner {
  opacity: 0.5;
  margin-left: auto;
  margin-right: auto;
  padding: auto;
  max-width: 150px;
}

.imgpartnerk {
  opacity: 0.5;
  margin-left: auto;
  margin-right: auto;
  padding: auto;
  width: 100px;
  max-width: 100px;
}

/*----- Table -----*/
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

td, th {
  border: 1px solid #52bc57;
  text-align: left;
  padding-left: 5px;
  padding-right: 5px;
}

tr:hover {cursor: help;}

tr:nth-child(even) {
  background-color: rgb(0, 0, 0);
}

/*----- Badges and Buttons -----*/
.badge {
  background-color: rgb(80, 0, 0);
  color: white;
  padding: 5px;
  text-align: center;
  border-radius: 3px;
}

.danger {
  background-color: #3f3f3f;
  border-left: 10px solid rgb(255, 238, 0);
  padding: 15px 32px;
  color: white;
  border-radius: 3px;
}

.button_red {
  background-color: rgb(80, 0, 0);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 3px;
}

.button_black {
  background-color: rgb(0, 0, 0);
  border: none;
  color: rgb(58, 58, 58);
  padding: 15px 32px;
  text-align: center;
  text-decoration: line-through;
  display: inline-block;
  margin: 4px 2px;
  cursor: not-allowed;
  border-radius: 3px;
}

/*----- Codes and Script Tabs -----*/
.pre {
  background-color: rgb(0, 0, 0);
  border: 1px solid #2b2b2b;
  color: rgb(255, 255, 255);
  padding: 0px 10px;
  border-radius: 3px;
}

.code {
  background-color: rgb(59, 59, 59);
  border: 1px solid #000000;
  color: rgb(255, 255, 255);
  padding: 4px 6px;
  margin: 4px 2px;
  border-radius: 3px;
}

/*----- Footer -----*/
footer {
  text-align: center;
  padding: 14px 16px;
  background-color: rgb(0, 0, 0);
  color: rgb(74, 153, 0);
  border: 1px solid rgb(80, 0, 0);
  border-radius: 3px;
}

/*----- Marquee News -----*/
.news-ticker {
  white-space: nowrap;
  overflow: hidden;
  background-color: rgb(80, 0, 0);
  border: 1px solid #2b2b2b;
  color: rgb(255, 255, 255);
  padding: 10px;
  border-radius: 3px;
  position: relative;
  box-sizing: border-box;
}

.news-ticker a {
  display: inline-block;
  padding-right: 100%; /* Ensures there's a gap between repetitions */
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/*----- Drop Up Button -----*/
.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 16
}

/*----- Form Styles -----*/
form {
  background-color: #333;
  padding: 20px;
  border-radius: 3px;
  color: #f2f2f2;
}

form label {
  display: block;
  margin-bottom: 8px;
}

form input[type="text"], 
form input[type="email"], 
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #52bc57;
  border-radius: 3px;
  background-color: #181818;
  color: #f2f2f2;
  font-family: "Roboto Mono", monospace;
  box-sizing: border-box;
  resize: vertical;
}

form input[type="submit"] {
  background-color: rgb(80, 0, 0);
  border: none;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-family: "Roboto Mono", monospace;
}

form input[type="submit"]:hover {
  background-color: rgb(100, 0, 0);
}

/* Partners/Sponsors Section */
.partners-section {
  background-color: var(--secondary-color);
  padding: 40px 0;
  text-align: center;
  font-size: 9px;
  border: 1px solid rgb(80, 0, 0);
  border-radius: 3px;
  margin: 20px 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.partners-grid a img {
  max-width: 150px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
  border: 1px solid rgb(80, 0, 0);
  border-radius: 3px;
  padding: 10px;
}

/* Gallery Styles */
.gallery-section {
  background-color: var(--secondary-color);
  padding: 40px 0;
  text-align: center;
  border: 1px solid rgb(80, 0, 0);
  border-radius: 3px;
  margin: 20px 0;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.gallery-grid a img {
  max-width: 200px;
  transition: transform 0.3s ease;
  border: 1px solid rgb(80, 0, 0);
  border-radius: 3px;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent black */
  z-index: 1000; /* to make sure it's above other content */
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%; /* or any other value you see fit */
  max-height: 80%;
  overflow: auto; /* in case the image is too big, scrollbars will appear */
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Map venue */
.png-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-image {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.map-image:hover {
  transform: scale(1.05);
}

/* FAQ */
.faq-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 5px;
}

.faq-question {
  cursor: pointer;
  background-color: #000000;
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  transition: background-color 0.3s;
}

.faq-answer {
  display: none;
  padding: 10px;
  margin-top: 5px;
  border-left: 3px solid #FF5733;
}

.faq-question:hover {
  background-color: #E64D29;
}

/* SPEAKER PROFILE */
.speaker-profile {
  padding: 20px;
  border-radius: 5px;
  max-width: 100%;
  margin: 40px auto;
}

.speaker-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.social-links {
  list-style-type: none;
  padding: 0;
}

.social-links li {
  display: inline-block;
  margin-right: 10px;
}

/* ARCHIVES */
.file-tree {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
}

.file-tree ul {
  list-style-type: none;
  padding-left: 10px;
}

.file-tree .folder,
.file-tree .file {
  padding: 5px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 5px;
}

.file-tree .folder:hover,
.file-tree .file:hover {
  background-color: #FF5733;
  cursor: pointer;
}

.file-tree .folder:before {
  content: "📁 ";
}

.file-tree .file:before {
  content: "📄 ";
}

.folder-content {
  display: none;
}

.folder-toggle:hover {
  cursor: pointer;
  background-color: #FF5733;
}

/*NEWS*/
.news-section {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 3px;
  margin: 20px 0;
}

.news-item {
  border-bottom: 1px solid #333;
  padding: 10px 0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-style: italic;
  color: #888;
}

.news-item a {
  color: #FF5733;
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: underline;
}

/*SELF DEFENSE STAND TEST*/
.high-risk {
  color: red;
}

.medium-risk {
  color: orange;
}

.low-risk {
  color: yellow;
}

.neutral {
  color: green;
}

/*COOKIES*/
.cookie-notification {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px;
  text-align: center;
  z-index: 1000;
  display: none; /* Initially hidden */
  border-top: 1px solid #52bc57;
}

.cookie-notification button {
  background-color: #52bc57;
  color: var(--text-color);
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
}


/*WATERMARK*/
.watermarked {
  position: relative;
  display: inline-block;
}

.watermarked::after {
  content: "ScaryCon";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 10px;
  font-weight: bold;
  opacity: 0.10;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.2);
}

.watermarked-video {
  position: relative;
  display: inline-block;
  width: 100%; /* Ensures the container takes the full width of the video */
}

.watermarked-video::after {
  content: "ScaryCon TV";
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  opacity: 0.7;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px;
  border-radius: 3px;
}