/* цвет основного текста #212121 */

/* вторичный цвет текста #757575 */

/* дополнительный вторичный цвет текста(тел.номер, мыло) rgba(255, 255, 255, 0.6) */

/* белый цвет текста #FFFFFF */

/* цвет акцента #2196F3 */

/* цвет лого #000000 */

/* цвет фона героя #2F303A */

/* вторичный цвет фона rgba(245, 244, 250, 1) */

/* цвет фона кнопок фильтра #F5F4FA */

:root {
  --secondary-text-color: #212121;
  --primary-text-color: #757575;
  --title-text-color: #000000;
  --accient-color: #2196f3;
  --primary-bg-color: #ffffff;
  --filter-bg-color: #f5f4fa;
  --hero-bg-color: #2f303a;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: var(--primary-text-color);
  background-color: var(--primary-bg-color);

  font-family: Roboto, sans-serif;
  letter-spacing: 0.03em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--secondary-text-color);
}

img {
  display: block;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 94px;
  padding-bottom: 94px;
  width: 1200px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list {
  display: flex;
  gap: 30px;
}

/* Flex элементы */
.portfolio-list {
  gap: 30px;
  display: flex;
  flex-wrap: wrap;
}

.category-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 50px;
}

/* Лого */
.logo {
  text-decoration: none;
  color: var(--title-text-color);
  font-family: Raleway, sans-serif;
  padding-top: 24px;
  padding-bottom: 25px;

  font-size: 26px;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: 0.03em;
  text-align: left;
}

/* Хедер */
.header {
  border-bottom: 1px solid #ececec;
}

.address-title {
  font-style: normal;
  color: var(--primary-bg-color);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
}

.address-contact {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 9px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.71;
}

.address-contact:hover,
.address-contact:focus {
  color: var(--accient-color);
}

/* Футер */
.footer {
  background-color: var(--hero-bg-color);
}

.footer-contacts {
  margin-top: 9px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-logo {
  margin-top: 0;
  text-decoration: none;
  color: var(--primary-bg-color);
  font-family: Raleway;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.19;
}

.footer-logo:hover,
.footer-logo:focus {
  color: var(--primary-bg-color);
}

.container-footer {
  margin: 0 auto;
  padding: 60px 15px;
  width: 1200px;
}

.address {
  margin-top: 20px;
}

/* site nav */
.main-nav {
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.site-nav {
  padding: 32px 0;
  margin-left: 94px;
  padding-left: 0;
  display: flex;
  gap: 50px;

  color: var(--secondary-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accient-color);
}

.auth-nav {
  display: flex;
  gap: 50px;
  padding: 32px 0;
  margin-left: auto;
}

.auth-nav a {
  color: var(--primary-text-color);

  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.02em;
}
.auth-nav a:hover,
.auth-nav a:focus {
  color: var(--accient-color);
}
/* Герой */
.hero {
  padding-top: 200px;
  padding-bottom: 200px;
  color: var(--primary-bg-color);
  background-color: var(--hero-bg-color);
  text-align: center;
}

.hero-title {
  margin-bottom: 30px;
  color: var(--primary-bg-color);

  font-size: 44px;
  font-weight: 900;
  line-height: 1.36;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Button */
.button {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 32px;
  min-width: 200px;

  color: var(--title-text-color);
  background-color: var(--primary-bg-color);
  font-family: inherit;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.88;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
}
.accent {
  color: var(--accient-color);
}

.button.primary {
  color: var(--primary-bg-color);
  background-color: var(--accient-color);
}

.button.primary:hover,
.button.primary:focus {
  color: #ffffff;
}

/* section */
.section {
  margin-top: 0;
  margin-bottom: 0;
}

.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.section-team {
  gap: 30px;
  margin-top: 0;
  margin-bottom: 0;
  background-color: rgba(245, 244, 250, 1);
}

.users {
  display: flex;
  gap: 30px;
}

.team-card {
  background-color: #ffffff;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
}

.section-title {
  margin-top: 0;
  margin-bottom: 50px;
  color: var(--secondary-text-color);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.17;
}

.section-title.centered {
  text-align: center;
}

/* Name & Profession */
.name {
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--secondary-text-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.19;
  text-align: center;
}

.profession {
  margin-top: 10px;
  margin-bottom: 30px;
  color: var(--primary-text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.19;
  text-align: center;
}
/* Feature */

.feature-title {
  margin-bottom: 10px;
  color: var(--secondary-text-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.14;
  text-transform: uppercase;
}

.feature-text {
  color: var(--primary-text-color);
  font-size: 14px;
  width: 270px;
  font-weight: 400;
  line-height: 1.71;
}

.site-nav .current {
  color: var(--accient-color);
}

/* button filter */
.filter-button {
  color: var(--secondary-text-color);
  background-color: var(--filter-bg-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.63;
  border-radius: 4px;
  outline: none;
  border: none;
  padding: 6px 22px;
  font-family: roboto;
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus {
  color: var(--primary-bg-color);
  background-color: var(--accient-color);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.project-container {
  padding: 20px 24px;
  display: flex;
  gap: 4px;
  flex-direction: column;
  border: 1px solid #eee;
  border-top: none;
}

.project-name {
  color: var(--secondary-text-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.06em;
}

.description {
  color: var(--primary-text-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.63;
}
