/*font-family: "Raleway", sans-serif;
font-family: "Roboto", sans-serif;*/
:root {
  --brand: #4d5ae5;
  --brand-hover: #404bbf;
  --title: #2e2f42;
  --text: #434455; /* body color */
  --white: #ffffff; /* body background */
  --cloud: #f4f4fd;
  --border: #e7e9fc;
  --hero-bg: #2e2f42;
}

/* Base */
body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  background-color: var(--white);
  font-size: 16px;
  line-height: 1.17;
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--title);
  margin: 0 0 0.5em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--brand);
  outline: none;
}

/* Header / Nav */
.header {
  border: 1px solid var(--border);
  background: var(--white);
  margin: 0 0 24px;
}

/* nav__logo */
.nav__logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: var(--brand);
  line-height: 1.17;
  text-transform: uppercase;
}

.logo-accent {
  color: #2e2f42;
}

/* nav__link */
.nav__link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2e2f42;
}

/* nav__link:hover/focus/Tab */
.nav__link:hover,
.nav__link:focus {
  color: #404bbf;
}

/* Contacts */
.contacts {
  font-style: normal;
}

/* contacts__link */
.contacts__link {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
.contacts__link:hover,
.contacts__link:focus {
  color: #404bbf;
}

/* Hero */
.hero {
  background: var(--hero-bg);
  color: var(--white);
  text-align: center;
  margin: 48px 0;
}

.hero__title {
  color: var(--white);
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  margin: 24px 0 16px;
}

/* Button */
.btn {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
}
.btn--primary {
  background-color: #4d5ae5;
  border: 1px solid #4d5ae5;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #404bbf;
  border-color: #404bbf;
}

/* Section title */
.section-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--title);
  margin: 0 0 24px;
}

/* Benefits */
.benefits {
  background: var(--white);
  margin: 24px 0;
}

.benefits__item {
  border: 1px solid transparent;
  margin: 0 0 16px;
}

.benefits__name {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--title);
  margin: 0 0 8px;
}

.benefits__text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}

/* Team */
.team {
  background-color: #f4f4fd;
  margin: 24px 0;
}

.section-title {
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.team__item {
  border: 1px solid var(--border);
  text-align: center;
  margin: 0 0 16px;
  background-color: #ffffff;
}

.team__name {
  margin: 16px 0 4px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--title);
}

.team__role {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Portfolio */
.portfolio-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  text-transform: capitalize;
}
.portfolio-subtitle {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.portfolio-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* Footer */
.footer {
  background: #2e2f42;
  text-align: left;
  margin: 32px 0 0;
}

.footer__logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  color: #4d5ae5;
  line-height: 1.17;
  text-transform: uppercase;
}

.footer-logo-part {
  color: #f4f4fd;
}

.footer__text {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
}
