@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

body {
    width: 100vw;
    height: 100vh;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background: linear-gradient(#FF9400, #FECA00);
}

#topbar {
    background: linear-gradient(to left,
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.35), 
        rgba(255, 255, 255, 0.5)
    );
    height: 10%;
}

hr {
    border-top: none !important;
}

#topbar img {
    height: 10vh;
}

.title-span {
    font-size: 2rem; 
    color: #55F; 
    font-weight: 500;
    width: inherit;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

* {
    font-family: "Fredoka", sans-serif;
}

.btn-primary {
    --bs-btn-bg: #55F !important;
}

.modal {
    --bs-modal-width: 90%;
    --bs-modal-bg: #FECA55;
}

.modal-title,
p, label,
.dt-length:last-child, 
.dt-search:first-child, 
.dt-info,
.fg-button,
.swal-title,
.swal-text
{
    color: #55F !important;
}

.dt-search input, .dt-length select {
    background-color: #FFF !important;
    border-color: #55F !important;
}

#topbar ul {
    display: flex;
    gap: 25px;
}

.expandicon {
    position: relative;
    list-style: none;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    transition: 0.5s;
    --pseudo-bg: linear-gradient(45deg, #53F, #57F);
}

.expandicon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: var(--pseudo-bg);
    opacity: 1;
    transition: 0.5s;
}

.expandicon::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: var(--pseudo-bg);
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.5;
}

.expandicon:hover {
    width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.expandicon i {
    font-size: 1.1rem;
    transition: 0.5s;
    color: #FFF;
    transition-delay: 0.25s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.expandicon:hover i {
    transform: scale(0);
    transition-delay: 0s;
}

.expandicon span {
    position: absolute;
}

.expandicon .title {
    color: #FFF;
    font-size: 1.1em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(0);
    transition: 0.5s;
    transition-delay: 0s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.expandicon:hover .title {
    transform: scale(1);
    transition-delay: 0.25s;
}

.fg-button {
    background-color: #FECA55;
}

.dt-length select {
    margin-right: 3px; 
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

th {
    border: solid 1px #000;
    border-style: none solid solid none;
    padding: 10px;
    color: #55F;
    background-color: #FF9455;
}

th {
    font-weight: 600;
}

tr:first-child th:first-child { border-top-left-radius: 10px; }
tr:first-child th:last-child { border-top-right-radius: 10px; }

tr:first-child th { border-top-style: solid; }
tr th:first-child { border-left-style: solid; }

td {
    border: solid 1px #000;
    border-style: none solid solid none;
    padding: 10px;
    color: #55F;
}

tr:last-child td:first-child { border-bottom-left-radius: 10px; }
tr:last-child td:last-child { border-bottom-right-radius: 10px; }

tr:nth-child(odd) td {
    background-color: #FECA55AA;
}
tr:nth-child(even) td {
    background-color: #FF9455AA;
}

.me {
    background-color: #555555AA !important;
}

tr:first-child td { border-top-style: solid; }
tr td:first-child { border-left-style: solid; }

.nav-link.active {
    --bs-nav-tabs-link-active-bg: #FF9455AA;
    --bs-nav-tabs-link-active-color: #55F;
}

.form-control {
    color: #55F !important;
}

.form-control:focus {
    border-color: #55F;
    outline: 0;
}

.togglePassword, .togglePassword i {
    cursor: pointer;
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.swal-modal {
    background-color: #fffbc6;
}

.swal-button--confirm {
    background: #55F;
}

.gen {
    position: relative;
    list-style: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.gen::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--pseudo-bg);
    opacity: 1;
    transition: 0.5s;
}

.gen::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--pseudo-bg);
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.5;
}

.gen .title {
    position: absolute;
    color: #FFF;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(1);
    transition: 0.5s;
    transition-delay: 0.25s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.letter {
    position: relative;
    list-style: none;
    width: 65px;
    height: 3rem;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    --pseudo-bg: linear-gradient(45deg, #AAA, #CCC)
}

.letter::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: var(--pseudo-bg);
    opacity: 1;
    transition: 0.5s;
}

.letter::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: var(--pseudo-bg);
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.5;
}

.letter .title {
    cursor: default;
    position: absolute;
    color: #333;
    font-size: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(1);
    transition: 0.5s;
    transition-delay: 0.25s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.poketype {
    position: relative;
    list-style: none;
    width: 250px;
    height: 64px;
    border-radius: 64px;
    display: flex;
    align-items: center;
    transition: 0.5s;
    --pseudo-bg: linear-gradient(45deg, #AAA, #CCC);
    --icon-url: url('../images/icons/normal_type.png');
}

.poketype::before {
    content: var(--icon-url);
    position: absolute;
    inset: 0;
    border-radius: 64px;
    background: var(--pseudo-bg);
    opacity: 1;
    transition: 0.5s;
}

.poketype::after {
    content: "Normal";
    position: absolute;
    display: flex;
    justify-content: end;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 64px;
    background: var(--pseudo-bg);
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.5;
}

.poketype .title {
    cursor: default;
    position: absolute;
    color: #333;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: scale(1);
    transition: 0.5s;
    transition-delay: 0.25s;
    margin-left: 70px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#answerImg {
    width: 300px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.success {
    --pseudo-bg: linear-gradient(45deg, #53F, #57F);
}

.valid {
    --pseudo-bg: linear-gradient(45deg, #5F3, #5F7);
}

.failed {
    --pseudo-bg: linear-gradient(45deg, #F35, #F75);
}

.disabled, .disabled::before, .disabled::after {
    opacity: 0.5;
}