/* #region Utilities */
.h-full {
    height: 100%;
}

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

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

.w-full {
    width: 100%;
}

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

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

.block {
    display: block;
}

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

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

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

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

.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-bold {
    font-weight: 700;
}

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

.flex {
    display: flex;
}

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

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

.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;
}

.p-2 {
    padding: 0.5em;
}

.p-4 {
    padding: 1em;
}

.p-8 {
    padding: 2em;
}

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

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

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

.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;
}

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

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

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

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

    .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%;
    }
}
/* #endregion */

/* #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;
}

@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%);
  }
}
/* #endregion */
