/* Styles for Platonic Solids project. */

* {
  box-sizing: border-box;
}

body {
  /* --- Space It --- */
  margin: 0;
  padding: 1rem;

  /* --- Style It --- */
  background-color: #fdfdfd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  /* --- Size It --- */
  max-width: 900px;

  /* --- Space It --- */
  margin: 32px auto;
  padding: 1rem;
}

.back-to-whoami {
  color: purple;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.back-to-til {
  color: purple;
  text-decoration: underline;
  display: block;
  text-align: center;
}

.page-plato h1,
.page-plato h2 {
  /* --- Space It --- */
  text-align: center;
}

.page-plato h1 {
  /* --- Space It --- */
  padding-bottom: 0.5rem;

  /* --- Style It --- */
  color: #2a2a2a;
  border-bottom: 2px solid #f0f0f0;
  font-size: 2rem;
  font-weight: 700;
}

.page-plato h2 {
  /* --- Size It --- */
  font-size: 1.25rem;

  /* --- Space It --- */
  margin-top: 0;
  margin-bottom: 1rem;

  /* --- Style It --- */
  font-weight: 600;
  color: #555;
}

.video-archive {
  /* --- Space It --- */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.video-entry,
.prompt-entry {
  /* --- Space It --- */
  padding: 16px;
  margin: 0 auto;

  /* --- Style It --- */
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgb(0 0 0 / 5%);
  width: 100%;
  max-width: 800px;
}

img {
  /* --- Size It --- */
  max-width: 100%;
  height: auto;

  /* --- Space It --- */
  display: block;
}

/* Platonic Link Styling */
.platonic-link {
  /* --- Size It --- */
  font-size: 1.125rem;

  /* --- Space It --- */
  display: inline-flex;
  padding-left: 12px;
  text-indent: 12px;

  /* --- Style It --- */
  color: goldenrod;
  text-decoration: underline;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 24px 24px;
}

.tetra-link {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="22" fill="currentColor" font-size="24">🔥</text></svg>');
}

.cube-link {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="22" fill="currentColor" font-size="24">🌎</text></svg>');
}

.octa-link {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="22" fill="currentColor" font-size="24">🌬️</text></svg>');
}

.dodeca-link {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="22" fill="currentColor" font-size="24">⭐</text></svg>');
}

.icosa-link {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text x="0" y="22" fill="currentColor" font-size="24">💧</text></svg>');
}

/* Styles for videos */
video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* Styles for prompt */
.prompt-text {
  /* --- Size It --- */
  font-size: 1rem;

  /* --- Space It --- */
  margin: 0;
  text-align: center;

  /* --- Style It --- */
  font-style: italic;
  color: #6c757d;
}
