@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900);

@font-face {
  font-family: Eltercerhombre-Normal;
  src: url(assets/fonts/Eltercerhombre-Normal.woff2) format("woff2"),
    url(assets/fonts/Eltercerhombre-Normal.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  --base-fontsize: 1.15rem;
  --header-scale: 1.25;
  --line-height: 1.618;
  --bg: #eeeeee;
  --accent-bg: #cc3355;
  --text: #000000;
  --text-light: #585858;
  --border: #d8dae1;
  --hrline: #000000;
  --accent: #33ccaa;
  --accent-button: #eeeeee;
  --accent-light: #eeeeee;
  --code: #000000;
  --preformatted: #444;
  --marked: #ffdd33;
  --disabled: #efefef;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #212121;
    --accent-bg: #2b2b2b;
    --text: #dcdcdc;
    --text-light: #ababab;
    --border: #666;
    --accent: #33ccaa;
    --accent-light: #eeeeee;
    --code: #000000;
    --preformatted: #ccc;
    --disabled: #111;
  }

  img {
    opacity: 0.6;
  }
}

html {
  font-family: Roboto, san-serif;
  font-size: 16px;
}

body {
  font-family: Roboto, san-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  font-size: var(--base-fontsize);
  line-height: var(--line-height);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  flex: 1;
  margin: 0 auto;
  max-width: 65rem;
  padding: 0 0.5rem;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  /* For WebKit browsers (Chrome, Safari) */
  -moz-osx-font-smoothing: grayscale;
  /* For Firefox on Mac OS X */
}

body.extra-padding {
  padding-bottom: 250px;
}

hr {
  border: 0;
  border-top: 1px solid var(--hrline);
  margin: 1rem 0;
}

