@import url("https://fonts.googleapis.com/css2?family=Gantari:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/*
TABLE OF CONTENTS:
	#ROOT - Configurations for your vCard
	#VCARD-MAIN - Main vCard
		#VCARD-AUTHOR - Layout design of the profile picture + infos about the author
		#VCARD-SOCIALS - Layout design for all of the social icons with links.
	#POP-UP
	#BTN - Button design
	#MISC - Miscallenous
*/
/* #ROOT */
@import url(variables.css);
*, *::before, *::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  background: var(--bg-img) center/cover;
  background-color: var(--bg-clr);
  color: var(--default-text-color, white);
  font-family: Gantari, sans-serif;
}

body.modal-active {
  overflow: hidden;
  pointer-events: none;
}

.container {
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: var(--bg-backdrop);
          backdrop-filter: var(--bg-backdrop);
}

/* #VCARD-MAIN */
.vCard {
  background-color: var(--vCard-bg-clr);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--vCard-max-width);
  margin: 0 5%;
  border-radius: var(--rounding);
  text-align: center;
  overflow: hidden;
  /* #VCARD-SOCIALS */
}
.vCard .vCard-top {
  position: relative;
}
.vCard .vCard-profile-picture {
  position: relative;
  background: var(--vCard-profile-picture) center/cover;
  height: 10rem;
  margin-bottom: calc(var(--vCard-profile-picture-size) / 2);
}
.vCard .vCard-profile-picture::before, .vCard .vCard-profile-picture::after {
  content: "";
  position: absolute;
}
.vCard .vCard-profile-picture::before {
  width: 100%;
  height: 100%;
  left: 0;
  background: linear-gradient(to top, var(--vCard-bg-clr), rgba(0, 0, 0, var(--vCard-profile-picture-brightness)) 40%);
  -webkit-backdrop-filter: var(--vCard-profile-picture-backdrop);
          backdrop-filter: var(--vCard-profile-picture-backdrop);
}
.vCard .vCard-profile-picture::after {
  background: var(--vCard-profile-picture) center/cover;
  border: 5px solid var(--vCard-bg-clr);
  box-sizing: content-box;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  width: var(--vCard-profile-picture-size);
  border-radius: 100vmax;
}
.vCard .vCard-user-info {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5em;
  padding: 1em 0.5em;
  padding-top: 0;
}
.vCard .vCard-user-info .vCard-author {
  font-size: 1.5rem;
  font-weight: 700;
  white-space: pre-line;
}
.vCard .vCard-user-info .direct-link {
  color: var(--main-clr);
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  margin: auto;
}
.vCard .vCard-user-info .vCard-author-description {
  color: var(--grey-clr);
  font-size: 0.9rem;
  font-style: italic;
  white-space: pre-line;
}
.vCard .vCard-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.25rem;
}
.vCard .vCard-buttons {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.vCard .vCard-socials {
  display: flex;
  gap: 0.25em;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.vCard .vCard-socials a {
  color: var(--grey-clr);
  background-color: var(--darkgrey-clr);
  display: inline-flex;
  aspect-ratio: 1;
  width: 2.5rem;
  padding: 0.5rem;
  border-radius: 100vmax;
  font-size: 1.25rem;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  transition: color var(--transition-time) ease;
}
.vCard .vCard-socials a:hover {
  color: var(--main-clr);
}
.vCard .vCard-poweredBy {
  color: var(--grey-clr);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all var(--transition-time) ease;
}
.vCard .vCard-poweredBy:hover {
  color: var(--main-clr);
}
.vCard #share {
  color: var(--default-text-clr);
  display: inline-flex;
  position: absolute;
  aspect-ratio: 1;
  top: 0;
  right: 0;
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 100vmax;
  transition: all var(--transition-time) ease;
  cursor: pointer;
  z-index: 1;
}
.vCard #share::before {
  content: "";
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: circle(0 at 50%);
          clip-path: circle(0 at 50%);
  transition: -webkit-clip-path var(--transition-time-short) ease;
  transition: clip-path var(--transition-time-short) ease;
  transition: clip-path var(--transition-time-short) ease, -webkit-clip-path var(--transition-time-short) ease;
}
.vCard #share:active {
  background-color: rgba(255, 255, 255, 0.1);
}
.vCard #share:hover::before {
  background-color: rgba(255, 255, 255, 0.1);
  width: 100%;
  height: 100%;
  -webkit-clip-path: circle(50% at 50%);
          clip-path: circle(50% at 50%);
}

/* #POP-UP */
.pop-up {
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  transition: opacity var(--transition-time) ease;
}
.pop-up.active {
  opacity: 1;
  pointer-events: all;
}
.pop-up .pop-up-body {
  background: var(--vCard-bg-clr);
  display: flex;
  flex-direction: column;
  padding: 0.5em 0;
  border-radius: var(--rounding);
}
.pop-up .pop-up-item {
  color: var(--lightgrey-clr);
  padding: 1em;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-time) ease;
}
.pop-up .pop-up-item:hover {
  background: var(--darkgrey-clr);
}
.pop-up .pop-up-item:not(:first-child) {
  border-top: 1px dashed var(--darkgrey-clr);
}
.pop-up .pop-up-item-info {
  color: var(--grey-clr);
  font-weight: 300;
}

/* #BTN */
.btn {
  color: var(--default-text-clr);
  background-color: var(--main-clr);
  display: inline-flex;
  position: relative;
  gap: 0.5em;
  margin: auto;
  padding: 0.6rem 0.6rem;
  border-radius: var(--rounding);
  text-decoration: none;
  align-items: center;
  transition: all calc(var(--transition-time) * 2) ease;
}
.btn i {
  font-size: 1.5em;
}
.btn::before {
  content: "";
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--rounding);
  -webkit-clip-path: circle(0% at -20%);
          clip-path: circle(0% at -20%);
  transition: all calc(var(--transition-time) * 2) ease;
}
.btn:hover::before {
  -webkit-clip-path: circle(170% at -20%);
          clip-path: circle(170% at -20%);
}
.btn.btn-grey, .btn:nth-child(2n) {
  background-color: var(--darkgrey-clr);
}

/* #MISC */
.material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
}

hr {
  border-color: rgba(255, 255, 255, 0.1);
}/*# sourceMappingURL=styles.css.map */