@import url('https://fonts.googleapis.com/css2?family=Andada+Pro:ital,wght@0,400..840;1,400..840&family=Rubik:ital,wght@0,300..900;1,300..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  --main-bg-color: #fff;
  --sec-bg-color: #fff;
  --text-color: #222;
  --link-color: #000;
  --link-color-light: #fff;
  --select-color: rgba(0, 0, 0, 0.08);
  --border1: 0;
  --button1-color: orangered;
  --button2-color: #e0e0d8;
  --button1-border-width: 1px;
  --font1: 'Rubik', serif;
  --font2: 'Zalando Sans Expanded', sans-serif;
  --font3: sans-serif;
  --font4: serif;
  --transition1: 0.5s;
}

/* USER-SELECT */
img,
.lang,
.button,
.linkedin,
.cookie-banner {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

::selection {
  background: var(--select-color);
}

a,
button,
input,
textarea,
select {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  -moz-focus-inner: 0;
}

a:active,
button:active {
  background-color: transparent;
}

a:focus,
button:focus {
  outline: none;
  box-shadow: none;
}




* {
  box-sizing: border-box;
}

html,
body {
  font-size: 1.15em;
  font-family: var(--font1);
  color: var(--text-color);
  background-color: var(--main-bg-color);
  line-height: 1.5;
  /* padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); */
  margin: 0;
  min-height: 100vh;
  min-width: 100%;
  text-size-adjust: 100%;
  overscroll-behavior-y: contain;
  touch-action: manipulation;
  -ms-content-zooming: none;
  -webkit-text-size-adjust: 100%;
  cursor: default;
  scroll-behavior: smooth;
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}


h1 {
  font-size: 1.7em;
  margin-top: 0.45em;
}

h1,
h2 {
  font-family: var(--font2);
  line-height: 1.1;
}

h2 {
  font-size: 1.1em;
  line-height: 1.5;
  white-space: nowrap;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2em;
}

ul,
li {
  position: relative;
  list-style: none;
  padding-left: 12px;
  text-indent: 0px;
}

li::before {
  content: "";
  background: center url("pnt3.png") no-repeat;
  background-size: 18px;
  width: 18px;
  height: 18px;
  position: absolute;
  left: -14px;
  top: 4px;
  opacity: 0.85;
}

p {
  margin-bottom: 2em;
}

/* FRAME */
.frame {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  background-color: var(--main-bg-color);
  max-width: 1400px;
  margin: 0 auto;
}

.frame .screen {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  background: linear-gradient(55deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 100%);
  z-index: 2;
}

/* HEADER */
header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 50px 0 90px;
}

.person {
  grid-column: 4 / span 6;
  justify-self: center;
  display: flex;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  padding: 5px;
  min-width: 340px;
  background-color: var(--link-color-light);
  z-index: 90;
}

.person .photo {
  border-radius: 20px;
  display: inline-block;
  width: 80px;
  height: 80px;
  background: url('sergey-david-ieffe.jpg') center / cover;
}

.person>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
}

.person .name {
  font-weight: bold;
  font-size: 1.05em;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.person .title {
  font-size: 0.85em;
  opacity: 0.5;
  line-height: 1.2;
  margin-top: 0.05em;
  transform: scale(0.85);
  transform-origin: right center;
  white-space: nowrap;
}

.person .linkedin {
  color: var(--link-color-light);
  font: bold 0.8em sans-serif;
  padding: 2px 5px;
  background-color: #3d67aa;
  border-radius: 5px;
  margin-top: 0.05em;
  transform: scale(0.85);
  transform-origin: left center;
}

/* LANG SWITCH */
.lang {
  position: absolute;
  top: 20px;
  right: 25px;
  z-index: 12;
}

.lang a {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 15px;
  font: normal 1.2em serif;
  letter-spacing: 0.2em;
  opacity: 0.65;
  margin: 3px;
}

.lang a span {
  font-size: 0.6em;
}


/* MAIN */
main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 0 8% 120px;
  box-sizing: border-box;
}

.info {
  grid-column: 1 / span 6;
  box-sizing: border-box;
}

.info a {
  text-decoration: none;
  color: var(--link-color);
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1418 125"><path d="M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z" fill="black"></path></svg>') no-repeat center;
  background-size: 100% 22px;
  padding-bottom: 40px;
}

.info .contact {
  margin-top: 65px;
}

.info .sticker1 {
  position: absolute;
  bottom: 138px;
  left: 30%;
  min-width: 40%;
  max-width: 420px;
  height: 180px;
  transform: scaleX(-1);
  background: url('divnc.png') no-repeat center / contain;
  opacity: 0.25;
}

/* BOOK */
.book {
  text-align: center;
  grid-column: 7 / span 6;
  box-sizing: border-box;
}

