* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

:root {
    --primary: #0799f4;
}

body {
    font-family: Poppins, sans-serif;
    overflow-x: hidden;
}

header {
    background-color: #fffe;
    width: 100vw;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    z-index: 100;
    box-shadow: 0 0 5px 3px #0002;
    backdrop-filter: blur(0.5vh);
}

.iheader {
    display: flex;
    flex-direction: row;
    width: 120vh;
    height: 60px;
    min-width: 400px;
    margin: 0 auto;
    align-content: center;
    align-items: center;
    vertical-align: middle;
    justify-content: space-between;
}

.logo {
    height: 50px;
    padding: 5px;
    font-weight: 700;
    align-items: center;
    align-content: center;
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    user-select: none;
    color: #009eff;
}

.logo h2 {
    font-weight: 700;
    color: #009eff;
}

.iheader nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.iheader nav a {
    font-weight: 500;
    margin-left: 30px;
    color: #888;
}

.iheader nav a:hover {
    text-decoration: underline;
}

.iheader nav img {
    border-radius: 100px;
    width: 45px;
    height: 45px;
    margin-left: 30px;
}

.iheader span {
    margin-left: 25px;
}

main {
    min-height: 80vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    margin-top: 60px;
    overflow-x: hidden;
}

.splash {
    width: 100%;
    height: calc(85vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.splash h1 {
    margin: auto;
}

.modalbg {
    width: 100vw;
    height: 100vh;
    background-color: #000a;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.modal {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #000;
    padding: 20px;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    margin: auto;
}

.modal h2 {
    margin: 0 auto;
}

.modal p {
    margin-bottom: 30px;
}

input[type=text],
input[type=password],
input[type=number] {
    padding: 5px;
    font-size: 14px;
    margin: 5px auto;
    border-style: none;
    outline-style: none;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #aaa;
    width: 290px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=number]:hover {
    border-color: var(--primary);
}

.showcases {
    display: flex;
    flex-direction: row;
    width: 400vw;
    height: 80vh;
    background-color: transparent;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: hidden;
    box-shadow: 0 0 5px 30px #000 inset;
}

.sc {
    width: 100vw;
    height: 80vh;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    white-space: wrap;
}

.sc-information {
    margin: auto;
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 500px;
    z-index: 1;
    text-align: center;
    background-color: #0008;
    padding: 30px 25px;
    border-radius: 25px;
    border-style: solid;
    border-color: #0006;
    border-width: 1px;
}

.sc-information span {
    margin: 0 auto;
    margin-top: 10px;
}

.sc-information p {
    opacity: 60%;
    margin-bottom: 5px;
    text-align: center;
}

.sc::before {
    content: "";
    position: absolute;
    width: 100vw;
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: top center;
    filter: blur(0.5vh);
    z-index: 0;
}

.showcases {
    transition: transform 0.5s;
}

.fade-overlay {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    height: 80vh;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.news {
    width: 120vh;
    min-width: 400px;
    margin: 20px auto;
}

.news h1 {
    color: #333;
    font-size: 36px;
}

.news section {
    height: 140px;
    background-color: #eee;
    color: #333;
    border-radius: 25px;
    margin: 20px 0;
    padding: 20px;
}

footer {
    display: flex;
    flex-direction: row;
    width: 100vw;
    background-color: #222229d8;
    color: #fff;
    box-shadow: 0 0 10px 2px #00000050;
    backdrop-filter: blur(4px);
    height: 240px;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.ifooter {
    display: flex;
    flex-direction: row;
    width: 120vh;
    padding: 0 20px;
    max-width: 100vw;
    min-width: 30vw;
    height: 100%;
    margin: 0 auto;
    color: #fff;
    justify-content: space-between;
}

.ifooter nav a {
    color: #aaa;
    font-weight: 300;
}

.ifooter nav {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.ifooter nav h4 {
    font-weight: 400;
}

section {
    width: 120vh;
    margin: 20px auto;
}

.about {
    display: flex;
    flex-direction: row;
}

.about img {
    width: 200px;
    height: 206px;
    margin: auto;
}

.about-text {
    width: 75%;
}

.about-text h1 {
    font-size: 32px;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    background-color: #0008;
    z-index: 1000;
    top: 0;
    left: 0;
    display: none;
}

.window {
    width: 300px;
    height: 300px;
    background-color: #fff;
    color: #000;
    padding: 20px;
    box-shadow: 0 0 5px 3px #0002;
    border-radius: 20px;
    margin: auto;
}

.settings-section {
    margin-left: 275px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.acc-settings-bar {
    background-color: #eeee;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 100 !important;
    box-shadow: 0 0 5px 3px #0002;
    backdrop-filter: blur(0.5vh);
}

.acc-settings-bar button {
    outline-style: none;
    border-style: none;
    height: 40px;
    padding-left: 20px;
    font-family: Poppins;
    font-size: 14px;
    text-align: left;
    border-color: #009eff;
    border-width: 5px;
}

.acc-settings-bar button:hover {
    background-color: #ddd;
}

.main-settings {
    margin: 0;
}

.acc-tag {
    width: 100%;
    height: 50px;
    margin: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.acc-tag-text {
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 160px;
}

.acc-tag-text h3 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 160px;
}

.acc-tag img {
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.settings-box {
    width: auto;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    background-color: #fff;
    box-shadow: 0 0 4px 1px #0002;
    display: flex;
    flex-direction: row;
}

.settings-box img {
    height: 150px;
    width: auto;
    aspect-ratio: 1/1;
    border-style: solid;
    border-radius: 100px;
    border-width: 5px;
    border-color: #ccc;
    margin: 0;
    padding: 0;
}

.settings-box-text {
    margin: auto 0;
    margin-left: 40px;
    max-width: 700px;
    height: 80px;
    color: #555;
}

.settings-box-text button {
    padding: 6px 14px;
    background-color: #fff;
    margin-top: 8px;
    border-radius: 5px;
    border-style: solid;
    border-color: #000a;
    color: #222;
    border-width: 1px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
}

button:hover {
    background-color: #eee;
    cursor: pointer;
}

.table-box {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.table-box-column,
.table-box-column-black {
    display: flex;
    flex-direction: column;
    color: #555;
    width: 250px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-box-column-black h5 {
    color: #222;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.table-box-column h5 {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.settings-box-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.settings-box-title button {
    padding: 2px 14px;
    background-color: #fff;
    border-radius: 5px;
    border-style: solid;
    border-color: #000a;
    color: #222;
    border-width: 1px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
}

.settings-box-title button:hover {
    background-color: #eee;
    cursor: pointer;
}

.table-box-column button,
.table-box-column-black button {
    padding: 2px 14px;
    background-color: #fff;
    width: 75px;
    border-radius: 5px;
    border-style: solid;
    border-color: #000a;
    color: #222;
    border-width: 1px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    margin-top: 5px;
}

.table-box-column button:hover,
.table-box-column-black button:hover {
    background-color: #eee;
    cursor: pointer;
}

.btn-selected {
    background-color: #fff;
    border-left-style: solid !important;
    border-color: #009eff !important;
    border-width: 5px !important;
}



/* Hide the default checkbox */
.toggler {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 50px;
    height: 25px;
    border-radius: 25px;
    background-color: #ccc;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.toggler::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
}

.toggler:checked {
    background-color: #009eff;
}

.toggler:checked::before {
    transform: translateX(25px);
}

.tmargined {
    margin-top: 4px;
}

.table-box-column h5 {
    display: flex;
    flex-direction: row;
}

.bold {
    font-weight: 800;
    font-size: 14px;
    min-width: 100px;
    width: 100px;
    margin: 0;
}

.h5separated h5 {
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    vertical-align: middle;
    width: 100%;
}

.bbr {
    height: 18px;
    margin: 0;
}

.integratedheader {
    width: calc(100vw - 400px);
    height: 60px;
    top: 0;
    left: 400px;
    position: fixed;
    z-index: 20 !important;
    background-color: #fff;
    box-shadow: 0 0 3px 2px #0002;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.integratedheader h3 {
    margin-left: 15px;
    color: #888;
    font-weight: 400;
}

.message-history {
    position: fixed;
    top: 60px;
    left: 400px;
    width: calc(100vw - 400px);
    height: calc(100vh - 120px);
    overflow-y: scroll;
}

.message {
    background-color: #fff;
    color: #000;
    margin: 20px;
    margin-left: 5%;
    padding: 10px 15px;
    max-width: 50%;
    width: fit-content;
    border-radius: 10px;
    border-top-left-radius: 0;
    box-shadow: 0 0 5px 1px #0002;
    display: flex;
    flex-direction: column;
    white-space: normal;
    word-wrap: break-word;
}

.my-message {
    background-color: #bcf;
    color: #000;
    margin: 20px;
    margin-left: auto;
    margin-right: 5%;
    padding: 10px 15px;
    max-width: 50%;
    width: fit-content;
    border-radius: 10px;
    border-top-right-radius: 0;
    box-shadow: 0 0 5px 1px #0002;
    display: flex;
    flex-direction: column;
    white-space: normal;
    word-wrap: break-word;
}

.integratedfooter {
    width: calc(100vw - 400px);
    height: 60px;
    top: calc(100vh - 60px);
    left: 400px;
    position: fixed;
    z-index: 20 !important;
    background-color: #fff;
    box-shadow: 0 0 3px 2px #0002;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.integratedfooter input[type=text] {
    margin-left: 15px;
    border-style: none;
    border-radius: 5px;
    font-family: Poppins;
    color: #111;
    width: 90%;
}

.integratedfooter img {
    height: 15px;
    margin-left: 20px;
    opacity: 50%;
    padding: 8px;
    border-radius: 100px;
}

.integratedfooter img:hover {
    background-color: #ddd;
    cursor: pointer;
}

.chat-bar,
.nav-bar {
    background-color: #eeee;
    width: 400px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 100 !important;
    box-shadow: 0 0 5px 3px #0002;
    backdrop-filter: blur(0.5vh);
}

.chat-bar button,
.nav-bar button {
    outline-style: none;
    border-style: none;
    height: 40px;
    padding-left: 20px;
    font-family: Poppins;
    font-size: 14px;
    text-align: left;
    border-color: #009eff;
    border-width: 5px;
}

.chat-bar button:hover,
.nav-bar button:hover {
    background-color: #ccc;
}

.guest-mode-details {
    background-color: #fff;
    padding: 10px;
    margin: 10px 40px;
    color: #555;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #0003;
}

.guest-mode-details input {
    font-family: Poppins;
}

.message h6 {
    color: #555;
}

.buttonline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.signinlink {
    text-decoration: underline;
    color: #009eff;
    font-size: 14px;
    width: 100%;
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
}

.birthday-selection {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.birthday-selection input {
    width: 25%;
}

.friend-list {
    background-color: #fff;
    padding: 10px 0;
    margin: 0 auto;
    margin-top: 20px;
    width: 800px;
    min-height: 60px;
    border-radius: 10px;
}

.friend-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: calc(100% - padding);
    height: 40px;
    padding: 10px;
    border-style: solid;
    border-left-style: none;
    border-right-style: none;
    border-width: 1px;
    border-color: #eee;
}

.friend-tag img{
    width: 40px;
    height: 40px;
}

.friend-tag-text{
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.friend-tag:hover{
    background-color: #ddd;
}

.friend-tag-username {
    color: #08f;
    margin-left: auto;
    margin-right: 10px;
}

.friend-options-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: calc(100% - padding);
    margin: 20px 0;
    height: 80px;
    background-color: #fff;
    padding: 10px 20px;
}

.friend-options-tag img {
    width: 60px;
    height: 60px;
}

.friend-options-content {
    margin: 20px;
}

.fullbutton {
    width: calc(100% - 20px);
    height: 40px;
    font-family: Poppins;
    font-size: 16px;
    margin: 0 auto;
    margin-top: auto;
    margin-bottom: 10px;
    border-style: none;
    border-radius: 15px;
    background-color: #333;
    color: #fff;
    box-shadow: 0 0 5px 3px #0002;
}

.fullbutton:hover {
    background-color: #444;
}

select {
    font-family: Poppins;
    width: 400px;
    height: 30px;
    padding: 0 5px;
    border-radius: 1vh;
    border-style: none;
    outline-style: solid;
    outline-color: #8888;
    outline-width: 1px;
    margin: 5px;
}

form textarea {
    padding: 5px;
    margin: 5px 0;
    border-radius: 5px;
    width: calc(100% - 11px);
    min-height: 50px;
    resize: vertical;
    font-family: Poppins;
}

.button-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}