@font-face {
	font-family: "custom";
	src: url(./assests/PixelifySans-VariableFont_wght.ttf)
}

body {
	background-color: #000;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 95vh;
	font-size: smaller;
	font-family: "custom"
}

a:link {
	color: #fff;
	font-size: 25px;
	text-decoration: none;
	font-style: italic;
	font-weight: 50;
	animation: neonAnim 5s alternate-reverse infinite
}

.main {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
	height: 100vh;
	width: 100vw
}

.subsection-1,
.subsection-2 {
	margin: 30px;
	min-height: 10rem;
	width: 50rem
}

.subsection-2 {
	width: 10rem;
	padding: 2rem
}

.links {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: solid 1px #3e3e3e;
	width: 15rem
}

ul {
	list-style-type: none;
	padding: 0
}

.main-header {
	border: solid 1px #3e3e3e;
	display: flex;
	margin: 10px;
	gap: 10px
}

.main-header img {
	height: 150px;
	width: 150px;
	margin: 10px;
	margin-right: 5px;
	border: 1px solid #b2faf8;
	box-shadow: 0 0 10px 1px #b2faf8
}

.main-header p {
	margin: 10px;
	margin-left: 5px
}

.skill-carousel {
	border: solid 1px #3e3e3e;
	max-width: 800px;
	margin: 0 auto
}

.carousel_inner {
	padding-block: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	text-shadow: 1px 2px 10px #b2faf8
}

.skill-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: space-between;
	align-items: center
}

.loader {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 95vh;
	z-index: 9999
}

.projects {
	border: solid 1px #3e3e3e;
	display: flex;
	margin: 10px;
	min-width: 500px;
	gap: 10px
}

.projects ul {
	padding: 1.5rem;
	font-size: large
}

.projects li {
	padding: 1rem
}

.skill-carousel[is-animated=true] {
	overflow: hidden;
	-webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
	;
	mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent)
}

.skill-carousel[is-animated=true] .carousel_inner {
	width: 100%;
	flex-wrap: nowrap;
	animation: scroll 50s forwards linear infinite
}

.links a {
	gap: 5px;
	color: #fff;
	text-decoration: none;
	font-size: large
}

.lastFM {
	border: solid 1px #3e3e3e;
	padding: 1rem;
	margin-top: 2rem;
	width: 13rem;
	height: 10rem;
	background: #0a0a0a;
	color: #fff;
    display: none;
}

.lastFM ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem 0
}

.lastFM .recent-label {
	font-size: 1rem;
	font-weight: 700;
	color: #b2faf8;
	text-shadow: 0 0 5px rgb(178 250 248 / .7)
}

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

.song-container img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border: 1px solid #b2faf8;
	box-shadow: 0 0 10px 1px #b2faf8
}

.song-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden
}

.song-title p {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap
}

.song-title-div {
	display: flex;
	flex-direction: row;
	width: 100%;
	gap: 1rem;
	animation: titleScroll 5s forwards linear infinite
}

.song-artist {
	font-size: .9rem;
	color: #aaa
}

.cat-gif {
	position: absolute
}

.cat-gif img {
	width: 10rem;
	height: 10rem
}

@keyframes titleScroll {
	to {
		transform: translate(calc(-50% - 1rem))
	}
}

@keyframes scroll {
	to {
		transform: translate(calc(-140% - 1rem))
	}
}

@keyframes neonAnim {
	from {
		text-shadow: 0 0 11px rgb(178 250 248 / .7), 0 0 41px rgb(178 250 248 / .7), 0 0 101px rgb(178 250 248 / .7)
	}

	to {
		text-shadow: 0 0 6px rgb(178 250 248 / .7), 0 0 21px rgb(178 250 248 / .7), 0 0 61px rgb(178 250 248 / .7)
	}
}

@keyframes loadIn {
    0%{
        opacity: 0;
        transform: translate(100%);
    }
    
    
    100%{
        opacity: 1;
        transform: translate(0%);
    }
}

.link-arrow {
	height: 1rem;
	width: 1rem;
}