:root {
  --white: #fff;
  --black: #171417;
  --brown: #62474e;
  --brown-d: #3f3a36;
  --brown-l: #553a41;
  --beige: #e1caba;
  --pink: #cb4c86;
  --pink-l: #cf8fb4;

  --yellow: #DEB670;
  --yellow-l: #FFDF60;
  --green: #76E6CD;
  --green-l: #96FADF;
}

html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
}

.body {
  background-color: var(--green-l);
  color: var(--black);
}

.cv {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cv-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  background-color: var(--black);
}

.cv-head-link {
  margin-right: 10px;
}

.cv-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  align-self: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding-right: 40px;
  padding-left: 40px;
}

.cv-body-wrap {
  display: flex;
  flex-grow: 1;
}

.cv-body-info-title {
  text-align: center;
}

.cv-body-wrap-inner {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* .cv-body-avatar {
  border-radius: 50%;
  border: 5px solid var(--black);
  margin-bottom: 40px;
  box-sizing: border-box;
} */

img {
  --f: .05; /* the parallax factor (the smaller the better) */
  --r: 10px; /* radius */
  
  --_f: calc(100%*var(--f)/(1 + var(--f)));
  --_a: calc(90deg*var(--f));
  width: 450px; /* the image size */
  aspect-ratio: calc(1 + var(--f));
  object-fit: cover;
  clip-path: inset(0 var(--_f) 0 0 round var(--r));
  transform: perspective(400px) var(--_t,rotateY(var(--_a)));
  transition: .5s;
  cursor: pointer;
  margin-bottom: 40px;
}
img:hover {
  clip-path: inset(0 0 0 var(--_f) round var(--r));
  --_t: translateX(calc(-1*var(--_f))) rotateY(calc(-1*var(--_a)))
}

.cv-body-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv-body-info-list {
  padding-left: 20px;
}

.cv-body-info-title_name {
  font-size: 48px;
  margin: 0;
  text-align: center;
}

/* .cv-body-info_pdf {
  padding: 20px;
  border-radius: 20px;
  background-color: var(--yellow-l);
  font-size: 20px;
  color: var(--black);
  text-align: center;
  text-decoration: none;
  margin-top: 1em;
  border: 3px solid var(--black);
}
.cv-body-info_pdf:hover {
  background-color: var(--yellow);
  transition: all 0.5s;
} */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1.55rem 4.5rem 1.25rem;
  line-height: 1;
  border: none;
  cursor: pointer;
  color: var(--black);
  position: relative;
  transition: background cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
  margin-top: 40px;
}
.btn::before, .btn::after {
  content: "";
  display: block;
  z-index: 0;
  position: absolute;
  inset: 0;
  border: 2px solid var(--black);
  transition: transform cubic-bezier(0.76, 0, 0.24, 1) 0.3s;
  background: var(--yellow-l);
}
.btn::before {
  transform: scale(1.075, 1);
  z-index: 1;
}
.btn::after {
  transform: scale(1.025, 1.2);
  z-index: 2;
}
.btn:hover {
  transition-duration: 0.5s;
}
.btn:hover::before, .btn:hover::after {
  transform: scale(1, 1);
  transition-duration: 0.5s;
  background: var(--black);
  border: 2px solid var(--yellow-l);
}

.btn span {
  z-index: 3;
}

.btn:hover span {
  color: var(--yellow-l);
}

@media only screen and (max-width : 992px) {
  .cv-body-avatar {
    width: 300px;
    height: 300px;
    margin-right: 0;
  }
  .cv-body-wrap-inner {
    flex-direction: column;
    align-items: center;
  }

  .cv-body-info-title_position {
    margin: 24px 0;
  }

  .cv-body-info-title_name {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
  }
}

@media only screen and (max-width : 768px) {
  html, body {
  font-size: 16px;
}

  .cv-body {
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 20px;
  }

  .cv-body-avatar {
    width: 250px;
    height: 250px;
  }

  .cv-body-info-title_name {
    font-size: 24px;
  }
}