/* default_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
/* arrowed_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
/* blurred_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Knewave&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
/* backdrop_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Plaster&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');
/* bordered_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Tac+One&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Saira&display=swap');
/* highlighted_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Squada+One&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
/* classic_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
/* animated_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Google+Sans&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Smooch+Sans&display=swap');
/* underglow_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap');
/* warning_tooltip theme */ /* info_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');
/* laser_tooltip theme */
    /* title_font */ @import url('https://fonts.googleapis.com/css2?family=Tourney&display=swap');
    /* body_font */ @import url('https://fonts.googleapis.com/css2?family=Goldman&display=swap');

/* default_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* arrowed_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
/* blurred_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Cause:wght@100..900&display=swap");
/* backdrop_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
/* highlighted_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100..900&display=swap");
/* animated_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap");
/* underglow_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=DM+Serif+Text&display=swap");
/* warning_tooltip font */ /* info_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
/* laser_tooltip font */ @import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

body
{
    font-family: var(--body_font);
    margin: 0;
    height: 100vh;
    background: var(--body_gradient);
    overflow: hidden;
}

h1
{
    position: absolute;
    width: 100%;
    color: var(--header);
    font-size: var(--title_size);
    text-transform: uppercase;
    text-align: center;
    font-family: var(--title_font);
}

.nav_button
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--body_text);
    user-select: none;
    opacity: 0;
}

.prev
{
    margin-left: -350px;
}

.next
{
    margin-left: 350px;
}

.currenttooltip_description
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 200px));
    font-size: var(--body_size);
    color: var(--body_text);
    text-align: center;
    font-family: var(--body_font);
}

.tooltip_codebox
{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    color: darkgray;
    font-family: monospace;
    font-size: 14px;
    white-space: pre;
    display: flex;
    flex-wrap: nowrap;
    background-color: #242523;
    padding: 16px 18px;
    border-top-right-radius: 10px;
    user-select: none;
    transition: 0.4s transform ease-in-out;
    transform: translateX(-50%);
    animation: slide_in 1s ease-in-out forwards;
}

@keyframes slide_in
{
    from
    {
        opacity: 0;
        transform: translateX(-50%) translateY(calc(100% + 50px));
    }
    to
    {
        transform: translateX(-50%);
        opacity: 1;
    }
}

.tooltip_codebox > .codetag
{
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 28px;
    background-color: #1f201e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(225, 225, 225);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform: translateY(-100%);
    font-size: 16px;
    font-weight: bold;
}

.tooltip_codebox > .codetag::before
{
    content: "<>";
    color: rgb(229, 153, 11);
    margin-right: 5px;
}

.tooltip_codebox > .value_input
{
    background-color: #454546;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    color: white;
    padding: 3px 5px;
    margin: 0 2px;
    margin-top: -1px;
    font-family: monospace;
    box-sizing: border-box;
    border: 1px solid transparent;
    transition: 0.2s;
}

.tooltip_codebox > input.value_input
{
    width: 140px;
    outline: none;
}

.tooltip_codebox > input.value_input::placeholder
{
    color: gray;
}

.tooltip_codebox > .value_input:focus
{
    border: 1px solid royalblue;
    background-color: #353535 !important;
    cursor: text !important;
}

.tooltip_codebox > .value_input:hover
{
    background-color: #5c5c5d;
    cursor: pointer;
}

body:has(.tooltip_positions_selector) .tooltip_position_input
{
    border: 1px solid royalblue;
}

.tooltip_positions_selector
{
    position: absolute;
    border-radius: 6px;
    background-color: #2c2c2c;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    overflow: hidden;
}

.tooltip_positions_selector > div
{
    padding: 8px 12px;
    color: white;
    font-family: monospace;
    user-select: none;
    transition: 0.2s;
}

.tooltip_positions_selector > div:hover
{
    background-color: #454546;
    cursor: pointer;
}


.hoverover_text
{
    color: var(--body_text);
    display: block;
    width: fit-content;
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: var(--body_size);
    opacity: 0;
    transform: translate(-50%, -50%);
    user-select: none;
}

.hoverover_text > a
{
    position: relative;
    font-weight: bold;
    text-decoration: underline;
}

.hoverover_text > a > before
{
    text-shadow: none;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
    max-width: 220px;
    text-align: center;
    width: max-content;
    white-space: normal;
    overflow-wrap: break-word;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    pointer-events: none;
}

.hoverover_text > a:hover > before,
.hoverover_text > a:hover > after
{
    opacity: 1;
}

.how_to_use
{
    position: fixed;
    bottom: 25px;
    left: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 14px 18px;
    padding-left: 50px;
    border-radius: 18px;
    font-size: 14px;
    font-family: monospace;
    user-select: none;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.how_to_use::before
{
    content: "i";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 25px;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-50%);
    font-size: 16px;
    font-family: "Arial", sans-serif;
}

