* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Geologica, sans-serif;
}

body {
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Geologica, sans-serif;
  position: relative;
  background: url('./images/MAC_BG_Empty.png') no-repeat center center;
  background-size: cover;
  
  background-color: #4e4e82;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  filter: blur(10px);     
  z-index: -3; 
}

.container {
  text-align: center;
  width: 90%;
  max-width: 400px;
  z-index: 2;
}

.avatar {
  width: clamp(120px, 25vh, 250px);
  border-radius: 50%;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(1.2rem, 3vh, 2rem);
  margin-bottom: 1vh;
  color: #f2f2f2;
}

.bio {
  font-size: clamp(0.9rem, 1.8vh, 1.1rem);
  margin-bottom: 3vh;
  color: #ccc;
}


.links a {
  display: block;
  background: white;
  color: #333;
  text-decoration: none;
  padding: clamp(10px, 1.8vh, 18px);
  margin: 1.2vh 0;
  border-radius: 25px;
  font-size: clamp(0.9rem, 2vh, 1.2rem);

  transition: 0.3s;
}

.links a:hover {
  background: #ddd;
  transform: scale(1.05);
}

/* QRcode */
#QR_code {
  position: fixed;
  bottom: 2vw;
  right: -180px; 
  width: 225px; 
  height: auto;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: right 0.3s ease-in-out, filter 0.3s ease-in-out;
  filter: blur(10px); 
  cursor: pointer;
}

#QR_code.active {
right: 2vw;
filter: blur(0px);  
}

#charFront {
  position: fixed;
  width: 25%;
  height: auto;
  bottom: 0px;
  right: 50px;
  z-index: 0;
  transform: translateY(35%);
  filter:drop-shadow(0 5px 20px rgba(0,0,0,0.5));
  pointer-events: none;
}

#charBack {
  position: fixed;
  width: 40%;
  height: auto;
  bottom: 0px;
  right: 50px;
  z-index: -1;
  transform: translateX(-175%)translateY(65%);
  filter: blur(10px) drop-shadow(0 5px 20px rgba(0,0,0,0.5));
  pointer-events: none;
}

@media (max-width: 768px) {
  body {
    display: block;
    padding: 20px;
  }

  .container {
    margin: 0 auto;
    text-align: center;
    z-index: 2;
  }

 #charFront {
  width: 40%;
  right: 0px;
 } 



}