:root {
  --foreground: #eeeeee;
  --background: #161616;
  --secondary: #999999;
  --tertiary: #444444;
  --accent: #959bf0;
  --accent-highlight: #c2c5f6;
  --table-border: var(--tertiary);
  --table-row: #1e1e1e;
}

@font-face {
  font-family: "Montserrat";
  src: url("/Montserrat-Regular.woff") format("woff");
}

p {
  font-family: "Montserrat";
  font-weight: 800;
  font-style: normal;
}

main {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-direction: column;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  min-height: 70vh;
  padding: 5em 18%;
  overflow-x: hidden;
}

@font-face {
  font-family: "SpecialGothicExpandedOne";
  src: url("/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

strong {
  font-family: "SpecialGothicExpandedOne", sans-serif;
  font-size: 1.05rem;
}

body {
  color: var(--foreground);
  background-color: var(--background);
}

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

a,
a:link,
a:visited {
  color: inherit;
  text-decoration: none;
}

donations p:not(.donation p) {
  margin-bottom: 2rem;
}

feed p:not(.donation p) {
  margin-bottom: 2rem;
}

.donation {
  background-color: #1e1e1e;
  padding: 0.75rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition-duration: 250ms;
}

.donation:hover {
  background-color: #444444;
  transition-duration: 250ms;
}

.donation img {
  border-radius: 4px;
  width: 100%;
  object-fit: cover;
}

html {
  padding: 0;
}

body,
html {
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.3em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  --mark-color: #860000;
  --mark-skew: 0.25em;
  --mark-height: 1em;
  --mark-overlap: 0.3em;
  margin-inline: calc(var(--mark-overlap) * -1);
  padding-inline: var(--mark-overlap);
  background-color: transparent;
  color: inherit;
  background-size: var(--mark-skew) var(--mark-height),
    calc(100% - var(--mark-skew) * 2 + 1px) var(--mark-height),
    var(--mark-skew) var(--mark-height);
  background-position: left center, center, right center;
  background-repeat: no-repeat;
  text-align: start !important;
}

h1,
h2 {
  width: fit-content;
  white-space: nowrap;
  background-image: linear-gradient(to bottom right,
      transparent 50%,
      var(--mark-color) 50%),
    linear-gradient(var(--mark-color), var(--mark-color)),
    linear-gradient(to top left, transparent 50%, var(--mark-color) 50%);
  margin-top: 4rem;
}

h3,
h4,
h5,
h6 {
  width: auto;
  white-space: normal;
  background-image: linear-gradient(to top right,
      transparent 50%,
      var(--mark-color) 50%),
    linear-gradient(var(--mark-color), var(--mark-color)),
    linear-gradient(to bottom left, transparent 50%, var(--mark-color) 50%);
  margin: 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  z-index: 999;
}

img {
  max-width: 100%;
}

@media only screen and (min-width: 1025px) {
  .ant-trail {
    --r: 2 !important;
    animation: progress 18s linear infinite;
  }

  body {
    padding: 5em 25%;
  }
}

@media only screen and (min-width: 1600px) {
  .funding-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

button {
  padding: 0.5rem 2rem;
  background-color: #860000;
  border: none;
  border-radius: 4px;
  color: #eeeeee;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0px 5px 2px rgba(0, 0, 0, 0.154);
}

@media only screen and (max-width: 600px) {

  .ant,
  .red-ant {
    width: 32px !important;
  }

  .ant-trail {
    bottom: 4rem !important;
  }

  .funding-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .funding-grid button {
    display: block !important;
  }

  .funding-grid a {
    cursor: auto !important;
    background-color: #1e1e1e !important;
  }

  body {
    padding: 1em 1em;
  }

  #gancio-container {
    display: none;
  }

  main {
    overflow-x: hidden !important;
  }

  .item {
    display: flex !important;
    flex-direction: column !important;
  }

  .item-img {
    width: 90% !important;
  }
}


@media only screen and (max-width: 400px) {
  .post div:not(.feed-icon) {
    flex-direction: column !important;
  }

  .post img {
    width: 100% !important;
  }
}

@property --progress {
  initial-value: 0;
  inherits: false;
  syntax: "<number>";
}

@keyframes progress {
  0% {
    opacity: 0;
    --progress: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    --progress: 1;
  }
}

#ant-container {
  position: relative;
  height: 120px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.ant-trail {
  --PI: 3.1415926;
  --WAVE-COUNT: 2;
  --TOTAL-ANGLE: calc(var(--WAVE-COUNT) * 1 * var(--PI));
  --UNIT: 1vw;
  --r: 5;
  --CONTAINER-WIDTH: 100;

  --x: calc(var(--progress) * var(--CONTAINER-WIDTH));
  --ROTATION-PER-LENGTH-UNIT: calc(var(--TOTAL-ANGLE) / var(--CONTAINER-WIDTH));
  --alpha-reference-angle: calc(var(--ROTATION-PER-LENGTH-UNIT) * var(--x) * 1rad);
  --y: calc(-1 * var(--r) * sin(var(--alpha-reference-angle)));

  --x-with-unit: calc(var(--x) * var(--UNIT));
  --y-with-unit: calc(var(--y) * var(--UNIT));

  --tan: calc(-1 * var(--r) * var(--ROTATION-PER-LENGTH-UNIT) * cos(var(--alpha-reference-angle)));
  --beta-tangent-angle: atan(var(--tan));

  position: absolute;
  bottom: 4.5rem;
  left: 0;
  width: calc(var(--CONTAINER-WIDTH) * var(--UNIT));
  animation: progress 15s linear infinite;
  opacity: 0;
}

.ant img {
  transform: rotate(135deg);
  width: 48px;
  height: auto;
  display: block;
}

.ant {
  position: absolute;
  z-index: -99;
  top: calc(-0.5 * var(--shape-height));
  left: calc(-0.5 * var(--shape-width));
  width: var(--shape-width);
  height: var(--shape-height);
  translate: var(--x-with-unit) var(--y-with-unit);
  rotate: var(--beta-tangent-angle);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 1rem;
}

.grid-2 button {
  display: none;
}

.flex-gap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post {
  background-color: #1e1e1e;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition-duration: 250ms;
  padding: 1rem;
}

.post div {
  justify-content: space-between;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
}

.post img {
  border-radius: 4px;
  width: 12rem;
  object-fit: cover;
}

.post p {
  margin: 0 !important;
  font-size: 0.85rem;
  width: 100%;
}

.post a {
  color: #b10000;
}

.feed-icon {
  width: 100%;
  gap: 1rem;
  display: flex;
  flex-direction: row !important;
  align-items: center;
}

.feed-icon p {
  width: max-content;
  white-space: nowrap;
}

.feed-icon svg {
  height: 25px;
  width: 30px;
}

.line {
  width: 100%;
  height: 2px;
  background-color: #eeeeee;
}

#gancio-container {
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

#gancio-container iframe {
  border: 0px #ffffff none;
  margin-top: -235px;
  pointer-events: none;
  height: 515px;
}

#calendar-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-main {
  background-color: #1e1e1e;
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin-top: 3rem;
  display: flex;
  width: fit-content;
  align-self: center;
}