header {
  background: url(assets/art/headerback.png), var(--accent-bg);
  color: var(--accent-light);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 2rem 0.5rem;
  width: 100vw;
  position: relative;
  box-sizing: border-box;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.header-image {
  background: url(https://argumentpod.com/assets/art/bghex01.jpg);
  background-position: center center;
  background-size: 100% 100%;
}

/* Add this to your CSS */

h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-font-smoothing: antialiased;
  /* For WebKit browsers */
  -moz-osx-font-smoothing: grayscale;
  /* For Firefox on Mac OS X */
  font-smooth: always;
  /* Optional: Ensure smooth rendering */
}

.header-link {
  color: var(--accent-light) !important;
  text-decoration: none;
}

.header-link:hover {
  filter: drop-shadow(1px 1px 2px #3ca) drop-shadow(2px 1px 3px #000) !important;
}

header h1,
header p {
  margin: 0;
}

header h1 {
  line-height: 0.8;
}

nav {
  font-size: 1.2rem;
  line-height: 2;
  padding: 1rem 0;
}

nav a {
  margin: 1rem 1rem 0 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--accent-button) !important;
  display: inline-block;
  padding: 0.1rem 1rem;
  text-decoration: none;
  transition: 0.2s;
  filter: drop-shadow(2px 4px 2px #000);
}

nav a:hover {
  color: var(--accent) !important;
  border-color: var(--accent);
  transition: 0.2s;
  filter: drop-shadow(2px 4px 2px #000);
}

footer {
  margin-top: 4rem;
  padding: 2rem 1rem 1.5rem 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

h1 {
  font-family: Eltercerhombre-Normal, sans-serif;
  font-size: calc(var(--base-fontsize) * var(--header-scale) * 5);
  font-weight: normal;
  /* or specify the exact weight you need */
  margin-top: calc(var(--line-height) * 1rem);
}

h2 {
  font-size: calc(var(--base-fontsize) * var(--header-scale) * var(--header-scale) * var(--header-scale));
  margin-top: calc(var(--line-height) * 0.5rem);
  filter: drop-shadow(1px 1px 1px #000);
  color: var(--accent);
}

h3 {
  font-size: calc(var(--base-fontsize) * var(--header-scale) * var(--header-scale));
  margin-top: calc(var(--line-height) * 0.2rem);
  filter: drop-shadow(1px 1px 1px #000);
  color: var(--accent);
}

h4 {
  font-size: calc(var(--base-fontsize) * var(--header-scale));
  margin-top: calc(var(--line-height) * 1.5rem);
}

h5 {
  font-size: var(--base-fontsize);
  color: #3ca;
  margin-top: calc(var(--line-height) * 1.5rem);
}

h5 a {
  color: var(--accent);
  text-decoration: none;
}

h5 a:hover {
  filter: drop-shadow(1px 1px 1px #000) !important;
  transition: 0.2s;
}

h6 {
  font-size: calc(var(--base-fontsize) / var(--header-scale));
  margin-top: calc(var(--line-height) * 1.5rem);
}

.podcast-title {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  font-weight: 700;
}

a,
a:visited {
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  text-decoration: none;
  filter: drop-shadow(4px 4px 2px #000) !important;
  transition: 0.2s;
}

a button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  font-family: roboto, sans-serif;
  border: line;
  border-radius: 5px;
  background: var(--accent);
  font-size: 1rem;
  color: var(black);
  padding: 0.7rem 0.9rem;
  margin: 0.5rem 0;
  transition: 0.4s;
}

a button[disabled],
button[disabled],
input[type="button"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled] {
  cursor: default;
  opacity: 0.5;
  cursor: not-allowed;
}

input:disabled {
  cursor: not-allowed;
  background-color: var(--disabled);
}

input[type="range"] {
  padding: 0;
}

button:enabled:hover,
button:focus,
input[type="button"]:enabled:hover,
input[type="button"]:focus,
input[type="checkbox"]:enabled:hover,
input[type="checkbox"]:focus,
input[type="radio"]:enabled:hover,
input[type="radio"]:focus,
input[type="reset"]:enabled:hover,
input[type="reset"]:focus,
input[type="submit"]:enabled:hover,
input[type="submit"]:focus {
  opacity: 0.8;
}

ul {
  padding-left: 3rem;
}

input {
  font-size: inherit;
  font-family: sans-serif;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
  vertical-align: bottom;
  position: relative;
}

input[type="radio"] {
  border-radius: 100%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background: var(--accent);
}

input[type="checkbox"]:checked::after {
  content: " ";
  width: 0.1em;
  height: 0.25em;
  border-radius: 0;
  position: absolute;
  top: 0.05em;
  left: 0.18em;
  background: 0 0;
  border-right: solid var(--bg) 0.08em;
  border-bottom: solid var(--bg) 0.08em;
  font-size: 1.8em;
  transform: rotate(45deg);
}

input[type="radio"]:checked::after {
  content: " ";
  width: 0.25em;
  height: 0.25em;
  border-radius: 100%;
  position: absolute;
  top: 0.125em;
  background: var(--bg);
  left: 0.125em;
  font-size: 32px;
}

@media only screen and (max-width: 720px) {
  input {
    width: 100%;
  }
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
}

input[type="file"] {
  border: 0;
}

main img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.center>div {
  margin-left: auto;
  margin-right: auto;
}

.show {
  display: block;
}

#results {
  list-style-type: none;
  padding: 0;
}

#results button {
  font-size: 12px;
  padding: 4px 8px;
  height: 25px;
  line-height: 1;
  vertical-align: middle;
}

#results-container {
  height: calc(100vh - 50px);
  overflow-y: auto;
  }

/* Existing styles */
details {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 1rem;
  filter: drop-shadow(4px 4px 5px var(--accent));
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.6rem 1rem;
}

/* Existing styles */
details {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 1rem;
  filter: drop-shadow(4px 4px 5px var(--accent));
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.6rem 1rem;
}

/* Existing styles */
details {
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-bottom: 1rem;
  filter: drop-shadow(4px 4px 5px var(--accent));
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.6rem 1rem;
}

details[open] {
  padding: 0.6rem 1rem 0.75rem 1rem;
}

details[open] summary {
  margin-bottom: 0.5rem;
  padding: 0;
}

details[open]>*:last-child {
  margin-bottom: 0;
}

/* Specific styling for links inside <details> */
details a {
  color: #000;
  /* Make links black */
  text-decoration: none;
  /* Ensure no underline */
  filter: none;
  /* Remove any default filter effects */
}

details a:hover {
  color: var(--accent);
  /* Optional: Change color on hover */
  filter: drop-shadow(1px 1px 2px var(--accent)) !important;
  /* Accent colored shadow on hover */
  transition: 0.2s;
}

.info-box {
  width: 32%;
  padding: 0 1%;
  box-sizing: border-box;
}

.info-box textarea,
.info-box input {
  width: 100%;
  background-color: #ccc;
  border: 1px solid #aaa;
  /* Optional: Adds a border to inputs and textarea for better visibility */
  padding: 0.5rem;
  /* Adds some padding for better spacing */
  font-size: 1rem;
  /* Ensures a consistent font size */
  color: #000;
  /* Text color */
  border-radius: 4px;
  /* Rounds the corners */
  resize: none;
  /* Prevents resizing of the textarea */
  box-sizing: border-box;
  /* Ensures padding and borders are included in the width and height */
  height: 2.5rem;
  /* Set a fixed height for consistency */
  appearance: none;
  /* Adds the standard property */
  vertical-align: top;
  /* Aligns the text fields properly */
}

.info-box textarea {
  vertical-align: top;
  /* Align the textarea properly with inputs */
}

.info-box input[type="number"] {
  -webkit-appearance: none;
  /* Hides the spin buttons in WebKit browsers (Chrome, Safari) */
  -moz-appearance: textfield;
  /* Hides the spin buttons in Firefox */
  appearance: none;
  /* Standard property for compatibility */
}

.info-box label {
  display: block;
  /* Ensures the label is above the input */
  margin-bottom: 0.5rem;
  /* Adds space between label and input */
  font-weight: bold;
  /* Makes the label stand out */
}

/* Common styling for inputs and textareas */
.input-common {
  background-color: #fff;
  /* Set to a white color */
  color: #000;
  /* Text color */
  border: 1px solid #ccc;
  /* Optional: Adds a border */
  padding: 0.5rem;
  /* Adds some padding for better spacing */
  font-size: 1rem;
  /* Ensures a consistent font size */
  border-radius: 4px;
  /* Rounds the corners */
  box-sizing: border-box;
  /* Ensures padding and borders are included in the width and height */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  /* Adds a subtle drop shadow */
  resize: none;
  /* Prevents resizing of the textarea */
}

/* Specific to input elements if needed */
input[type="number"].input-common {
  -webkit-appearance: none;
  /* Hides the spin buttons in WebKit browsers */
  -moz-appearance: textfield;
  /* Hides the spin buttons in Firefox */
  appearance: none;
  /* Standard property for compatibility */
}

/* Specific to textarea elements if needed */
textarea.input-common {
  resize: none;
  /* Prevents resizing of the textarea */
}

#formatted-links.input-common {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  /* Ensures the drop shadow is applied */
}

.upload-box {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  margin: 10px 0;
}

.upload-box:hover {
  background-color: #f0f0f0;
}

.upload-box.dragover {
  border-color: #000;
}

.chapter {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 5px;
}

.chapter-img {
  width: 100px;
  height: auto;
  margin-right: 10px;
}

.chapter span {
  flex: 1;
}

.chapter button {
  margin-left: 10px;
}

.chapter button:first-child {
  margin-left: auto;
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
}

.thumbnail {
  width: 200px;
  height: 200px;
  margin-left: 5px;
  object-fit: cover;
  cursor: pointer;
}

.thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail-gallery img.thumbnail {
  width: 100px;
  height: auto;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumbnail-gallery img.thumbnail:hover {
  border: 2px solid #4fa9ff;
}

.drop-zone {
  border: 2px dashed #ccc;
  padding: 20px;
  width: 300px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.drop-zone.dragover {
  background-color: #f0f0f0;
}

.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  /* Optional: to make it stand out */
  padding: 10px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.4);
  /* Optional: for a slight shadow effect */
  z-index: 1000;
  margin: 0;
}

.form-group {
  margin-bottom: 20px;
}

.playback-speed-controls {
  margin-top: 10px;
}

#speed-indicator {
  margin-left: 10px;
  font-weight: bold;
}

.processed-cover-art {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 3;
  border: 2px solid #eeeeee;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  /* Adjust the values for the desired shadow effect */
  transition: transform 0.2s;
}

.processed-cover-art:hover {
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  /* Adjust the values for the desired shadow effect */
  transform: scale(0.99);
}

/* Soundboard stuff */
.drop-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dump-cache-button {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #ff4c4c;
  color: white;
  cursor: pointer;
  position: absolute;
  /* Absolute positioning for the button */
  bottom: 30px;
  /* Position near the bottom */
}

.dump-cache-button:hover {
  background-color: #d43f3f;
}

audio {
  width: 100%;
  margin-top: 10px;
}

.sound-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.sound-button p {
  margin: 0 0 10px 0;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.button-group button {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  background-color: #33ccaa;
  color: white;
  cursor: pointer;
}

.button-group button:hover {
  background-color: #28a18a;
}

.volume-slider {
  margin-bottom: 10px;
}

.remove-sound {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  background-color: #33ccaa;
  color: white;
  cursor: pointer;
}

.remove-sound:hover {
  background-color: #28a18a;
}

.waveform {
  width: 100%;
  height: 80px; /* Ensure the height is set correctly */
  margin-bottom: 10px;
}

.upload-section {
  margin-bottom: 20px;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drop-zone {
  border: 2px dashed #ccc;
  padding: 20px;
  width: 300px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.drop-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone.dragover {
  border-color: #007bff;
  background-color: #e0f7ff;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tool-button {
  width: 32%;
  height: 150px;
  font-size: 1rem;
  color: #fff;
  background-color: #3ca;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.tool-button:hover {
  background-color: rgb(71, 216, 185);
}
.container {
  text-align: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}