/* 

Remade EfazDev UI!
Modified on July 15th, 2025

*/

@font-face {
    font-family: mainfont;
    font-weight: bold;
    font-display: swap;
    src: url(https://cdn.efaz.dev/styles/mainFont.woff2) format("woff2"), url(https://cdn.efaz.dev/styles/mainFont.woff) format("woff");
}
* {
    max-width: 100%;
    max-height: 100%;
}
html {
    background: rgb(5, 0, 61);
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: mainfont, arial, sans-serif;
    background: linear-gradient(225deg, rgb(5, 0, 61) 0%, rgb(58, 0, 31) 100%);
    color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
div, top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    text-align: center;
}
ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem 0.5rem;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}
ul>div {
    margin-left: 10px;
    margin-right: 0;
}
ul>div:first-child {
    margin-left: 0;
}
h1 {
    font-size: 2rem;
    margin: 18px auto;
    text-align: center;
}
h2 {
    font-size: 1.5rem;
    margin: 14px auto;
    text-align: center;
}
h3 {
    font-size: 1.3rem;
    margin: 12px auto;
    text-align: center;
}
p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
}
label {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 10px auto;
    text-align: center;
}
e {
    max-width: 600px;
    margin: 10px auto;
    color: #ff0000;
    text-align: center;
}
a {
    max-width: 600px;
    color: rgb(120, 0, 241);
    margin: 10px auto;
    text-align: center;
}
button {
    pointer-events: auto;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: mainfont, sans-serif;
    border-radius: 16px;
    color: #fff;
    font-weight: bold;
    background: #181818;
    background-blend-mode: normal;
    cursor: pointer;
    min-height: 44px;
    transition: transform 0.2s, padding 0.25s cubic-bezier(.4, 2, .3, 1), box-shadow 0.25s cubic-bezier(.4, 2, .3, 1);
    white-space: nowrap;
    overflow: hidden;
    border-color: rgb(120, 0, 241);
    box-sizing: border-box;
    z-index: 0;
    box-shadow: none;
}
input, textarea {
    pointer-events: auto;
    position: relative;
    font-family: mainfont;
    display: inline-flex;
    padding: 0.75rem 1.2rem;
    min-height: 22px;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    background: #181818;
    border-radius: 16px;
    border: none;
    transition: transform 0.2s, padding 0.25s cubic-bezier(.4, 2, .3, 1), box-shadow 0.25s cubic-bezier(.4, 2, .3, 1);
    box-sizing: border-box;
    z-index: 0;
    margin: 0;
    box-shadow: none;
}
input::placeholder, textarea::placeholder {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-family: mainfont, sans-serif;
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #bbb;
    opacity: 1;
}
button:active::before {
    transform: scale(0.97);
}
button:focus-visible::before {
    outline: 2px solid rgb(120, 0, 241);
}
button>* {
    position: relative;
    z-index: 2;
    color: #fff;
}
button:hover {
    box-shadow: 0 6px 32px rgba(120, 0, 241,0.22), 0 2px 12px rgba(0,0,0,0.16);
    transform: scale(1.06);
}
button:hover::before {
    background: linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    filter: brightness(1.08) blur(0.5px);
    transform: scale(1.04);
}
button:active {
    transform: scale(0.97);
}
group {
    margin-bottom: 18px;
}
.gradient-border {
    display: inline-block;
    padding: 3px;
    border-radius: 19px;
    background: linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    transition: background 0.3s cubic-bezier(.4,2,.3,1), transform 0.2s cubic-bezier(.4,2,.3,1);
    margin: 0.15rem;
}
.gradient-border:hover {
    background: linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    transform: scale(1.06);
}
.gradient-border > button {
    border-radius: 16px;
    background: linear-gradient(225deg, rgb(5, 0, 61) 0%, rgb(58, 0, 31) 100%), linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: none;
}
.gradient-border > input {
    border-radius: 16px;
    background: linear-gradient(225deg, rgb(5, 0, 61) 0%, rgb(58, 0, 31) 100%), linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: none;
}
.gradient-border > textarea {
    border-radius: 16px;
    background: linear-gradient(225deg, rgb(5, 0, 61) 0%, rgb(58, 0, 31) 100%), linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: none;
}
span.material-symbols-outlined {
    font-size: 1.3em;
    vertical-align: middle;
    transition: none;
    margin-right: 4px;
    margin-left: 0;
    line-height: 1;
    display: inline-block;
}
span.gradient-border > button:hover {
    transform: none;
}
span.gradient-border > button {
    background: linear-gradient(225deg, rgb(5, 0, 61) 0%, rgb(58, 0, 31) 100%), linear-gradient(225deg, rgb(120, 0, 241) 0%, rgb(193 0 102) 100%);
}
table,
th,
td {
    border: 1px solid white;
    border-collapse: collapse;
    text-align: center;
}
br {
    display: block;
    margin: 0.5em 0;
    content: "";
}
top {
    background: gray;
    border-radius: 0px;
    right: 0px;
    padding: 6px;
    margin-bottom: 20px;
    position: absolute;
    align-self: initial;
    display: block;
    top: 0px;
    width: 100%;
    align-items: center;
}
top > button {
    margin-left: 5px;
    margin-right: 0;
}
@media (max-width: 600px) {
    div {
        max-width: 100vw;
        gap: 1rem;
        margin-top: 1.2rem;
        text-align: center;
    }
    ul {
        flex-direction: column;
        gap: 0;
    }
    ul>div {
        margin-left: 0;
        margin-top: 0.75rem;
    }
    ul>div:first-child {
        margin-top: 0;
    }
    button {
        min-width: 0;
        font-size: 1rem;
        text-align: center;
        margin: 0;
    }
    input {
        min-width: 0;
        font-size: 1rem;
        margin: 0;
    }
    img {
        max-width: 100%;
        height: auto !important;
    }
    h1 {
        font-size: 1.5rem;
    }
    p,
    a {
        font-size: 1rem;
        max-width: 100vw;
    }
}

@media (orientation: portrait) {
    html {
        font-size: 180%;
    }

    body {
        align-items: center;
    }

    div {
        width: 200%;
        max-width: 95vw;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    h3 {
        font-size: 1.2rem;
    }

    p, label, a {
        font-size: 1.1em;
    }

    button, input, textarea {
        font-size: 1em;
    }

    img {
        scale: 2;
        margin: 0.3em !important;
        max-width: none;
        display: block;
        margin: 0 auto;
        height: auto;
        display: inline-block;
    }

    div > img {
        margin-bottom: 1em !important;
    }

    ul {
        flex-direction: column;
        align-items: stretch;
        width: 200%;
    }

    ul > div {
        width: 100%;
    }
}

@media screen and (min-device-width: 768px) and (orientation: portrait) {
    html {
        font-size: 125%;
    }
}

@media screen and (min-device-width: 1080px) and (orientation: portrait) {
    html {
        font-size: 100%;
    }
}