*{
    margin: 0;
    font-family: Roboto, sans-serif;
}

body.dark{
	--background-lighter: #10101b;
	--background-darker: #1a1a27;
	--font-color-default: #b3b3b3;
	--svg-fill: white;
	--svg-secondary-fill: transparent;
	--font-color_navbar: #d4caca;
	--default-bg_nav: #1a1a27;
	--border-bottom: #2d2f3b59;
	--border-bottom-width: 2px;
	--font-color_title: white;
	--container-border: transparent;
}

body{
	--background-lighter: black;
	--background-darker: #00000069;
	--font-color-default: white;
	--svg-fill: white;
	--svg-secondary-fill: #2d2f3b;
	--font-color_title: white;
	--font-color_navbar: white;
	--default-bg_nav: white;
	--border-bottom: rgb(17 17 17 / 41%);
	--border-bottom-width: 1px;
	--container-border: #e9e9ec24;
}

svg{
	fill: var(--svg-fill);
}

body{
    background-image: url(../bg.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--font-color-default) !important;
    font-family: system-ui;
}

::-webkit-scrollbar-thumb{
        background: rgb(10, 10, 10);
}

::-webkit-scrollbar{
        color: rgb(10, 0, 10);
        background: white;
}

.footer{
    padding-block: 3.5rem;
    color: var(--font-color-default);
}

.header{
    font-size: 1rem;
}

.mainBody{
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.sidebar{
    width: 250px;
    font-family: Roboto, sans-serif;
}

.sidebar > div:not(.resetFilters), .players, .divHeader{
    background: var(--background-darker);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--container-border);
}

.sidebar > div{
    margin-bottom: 1rem;
}

.sidebarHeader{
    padding: .7rem 1rem;
    width: -webkit-fill-available;
}

.sidebarHeader{
    border-bottom: 1px solid var(--border-bottom);
    font-size: 14px;
}

.sidebarData{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-inline: 1rem;
    padding-block: 1rem;
    font-size: 14px;
}

.players{
    display: flex;
    align-items: center;
    gap: 4rem;
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.playersList{
    width: 900px;
}

.playersList > div:first-child{
    padding: 1rem;
    border-bottom: 1px solid grey;
    border-radius: 10px 10px 0 0;
}

.playerAvatar{
    height: 55px;
    width: 55px;
    max-width: 55px !important;
    border-radius: 50%;
}

.playerLevel{
    height: 20px;
    width: 50px;
}

table{
    width: 100%;
    border-collapse: collapse;
    font-size: 1.15rem;
    text-align: center;
}

.tableLine{
    	border-bottom: 1px solid var(--border-bottom);
	transition: 200ms;
}

.tableLine:hover {
    background: var(--border-bottom);
}

th{
    color: white;
    font-weight: 400;
}

th:first-child, td:first-child{
    text-align: left;
    padding-left: 1rem;
}

tr:first-child {
    background: #000000b0;
}

td {
    color: var(--font-color_title);
}

td, th{
    padding-block: .6rem;
    width: 10px !important;
    font-size: 0.8rem;
}

.playerInfo{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filterList{
    display: flex;
    flex-direction: column;
}

.arrowIcon {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid white;
    content: "";
    display: block;
    cursor: pointer;
    transition: -webkit-transform .2s ease;
    transition: transform .2s ease;
    transition: transform .2s ease,-webkit-transform .2s ease;
}

.resetFilters{
    text-align: center;
    padding: .8rem;
    background: orangered;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: 300ms;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
}

.resetFilters:hover{
    opacity: .7;
}

#hamburguer{
	display: none;
	height: 35px;
	width: 35px;
	transition: .2s;
	stroke: white;
}

.chrome {
	padding-left: .5rem;
	font-size: .9rem;
	font-weight: 800;
    	background: linear-gradient(to top right, red, #ffc107bf);
    	-webkit-background-clip: text;
    	-webkit-text-fill-color: transparent;
}

.pagination{
    padding: 1rem .5rem;
    float: right;
    width: 90% !important;
}

.nextPageButton{
    background: #01010196;
    padding: .1rem 1rem;
    margin-inline: .1rem;
    border-radius: 0px;
    font-size: .8rem;
    color: var(--font-color-default);
    cursor: pointer;
}

.pagination strong{
	padding: .1rem 1rem;
	background: orangered;
	font-size: .8rem;
	border-radius: 0px;
	color: white;
}

#loadingSpinner {
	font-size: 30px;
	animation: spin 1s linear infinite;
	color: #F44336;
}

@keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
}

