
:root {
	--c1: #2187e7;
	--b2: #222;
	--b3: #333;
	--w1: #fff;
	--w2: #eee;
	--t1: all 0.5s ease 0s;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	text-align: center;
	height: auto;
	display: flex;
	flex-direction: column;
}

h1 {
	color: #001f3f;
}

.dashboard-container {
	position: relative;
	width: 40%;
	min-height: 100vh;
	display: flex;
	text-align: center;
	align-items: center;
	flex-direction: column;
}

.plataforma {
	width: 550px;
}

.update-button {
	margin-bottom: 20px;
}

.update-button:disabled {
	background: #696969;
	opacity: 0.5;
	cursor: not-allowed;
}

.link a {
	padding: 10px;
	text-decoration: none;
	transition: all 0.1s;
	font-weight: 400;
}

.link a:hover {
	color: #126ec5;
	cursor: pointer;
}

.timestamp {
	margin-bottom: 110px;
	margin-top: 20px;
	font-size: 15px;
	color: #696969;
}

* {
	box-sizing: border-box;
}

*:before,
*:after {
	box-sizing: border-box;
	content: "";
}

ul.skills {
	max-width: 100%;
}

.profile-skills {
	margin-top: 20px;
	width: 100%;
	max-width: 800px;
	height: auto;
	padding: 20px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
}

.profile-skills .games {
	width: 100%;
	flex: 1 1 auto;
	margin-right: 3%;
	border-radius: 2px;
	position: relative;
}

ul.skills {
	width: 100%;
	position: relative;
	padding: 25px 65px;
	background: linear-gradient(0deg, var(--c1) 0 10px, var(--b2) 0 calc(100% - 10px), var(--c1) 0 100%);
}

ul.skills:before {
	content: attr(data-nome-tabela);
	text-transform: uppercase;
	position: absolute;
	top: -75px;
	height: 50px;
	color: var(--w1);
	background-color: var(--b2);
	width: 100%;
	left: 0;
	padding: 15px 15px 0 0;
	text-align: end;
	font-weight: 600;
	z-index: 1;
	transition: var(--t1);
	font-size: 30px;
	line-height: 35px;
	transform: scaleY(1.65);
	text-align: right;
}

ul.skills:after {
	content: "";
	position: absolute;
	border: 40px solid #fff0;
	border-top-color: var(--b2);
	top: -30px;
	left: 10px;
	z-index: 0;
	transition: var(--t1);
	filter: drop-shadow(0 11px 0.1px var(--w1));
}

ul.skills:hover:before,
label:hover+ul.skills:before,
input:checked+label+ul.skills:before {
	transition: var(--t1);
	background-color:  var(--c1);
	background-position: 0 50%;
}

ul.skills:hover:after,
label:hover+ul.skills:after,
input:checked+label+ul.skills:after {
	top: -20px;
	transition: var(--t1);
	border-top-color:  var(--c1);
}

ul.skills li {
	--per: 50;
	--dur: calc(calc(var(--per) / 100) * 1.5s);
	margin: 0 0 5px 0;
	list-style: none;
	padding: 20px 0;
	position: relative;
	text-transform: uppercase;
	font-size: 15px;
	color: var(--w2);
}

