@import url(./vendor/normalize.css);

:root {
  --white: #fff;
  --light: #f9f9f9;
  --fog: #e0e0e0;
  --asphalt: #959595;
  --carbon: #646464;
  --black: #000;
  --nova: #1900ab;
}

.page {
  position: relative;
  display: flex;
  flex-flow: column;
  min-height: 1320px;
  background-color: var(--light);
}

.page_cv {
  min-height: 1080px;
}

.page__header {
  margin: 0 auto;
}

.header {
  box-sizing: border-box;
  width: 1152px;
  padding: 168px 130px 0;
}

.header__two-columns {
  display: flex;
  justify-content: space-between;
}

.header__column-info {
  margin: 0 0 72px 0;
}

.header__column-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.header__title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  margin: 0;
}

.header__title-link {
  cursor: pointer;
  color: var(--carbon);
  text-decoration: none;
}

.header__title-link:hover {
  color: var(--black);
}

.header__contacts {
  list-style-type: none;
  padding: 0;
  margin: 40px 0;
}

.header__contacts-item {
  margin: 0 0 24px 0;
}

.header__contacts-item:last-of-type {
  margin: 0;
}

.header__list {
  list-style-type: none;
  padding: 0;
  margin: 40px 0;
}

.header__list-item {
  margin: 0 0 24px 0;
}

.header__list-skill {
  margin: 0 0 16px 0;
}

.header__list-item_bull::before {
  content: "\00A0 • \00A0";
}

.header__list-skill:last-of-type {
  margin: 0;
}

.header__image {
  width: 372px;
  height: auto;
}

.content {
  box-sizing: border-box;
  flex-grow: 1;
  width: 1152px;
  padding: 0 130px;
}

.content_slides {
  width: 100%;
  padding: 0;
}

.page__content {
  margin: 0 auto;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--asphalt);
  margin: 0;
}

.section-list {
  margin: 0;
  padding: 24px 0 56px 0;
  list-style-type: none;
}

.section-list__item {
  margin: 0 0 16px 0;
}

.section-list__item:last-of-type {
  margin: 0;
}

.benefits__list {
  list-style-type: none;
  margin: 64px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefits__list_border {
  border-bottom: 1px dashed var(--fog);
  padding: 0 0 24px 0;
  margin: 64px 0 8px 0;
}

.benefits__list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 0 48px 0;
  width: 242px;
}

.benefits__number {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0em;
  text-align: left;
  margin: 0 12px 0 0;
}

.benefits__text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: left;
  margin: 0;
}

.benefits__icon {
  margin: 0 12px 0 0;
}

.no-wrap {
  white-space: nowrap;
}

.text-common {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.text-design {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.link {
  color: var(--black);
  text-decoration: none;
}

.link_underline {
  text-decoration: underline;
}

.link:hover {
  color: var(--nova);
}

.company-icon {
  vertical-align: middle;
}

.button {
  width: 146px;
  height: 48px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
}

.button__link {
  text-decoration: none;
  color: var(--black);
}

.button_place_header {
  display: flex;
}

.button_place_cv {
  display: flex;
  width: 296px;
  margin: 24px 0 0 0;
}

.button_place_footer {
  display: none
}

.button:active {
  background-color: var(--light);
}

.button:hover {
  border-color: var(--carbon);
}

.button:focus {
  border-color: var(--carbon);
}

.button_disabled {
  border-color: var(--asphalt);
  background-color: var(--fog);
  color: var(--carbon);
}

.footer {
  width: 892px;
  flex-shrink: 0;
  border-top: 1px solid var(--fog);
}

.footer_no-border {
  border-top: none;
}

.page__footer {
  margin: 0 auto;
}

.footer__copyright {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 48px 0;
  color: var(--carbon);
}

.content__slide {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.content__slide-image {
  opacity: 0;
  width: 100%;
  min-height: 853px;
  transition: opacity 0.5s ease;
  vertical-align: middle; 
  object-fit: cover;
  aspect-ratio: 16 / 9; 

}

.content__slide-video {
  width: 100%;
  transition: opacity 0.5s ease;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 16 / 9; 
}

.content__slide_loaded {
  opacity: 1;
}

@media (min-width: 1152px) and (max-width: 1407px) {
  .header,
  .content {
    width: 1008px;
  }

  .content__slide-image, 
  .content__slide-video {
    min-height: 768px;
  }

  .content_slides {
    width: 100%;
  }

  .footer {
    width: 780px;
  }
  }

@media (min-width: 960px) and (max-width: 1151px) {
  .header {
    width: 864px;
    padding: 168px 0 0;
  }

  .content {
    width: 864px;
    padding: 0;
  }

  .content_slides {
    width: 100%;
  }

  .content__slide-image, 
  .content__slide-video  {
    min-height: 576px;
  }

  .benefits__list_icons {
    margin-top: 48px;
  }

  .benefits__list_border {
    border-bottom: 1px dashed var(--fog);
    padding: 0;
    margin: 64px 0 8px 0;
  }

  .footer {
    width: 864px;
  }
  }

@media (min-width: 768px) and (max-width: 959px) {

  .page_cv {
    min-height: 1296px;
  }

  .header {
    width: 672px;
    padding: 168px 0 0;
  }

  .content {
    width: 672px;
    padding: 0;
  }
  
  .content_slides {
    width: 100%;
  }

  .content__slide-image, 
  .content__slide-video  {
    min-height: 473px;
  }

  .benefits__list {
    justify-content: flex-start;
  }

  .benefits__list-item {
    width: 324px;
  }

  .button_place_cv {
    width: 100%;
  }

  .footer {
    width: 672px;
  }
  }

@media screen and (max-width: 767px) {

  .page {
    min-height: 1630px;
  }

  .page_cv {
    min-height: 1394px;
  }

  .header {
    padding: 0;
    width: 100%;
    min-width: 280px;
  }

  .header__title {
    margin: 60px 40px 30px 40px;
    width: 190px;
  }

  .header__contacts {
    margin: 40px;
  }

  .header__list {
    margin: 40px;
  }

  .header__image {
    width: 100vw;
  }

  .content {
    width: 100%;
    min-width: 280px;
    padding: 0;
    margin: 0;
  }

  .content__slide-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    min-height: 240px;
  }
  
  .content__slide-video  {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    min-height: 240px;
  }

  .benefits__list {
    flex-direction: column;
    margin: 27px 40px 61px 40px;
  }

  .benefits__list_border {
    padding: 0 0 27px 0;
  }

  .benefits__list-item {
    margin: 0 0 34px 0;
  }

  .benefits__text {
    font-size: 16px;
  }

  .button {
    margin: 0 auto;
  }

  .button_place_header {
    display: none;
  }

  .button_place_footer {
    display: flex;
    width: 248px;
  }

  .button_place_cv {
    width: calc(100% - 80px);
    margin: 0 40px;
  }

  .header__two-columns {
    flex-flow: column-reverse;
  }

  .header__column-info {
    margin-bottom: 52px;
  }

  .section-title {
    margin: 0 40px;
  }

  .section-list {
    margin: 24px 40px 50px 40px;
    padding: 0;
  }

  .section-list__item {
    margin: 0 0 32px 0;
  }

  .footer {
    border: none;
    position: relative;
    width: 100%;
    min-width: 280px;
  }

  .footer_cv {
    border-top: 1px solid var(--fog);
    margin: 0 40px;
    width: calc(100% - 80px);
  }

  .footer__copyright {
    text-align: center;
  }
  }
