@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&display=swap");
@import url("https://fonts.googleapis.com/css?family=Anonymous+Pro");
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');

:root {
	--color-blurple: #7289da;
	--color-not-quite-black: #23272a;
	--color-dark: #2c2f33;
	--color-lighter-dark: #45494e;
	--color-full-white: #ffffff;
	--color-grey-white: #B9BBBE;
	--color-grey-dark: #242629;
	--color-actually-black: #000000;
	--color-fantastic-green: #00ae7a;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }

body {
	background: var(--color-dark);
	font-family: "Open Sans", sans-serif;
	color: var(--color-full-white);
	min-height: 100vh;
}

nav {
	position: fixed;
	top: 0;
	bottom: 0;
	overflow-y: scroll;
	width: 100%;
}
nav::-webkit-scrollbar {
	display: none;
}

.guilds-container {
	background: var(--color-not-quite-black);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	gap: 1rem;
	position: absolute;
	box-sizing: border-box;
	z-index: 2;
}

.squircle {
	background: var(--color-lighter-dark);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	transition: border-radius 128ms, background 128ms, color 128ms;
	display: flex;
	justify-content: center;
	align-items: center;
}
.squircle:hover {
	border-radius: 36%;
}
.squircle:hover::before {
	transform: translate(-100%, -50%) scale(.5);
} 
.squircle:hover .popper-boi {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

/* pill */
.squircle::before {
	content: '';
	width: 100%;
	height: 100%;
	background: var(--color-full-white);
	position: absolute;
	border-radius: 5px;
	top: 50%;
	transform: translate(-100%, -50%) scale(0);
	transition: transform 180ms;
}

.purple-boi:hover {
	background: var(--color-blurple);
}

.green-boi {
	color: var(--color-fantastic-green);
}

.green-boi:hover {
	background: var(--color-fantastic-green);
	color: var(--color-full-white);
}

.divider {
	width: 100%;
	background: var(--color-full-white);
	height: 2px;
	border-radius: 1px;
	opacity: .06;
	transform: scale(.75);
}

.popper-boi {
	background: var(--color-actually-black);
	padding: 0.68rem 1rem;
	position: absolute;
	top: 50%;
	left: 155%;
	transform-origin: left;
	transform: translateY(-50%) scale(0.98);
	width: max-content;
	max-width: 256px;
	border-radius: 4px;
	opacity: 0;
	transition: opacity 64ms, transform 128ms cubic-bezier(0.43, 0.09, 0.38, 2.56);
	pointer-events: none;
	color: var(--color-full-white);
}

.popper-boi::before {
	content: '';
	position: absolute;
	left: -2px;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	background: var(--color-actually-black);
	width: 24px;
	height: 24px;
	z-index: -1;
}

.server-icon {
	width: inherit;
	border-radius: inherit;
}

/* FOOTER */
footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    margin: 10px 0;
}

.heart {
    color: red;
}

footer a {
    color: #3c97bf;
}

/* INDEX CODE */
.index{
	position: absolute;
	top: 25%;
	left: 25%;
}

.index2{
	position: absolute;
	top: 40%;
	left: 45%;
}

.avatar{
	border-radius: 50%;
	margin-top: 110px;
	width: 145px;
	height: 145px;
}

.text-title{
	font-family: 'Nunito', sans-serif;
	font-size: 50px;
	margin: 10px;
}

.text-main{
	font-family: 'Nunito', sans-serif;
	font-size: large;
	margin-top: 50px;
}

.text-desc{
	font-family: 'Nunito', sans-serif;
	font-size: medium;
}


/* Animation */

.line-1{
    position: relative; 
    width: 24em;
    border-right: 2px solid rgba(255,255,255,.75);
    font-size: 180%;
	font-size: 50px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;    
}

.anim-typewriter{
  	animation: typewriter 2s steps(44) 1s 1 normal both,
             blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
  from{width: 0;}
  to{width: 10.70em;}
}
@keyframes blinkTextCursor{
  from{border-right-color: rgba(255,255,255,.75);}
  to{border-right-color: transparent;}
}


/* ANIMATION SKILL BAR*/
.s-body{
  display: grid;
  height: 100%;
  place-items: center;
}

.skill-bars{
  padding: 25px 30px;
  width: 600px;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.2);
  border-radius: 10px;
}
.skill-bars .bar{
  margin: 20px 0;
}
.skill-bars .bar:first-child{
  margin-top: 0px;
}
.skill-bars .bar .info{
  margin-bottom: 5px;
}
.skill-bars .bar .info span{
  font-weight: 500;
  font-size: 17px;
  opacity: 0;
  animation: showText 0.5s 1s linear forwards;
}
@keyframes showText {
  100%{
    opacity: 1;
  }
}
.skill-bars .bar .progress-line{
  height: 10px;
  width: 100%;
  background: #f0f0f0;
  position: relative;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 10px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.05),
              0 0px rgba(255,255,255,0.8);
  animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}
@keyframes animate {
  100%{
    transform: scaleX(1);
  }
}
.bar .progress-line span{
  height: 100%;
  position: absolute;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  background: #3c97bf;
  animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
}
.bar .progress-line.html span{
  width: 90%;
}
.bar .progress-line.css span{
  width: 90%;
}
.bar .progress-line.next span{
	width: 90%;
  }
.bar .progress-line.js span{
  width: 78%;
}
.bar .progress-line.php span{
  width: 25%;
}
.progress-line span::before{
  position: absolute;
  content: "";
  top: -10px;
  right: 0;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-color: #000;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
}
.progress-line span::after{
  position: absolute;
  top: -28px;
  right: 0;
  font-weight: 500;
  background: #000;
  color: #fff;
  padding: 1px 8px;
  font-size: 12px;
  border-radius: 3px;
  opacity: 0;
  animation: showText2 0.5s 1.5s linear forwards;
}
@keyframes showText2 {
  100%{
    opacity: 1;
  }
}
.progress-line.html span::after{
  content: "90%";
}
.progress-line.css span::after{
  content: "90%";
}
.progress-line.next span::after{
	content: "90%";
  }
.progress-line.js span::after{
  content: "75%";
}
.progress-line.php span::after{
  content: "25%";
}

.index-web{
	position: absolute;
	top: 25%;
	left: 38%;
}

.h1-web{
	color: #3c97bf;
	font-family: 'Nunito', sans-serif;
	font-size: 35px;
}