.typelove-wrapper {
    max-width: -webkit-fill-available;
    margin: 0 auto;
    box-sizing: border-box;
}

.typelove-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.typelove-categories button {
    border: 1px solid #ddd;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
}

.typelove-categories button.active {
    background: #111;
    color: #fff;
}

.typelove-input {
    /* margin-bottom: 48px; */
    display: flex;
    gap: 15%;
    padding: 4px 4px 4px 4px;
    border: 1px solid #eee;
    border-radius: 16px;
}

.typelove-input input {
    width: -webkit-fill-available;
    font-size: 18px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.typelove-flex {
    display: flex;
    gap: 16px;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;
    flex-wrap: wrap;
}

.top-left {
    display: flex;
    gap: 5px;
}

.typelove-item {
    display: flex;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid #eee;
    background: #fff;
    transition: transform .5s ease, box-shadow .2s ease;
    flex-direction: column;
    justify-content: space-between;
    align-items: baseline;
    overflow: hidden;
    opacity: 0.85;
    min-height: 198px;
    width: 26vw;
}

.typelove-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    opacity: 1;
}



.top-bar-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: sans-serif;
}

.typelove-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
    width: 100%;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 16px;
    font-family: sans-serif;
    font-weight: bold;
}

.typelove-links a {
    text-decoration: none;
    background: #f0e5ff;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.5s;
    color: #ad74f7;
}

.sticky-bar {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 9999999;
    background: white;
    padding: 24px;
    box-shadow: 0px 30px 32px -10px rgba(0, 0, 0, .08);
    border-radius: 16px 16px 24px 24px;
}

a.typelove-download {
    color: #ad74f7;
    background: #dec4ff;
}

.typelove-links a:hover {
    background: black;
    padding: 8px 16px;
    border-radius: 24px;
    color: white;
}

.typelove-download {
    background: #111;
    padding: 6px 14px;
    border-radius: 999px;
}

h1.wp-block-post-title {
    display: none;
    visibility: hidden;
}

.typelove-preview {
    font-size: var(--typelove-font-size, 116px);
    line-height: 1.15;
    outline: transparent;
    margin: 0 0 48px 0;
    text-rendering: optimizeSpeed;
    font-variation-settings: "wght" 300, "wdth" 0, "slnt" 0, "srif" 10, "opsz" 10;
    max-width: 100%;
    text-wrap-mode: nowrap;
}

input.font-size {
    flex: 1;
}

input#typelove-live-text {
    flex: 5;
    padding: 8px;
    color: #333;
}

input {
    outline: transparent;
}

.font-size-wrap {
    display: flex;
    gap: 8px;
    font-size: 12px;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

p.size-lable {
    margin: 0;
    padding-bottom: 3px;
}

.font-title {
    font-weight: bold;
}

/*********** Baseline, reset styles ***********/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 12rem;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
  background-color: #f0f0f0;
  border-radius: 2.5rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: 0px; /* Centers thumb on the track */
  background-color: #0a0a0a;
  border-radius: 2.5rem;
  height: 0.5rem;
  width: 1rem;
}

input[type="range"]:focus::-webkit-slider-thumb {
  outline: 3px solid #0a0a0a;
  outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
  background-color: #f0f0f0;
  border-radius: 2.5rem;
  height: 0.5rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  background-color: #0a0a0a;
  border: none; /*Removes extra border that FF applies*/
  border-radius: 2.5rem;
  height: 0.5rem;
  width: 1rem;
}

input[type="range"]:focus::-moz-range-thumb{
  outline: 3px solid #0a0a0a;
  outline-offset: 0.125rem;
}