@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Share+Tech+Mono&display=swap');

* {
  user-select: none;
  cursor: default;
}
a {
  cursor: pointer;
  user-select: none;
}
body{
    background-color: oklch(44.6% 0.043 257.281);
    background-image: url(/image/bg.png);
    background-size: cover;
    background-position: center;
}
#parent{
    display: grid;
    justify-content: center;
    align-items: center;
    place-items: center;
    flex-direction: column;
    height: 100vh; /* full viewport height */

    
}

.subparent{
    height: auto;
    width: 45%;
    /* background-color:#57585A; */
    backdrop-filter: blur(5px) brightness(75%);
    padding: 25px;
    border: 1px solid transparent;
    border-radius: 25px;
  transition: border-color 0.3s ease-in-out; /* Transition for color */
}

.subparent:hover {
  transition: border-width 0.3s ease-in-out;
}
.subparent::before,
.subparent::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background-color: rgb(109, 109, 109);
  transition: width 0.4s ease-in-out;
  transform-origin: center;
  transform: translateX(-50%);
  border-radius: 1px;
}

.subparent::before {
  top: -15px;
  bottom: auto;
}

.subparent::after {
  top: auto;
  bottom: -15px;
}

.subparent:hover::before,
.subparent:hover::after {
  width: 100%;

}

.avatar {
  display: flex;
  align-items: center;
  gap: 25%; 
  flex-wrap: wrap;
  padding-top: 15px;
  padding-left: 25px;
}

.avatar .name{
    color: aliceblue;
    font-size:  30px;
    font-family: "Lora", serif;
    font-weight: 500;
    
}
.avatar .text {
  display: flex;
  flex-direction: column;
  flex-wrap: warp;
}
.avatar .bday {
  text-align: center;
  color: #d3d3d3;
  font-family: "Lora", serif;
  font-weight: 200;
}
.avatar img {
    height: 120px;
    width: 120px;
    border: 5px solid #57585A;
    box-shadow: 0 3px 4px 3px #343536;
    border-radius: 50%;
    image-rendering: auto;
    transition: 0.3s;
   -webkit-user-drag: none;
}
.avatar img:hover{
    box-shadow: 0 0px 0px oklch(20.8% 0.042 265.755);
    
}
.aboutme {
  color: aliceblue;
  font-size: 15px;
  text-align: center;
  margin-top: 10px;
  padding: 20px 20px 0px 20px;
  font-family: "Lora", serif;
  font-weight: 300;

}
.toggle{
  justify-self: center;
  padding: 12px;
  height: auto;
  width: auto;
  color: aliceblue;
  backdrop-filter: blur(3px) brightness(65%) contrast(95%);
  border: 1px solid #57585A;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.toggle:hover{
  background-color: #57585A;
}
.workdetail{
  justify-self: center;
  height: auto;
  width: auto;
}
.workat {
  height: auto;
  width: auto;
  border: 2px solid aliceblue;
  backdrop-filter: blur(3px) brightness(65%) contrast(95%);
  display: flex;
  border-radius: 50px;
  padding: 1px 8px 1px 8px;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: 0.3s ease-in-out;
}
.workat img {
  height: 50px;
  width: 50px;
  justify-content: center;

}
.workat p {
  color: aliceblue;
  text-align: center;
  padding-right: 14px;
  font-family: "Share Tech Mono", monospace;
  text-transform: uppercase;

}
.workat p a:hover {
  color: #57585A;
}
.workat:hover{
  background-color: #343536;  
  box-shadow: 1px 4px 1px 2px rgba(182, 182, 182, 0.801);
  transform: scale(102%)
;
}
.socials {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;

}


.socials > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  white-space: nowrap;
}

.socials i {
  width: 20px;
  color: aliceblue;
  transition: 0.4s;
}

.socials a {
  text-decoration: none;
  color: aliceblue;
  transition: 0.4s;

}

.socials a:hover{
    color: #FCF7FF;
    transform: scale(103%);
  
}

.tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  z-index: 10;
}

.epicgames.show-tooltip .tooltip {
  opacity: 1;
}
.Email.show-tooltip .tooltip {
  opacity: 1;
}

/* .avatar, .aboutme, .socials {
  transition: opacity 0.3s ease;
  opacity: 1;
}
.hide {
  opacity: 0;
  pointer-events: none;
  /* optionally, for complete removal
  position: absolute;
  left: -9999px; */
/*} */

@media (max-width: 1100px) {
  .subparent{
    height: auto;
    padding: 10px;
    width: 90%;
  }
  .avatar {
    display: flexbox;
    flex-direction: column;
    padding-top: 25px;
    gap: 10px;
    padding-left: 0px;
  }
  .aboutme{
    margin-top: 10px;
    padding: 10px;
    padding-bottom: 25px;
    font-size: 16px;
    font-weight: 400;
  }
  .workat {
    margin-top: 0px;
  }
  .toggle{
     margin-bottom: 15px;
  }
}



.subparent .avatar .aboutme .workat {
  display: none !important;
}