@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');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

.particle-canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

:root {
    --radiate-color: #0ef5f5;
    --name-radiate-color: rgb(154, 255, 114);
}

body {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0px 0px 0px 0px;
    top: 0px;
    left: 0px;

    font-family: "Raleway";
    font-weight: 500;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: backdrop-filter 0.5s ease, background-image 1s ease;
    background-size: cover;
    background-attachment: fixed;
}

.blurred {
    transform: translateZ(0);
    backdrop-filter: blur(3px);
}

.hi {
    font-size: 32px; 
    margin-bottom: 14px; 
    text-shadow: 0px 0px 15px white;
}

.accelerated {
    transform: translate3d(0, 0, 0);
}

hr {
    margin-bottom: 16px;
    margin-left: 30px;
    margin-right: 30px;
    box-shadow: none;
}

.main {
    min-width: 380px;
    min-height: 100%;
    max-width: 380px;
    max-height: 100%;
    font-size: large;

    transform: scale(1);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1;
    position: relative;
}

.container {
    display: inline;
    align-self: center;
    max-width: 512px;
}

.display-flex {
    display: inline-flex;
    flex-direction: row;
    justify-items: start;
    vertical-align: middle;
    column-gap: 25px;
    margin-bottom: 24px;
    max-width: 512px;
}

.pfp {
    flex: 1;
    max-height: 64px;
    max-width: 64px;
    border-radius: 32px;
    box-shadow: 0px 0px 16px var(--radiate-color);
    transition: 0.2s;
}

.pfp:hover {
    box-shadow: 0px 0px 24px var(--radiate-color);
    transform: scale(1.1);
}

.username {
    font-family: "Poppins";
    font-weight: bold;
    font-size: 42px;
    text-align: left;
    flex: 3;
    text-overflow: clip;
    
    text-shadow: 4px 4px 0px rgb(100, 100, 100), 0px 0px 30px var(--name-radiate-color);
    transform-origin: left;
}

.username-preload {
    clip-path: inset(0 100%);
}

.footer {
    text-align: center;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: start;
    vertical-align: middle;
    column-gap: 32px;
}

.toggle-time-sync-button {
    font-family: 'Fira Code';
    /* text-decoration: underline; */
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    /* text-shadow: 2px 2px 0px rgb(126, 126, 126); */
    color: rgb(140, 140, 140);

    position: absolute;
    margin-left: 5px;
    margin-bottom: 5px;
    bottom: 0%;
    right: 0%;
}

.toggle-time-sync-button:hover {
    text-decoration: underline;
    color: rgb(188, 188, 188);
}

.toggle-time-sync-button:active {
    color: rgb(132, 132, 132);
}

.hidden-effect {
    transform: scale(2);
    opacity: 0;
}

.hidden {
    display: none;
}

.parallax {
    position: relative;
}