@import url('fonts.css');


.display {
    font-family: 'Dela Gothic One', system-ui, sans-serif;
    /* font-family: "Handjet", sans-serif; */
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 80px);
}

.funky {
    font-family: 'Dela Gothic One', sans-serif;
    font-weight: 500;
    font-size: 1em;
}

/* h1, h2, h3, h4, h5, h6 {
    font-family: "Handjet", sans-serif;
    font-weight: 600;

} */

body {
    margin: 0;
    position: relative;
    /* font-family: Switzer, sans-serif; */
    font-family: system-ui, sans-serif;
    font-weight: 300;
}

.logo { 
    font-family: 'Clash Grotesk', sans-serif;
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    font-weight: 900;
}

.avatar {
    position: relative;
    display: inline-block;
    transition: transform .3s;
}

.avatar img {
    border-radius: 100%;
    border: 6px solid var(--bg);
    width: 65px;
    
    display: block;
}

.avatar::after {
    content: attr(data-name);
    position: absolute;
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .8rem;
    line-height: 150%;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.4,0,0.2,1), top 0.2s cubic-bezier(0.4,0,0.2,1);
    z-index: 20;
}

.avatar:hover::after {
    opacity: 1;
    top: -20px;
}

.avatar:nth-child(n+2) {
    margin-left: -20px;
}

.avatar:nth-child(1) { z-index: 3; }
.avatar:nth-child(2) { z-index: 2; }
.avatar:nth-child(3) { z-index: 1; }

.avatar:hover {
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), z-index 0s;
    border-color: white;
    transform: scale(1.2);
}

.avatar:hover img {
    border-color: white;
}

.city {
    border-radius: 8px;
    border: 6px solid white;
    width: 75px;
    height: 65px;
    transform: rotate(-7.846deg);
    transition: all .3s;
}

.city:hover {
    transform: rotate(0deg);
    transform: scale(1.15);
}

.text-gradient {
    --bg-size: 400%;
    --color-one-light: hsl(221, 69%, 43%);
    --color-one-dark: rgb(118, 177, 255);
    --color-two-light: hsl(31, 100%, 38%);
    --color-two-dark: hsl(31, 100%, 75%);
    background: linear-gradient(
        45deg,
        light-dark(var(--color-one-light), var(--color-one-dark)),
        light-dark(var(--color-two-light), var(--color-two-dark)),
        light-dark(var(--color-one-light), var(--color-one-dark))
    )
    0 0 / var(--bg-size) 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@media (prefers-reduced-motion: no-preference) {
    .text-gradient {
    animation: move-bg 8s linear infinite;
    }
    @keyframes move-bg {
    to {
        background-position: var(--bg-size) 0;
    }
    }
}
  