/*Main.css | Main style & variables */


:root {
  --primary: #1e1e2e;
  --secondary: #89b4fa;
  --text: #cdd6f4;
  --subtext: #bac2de;
  --box: #181B28DF;
  --border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary);
  color: var(--text);
  line-height: 1;
  font-family: lato, ubuntu, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 22px;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 1s ease;
}

footer a {
  color: #ff6666;
  text-decoration: none;
  transition: color 1s ease;
}

a:hover {
  color: var(--text);
}

.awesome {
  transition: none !important;
  color: inherit !important;
}

#strike {
  text-decoration: line-through;
  text-decoration-color: #ff6666;
  display: inline;
}

em {
  font-style: italic;
}

button {
  background-color: var(--secondary);
  color: #1a1a1a;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px sloid #1a1a1a;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 20px;
}

button:hover {
  background-color: color-mix(in srgb, var(--secondary) 70%, black 30%);
}

.container {
  max-width: 1100px;
  height: auto;
  margin: 60px auto;
  padding: 20px;
}

.hero {
  margin: 100px auto 150px auto;
}

.hero h1 {
  font-size: 5.9rem;
}

.hero .subtitle {
  display: block;
  font-size: 24px;
  font-weight: 300;
  color: var(--subtext);
  margin-top: 15px;
}

.hero .lead {
  color: var(--text);
  position: relative;
  font-weight: 500;
  margin-top: 30px;
  font-size: 2rem;
}

.sections {
  display: inline-block;
  vertical-align: top;
}

.section-title {
  font-size: 28px;
}

.sectionleft .section-title {
  margin-top: 25px;
  margin-bottom: 0;
}

.sectionleft {
  width: 40%;
}

.sectionright {
  width: 59%;
  font-size: 1.1rem;
}

.red {
  color: #ff6666;
}

.green {
  color: #55dd55;
}

.list-card {
  margin: 30px 0 30px 0;
  padding: 25px;
  line-height: 1.4;
}

.list-card.example {
  max-width: 350px;
  padding: 25px 25px 25px 0;
}

.list-card li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}

.list-card ul {
  list-style: none;
  margin: -20px auto 16px 20px;
}

.list-card .no li:before {
  content: '×';
  color: #ff6666;
  font-weight: bold;
  padding-right: 10px;
  opacity: 100% !important;
}

.list-card .yes li:before {
  content: '✓';
  color: #55dd55;
  font-weight: bold;
  padding-right: 10px;
  opacity: 100% !important;
}

.list-card a {
  color: var(--text);
}

.slack {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.slack img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.slack .text {
  display: flex;
  flex-direction: column;
}

.slack .header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.slack .slackname {
  font-weight: bold;
}

.slack .slacktime {
  font-size: 0.85em;
  color: var(--subtext);
}

.slack .slackmessage {
  margin-top: 2px;
}

.list-card.example {
  margin: 30px 30px 30px 0;
  max-width: 350px;
  min-width: 250px;
  padding: 25px 25px 10px 25px;
  border-radius: 10px;
  background: var(--box);
  border: var(--border);
}

.hidden {
  display: none !important;
}

.a-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: #1a1a1a;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 5px;
  text-decoration: none;
  gap: 8px;
}

.a-button:hover {
  background-color: color-mix(in srgb, var(--secondary) 70%, black 30%);
  color: #1a1a1a;
}

.button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button-row p {
  display: flex;
  align-items: center;
  margin: 0;
}

.buttons {
  display: flex;
  gap: 10px;
}

.whatIsASkid {
  position: fixed;
  max-width: 280px;
  background: var(--primary);
  color: var(--text);
  border: 2px solid var(--secondary);
  padding: 10px;
  border-radius: 6px;
  z-index: 8888;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform-origin: top left;
  max-height: 0;
  width: 0;
  padding: 0;
  transition: none;
  overflow-y: auto;
}

.whatIsASkid.show {
  animation: unroll 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: auto;
}

.whatIsASkid.hide {
  animation: fold 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.whatIsASkid ul {
  margin: 10px 0 0 18px;
  padding: 0;
  list-style: none;
}

.whatIsASkid li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 1.35;
}

.whatIsASkid li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1;
}


/*animations */
@keyframes unroll {
  0% {
    opacity: 1;
    max-height: 2px;
    width: 100px;
    padding: 0 10px;
  }

  40% {
    max-height: 2px;
    width: 280px;
  }

  100% {
    opacity: 1;
    max-height: 500px;
    width: 280px;
    padding: 10px;
  }
}


@keyframes fold {
  0% {
    opacity: 1;
    max-height: 500px;
    width: 280px;
    padding: 10px;
  }

  60% {
    max-height: 2px;
    width: 280px;
    padding: 0 10px;
  }

  100% {
    opacity: 1;
    max-height: 2px;
    width: 0;
    padding: 0;
  }
}

footer {
  margin-top: 60px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: var(--box);
}

footer p {
  line-height: 24px;
}

footer img {
  max-height: 50px;
  margin-left: 20px;
}