* {
  box-sizing: border-box;
  font-family: Fredoka;
}

html {
  height: 100%;
  margin: 0;
}

body {
  height: 100%;

  margin: 0;

  display: grid;

  grid-template-rows: auto auto 1fr;

  /* Background is now controlled by the dark-tech theme (theme-dark-tech.css).
     Fallback to a solid dark color here. */
  background-color: #05070b;
}

.title {
  margin-top: min(0px, calc(0 * 0.1667vh));
  margin-bottom: min(10px, calc(10 * 0.1667vh));

  padding: min(6px, calc(6 * 0.1667vh));

  background-color: rgba(0, 0, 0, .75);

  font-size: min(36px, calc(36 * 0.1667vh)) !important;
  font-weight: bold;
  text-align: center;
}

@media (max-height: 700px) {
  .title {
    margin: 0;
    font-size: 0px !important;
    padding: 0;
  }
}

.header-margin {
  margin-bottom: min(12px, calc(12 * 0.1667vh));
}

.main {
  display: flex;

  overflow: hidden;

  padding-left: min(12px, calc(12 * 0.1667vh));
  padding-right: min(12px, calc(12 * 0.1667vh));
  padding-bottom: min(12px, calc(12 * 0.1667vh));

  height: 100%;

  flex-direction: row;
  align-items: stretch;
  gap: 1%;
}

.calc-left-column {
  display: flex;

  flex-direction: column;
  gap: min(12px, calc(12 * 0.1667vh));

  flex: 1 1 0;
}

.ad-sidebar {
  flex: 0 0 min(320px, calc(320 * 0.1667vh));
  max-width: min(320px, calc(320 * 0.1667vh));

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: min(20px, calc(20 * 0.1667vh));
  padding: min(12px, calc(12 * 0.1667vh));
  background-color: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-accent, #22d3ee);
  overflow: hidden;

  color: var(--color-text-secondary, #9ca3af);
  font-size: max(14px, calc(14vh/16));
  text-align: center;
}

.ad-sidebar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.round-form {
  border-radius: min(999px, calc(999 * 0.1667vh));
  border: none;

  outline: 0;

  background-color: rgba(15, 23, 42, 0.85);
  filter: drop-shadow(min(2px, calc(2 * 0.1667vh)) min(2px, calc(2 * 0.1667vh)) min(3px, calc(3 * 0.1667vh)) rgba(8, 47, 73, 0.8));
  color: var(--color-text-primary, #a5f3fc);
}

.general-text {
  margin: min(0px, calc(0 * 0.1667vh));

  color: var(--color-text-primary, #a5f3fc);
  font-weight: 550;

  text-shadow: min(1px, calc(1 * 0.1667vh)) min(1px, calc(1 * 0.1667vh)) min(3px, calc(3 * 0.1667vh)) rgba(15, 23, 42, 0.8);
}

.font-size-20 {
  font-size: max(20px, calc(8vh/6)) !important;
}

.font-size-48 {
  font-size: min(48px, calc(48 * 0.1667vh)) !important;
}

.no-wrap {
  text-wrap: nowrap;
}

.hidden {
  opacity: 0;
  display: none !important;
  transition: opacity 0.3s ease;
}

.line-divided-text {
  display: flex;
  align-items: center;
  gap: max(6px, calc(6vh/16));
  
  font-size: max(24px, calc(24vh/16));
}

.text-divider-line {
  flex: 1;
  height: 2px;
}