.how_to_use:hover
{
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.how_to_use:active
{
    background-color: rgba(255, 255, 255, 0.2);
}

.howtouse_panel
{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    background-color: rgb(20, 20, 20);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    font-family: monospace;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    z-index: 10000;
}

.howtouse_panel > .content
{
    position: relative;
    width: 100%;
    max-height: 75vh;
    overflow-y: scroll;
}

.howtouse_panel.opened
{
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.howtouse_panel hr
{
    margin: 20px 0;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

.howtouse_panel h2
{
    margin: 15px;
    margin-left: 10px;
}

.howtouse_panel h2::before
{
    content: "- ";
}

.howtouse_panel h2 > span
{
    font-weight: normal;
    font-size: 90%;
}

.howtouse_panel_background
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: none;
}

body:has(.howtouse_panel.opened) .howtouse_panel_background
{
    display: block;
}

.howtouse_panel .steps, .howtouse_panel .attributes
{
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow: hidden;
    padding: 15px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.025);
}

.howtouse_panel .steps > div, .howtouse_panel .attributes > div
{
    width: fit-content;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    opacity: 0;
}

.howtouse_panel .steps > .example
{
    display: flex;
    flex-direction: column;
}

.howtouse_panel .steps > .example > code
{
    width: fit-content;
    white-space: pre;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.howtouse_panel .attributes > div
{
    color: darkgray;
}

.howtouse_panel .attributes > div > .attribute_description
{
    margin: 3px;
    margin-top: 5px;
    margin-left: 10px;
    position: relative;
}

.howtouse_panel .attributes > div > .attribute_description::before
{
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-left: -10px;
}

body:has(.howtouse_panel.opened) .howtouse_panel :is(.steps, .attributes) > div:nth-child(1)
{
    animation: step_appear 0.5s 0.2s ease-in-out forwards;
}

body:has(.howtouse_panel.opened) .howtouse_panel :is(.steps, .attributes) > div:nth-child(2)
{
    animation: step_appear 0.5s 0.5s ease-in-out forwards;
}

body:has(.howtouse_panel.opened) .howtouse_panel :is(.steps, .attributes) > div:nth-child(3)
{
    animation: step_appear 0.5s 0.7s ease-in-out forwards;
}

body:has(.howtouse_panel.opened) .howtouse_panel :is(.steps, .attributes) > div:nth-child(4)
{
    animation: step_appear 0.5s 0.9s ease-in-out forwards;
}

@keyframes step_appear
{
    from
    {
        opacity: 0;
        transform: translateX(200px);
    }
    to
    {
        opacity: 1;
    }
}

.close_howtouse
{
    margin: 0 auto;
    margin-top: 30px;
    width: fit-content;
    text-transform: uppercase;
    padding: 7px 16px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    user-select: none;
    transition: 0.2s;
}

.close_howtouse:hover
{
    text-decoration: underline;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.close_howtouse:active
{
    background-color: rgba(255, 255, 255, 0.5);
}

.product_info
{
    position: fixed;
    left: 20px;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-family: monospace;
    backdrop-filter: blur(5px);
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    animation: show_product_info 0.5s ease-out forwards;
}

@keyframes show_product_info
{
    from
    {
        opacity: 0;
        transform: translate(-200px, 0);
    }
    to
    {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.product_info > div
{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product_info > div > *:not(ul)
{
    opacity: 0;
    animation: show_product_info 0.5s 0.3s ease-out forwards;
}

.product_info h3
{
    margin-top: 5px;
    margin-bottom: 0;
}

.product_info h3 > .tooltipscss
{
    padding: 4px 8px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
}

.product_info ul
{
    padding: 10px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.product_info li
{
    margin-left: 25px;
    opacity: 0;
}

.product_info li::marker
{
    content: "✔ ";
    color: mediumseagreen;
}

.product_info i
{
    font-size: 13px;
    text-align: center;
    display: block;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.75));
}

.product_info a
{
    position: relative;
    display: block;
    margin: 0 auto;
    margin-top: 15px;
    width: fit-content;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 7px 16px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    user-select: none;
    transition: 0.2s;
}

.product_info a::before
{
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    background-color: white;
    opacity: 0.5;
    text-shadow: 0 0 0 black;
    transition: 0.25s ease-in-out;
    z-index: -1;
}

.product_info a:hover::before
{
    height: 100%;
}

.product_info a::after
{
    content: " $";
}

.author
{
    position: fixed;
    bottom: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-family: monospace;
    user-select: none;
}

.author::before
{
    content: "Made by:";
    color: rgba(255, 255, 255, 0.6);
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    transform: scaleY(0.8) translateY(-100%);
}