:root {
    --mouse-x: 0;
    --mouse-y: 0;
}

html {
    scroll-behavior: smooth;
}

.circle:hover::before {
    opacity: 1;

}

.circle::before,
.circle::after {
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 500ms;
    width: 200%;
    pointer-events: none;
    z-index: 1;
}

.circle::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.04), transparent 40%);
}

.circle::after {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.2), transparent 40%);
}



.circle,
.circle .flag-icon:hover,
.circle .name-container:hover,
body,
html {
    cursor: url("../cursor.cur"), auto;
}



.circle .flag-icon {
    width: 27px;
    height: 27px;
    margin-bottom: -5px;
    margin-left: 2px;
    border: none;
    outline: none;
    transition: transform 0.3s ease-in-out;
}


[id^="flags"] {
    top: 92px;
    position: fixed;
    background-color: #0c0c0c41;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.055);
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #1515156b;
    color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 99;
    top: 100%;
    left: 70%;
    transform: translateX(-50%);
    opacity: 0;
    font-size: 13px;
    color: #ffffff;
    font-family: 'Rethink Sans', sans-serif;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.no-connections .conn-icon {
    outline: none;
}

.conn-container:hover {
    filter: brightness(120%);
    transform: scale(1.2);
}

.circle .flag-icon:hover {
    filter: brightness(110%);
    transform: scale(1.2);
    align-items: center;
}

.black-overlay,
.circle-container,
body,
html {
    display: flex;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.circle,
body,
html {
    margin: 0;
    overflow: hidden;
}

.circle,
ul,
ul li a {
    display: flex;
}

body,
html {
    padding: 0;
    flex-direction: column;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    filter: brightness(0.15) saturate(1);
    z-index: -1;
}

.circle-container {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: auto;
    padding: 2rem;
    box-sizing: border-box;
    scrollbar-width: none;
    scrollbar-color: transparent;
    scroll-behavior: smooth;
}

.circle-container::-webkit-scrollbar {
    display: none;
}

.circle {
    width: 50rem;
    height: 20rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    position: relative;
    z-index: 300;
    border: 2px solid rgba(255, 255, 255, 0.027);
    background: rgba(14, 16, 17, 0.9);
}

.backCircle {
    width: 49rem;
    height: 19rem;
    border-radius: 25px;
    position: absolute;
    z-index: -5;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.027);
}


.atropos-inner {
    border-radius: 25px;
}



.circle {
    flex-direction: row;
    position: inherit;
}

.circle img.avatar {
    display: inline-block;
    max-width: 150px;
    margin-left: -100px;
    border-radius: 50%;
    z-index: 1;

    box-shadow: 0 0 0 5px #2E3239;
    box-shadow: 0 0 32px 0 rgb(0, 0, 0);
}

.avatarCircle {
    top: 83px;
    width: 150px;
    height: 150px;
    left: 81px;
    border-radius: 70%;
    background-color: #2e3239de;
    position: absolute;
    z-index: -1;
    box-shadow: 0 0 0 9px #2E3239;
}



.circle img.status {
    display: inline-block;
    max-width: 43px;
    position: relative;
    top: 3px;
    margin-right: -40px;
    left: -46px;
    border-radius: 70%;
    z-index: 1;

}

.statusCircle {
    top: 55px;
    width: 45px;
    height: 45px;
    left: 48px;
    border-radius: 70%;
    background-color: #2E3239;
    position: relative;
    z-index: 1;

}


.circle img.banner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
}

.circle:hover img.avatar {

    outline-color: #2E3239;
    align-items: center;
}

.circle:hover img.banner {
    transform: scale(1.08);
    outline-color: #ffffff;
    align-items: center;
}

.circle:hover img.banner {
    z-index: -1;
}

.circle .name-container {
    top: 10px;
    position: relative;
    color: #ffffff;
    margin-left: 20px;
    margin-top: 10px;
    height: 200px;
    width: 400px;
    font-size: 25px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    align-items: center;
    border-radius: 25px;
    margin-right: 10px;
    display: flex;
}

.tag {
    font-size: 18px;
    color: #878787cb;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}

.circle .conns-container {
    top: 10px;
    position: absolute;
    z-index: 1;
}

.conn-icon {
    width: 24px;
    height: 24px;
}

.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: #fff;
    z-index: 9999;
    font-family: Quicksand, sans-serif;
    font-weight: 500;
    opacity: 1;
    transition: opacity .9s, background-color .9s;
}

.msg {
    position: fixed;
    top: 66%;
    font-family: 'Montserrat', sans-serif;
    left: 30%;
    border-radius: 10px;
    width: 210px;
    height: 35px;
    padding: 10px;
    background: rgba(14, 16, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.055);
    margin-left: 15px;
    z-index: 5;
}

input[type="text"] {
    padding-block: 4px;
    padding-inline: 17px;
    color: white;
    font-size: 0.8em;
}


.buttonflip {
    visibility: hidden;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background-color: #00000000;
    background: url( '../images/userSync.png') center/cover no-repeat;;
    cursor: pointer;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1;
    transition: filter 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.buttonflip:hover {
    transform: scale(120%);
    filter: brightness(60%);
    
}



ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    font-size: .8em;
    line-height: .8em;
    color: transparent;
    -webkit-text-stroke: 1px var(--clr);
    align-items: center;
}

ul li a::before {
    content: attr(data-text);
    position: absolute;
    color: var(--clr);
    width: 0;
    align-items: center;
    margin: 0;
    overflow: hidden;
    transition: .8s;
}

ul li a:hover::before {
    width: 100%;
    align-items: center;
    margin: 0 auto;
    filter: drop-shadow(7px -12px 50px var(--clr));
}

.black-overlay,
ul li a {
    letter-spacing: 1px;
    align-items: center;
    position: center;
}

ul,
ul li,
ul li a {
    position: relative;
}

.circle,
ul,
ul li a {
    display: flex;
    align-items: center;
    position: relative;
}

*[title] {
    pointer-events: none;
}

.tooltiptext {
    letter-spacing: 1px;
    margin-top: -55px;
    font-family: 'Poppins', sans-serif;
    
}