.data-type{
    color: rgb(173, 167, 167);
    font-size: 1.3rem;
}

.data-value{
    color: var(--font-color-default);
    font-size: .8em;
    font-weight: 500;
    background: #222222;
    padding: .1rem 1rem;
    border-radius: 5px;
    text-shadow: 0px 0 15px black;
    box-shadow: 0px 1px 30px black;
}

.progress-container {
    display: flex;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0;
    background: conic-gradient(var(--color) var(--progress), rgb(17 17 17 / 44%) 0deg);
    position: absolute;
    top: 23%;
    left: 25px;
    animation: .6s ease-out turn_in reverse;
}

.progress-container::after {
    content: attr(data-progress) "%";
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin: 2px;
    border-radius: 50%;
    background: var(--background-darker);
    font-size: .65rem;
    text-align: center;
}

@keyframes turn_in {
  5% {
    background: conic-gradient(var(--color) calc(var(--progress) * .95), rgb(17, 17, 17) 0deg);
  }
  10% {
    background: conic-gradient(var(--color) calc(var(--progress) * .9), rgb(17, 17, 17) 0deg);
  }
  15% {
    background: conic-gradient(var(--color) calc(var(--progress) * .85), rgb(17, 17, 17) 0deg);
  }
  20% {
    background: conic-gradient(var(--color) calc(var(--progress) * .8), rgb(17, 17, 17) 0deg);
  }
  25% {
    background: conic-gradient(var(--color) calc(var(--progress) * .75), rgb(17, 17, 17) 0deg);
  }
  30% {
    background: conic-gradient(var(--color) calc(var(--progress) * .7), rgb(17, 17, 17) 0deg);
  }
  35% {
    background: conic-gradient(var(--color) calc(var(--progress) * .65), rgb(17, 17, 17) 0deg);
  }
  40% {
    background: conic-gradient(var(--color) calc(var(--progress) * .6), rgb(17, 17, 17) 0deg);
  }
  45% {
    background: conic-gradient(var(--color) calc(var(--progress) * .55), rgb(17, 17, 17) 0deg);
  }
  50% {
    background: conic-gradient(var(--color) calc(var(--progress) * .5), rgb(17, 17, 17) 0deg);
  }
  55% {
    background: conic-gradient(var(--color) calc(var(--progress) * .45), rgb(17, 17, 17) 0deg);
  }
  60% {
    background: conic-gradient(var(--color) calc(var(--progress) * .4), rgb(17, 17, 17) 0deg);
  }
  65% {
    background: conic-gradient(var(--color) calc(var(--progress) * .35), rgb(17, 17, 17) 0deg);
  }
  70% {
    background: conic-gradient(var(--color) calc(var(--progress) * 0.3), rgb(17, 17, 17) 0deg);
  }
  75% {
    background: conic-gradient(var(--color) calc(var(--progress) * 0.25), rgb(17, 17, 17) 0deg);
  }
  80% {
    background: conic-gradient(var(--color) calc(var(--progress) * .2), rgb(17, 17, 17) 0deg);
    }
  85% {
    background: conic-gradient(var(--color) calc(var(--progress) * .15), rgb(17, 17, 17) 0deg);
    }
  90% {
      background: conic-gradient(var(--color) calc(var(--progress) * .1), rgb(17, 17, 17) 0deg);
    }
  95% {
      background: conic-gradient(var(--color) calc(var(--progress) * .05), rgb(17, 17, 17) 0deg);
    }
100% {
    background: conic-gradient(rgb(17, 17, 17) 0deg);
  }
}

.divHeader{
    display: flex;
    justify-content: space-between;
}

.searchContainer{
    display: flex;
    gap: .5rem;
    align-items: center;
    transition: 300ms;
    overflow: hidden;
}

.filterInput {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s ease-in-out, transform 0.3s ease-in-out;
    white-space: nowrap;
    transform: translateX(400px);
}

.filterInput.active {
    position: initial;
    max-width: 100%;
    transform: translateX(0px);
}

