:root{
  --main-color: #6af;
  --color: 0deg;
}
body{
  filter: hue-rotate(var(--color));
}
header{
  filter: hue-rotate(-30deg);
}
.title{
  margin-top:130px;
  margin-bottom:50px;
  color: #001050;
}
        .container {
            width: 80%;
            margin: 0 auto;
        }
	
        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .cards-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            width:100%;
        }

        .c-card {
            background: white;
            border-radius: 15px;
            with:90%;
            height: 80px;
            box-shadow: 0 7px 20px rgba(0, 100, 200, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .c-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 20px rgba(0, 50, 100, 0.3);
        }

        .card-header {
            position: relative;
            height: 100%;
            overflow: hidden;
        }

        .card-avatar {
            filter: hue-rotate(calc(360deg - var(--color)));
            width: 70px;
            height: 70px;
            top:5px;
            right:5px;
            border-radius:50%;
            position:absolute;
            /*object-fit: cover;*/
            transition: transform 0.5s ease;
        }

        .c-card:hover .card-avatar {
            border-radius: 20%; 
            transform: scale(1.1);
        }
        
        .card-rank {
            position: absolute;
            top: 20px;
            left: 0px;
            background: linear-gradient(to left, #00aaff, #0080dd);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border-top-left-radius:0%;
            border-bottom-left-radius:0%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .card-body {
            padding: 20px;
        }

        .card-name {
            font-size: 15px;
            position:absolute;
            top: 20px;
            right: 85px;
            font-weight: bold;
            color: #2c3e50;
            white-space:nowrap;
            text-overflow:ellipsis;
            overflow:hidden;
            max-width: 55%;
        }
		.card-name:hover{
            text-overflow: clip;
            overflow: scroll;
   	 }
        
        .card-members {
            font-size: 12px;
            position:absolute;
            bottom: 20px;
            right: 85px;
            display: flex;
            align-items: center;
            color: #7f8c8d;
        }
		
        .card-members::before {
            content:"👥";
            /*font-size: 10px;*/
            margin-left: 5px;
            color: #3498db;
        }

        .loading {
            text-align: center;
            color: white;
            font-size: 1.5rem;
            margin: 50px 0;
        }

        .error {
            text-align: center;
            color: #e74c3c;
            background: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .empty {
            text-align: center;
            color: white;
            font-size: 1.2rem;
            margin: 50px 0;
        }

        @media (max-width: 768px) {
            .cards-container {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            h1 {
                font-size: 2rem;
            }
        }