@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



html[dark] {
    display: none;
}

body {
    color-scheme: only light;
    font-family: Arial, sans-serif;
    background-color: #1d1d1d;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin: 0;
    padding: 0; 
    display: flex; 
    justify-content: center; 
    height: 100vh;
    overflow: auto;
    align-items: center; 
    background-image: url('https://kappa.lol/GKVuv.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.container {
    display: grid;
    max-width: 250px;
    margin: auto;
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
    background-color: rgba(10, 10, 10, 0.822);
    border-radius: 17px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(6px);
    border-width: 1px;
    border-color: #e4e4e41f;
    border-style: solid;
    place-items: center;
}


h1 {
    margin-bottom: 30px;
    color: #e4e4e4;
    font-family: 'Roboto';
    font-weight: 500;
}

h2 {
    margin: 30px;
    color: #b90000;
    font-family: Readex Pro, sans-serif;
    font-size: 50px;
    font-weight: 800;
}

.starttitle {
    position: relative;
    right: 15px;
    margin-bottom: 15px;
    color: #e4e4e4;
    font-family: 'Roboto';
    font-weight: 500;
}


button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #7519ff;
    color: rgb(49, 49, 49);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-family: Roboto;
    font-weight: 400;
    transition: 0.1s ease-in;
    max-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    scale: 1;
}

button:hover {
    background-color: #893aff;
    scale: 1.03;
    transition: 0.2s ease-in;
}

.cred {
    font-family: Readex pro, sans-serif;
    color: #e4e4e4;
    display: table;
    margin-top: 25px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.submitButton {
    display: table;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: rgb(230, 230, 230);
    border: none;
    color: #1d1d1d;
    border-radius: 10px;
    font-family: Poppins;
    font-weight: 600;
    align-self: center;
    transition: 0.2s;
}

.submitButton:hover {
    letter-spacing: 1px;
    transition: 0.1s linear;
    background-color: rgb(180, 180, 180);
}

input {
    background-color: #1d1d1d;
    color: #e4e4e4;
    border-color: #e4e4e42f;
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
    width: 175px;
    height: 33px; 
    display: table;
    margin-right: auto;
    margin-left: auto;
    transition: 0.1s ease-in-out;
}

input:focus {
    border-color: #e4e4e4a1;
    border-width: 1px;
    transition: 0.2s ease-in-out;
    outline: none;
}

input::placeholder {
    font-family: 'Readex Pro', sans-serif;
    font-size: 13px;
}

.container-logged {
    display: none;
    position: relative;
    max-width: 500px;
    text-align: center;
    background-color: rgba(10, 10, 10, 0.822);
    padding: 30px;
    border-radius: 17px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-width: 2px;
    border-color: #e4e4e41f;
    border-style: solid;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}


.pfp {
    display: table;
    border-radius: 50px;
    border-width: 1px;
    border-color: #e4e4e41f;
    border-style: solid;
    user-select: none; 
    -webkit-user-drag: none;
    scale: 0.8;
    margin-bottom: 4%;
    
}

.pfp-logged {
    display: table;
    position: relative;
    bottom: 60px;
    left: 185px;
    border-radius: 50px;
    border-width: 1px;
    border-color: #e4e4e41f;
    border-style: solid;
    user-select: none;
    -webkit-user-drag: none;
    scale: 0.7;
}


#noinfo, #nogame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.938);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
}


#backendstatus {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.932);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
    backdrop-filter: blur(3px);
}

p {
    display: table;
    margin-top: 20px;
    font-size: 15px;
    font-family: Readex Pro, sans-serif;
    font-weight: 350;
    margin-left: auto;
    margin-right: auto;
}

.cpanel {
    max-width: 500px;
    margin: auto;
    text-align: center;
    background-color: rgba(10, 10, 10, 0.822);
    padding: 30px;
    border-radius: 17px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(6px);
    border-width: 1px;
    border-color: #e4e4e41f;
    border-style: solid;
}

.cpanel-logged {
    display: none;
    position: relative;
    min-width: 210px;
    max-width: 400px;
    text-align: center;
    background-color: rgba(10, 10, 10, 0.822);
    padding: 30px;
    border-radius: 17px;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-width: 2px;
    border-color: #e4e4e41f;
    border-style: solid;
    overflow: hidden;
}

#bg-video {
position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw) / 2));
 }



#svgContainer {              
display: block;
    margin: 0 6px 12px;
    width: 100%;
    border-radius: 4px;
    background: #2d3243;
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    top: 0;
    left: 0;
    box-sizing: border-box;
    cursor: move;
    border: 0;
   }

#tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.753);
    color: white;
    font-size: 15px;
    padding: 5px;
    border-radius: 8px;
    display: none;
    z-index: 10;
 }

.details {
    color: #e4e4e4;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 12px;
    text-align: left;
    list-style-type: disc;
    line-height: 23px
 }



 .video-container {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;
     overflow: hidden;
     z-index: -1    ;
 }

 #myVideo {
     position: absolute;
     min-width: 100%;
     min-height: 100%;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     object-fit: cover;
 }

 #content {
    display: none;
    align-items: center;
    justify-content: center;
 }

 .ttv-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    position: relative;
    display: flex;
 }


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


::-webkit-scrollbar-track {
    background: #1a1a1a
}


::-webkit-scrollbar-thumb {
    background: #2e2e2e;
    border-radius: 15px;
}


::-webkit-scrollbar-thumb:hover {
    background: #3b3b3b;
}


.startButton {
    display: table;
    font-size: 16px;
    position: relative;
    right: 10px;
    cursor: pointer;
    background-color: rgb(230, 230, 230);
    border: none;
    color: #1d1d1d;
    border-radius: 10px;
    font-family: Poppins;
    font-weight: 600;
    align-self: center;
    transition: 0.2s;
}


.startButton:hover {
    transition: 0.1s linear;
    background-color: rgb(180, 180, 180);
}


.status-card {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: table;
    background-color: rgba(10, 10, 10, 0.822);
    color: white;
    border-radius: 12px;
    margin: 0;
    transition: all 0.3s ease;
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.479);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-width: 1px;
    border-color: #e4e4e41f;
    border-style: solid;
    z-index: 1;
    max-width: 90vw;
}

.status-content {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-text {
    font-weight: bold;
    font-size: 1rem;
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .status-card {
        top: 0.5rem;
        right: 0.5rem;
        max-width: 80vw;
    }

    .status-text {
        font-size: 0.9rem;
    }
}


#wordCount {
    margin-top: 20px;
    color: #e4e4e4;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 16px;
}

.loading {
    visibility: visible;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 80px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.obs-icon {
    position: relative;
    bottom: 42px;
    left: 95px;
    cursor: grab;
}