.book img {
  width: 100%;
  max-width: 342px;
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(0.965);
}

.book p {
  transform: scale(0.85);
  opacity: 0.65;
}

.book .desc1 {
  display: inline;
}

.book .button {
  display: inline-block;
  padding: 1px 50px 2px;
  box-shadow: 0 0 0 var(--button1-border-width) var(--button1-color);
  font: bold 1.1em var(--font2);
  color: var(--button1-color);
  margin: 0 auto 50px;
  font-size: clamp(1.2em, 1.2em + 10vw / 100, 1.5em);
  border-radius: 12px;
  white-space: nowrap;
}

.book .button:hover {
  box-shadow: 0 0 0 3px var(--button1-color);
  color: var(--link-color-light);
  background-color: var(--button1-color);
}

/* FOOTER */
footer {
  margin: 0 8%;
  text-align: right;
}

footer .cred {
  margin: 0 1em;
  transform: scale(0.55);
  transform-origin: bottom right;
  display: inline-block;
}

footer .cred a {
  color: var(--link-color-light);
  padding: 5px 40px;
  font-weight: normal;
  color: #3d67aa;
  opacity: 0.25;
}

footer .cred a span {
  font-weight: bold;
}

footer .cred a:hover {
  opacity: 1;
}




.sticker2 {
  position: absolute;
  top: 0;
  left: 10%;

  width: 150px;
  height: 150px;
  z-index: 9999;

  opacity: 0;
  transform: translateY(-100%);

  animation: drop-in 2.4s ease-out forwards .1s;
  z-index: 5;
}

@keyframes drop-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sticker2>div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 150px;
  height: 150px;
  opacity: 0.175;
  background: url('paint.png') no-repeat center top / contain;
}


/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 15px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 468px;
  height: 68px;
  z-index: 99;
  height: 68px;
  border-radius: 35px;
  transform: translateX(-50%) translateY(120%);
  color: #f0e9a4;
  background-color: rgba(130, 160, 65, 1);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 2px, transparent 5px);
  background-size: 64px 34px;
  backdrop-filter: blur(10px);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.6s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-banner::after {
  content: '';
  position: absolute;
  width: 95%;
  height: 80px;
  background-image: radial-gradient(circle, rgba(130, 160, 65, 1) 8px, transparent 0px);
  background-position: -32px -16px;
  background-size: 128px 56px;
  z-index: -1;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner p {
  margin: 0 0 0 20px;
  line-height: 1.1;
  font-size: 0.8em;
}

.cookie-banner>button {
  width: 58px !important;
  height: 58px;
  border-radius: 30px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(222, 216, 159, 0) 67%, rgba(205, 197, 111, 1) 100%);
  opacity: 0.9;
  color: var(--link-color-light);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 10px 0 0;
  min-width: 58px;
  text-align: center;
  margin: 5px;
  font: bold 1em var(--font2);
  transform-origin: center;
  z-index: 25;
}

.cookie-banner button:hover {
  opacity: 1;
}



/* LED LAYERS */
.led {
  visibility: hidden;
}


/* SPARKLES FX */
#sparkles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}



/* MEDIA */
@media (max-width: 768px) {
  h1 {
    font-size: 1.4em;
  }

  .lang {
    top: 15px;
    right: 20px;
  }

  header {
    padding: 50px 0 65px;
  }

  .person {
    margin-top: 50px;
  }

  main {
    padding: 0 18px 90px;
    grid-template-columns: 1fr;
  }

  .info,
  .book {
    grid-column: auto;
  }

  .info {
    padding-top: 0;
  }

  ul {
    gap: 0.65em;
  }

  li::before {
    top: 5px;
  }

  .info .contact {
    transform: scale(1.1);
    transform-origin: center top;
    text-align: center;
    margin: 60px auto 0;
  }

  .info .sticker1 {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 380px;
    margin: -10px auto 30px;
  }

  .book img {
    max-width: 280px;
  }

  .book p span {
    display: inline;
  }

  .book .button {
    font-size: 1.25em !important;
  }

  footer {
    display: none;
    visibility: hidden;
  }

  .sticker2 {
    width: 20%;
    height: 113px;
    left: 6.5%;
  }

  .cookie-banner {
    background-size: 64px 26px;
    margin: 0 30px;
    width: calc(100% - 98px);
    max-width: 100%;
    height: 52px;
  }

  .cookie-banner::after {
    height: 60px;
    background-position: -32px -10px;
    background-size: 128px 40px;
  }

  .cookie-banner p {
    font-size: 0.7em;
  }

  .cookie-banner>button {
    width: 48px !important;
    min-width: 48px;
    height: 42px;
    margin: 5px;
    font-size: 0.8em;
  }
}