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

@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/*! normalize.css v8.0.1 | MIT License | ://github.com */
* {
  margin: 0;
  padding: 0; /* Рекомендуется обнулять и внутренние отступы */
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

:root {
  /* TODO сделать адаптивные шрифты, путем изменеия значаения font-seize перемеенных */
  --color-base: #000000;
  --color-level-1: #181823;
  --color-light-gray: #8491A0;
  --color-dark-grey: #8C8C91;
  --color-text: #FFFFFF;
  --color-primary-accent: #5221E6;
  --color-green-accent: #3CC74E;
  --color-pink-accent: #E95D90;
  --color-peach-accent: #FFF3E4;
  --color-violet-accent: #FBE4FF;

  --typography-label-1: 400 117px "Sen", sans-serif;
  --typography-heading-1: 700 78px "Sen", sans-serif;
  --typography-heading-2: 700 55px "Sen", sans-serif;
  --typography-heading-3: 700 24px/1.4 "Sen", sans-serif;
  --typography-heading-4: 700 18px/1.4 "Sen", sans-serif;
  --typography-heading-5: 700 16px/1.4 "Sen", sans-serif;
  --typography-body-1: 400 18px/1.4 "Sen", sans-serif;
  --typography-body-2: 400 16px/1.4 "Sen", sans-serif;
  --typography-overline: 700 16px/1.4 "Sen", sans-serif;
  --typography-button: 700 18px/1.4 "Sen", sans-serif;
  --typography-mobile-heading: 700 32px "Sen", sans-serif;

  --font-family-default: "Sen", sans-serif;

  --border-radius: 30px;
  --border: 1px solid var(--color-light-gray);

  --input-height: 50px;
  --container-width: 1440px;
  --content-padding-x: 72px;
  --content-padding-y: 120px;

  --transition-duration: 0.2s;
}

body {
  background-color: #000;
  color: var(--color-light-gray);
  overflow-x: hidden;
}

.container {
  max-width: calc(var(--container-width) + var(--content-padding-x) * 2);
  margin-inline: auto;
  padding-left: var(--content-padding-x);
  padding-right: var(--content-padding-x);
  padding-block: var(--content-padding-y);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Для интерактивных элементов */
a, button, input, textarea, svg * {
  transition-duration: var(--transition-duration);
}

button {
  cursor: pointer;
  text-align: center;
  border: none;
  font: var(--typography-button);
}

a, button {
  color: var(--color-text);
}

a:hover, button:hover {
  color: var(--color-light-gray);
}

/* Подставновка шрифтов */
h1 {
  font: var(--typography-heading-1);
}

h2 {
  font: var(--typography-heading-2);
}

h3 {
  font: var(--typography-heading-3);
}

h4 {
  font: var(--typography-heading-4);
}

h5 {
  font: var(--typography-heading-5);
}

h6 {
  font: var(--typography-heading-6);
}

/* Шапка */
.header.container {
  padding-left: 0px;
  padding-right: 0px;
  padding-block: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  height: 88px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.header-burger-menu {
  display: none;
  height: 24px;
  width: 24px;
  justify-content: center;
  flex-direction: column;
  align-items: end;
  gap: 6px;
  background: none;
}

.burger-menu-elem1 {
  width: 18px;
  height: 3px;
  background-color: var(--color-text);
  transition: background-color 0.3s ease;
}

.burger-menu-elem2 {
  width: 13px;
  height: 3px;
  background-color: var(--color-text);
  transition: background-color 0.3s ease;
}

.header-burger-menu:hover span {
  background-color: var(--color-light-gray)
}

.header-menu {
  display: flex;
}

.header-menu-list {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.header-menu-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 88px;
  padding-left: 24px;
  padding-right: 24px;
  font: var(--typography-body-2);
}

/* Декоратвный задний прямоугольник */
.background-rectangle {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 60vw;
  height: 900px;
  background-color: var(--color-level-1);
  z-index: -1;
}

/* Секция Hero */
.hero-section.container {
  padding-left: 11px;
  padding-right: 27px;
  padding-top: 78px;
  padding-bottom: 84px;
}

.hero-container {
  display: flex;
  position: relative;
  align-items: center;
}

.hero-text {
  display: inline-flex;
  flex-direction: column;
  gap: 50px;
  margin-left: -80px;
}

.hero-title {
  margin: 0;
  color: var(--color-text);
}

.hero-description {
  margin: 0;
  font: var(--typography-body-1);
  color: var(--color-text);
}

/* Секция Work experience */
.experience-label {
  font: var(--typography-overline);
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 8px;
}

.experience-title {
  font: var(--typography-heading-2);
  color: var(--color-text);
  width: 55vw;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  justify-content: center;
  align-items: center;
  gap: 5.5vw;
}

.experience-item {
  grid-row: 1;
  grid-column: auto;
}

.experience-item-company-name {
  color: var(--color-text);
  margin-bottom: 22px;
}

.experience-item-number {
  font: var(--typography-label-1)
}

.experience-item-desciption {
  font: var(--typography-body-2)
}

/* Сеция Philosphy */
.philosophy-section.container {
  background-color: var(--color-peach-accent);
  color: var(--color-level-1);
  padding-left: 0px;
  padding-right: 0px;
  padding-block: 0px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 600px;
  width: 100%;
}

.philosophy-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 12%;
}

.philosophy-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-family-default);
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-level-1);
  margin-bottom: 2rem;
}

