

/* #region Component-based Utilities */
.code-block {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 0.5em;
    font-family: 'Courier New', Courier, monospace;
}

.code-snip {
    display: inline-block;
    background: #f5f5f5;
    padding: 0.5em;
    border-radius: 0.5em;
    font-family: 'Courier New', Courier, monospace;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.img-full-contain {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.btn {
    display: inline-block;
    padding: 0.5em 1em;
    border-radius: 0.5em;
    background: #007bff;
    color: white;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
}

.skeleton-box {
    display: inline-block;
    height: 1em;
    position: relative;
    overflow: hidden;
    background-color: rgba(221, 219, 221, 0.4);
    color: transparent !important;
    border-radius: 1rem;
}

.skeleton-box:last-child {
    margin-bottom: 0;
}

.skeleton-box::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 70%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 3s infinite;
    content: '';
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.pill-outline {
    display: inline-block;
    padding: 0.1em 0.5em;
    border-radius: 9999px;
    border: 2px solid currentColor;
}
/* #endregion */

/* #region Utilities */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.h-0\.9 {
    height: 90%;
}

.h-0\.5 {
    height: 50%;
}

.w-full {
    width: 100%;
}

.w-0\.5 {
    width: 50%;
}

.w-0\.6 {
    width: 60%;
}

.w-0\.7 {
    width: 70%;
}

.w-0\.8 {
    width: 80%;
}

.w-0\.85 {
    width: 85%;
}

.text-center {
    text-align: center;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.text-xs {
    font-size: 0.65em;
}

.text-sm {
    font-size: 0.75em;
}

.text-m {
    font-size: 0.9em;
}

.text-l {
    font-size: 1.1em;
}

.text-lxl {
    font-size: 1.5em;
}

.text-xl {
    font-size: 1.75em;
}

.text-2xl {
    font-size: 2.75em;
}

.text-3xl {
    font-size: 3.5em;
}

.text-7xl {
    font-size: 6.25em;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-black {
    font-weight: 900;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

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

.leading-tight {
    line-height: 0.9;
}

.leading-base {
    line-height: 1;
}

.leading-loose {
    line-height: 1.5;
}

.border-y {
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.justify-center {
    justify-content: center;
}

.m-6 {
    margin: 1.5em;
}

.m-8 {
    margin: 2em;
}

.mr-2 {
    margin-right: 0.5em;
}

.mr-4 {
    margin-right: 1em;
}

.mb-2 {
    margin-bottom: 0.5em;
}

.mb-4 {
    margin-bottom: 1em;
}

.mb-8 {
    margin-bottom: 2em;
}

.mt-0 {
    margin-top: 0;
}

.\!mt-0 {
    margin-top: 0 !important;
}

.mt-4 {
    margin-top: 1em;
}

.mt-8 {
    margin-top: 2em;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-2 {
    padding: 0.5em;
}

.p-4 {
    padding: 1em;
}

.p-6 {
    padding: 1.5em;
}

.p-8 {
    padding: 2em;
}

.py-1 {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

.py-2 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.px-2 {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.px-8 {
    padding-left: 2em;
    padding-right: 2em;
}

.rounded-xl {
    border-radius: 0.75em;
}

.rounded-t-xl {
    border-top-left-radius: 0.75em;
    border-top-right-radius: 0.75em;
}

.rounded-t-l {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}

.bg-white {
    background: white;
}

.w-fit {
    width: fit-content;
}

.object-contain {
    object-fit: contain;
}

.flex-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-evenly {
    justify-content: space-evenly;
}

.grow-1 {
    flex-grow: 1;
}

.pl-2 {
    padding-left: 0.5em;
}

.fill-wh {
    width: 100%;
    height: 100%;
}

.uppercase {
    text-transform: uppercase;
}

@media screen and (orientation: portrait) {
    .pt\:p-2 {
        padding: 0.5em;
    }

    .pt\:p-3 {
        padding: 0.75em;
    }

    .pt\:w-full {
        width: 100%;
    }

    .pt\:fill-wh {
        width: 100%;
        height: 100%;
    }

    .pt\:column-2 {
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
    }

    .pt\:h-0\.9 {
        height: 90%;
    }

    .pt\:w-0\.9 {
        width: 90%;
    }

    .pt\:mb-16 {
        margin-bottom: 4em;
    }

    .pt\:text-m {
        font-size: 0.9em;
    }

    .pt\:text-l {
        font-size: 1.1em;
    }

    .pt\:text-lxl {
        font-size: 1.5em;
    }

    .pt\:text-xl {
        font-size: 1.75em;
    }

    .pt\:text-2xl {
        font-size: 2.75em;
    }

    .pt\:text-3xl {
        font-size: 3.5em;
    }

    .pt\:text-7xl {
        font-size: 6.25em;
    }

    .pt\:rounded-none {
        border-radius: 0;
    }
}
/* #endregion */
