* {
	margin: 0;
	width: auto;
	font-family: sans-serif;
}

body {
	background-image: url('/static/bg.webp');
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}
main {
	height: 100vh;
	width: 100%;
	z-index: -4;
	backdrop-filter: blur(6px);
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.card {
		width: 300px;
		height: 600px;
		margin: auto;
}
.card-border::before {
	background: conic-gradient(from var(--angle), #89bc85 0deg, #fff 45deg, #89bc85 270deg);
	border-radius: 25px;
		filter: blur(8px);
		content: '';
		position: absolute;
		width: 300px;
		height: 600px;
		z-index: -1;
		animation: gradient 10s linear 0s infinite;
}
.card-border {
	perspective: 1000px; /* Remove this if you don't want the 3D effect */
	position: absolute;
	animation: gradient 10s linear 0s infinite;
	background: conic-gradient(from var(--angle), #89bc85 0deg, #fff 45deg, #89bc85 270deg);
		width: 0px;
		height: 600px;
		border-radius: 25px;
		display: flex;
		justify-content: center;
		flex-direction: column;
}
.card:has(.pto:focus-within) .card-inner, .card-back:focus {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  min-height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}
.card-front {
	-webkit-transform:rotateY(0deg);
	transform:rotateY(0deg);
}
.card-back {
	  transform: rotateY(180deg);
	  -webkit-transform: rotateY(180deg);
}
.card-front .inner {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.card-inner {
	margin: auto;
	height: 595px;
	width: 295px;
	background-color: #94bc46;
	border-radius: 23px;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	overflow-y: scroll;	
}

.my-info {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: center;
		flex-direction: column;
}
.pfp {
	height: 200px;
	width: 200px;
	border-radius: 100px;
	margin: 20px auto;
}

.info-text {
	width: 80%;
	margin: 0 calc(10% + 25px);
}
.name-pr {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}
.name-pr p, .name-pr h1 {
	height: auto;
	width: auto;
}
.name-pr h1 {
	line-height:  0.9;
}
.name-pr p {
	margin: auto 0 0 0;
	line-height: 1;
}

.my-info h2 {
	font-size: 1.25em;
	margin-top: 10px;
}
.likes ul {
	list-style: likes;
}
.dislikes ul {
	list-style: dislikes;
}
.likes {
	width: 45%;
}
.dislikes {
	width: 45%;
}
.about {
	margin: 20px auto;
	width: 90%;
	height: auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.ldl {
	width: 100%;
	margin: 0 auto;
	display: flex;
	gap: 10px;
}
.about-me {
	width: 90%;
	margin: auto;
	h2 {
		margin-bottom: 15px;
	}
	p {
		white-space: break-spaces;
		margin-left: 10px;
		line-height: 1.3;
	}
}
h2 {
	text-align: center;
	margin-bottom: 15px;
}
.socials {
	list-style: none;
	display: flex;
	gap: 15px;
	font-size: 1.5em;
	width: 90%;
	padding: 0;
	margin: 10px 20px;
	justify-content: center;
}
.more {
	display: flex;
	flex-grow: 1;
}
.socials li {
	i {color: #674117;}
	width: 1.5em;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	&:hover {
		i{color: #fff;}
	}

}
.pto {
	margin: auto 0;
	text-decoration: none;
	width: 50%;
	gap: 10px;
	display: none;
	* {color: black; align-self: center;}
	i  {
		font-size: 1.25em;
	}
}
.pto:hover {
	color: white;
	* {color: white;}
}
.credits {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	* {
		text-align: center;
		margin: 0 auto;	
		height: auto;
	}
}

@media only screen and (min-width: 900px) {
.card-front, .card-back {
	height: 100%;
}
.card, .card-border::before, .card-border {
	width: 800px;
	height: 600px;
}
.card-inner {
	width: 795px;
	height: 595px;
	overflow: visible;
}
.card-front .inner {
	flex-direction: row;
}
.my-info {
	width: 40%;
	height: 100%;
}
.pfp {
	height: 250px;
	width: 250px;
	border-radius:125px;
	margin: 20px auto;
}
.about {
	width: 55%;
	gap: 0px;
}
.ldl {
	gap: 20px;
}
.likes {
	width: 35%;
}
.dislikes {
	width: 55%;
}
 .about-me {
	margin: 20px auto 0px 0px;
 }
.pto {
		display: flex; 	
}
.socials {
	width: 40%;
	margin: 20px 20px 0;
}
.card-back {
	height: 100%;
}
}

@keyframes gradient {
	to {
		--angle: 360deg;
	}
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@counter-style likes {
	system: cyclic;
	symbols: '💛';
	suffix: " ";
}
@counter-style dislikes {
	system: cyclic;
	symbols: '💢';
	suffix: " ";
}
