* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #ffffff;
  background-color: #1b1b1b;
}

.header {
  height: 40vw;
}

.header__bg {
  height: 100%;
  background-image: url("../images/DSC09225.jpg");
  background-size: cover;
  background-position: center;
}
.main {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.main__card {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.header__avatar {
  transform: translateY(-40%);
  background-color: #d5d5d5;
  background-image: url("../images/Georgii.jpg");
  height: 10rem;
  width: 10rem;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

.subtitle {
  color: #aaaaaa;
}

.title {
  margin-top: -40px;
}

.contact {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  background-color: #fff;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-size: 101%;
  background-position: center;
  background-clip: content-box;
}

.pdf {
  grid-column-start: 1;
  grid-column-end: 4;
  background-color: #f6f6f6;
  border-radius: 8px;
  border-width: 0;
  color: #333333;
  cursor: pointer;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
  padding: 10px 12px;
  text-align: center;
  transition: all 0.2s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.pdf:hover,
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.pdf:active,
.button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.pdf {
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 100px;
}

.efset {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.button__english {
  background-color: rgb(200, 76, 234);
  background-image: linear-gradient(
    to right,
    rgb(200, 76, 234) 0%,
    rgb(255, 215, 0) 100%
  );
  -webkit-background-clip: text; /* Для поддержки веб-кит браузеров (Chrome, Safari) */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Для поддержки веб-кит браузеров (Chrome, Safari) */
  text-fill-color: transparent;
  font-size: 20px;
  text-align: center;
}

.main {
  animation: moveInBottom 1s ease-out;
  animation-fill-mode: backwards;
}

.telegram {
  background-image: url("../images/icons/telegram_logo.svg");
}

.linkedin {
  background-image: url("../images/icons/linkedin_logo.svg");
}

.habr {
  background-image: url("../images/icons/habr_logo.svg");
}

.phone {
  background-image: url("../images/icons/phone_logo.svg");
}

.email {
  background-image: url("../images/icons/email_logo.svg");
}

.whatsapp {
  background-image: url("../images/icons/whatsapp_logo.svg");
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media screen and (min-width: 768px) {
  .header {
    height: 100vh;
  }
  .main {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .main__card {
    padding: 2rem;
    background-color: #1b1b1bc0;
    border-radius: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .header__avatar {
    height: 15rem;
    width: 15rem;
    transform: none;
  }

  .title {
    margin-top: 0;
  }

  .pdf::after,
  .button::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }
}

@media screen and (min-width: 1366px) {
}

/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 500;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-500italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/DM Sans/dm-sans-v11-latin-700italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
