/* roboto-400normal - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    local('Roboto Regular '),
    local('Roboto-Regular'),
    url('../fonts/roboto/roboto-latin-400.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-latin-400.woff') format('woff'); /* Modern Browsers */
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src:
    local('Roboto Medium '),
    local('Roboto-Medium'),
    url('../fonts/roboto/roboto-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/roboto/roboto-latin-500.woff') format('woff'); /* Modern Browsers */
}

@font-face {
  font-family: 'Archive';
  src: url('../fonts/archive/Archive-Regular.woff2') format('woff2'),
  url('../fonts/archive/Archive-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-secondary: #4657BB;
}

body {
  font-family: "Roboto", sans-serif;
  padding: 0 150px;
}

h1 {
  font-family: "Archive", "Roboto", sans-serif;
  font-size: 36px;
}

h2 {
  font-family: "Roboto", sans-serif;
  line-height: 1.2;
  font-weight: 400;
  font-size: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
}
header .logo img {
  height: 45px;
  width: auto;
}

a {
  color: #E94874;
  text-decoration: none;
}

a:active {
  color: #CD2DA4;
}

a:hover {
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 14px 32px 13px;
  background-image: linear-gradient(158deg, #FE5C52 0%, #E94874 50%, #CD2DA4 100%);
  border-radius: 7px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 15px;
}

.color-secondary {
  color: var(--color-secondary);
}

.head-area {
  display: flex;
  justify-content: space-between;
  margin: 30px -150px;
  padding: 0 150px;
  background: transparent url("../img/person-background.svg") no-repeat;
  background-position-x: 90%;
  background-size: 550px;
}
.head-area .button {
  margin-top: 15px;
}
.head-area .left {
  padding-top: 70px;
  flex: 0 0 480px;
}
.head-area .right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.person img {

  height: 515px;
  width: auto;
}

footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


@media (max-width: 1050px) {
  body {
    padding: 0 24px;
  }
}

@media (max-width: 855px) {
  body {
    padding: 0 48px;
  }
  .head-area {
    margin: 30px 0;
    padding: 0 0;
    text-align: center;
    flex-direction: column;
    background-position: 80% 80%;
  }
  .head-area .left {
    padding-top: 70px;
    flex: 1 1;
  }
  .head-area .right {
    padding-top: 70px;
  }
}

@media (max-width: 650px) {
  body {
    padding: 0 24px;
  }
  .head-area {
    margin: 30px -24px;
    padding: 0 8px;
  }
}

@media (max-width: 550px) {
  header .button {
    display: none;
  }
  .head-area .left {
    padding-top: 0px;
  }
}
