@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", Courier, monospace;
  font-weight: 400;
}

html {
  height: 100vh;
  width: 100wv;
}
body {
  background-color: #f2f3f7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  height: 500px;
  width: 300px;
  position: absolute;
  /* top: 50%;
  left: 50%; */
  /* transform: translate(-50%, -50%); */
  border-radius: 43px;
  background: #ffffff;
  box-shadow: 1px 1px 28px #cccccc, -1px -1px 28px #ffffff;
  perspective: 100rem;
  transform-style: preserve-3d;
 
}

.card:hover {
  transform:scale(1.1);
}  

.left-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: auto;
}
.image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 5px 5px 18px #cccccc, -5px -5px 18px #ffffff;
  margin: 17px;
}

.image-wrapper .image-inner-area {
  height: 90%;
  width: 90%;
  border-radius: 50%;
}

.image-inner-area img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* social-icons-mobile */

.left-wrapper .social-icons {
  position: relative;
  display: flex;
  flex-direction: row;
} 

.social-icons a {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(145deg, #c6c7c9, #ffffff);
  border-radius: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 8px #cccccc, -4px -4px 6px #ffffff;
  display: inline-flex;
  color: #130f0f;
  margin: 15px;
  cursor: pointer;
} 



.social-icons a:active {
  background: linear-gradient(145deg, #c6c7c9, #ffffff);
  border-radius: 100%;
  box-shadow: 10.51px 10.51px 26px #dfe0e3, -10.51px -10.51px 26px #ffffff;
}

.social-icons a .facebook {
  color: #4267b2;
}

.social-icons a .linkedin {
  color: #2867b2;
}

.social-icons a .github {
  color: #211f1f;
}



/* card body */
.card-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 70px;
}

/* NAME AND ABOUT */
.text-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  
}

.text-wrapper .name {
  color: #130f0f;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-shadow: 6px 6px 15px rgba(255, 253, 253, 0.5),
    6px -6px 15px rgba(255, 255, 255, 0.8);
  margin-bottom: 5px;
}

/* hr {
    border: .5px solid #131313;
    width: 50%;
} */
.text-wrapper .about {
  color: #130f0f;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}
.project-button {
  width: 130px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background-color: #ffffff;
  box-shadow: -2px -2px 8px rgb(236, 234, 234),
    -2px -2px 12px rgba(255, 255, 255, 0.5),
    inset 2px 2px 4px rgba(255, 255, 255, 0.637),
    2px 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  color: #130f0f;
  margin-top: 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 15px 50px;
}

.project-button:active {
  /* background: linear-gradient(145deg, #c6c7c9, #ffffff); */
  border-radius: 10%;
  box-shadow: inset -2px -2px 8px rgba(255, 255, 255, 1),
    inset -2px -2px 12px rgba(255, 255, 255, 0.555),
    inset 2px 2px 3px rgba(255, 255, 255, 0.788),
    inset 2px 2px 6px rgba(0, 0, 0, 0.247);
}

.contact-buttons {
  margin-top: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 300px;
}

.contact-buttons .contact-tel,
.contact-email{
  display: inline-flex;
  flex-direction: row;
  align-items: center;

}

.contact-buttons .contact-tel i,
.contact-buttons .contact-email i {
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-direction: row;
  background: linear-gradient(145deg, #c6c7c9, #ffffff);
  border-radius: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 8px #cccccc, -4px -4px 6px #ffffff;
  display: inline-flex;
  color: #4267b2;
  cursor: pointer;
  margin: 7px;
  z-index: 100;

}

.contact-buttons .contact-tel i:active,
.contact-buttons .contact-email i:active {
    box-shadow: inset -2px -2px 8px rgba(255, 255, 255, 1),
    inset -2px -2px 12px rgba(255, 255, 255, 0.555),
    inset 2px 2px 3px rgba(255, 255, 255, 0.788),
    inset 2px 2px 6px rgba(0, 0, 0, 0.247);
}

.contact-tel .tel-number,
.contact-email .email {
    display: none
}
.contact-tel .tel-number.show {
  height: 30px;
  width: 165px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 11px;
  margin-left: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -100;
  background: linear-gradient(225deg, #f0efef, #ffffff);
  box-shadow: -7px 7px 10px #f1f0f0, 7px -7px 10px #ffffff;
}

.contact-email .email.show {
    height: 30px;
    width: 165px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 11px;
    margin-left: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(225deg, #f0efef, #ffffff);
    box-shadow: -7px 7px 10px #f1f0f0, 7px -7px 10px #ffffff;
    
  }

.skills {
  margin: 20px;
  display: flex;
  flex-direction: row;
}

.skills li {
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: linear-gradient(145deg, #c6c7c9, #ffffff);
  border-radius: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 8px #cccccc, -4px -4px 6px #ffffff;
  display: inline-flex;
  color: #130f0f;
  margin: 7px;
  cursor: pointer;
}

.skills li i {
  color: red;
}

@media (min-width: 768px) {
  .card {
    width: 510px;
    height: 300px;
    flex-direction: row;
    justify-content: center;
    align-content: center;
  }
  .left-wrapper {
    position: relative;
    align-items:center;
    justify-content: space-around;
    flex-direction: column;
     width: 30%;
   
  }
  .left-wrapper img{
    margin: 0;
  }
  .left-wrapper .social-icons {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .left-wrapper .social-icons a {
    margin: 7px;
  }

  .card-body {
    top:0;
    position: relative;
    left: 0;
    transform: translate(0%,0%);
    width: 70%;
    margin-top: 60px;
  }

  .text-wrapper {
    margin-right: 95px;
  }
  .skills{
    margin: 8px;
  }
  .project-button {
    margin-top: 4px;
    margin-right: 90px;
  }

  .contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 40px;
    margin-top: 12px;
  }
}
