@font-face {
    font-family: 'print clearly';
    src: url('./font/PrintBold-J5o.ttf');
}
:root{
    font-family: 'print clearly', 'Comic Sans MS';
    color: rgb(182, 182, 182);
    user-select: none;
}
h1{
    font-size: 8vh;
}
h2{
    font-size: 6vh;
}
h3{
    font-size: 4vh;
}
h4{
    font-size: 3vh;
}
h1,h2,h3,h4,h5,h6,p{
    pointer-events: none;
}
canvas{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
}
.pnl{
    position: fixed;
    z-index: 0;
    width: 80%;
    height: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid rgba(0, 202, 202, 0.588);
    box-shadow: 0 0 22px rgba(0, 255, 255, 0.381);
    padding: 20px;
    border-radius: 32px;
    backdrop-filter: blur(1px);
    background: rgba(28, 28, 28, 0.75);
    overflow: hidden;
    display: flex;
   align-items: center;
   flex-direction: column;
   animation: show1 1s ease;
   transition: all 1s ease;
}
.pfp-cont {
    z-index: 1;
  width: 20vh;
  height: 20vh;
  overflow: hidden;
  border-radius: 12px;
  border-radius: 100%;
  background-color: black;
  position: fixed;
  top: 10%;
  left: calc(50% - 10vh);
  border: 5px solid rgba(0, 202, 202, 0.588);
box-shadow: 0 0 22px rgba(0, 255, 255, 0.381);
transition: all .3s ease;
  
}

.pfp-cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@keyframes show1{
    0%{width: 10%;}
    100%{width: 80%;}
}
#options{
    position: absolute;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    bottom: 10px;
}
button{
    color:white;

    min-width: 50px;
    min-height: 50px;
    width: 100px;
    height: 100px;
    background-color: rgb(0,0,0,.1);
    border-radius: 32px;
    transition: all .3s ease;
    border: solid 1px rgb(30,30,30);
    position: relative;
}
button::before{
    position: absolute;
    top: -5px;
    left: -5px;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0);
    border-radius: 32px;
    border: solid 5px white;
    transition: all .2s ease;
}
button:active::before{
    transform: scale(1);
}
button:hover{
        border: 5px solid rgba(0, 202, 202, 0.588);
    box-shadow: 0 0 22px rgba(0, 255, 255, 0.381);
}
button img{
    width: 100%;
    transform: scale(0.8);
    mix-blend-mode: difference;
    pointer-events: none;
    user-select: none;
}
#tooltip{
    position: fixed;
    top: 0px;
    left: 0px;
    width: fit-content;
    height: fit-content;
    min-width: 250px;
    min-height: 70px;
    background-color: rgb(15,15,15);
    box-shadow: 0px 0px 5px black;
    border-radius: 32px 32px 32px 5px;
    pointer-events: none;
    font-size: 5vh;
    text-align: center;
    opacity: 0;
}
.notification{
    padding: 20px;
    position: fixed;
    top: -200px;
    min-width: 20%;
    min-height: 10%;
    text-align: center;
    z-index: 5;
    left: 50%;
    transform: translate(-50%);
    font-size: 7vh;
    background: rgb(10,10,10);
  background-image: radial-gradient(rgba(0, 255, 255, 0.381) 1px, transparent 0);
  border: 5px solid rgba(0, 202, 202, 0.588);
    box-shadow: 0 0 22px rgba(0, 255, 255, 0.381);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  background-size: 40px 40px;
  background-position: -19px -19px;
  background-position-x: 0px;
  background-position-y: 0px;
  animation: notify-show 3s ease;
}
@keyframes notify-show{
    0%{top: -200px;}
    20%{top: 0px;}
    80%{top: 0px;}
    100%{top: -200px;}

}
#age{
    background-color: rgb(0,0,0,.2);
    border-radius: 8px;
    padding: 5px;
    transition: all .3s ease;
}
#age:hover{
}
.back{
    position: absolute;
    left: 10px;
    top: 10px;
}
#projects{
    flex-grow: 1;
    background-color: rgb(0,0,0,.1);
    border-radius: 32px;
    width: 100%;
    position: absolute;
    top: 35%;
    left: 0px;
    width: 100%;
    height: calc(60% - 100px);
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    overflow-x: auto;
}
.project {
    height: 100%;
    aspect-ratio: 1 / 1;
    
    position: relative;
    
    position: relative;
    text-align: center;
}
.card{
    margin: 0;
  padding: 0;
    transition: transform 0.6s;
    perspective: 1000px;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 32px;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}
.project:hover .card {
    transform: rotateY(180deg);
}
.card img{
    margin: 0;
  padding: 5px;
  height: 50%;
}
.card .front,
.card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card .front {
    background-color: rgb(0,0,0,.2);
    z-index: 2;
}
.card .front img{
    border-radius: 32px;
}
.card .back {
    background-color: rgb(0,0,0,.2);;
    transform: rotateY(180deg);
}

#btm{
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%);
    color: white;
}


@media (max-width: 620px) {
  .card .back h3{
    font-size: 3vh;
  }
}