ul.skills li:before {
	content: "";
	position: absolute;
	background: #1c1c1c;
	height: 16px;
	width: 100%;
	left: 0;
	bottom: 0;
	border-radius: 2px;
	border: 1px solid #111;
	border-color: #111 #323232 #323232 #111;
	--track: var(--c1);
	opacity: 0.4;
	background: linear-gradient(90deg,
			var(--track) calc(calc(var(--per) * 1%) + 4px),
			#1c1c1c calc(calc(var(--per) * 1%) + 4px));
}



ul.skills li:after {
	content: "";
	height: 11px;
	margin: 0 0 2px 0;
	background:  var(--c1);
	position: absolute;
	box-shadow: 0px 0px 10px 1px var(---c1);
	left: 3px;
	width: 0%;
	bottom: 0;
	transition: all var(--dur) ease 0s;
	animation: start 1s ease 0s 2 alternate;
}

ul.skills li:hover {
	filter: brightness(1.5);
	transition: var(--t1);
}

ul.skills:hover li:after,
label:hover+ul.skills li:after,
input:checked+label+ul.skills li:after {
	width: calc(calc(var(--per) * 1%) - 2px);
}

@keyframes start {
	100% {
		width: calc(calc(var(--per) * 1%) - 2px);
	}
}

ul.skills li span {
	font-weight: 500;
}

ul.skills li span:before {
	position: absolute;
	right: -25px;
	top: 43px;
	transition: var(--t1);
	content: "";
	opacity: 1;
	border: 7px solid #fff0;
}

ul.skills li:hover span:before,
.profile-skills input:checked+label+ul.skills li span:before {
    transition: var(--t1);
    right: calc(calc(calc(100 - var(--per)) * 1%) - 12px);
    opacity: 1;
    border-right-color:  var(--c1);
}


ul.skills li span:after {
    position: absolute;
    right: -40px;
    top: 38px;
    transition: var(--t1);
    counter-reset: percent var(--per);
    content: counter(percent);
    color: var(--b2);
    opacity: 1 !important;
    padding: 4px 6px;
    border-radius: 1px;
    font-weight: bold;
    pointer-events: none;
}

ul.skills li:hover span:after,
.profile-skills input:checked+label+ul.skills li span:after {
    transition: var(--t1);
    right: calc(calc(85 - var(--per)) * 1%);
    right: calc(calc(calc(100 - var(--per)) * 1%) - 40px);
    opacity: 1;
    background: var(--c1);
}

/*********************/
/*** SKILLS VALUES ***/
/*********************/

ul.skills li {
	--per: 50;
}

ul.skills li.sk-ani {
	--category: "sk-ani";
}

ul.skills li.sk-cms {
	--category: "sk-cms";
}

ul.skills li.sk-dis {
	--category: "sk-dis";
}

ul.skills li.sk-dtb {
	--category: "sk-dtb";
}

ul.skills li.sk-pro {
	--category: "sk-pro";
}

ul.skills li.sk-res {
	--category: "sk-res";
}

ul.skills li.sk-rea {
	--category: "sk-rea";
}

ul.skills li.sk-reb {
	--category: "sk-reb";
}

ul.skills li.sk-rec {
	--category: "sk-rec";
}

ul.skills li.sk-ree {
	--category: "sk-ree";
}

ul.skills li.sk-gim {
	--category: "sk-gim";
}

ul.skills li.sk-ado {
	--category: "sk-ado";
}

ul.skills li.sk-not {
	--category: "sk-not";
}

ul.skills li.sk-tri {
	--category: "sk-tri";
}

ul.skills li.sk-wor {
	--category: "sk-wor";
}

ul.skills li.sk-tre {
	--category: "sk-tre";
}

ul.skills li.sk-tra {
	--category: "sk-tre";
}

ul.skills li.sk-trb {
	--category: "sk-tre";
}

ul.skills li.sk-trc {
	--category: "sk-tre";
}

ul.skills li.sk-trd {
	--category: "sk-tre";
}

ul.skills li.sk-tre {
	--category: "sk-tre";
}

ul.skills li.sk-css {
	--category: "sk-css";
}

ul.skills li.sk-htm {
	--category: "sk-htm";
}

ul.skills li.sk-jav {
	--category: "sk-jav";
}

ul.skills li.sk-php {
	--category: "sk-php";
}

ul.skills li.sk-sql {
	--category: "sk-sql";
}

ul.skills li.sk-pug {
	--category: "sk-pug";
}

ul.skills li.sk-pua {
	--category: "sk-pug";
}

ul.skills li.sk-pub {
	--category: "sk-pug";
}

ul.skills li.sk-puc {
	--category: "sk-pug";
}

ul.skills li.sk-pud {
	--category: "sk-pug";
}


/*********************/
/***** TOP LABELS ****/
/*********************/

.profile-skills input {
	display: none;
}

.profile-skills label {
	background: var(--w1);
	position: absolute;
	top: -70px;
	left: 22px;
	z-index: 2;
	width: 55px;
	height: 55px;
	border-radius: 100%;
	cursor: pointer;
	transition: var(--t1);
	box-shadow: 0 0 0 0 var(--w1);
}

.profile-skills label:before {
	content: "";
	background: #fff0;
	position: absolute;
	top: 12px;
	left: 11px;
	z-index: 2;
	border: 9px solid var(--b2);
	border-top-width: 0;
	border-right-width: 0;
	transform: rotate(-45deg);
	width: 33px;
	height: 22px;
	border-radius: 2px;
	transition: var(--t1);
}

.profile-skills label:hover {
	box-shadow: 0 0 0 3px var(--w1);
	transition: var(--t1);
}

.profile-skills label:hover:before {
	border-color: var(--b2);
	transition: var(--t1);
}

.profile-skills input:checked+label {
	box-shadow: 0 0 0 6px var(--w1);
	transition: var(--t1);
}

.profile-skills input:checked+label:before {
	border-color:  var(--c1);
}

label[for="sk1"]:before {
	border-color:  var(--c1)e;
}


/*********************/
/*** BOTTOM LABELS ***/
/*********************/

ul.skills li.more {
	padding: 0;
	margin-bottom: 20px;
}

ul.skills li.more:before,
ul.skills li.more:after {
	display: none;
}

ul.skills li.more:hover {
	filter: none !important;
}

ul.skills li.more div {
	max-height: 0;
	transition: var(--t1);
	overflow: hidden;
	padding: 0;
	width: 100%;
}

ul.skills li.more input:checked~div {
	max-height: 150px;
	transition: var(--t1);
	padding: 20px 0 0;
}

ul.skills li.more div span:before,
ul.skills li.more div span:after {
	display: none;
}

ul.skills li.more label {
	background: linear-gradient(163deg, var(--b2) 50%, var(--w1) 50%);
	right: 0;
	left: inherit;
	top: inherit;
	bottom: -70px;
	color: var(--b2);
	background-size: 100% 300%;
	background-position-y: 100%;
	transition: var(--t1);
	width: 55px;
	height: 55px;
	right: -50px;
}

ul.skills li.more label:before {
	border: 0;
	height: 100%;
	width: 100%;
	transform: rotate(0deg);
	content: "+";
	content: "\271A";
	font-size: 45px;
	line-height: 55px;
	left: 0;
	top: 0;
	text-align: center;
	color: var(--c1);
}

ul.skills li.more label:hover {
	background-position-y: 0%;
	color: var(--w1) !important;
	transition: var(--t1);
	box-shadow: 0 0 0 10px var(--w1);
}

ul.skills li.more span {
	background: #1c1c1c;
	border-radius: 1px;
	margin: 10px 10px 1px 1px;
	padding: 4px 8px;
	display: inline-block;
	border: 1px solid #111;
	border-color: #111 #323232 #323232 #111;
}

ul.skills li.more span:hover {
	color: var(--w0);
	background: var(--c1);
	box-shadow: 0px 0px 5px 1px var(--c1);
	border-color: #fff2;
}

ul.skills li.more input:checked+label {
	box-shadow: 0 0 0 9px var(--w1);
	transition: var(--t1);
}

ul.skills li.more input:checked+label:before {
	border-color: #2187e7;
}

ul.skills li.more input:checked+label:hover {
	box-shadow: 0 0 0 0 var(--w1);
	background-position-y: 100%;
	color: var(--b2) !important;
}

.profile-skills input:checked+label+ul.skills li span::after {
    right: calc(calc(91 - var(--per))* 1% - 10px);
    width: 40px;
}

.profile-skills input:checked+label+ul.skills li span:before{
	right: calc(calc(calc(100 - var(--per))* 1%) - 11px);
}
@media (max-width: 120px) {
	.dashboard-container {
		width: 50%;
	}
}

@media (max-width: 1040) {
	.dashboard-container {
		width: 60%;
	}
}

@media (max-width: 900) {
	.dashboard-container {
		width: 80%;
	}
}

@media (max-width: 800px) {
	.profile-skills {
		width: 100%;
		padding: 10px;
	}

	.dashboard-container {
		width: 100%;
	}

	.plataforma {
		margin-bottom: 120px;
	}

	.profile-skills>div {
		width: 100%;
		margin: 0 0 120px 0;
	}

	ul.skills {
		padding:30px 60px;
	}

	ul.skills li {
		font-size: 28px;
		padding: 25px 0;
	}

	.skill-name {
		font-size: 15px;
	}

	ul.skills li:before,
	ul.skills li:after {
		border-radius: 4px;
	}

	ul.skills li span:before,
	ul.skills li span:after {
		font-size: 20px;
	}

	ul.skills:before {
		font-size: 19px;
		padding-top: 10px;
	}

	ul.skills:after {
		top: -20px;
	}

	ul.skills li span:before {
		top: 68px;
	}
	ul.skills li span::after {
		top: 58px;
	}
	
	.profile-skills input:checked+label+ul.skills li span::after {
		right: calc(calc(85 - var(--per))* 1% - 10px);
		width: 45px;
	}
	
	.profile-skills input:checked+label+ul.skills li span:before{
		right: calc(calc(calc(100 - var(--per))* 1%) - 11px);
	}
}