/* ==========================================================================
   selfHosted Theme — Skeleton / Layout
   ========================================================================== */

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 480px;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.column {
  position: center;
  width: 100%;
  float: center;
  box-sizing: border-box;
}

@media (min-width: 400px) {
  .container {
    width: 90%;
    padding: 0;
  }
}

@media (min-width: 550px) {
  .container {
    width: 80%;
    max-width: 480px;
  }
  .column,
  .columns {
    margin-left: 0;
  }
  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }
}

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
  font-size: 100%;
  overflow-x: hidden;
}

body {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #e0e6ed;
  background: #1a1e23;
  background: radial-gradient(ellipse at 50% 0%, #2a3038 0%, #1a1e23 50%, #13161a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 64px;
  letter-spacing: 0;
  color: #f0f4f8;
}

@media (min-width: 550px) {
  h1 {
    font-size: 38px;
    line-height: 64px;
  }
}

h2, h3 {
  color: #5eead4;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  border: none !important;
}

h3 {
  font-size: 13px;
  color: #7dd3c0;
  border-bottom: none;
  margin-top: 24px;
  margin-bottom: 10px;
}

p {
  margin-top: 0;
  color: #94a3b8;
  font-size: 15px;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #22d3ee;
  text-decoration: none;
}
a:hover {
  color: #67e8f9;
}

.spacing {
  padding: 0 10px;
}

.social-icon { color: #94a3b8; }
.social-icon:hover { color: #22d3ee; }

/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #2a3038;
  border: 1px solid #374151;
  border-radius: 4px;
  color: #5eead4;
}
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre;
}

/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem;
}
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem;
}
pre,
blockquote,
dl,
figure,
p,
ol {
  margin-bottom: 2.5rem;
}

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box;
}
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}
.u-pull-right { float: right; }
.u-pull-left { float: left; }

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  display: none !important;
  border: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #374151 #1a1e23;
}
*::-webkit-scrollbar { width: 6px; }
*::-webkit-scrollbar-track { background: #1a1e23; }
*::-webkit-scrollbar-thumb { background-color: #374151; border-radius: 20px; }

/* Credit footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.credit-txt {
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.credit-txt-clr { color: #64748b !important; }
.credit-txt-clr:hover { color: #94a3b8 !important; }