.philosophy-description {
  font-size: 1.1rem;
  font-family: var(--font-family-default);
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 2px 7px 4px rgba(0,0,0,0.24);
  color: var(--color-dark-grey);
  margin-bottom: 10rem;
}

.philosophy-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-family-default);
  line-height: 1.7;
  font-weight: 400;
  color: var(--color-level-1);
}

.philosophy-link span {
  border-bottom: 1px solid var(--color-dark-grey);
}

.philosophy-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.philosophy-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Секция Skillset */
.skillset-section.container {
  display: flex;
  column-gap: 72px;
  row-gap: 48px;
}

.skillset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 48px;
}

.skillset-title {
  color: var(--color-text);
  margin-bottom: 24px;
}

.card-title {
  color: var(--color-text);
  margin-bottom: 12px;
}

.skillse-desc {
  font: var(--typography-body-1);
  line-height: 1.4;
}

.card-desc {
  font: var(--typography-body-2);
  line-height: 1.4;
}

.card-icon {
  margin-bottom: 24px;
}

/* Секция Feedback */
.feedback-section.container { 
  color: var(--color-text);
}

.feedback-content {
  padding-left: 7vw;
  padding-right: 7vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  row-gap: 48px;
  column-gap: 24px;
}

.feedback-info {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.feedback-title {
  font: var(--typography-heading-2);
}

.feedback-description {
  font: var(--typography-body-1);
  color: var(--color-light-gray);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.form-group label {
  font: var(--typography-body-1)
}

.form-group input, 
.form-group textarea {
  background-color: var(--color-level-1);
  color: var(--color-text);
  font: var(--typography-body-1);
  border: none;
  margin-top: 12px;
  padding: 12px;
  resize: none;
}

.feedback-form .submit-btn {
  width: 100%;
  min-height: 75px;
}

/* Footer */
footer {
  background-color: var(--color-level-1);
}

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

.socials-flex {
  margin-top: 32px;
  display: flex;
  column-gap: 16px;
}

.social-link {
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 154px;
}

.footer-menu a {
  text-decoration: none;
  color: var(--color-text);
  font: var(--typography-body-1);
}

.footer-bottom {
  margin-top: clamp(48px, 6vw, 200px);
}

.copyright {
  font: var(--typography-body-1)
}

/* Стили для выделения текста */
.primary-accent {
  background-color: var(--color-primary-accent);
}

.text-dark-grey {
  color: var(--color-dark-grey);
}

.green-accent {
  color: var(--color-green-accent);
}

.blue-accent {
  color: var(--color-primary-accent);
}

.pink-accent {
  color: var(--color-pink-accent);
}


@media(min-width: 1200px) {
  
}

@media(max-width: 1199px) {
  :root {
    --content-padding-x: 40px;
    --content-padding-y: 80px;
  }

  .background-rectangle {
    display: none;
  }
  
  /* Hero */
  .hero-text {
    margin-left: -60px;
  }
  
  .hero-title {
    font: var(--typography-heading-2);
  }

  /* Experience */
  .experience-title {
    width: 100%;
  }

  /* Philosophy */
  .philosophy-content {
    padding: 12% 6%;
  }

  .philosophy-description {
    margin-bottom: 4rem;
  }

  /* Skillset */
  .skillset-section.container {
    flex-flow: wrap;
  }

  /* Feedback */
  .feedback-content {
    padding-left: 0vw;
    padding-right: 0vw;
  }
}

@media(max-width: 600px) {
  /* Footer */
  .footer-flex {
    flex-direction: column;
    justify-content: left;
    row-gap: 48px;
  }

  .footer-socials > .logo {
    justify-content: left;
  }

  .footer-nav {
    flex-direction: column;
  }

  .footer-menu a {
    font: var(--typography-body-2);
  }

  .copyright {
    font: var(--typography-body-2)
  }
}

@media(max-width: 700px) {
  :root {
    --content-padding-x: 20px;
    --content-padding-y: 48px;
  }

  /* Header */
  .header {
    height: 72px;
  }

  .header-menu {
    display: none;
  }

  .header-burger-menu {
    display: flex;
  }

  /* Hero */
  .hero-section.container {
    padding-top: 0px;
    padding-bottom: 48px;
  }

  .hero-container {
    display: block;
  }

  .hero-text {
    display: block;
    margin-left: unset;
  }

  .hero-title {
    margin-top: 48px;
  }
  
  .hero-description {
    margin-top: 16px;
  }

  .hero-title {
    font: var(--typography-mobile-heading);
  }

  /* Experience */
  .experience-title {
    font: var(--typography-mobile-heading);
  }

  .experience-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(auto, 1fr));
  }

  .experience-item {
    grid-row: auto;
    grid-column: 1;
  }

  .experience-item-company-name {
    margin-bottom: 16px;
  }

  /* Skillset */
  .skillset-section.container {
    padding-left: 20px;
    padding-right: 20px;
    padding-block: 64px;
  }

  .skillset-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .skillset-title {
    font: var(--typography-mobile-heading);
  }


  /* Philospohy */
 .philosophy-section.container {
    grid-template-columns: 1fr;
  }

  .philosophy-content {
    order: 1;
  }

  .philosophy-image-container {
    order: 2;
    height: 400px;
  }

  /* Feedback */
  .feedback-info, 
  .feedback-form {
    max-width: 100%; /* На мобилках блоки занимают всю ширину экрана */
  }

  .feedback-title {
    font: var(--typography-mobile-heading);
  }

}

