/* цвет фота #E5E5E5 */
/* цвет нижней секции #F5F4FA */
/* цвет фрна футтера и героя #2F303A */
/* основного dark цвет текста #212121 */
/* вторичный цвет текста #757575 */
/* цвет акцента #2196F3 */
/* белый цвет текста  #ffffff */
/* цвет текска футтер контент rgba(255, 255, 255, 0.6) */

:root {
  --dark-text-color: #212121;
  --accent-color: #2196f3;
  --primary-text-color: #757575;
  --white-color: #ffffff;
  --footer-connection-text-color: rgba(255, 255, 255, 0.6);
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--primary-text-color);
  letter-spacing: 0.03em;
}
.logo {
  font-family: 'Raleway', sans-serif;
  color: var(--accent-color);
  font-size: 26px;
  line-height: 1.2;
  text-decoration: none;
}
.logo-black {
  color: #000;
}
/* site-naw */
.site-naw .link {
  color: var(--dark-text-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}

ul {
  list-style: none;
}
.links {
  text-decoration: none;
}
.contacts {
  color: var(--primary-text-color);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.contacts:focus,
.contacts:hover {
  color: var(--accent-color);
}

.site-naw .link:hover,
.site-naw .link:focus {
  color: var(--accent-color);
}
.site-naw .link.current {
  color: var(--accent-color);
}

.hero-title {
  background-color: #2F303A;
  color: var(--white-color);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* button portfolio */
.filter-butt {
  color: var(--dark-text-color);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.filter-butt:hover,
.filter-butt:focus {
  color: var(--white-color);
  background-color: var(--accent-color);
}
/* button */
.hero-but {
  font-size: 16px;
  line-height: 1.87;
  letter-spacing: 0.06em;
  border-radius: 5px;

  color: var(--white-color);
  background-color: var(--accent-color);
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.hero-but:hover,
.hero-but:focus {
  background-color: var(--white-color);
  color: var(--accent-color);
}

/* section */
.section-advantage {
  color: var(--dark-text-color);
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-text {
  font-size: 14px;
  line-height: 1.71;
}
.section-title {
  color: var(--dark-text-color);
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}

/* section-4 command */
.command {
  color: var(--dark-text-color);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}
.position {
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}
.footer-addres {
  background-color: #2F303A;
  color: var(--white-color);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  font-weight: normal;
  font-style: normal;
}
.footer-connection {
  background-color: #2F303A;
  color: var(--footer-connection-text-color);
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
  font-weight: normal;
  font-style: normal;
}

/* portfolio */
.works-title {
  color: var(--dark-text-color);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.works-text {
  color: var(--primary-text-color);
  font-size: 16px;
  line-height: 1.87;
  letter-spacing: 0.03em;
  text-decoration: none;
}