.contact-main svg,
.contact-main div {
  width: 3rem;
  height: 3rem;
  transition-duration: 200ms;
}

.contact-main svg {
  fill: #860000;
}

.contact-main svg:hover {
  fill: #ffffffb6;
  cursor: pointer;
  transition-duration: 200ms;
}

.disclaimer {
  background-color: #1e1e1e;
  height: fit-content;
  border-radius: 0.5rem;
  flex-direction: row;
  display: flex;
  align-items: start;
  padding: 0.5rem;
  gap: 0.5rem;
}

.disclaimer p {
  font-size: small;
}

.disclaimer a {
  color: #b10000;
}

.disclaimer svg {
  max-height: 1rem;
  min-width: 1rem;
  padding: 0.5rem;
  margin: 0.25rem;
  border-radius: 0.5rem;
  background-color: #860000;
  fill: #fff;
}

letters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

letters .subtext {
  width: 100% !important;
  margin: 1rem;
  text-align: start;
}

letters .item p,
letters .item strong {
  font-size: 0.9rem;
}

letters .item {
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 4px;
  display: flow-root;
}

letters .item p {
  padding-bottom: 1rem;
}

.item-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;

  height: 20rem;
  width: 14rem;
  float: left;
  padding: 1rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-radius: 4px;
}

letters a {
  text-decoration: underline wavy #860000 1px !important;
}