body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    position: relative;
    overflow: hidden;
    user-select: none;
    background: #1b1b1f;
}

@font-face {
    font-family: 'Title';
    src: url('/storage/fonts/poek.otf') format('truetype');
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 4.6rem;
    line-height: 1;
    color: white;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
    transform: translateY(-24px);
}

h {
    margin: 0;
    padding: 0;
    font-size: 5em;
    line-height: 1;
    color: white;
    font-family: 'Title';
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
    transform: translateY(-24px);
}

a,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
    outline: none;
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(5, 5, 5, 0.7);
}


#search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(700px, 90vw);
    margin-top: 28px;
}

#search-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
    margin-left: 12px;
    margin-right: 12px;
    z-index: 2;
    pointer-events: none;
}

#uv-form {
    position: relative;
    user-select: none;
    display: flex;
    align-items: center;
    width: 700px;
    height: 58px;
    margin: 0;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: #111;
    overflow: hidden;
    transform: scale(1);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#uv-form::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

#uv-form:hover {
    transform: scale(1.018);
    border-color: rgba(255, 255, 255, 0.95);
}

#uv-form:hover::before {
    opacity: 1;
}

#uv-form:focus-within {
    transform: scale(1.018);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

#uv-form:focus-within::before {
    opacity: 1;
}

#uv-address {
    font-style: normal;
    text-align: center;
}

#uv-address::placeholder {
    color: rgba(255, 255, 255, 0.62);
    font-style: italic;
}   

#uv-form:hover #uv-address::placeholder,
#uv-form:focus-within #uv-address::placeholder {
    color: rgba(255, 255, 255, 0.86);
    font-style: italic;
    user-select: none;
}


.search-bar-home {
    position: relative;
    z-index: 1;
    flex: 1;
    height: 100%;
    margin: 0;
    padding: 0 14px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    appearance: none;
    box-shadow: none;
    user-select: text;
}

.search-bar-home:hover,
.search-bar-home:focus {
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}

.desc {
    margin: 0;
    padding: 0;
    text-align: center;
}

#uv-error:empty,
#uv-error-code:empty {
    display: none;
}

#randomText {
    margin: 5px 0 0 0;
    width: 100%;
    min-height: 18px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    cursor: default;
    font-family: 'Poppins', sans-serif;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-user-select: text;
    user-select: text;
    pointer-events: auto;
    cursor: text;
}


#randomText::selection {
    background: white;
    color: #111111;
}

#randomText:hover {
    cursor: default;
}

#home-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#page-frame {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: calc(100vh - 86px);
    border: 0;
    background: transparent;
    z-index: 5;
}

body.frame-open #home-screen {
    display: none;
}

body.frame-open #page-frame {
    display: block;
}

.nexus-nav {
    z-index: 50;
}