#toggleFormButton{
    background: 0;
    border: 0;
    cursor: pointer;
    transition: 5s;
}

input[type="text"]{
    background: var(--background-lighter);
    border: 0;
    height: 25px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    color: white;
    padding-left: 1rem;
    width: 150px;
}

input[type="submit"]{
    border: 0;
    background: orangered;
    height: 27px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    color: white;
    font-size: .7rem;
    padding-inline: 1.3rem;
    font-weight: 600;
    transition: 300ms;
    cursor: pointer;
}

input[type="submit"]:hover{
    background: #5a2716;
}

.divisor{
    height: 1px;
    width: 90%;
    background: grey;
    margin-inline: auto;
    margin-block: 2rem;
    display: none;
}

.tableLine{
	position: relative;
	background: var(--background-darker);
}

tr:nth-child(even) {
    background: #80808012;
}

.pContainer{
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: 13px;
}

.filterContainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    font-size: 14px;
}

.checkbox:checked {
        accent-color: orangered;
}

.onlineStatus{
    position: absolute;
    bottom: 8px;
    right: -2px;
    border: 2px solid var(--background-darker);
    border-radius: 50%;
}

.searchButton.active{
	animation: toLeft .3s ease forwards;
}

td:nth-child(3){
	white-space: nowrap;
}

.arrowIcon{
	margin-right: .1rem;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid var(--font-color-default);
	transition: all 200ms ease;
}

.arrowIcon.active{
	rotate: 180deg;
}

.labelContainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.containerServers{
	max-height: 0;
	opacity: 0;
	transition: max-height 300ms;
}

.containerServers.active{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100px;
    opacity: 1;
    padding-top: 1rem;
}

.containerServer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@keyframes toLeft{
	from{ transform: translate(400px) }
	to{ transform: translate(0) }
}

.serverName{
    font-weight: bold;
    background: linear-gradient(45deg, orange, darkorange);
    -webkit-background-clip: text; /* Clip text to background gradient */
    -webkit-text-fill-color: transparent; /* Make text transparent */
    padding-left: .5rem;
}

@media screen and (max-width: 1400px){
	.playersList {
    		width: 950px;
	}

	table {
    		font-size: 1rem;
	}

	.sidebar {
    		width: 230px;
	}
}

@media screen and (max-width: 1220px){
    .sidebar, .playersList{
        width: 90%;
    }

    th:first-child, .playerName{
        width: 100px !important;
    }

    .mainBody{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 800px){
    /*th{
        display: none;
    }

    td{
        display: flex;
        justify-content: space-between;
        width: 45% !important;
        padding-left: 2rem;
    }*/

    .progress-container {
	left: initial;
	right: 0;
    }

	/*
    td:not(:first-child)::before{
        content: attr(attribute) ": ";
        color: grey;
    }*/

    .playerInfo{
	white-space: nowrap;
    }

    .pagination{
	width: 100% !important;
    }

    .nextPageButton {
    }

    .pagination strong {
   	}
 
   /*
    td{
        width: 86% !important;
    }*/
}

@media screen and (max-width: 680px){
    	.divHeader{
		flex-direction: column;
    		gap: 1rem;
    		align-items: center;
    	}

    	input[type="text"] {
    		width: 170px;
    	}

	.playerAvatar {
    		height: 30px;
    		width: 30px;
	}

	.mainContainer img{
		height: 50px;
	}

	main{
		position: relative;
	}

	.navbar-options{
        	position: fixed;
        	top: 90px;
        	display: none;
        	flex-direction: column;
        	padding: 2rem 3rem;
        	gap: 1rem;
        	background: #423445;
        	height: max-content;
        	z-index: 999;
        	width: 80%;
        	left: 50%;
        	transform: translateX(-50%);
        	border-radius: 10px;
 }

	.navbar-options.active{
		display: flex;
	}

	#hamburguer{
		display: block;
		margin-right: 2rem;
	}

	.navbar-options a {
    		padding: 20px 0rem;
    		margin-right: 2rem;
		border-bottom: 1px solid #8080803d;
	}

	.sidebar, .playersList {
        	width: 97%;
    	}

	td, th {
    		font-size: 0.6rem;
	}

	.mainContainer {
    		justify-content: space-between !important;
	}

	.mainContainer img {
    		width: 10%;
    		height: 50px;
	}
}