/* основний текст #757575 */
/* другоряний колір #212121 */
/* білий #FFFFFF */
/* наведення #2196F3 */
/* адреса  rgba(255, 255, 255, 0.6)*/
/* фон  #E5E5E5*/
/* фон 2 #f5f4fa */
/* фон подвал #2f303a */

:root {
  --primary-text-color: #757575;
  --title-text-color: #212121;
  --primary-white-color: #ffffff;
  --accent-color: #2196f3;
  --adres-text-color: rgba(255, 255, 255, 0.6);
  --background: #e5e5e5;
  --second-background: #f5f4fa;
  --footer-background: #2f303a;
}

/* background-color */

body {
  color: var(--primary-text-color);
  background-color: var(--background);
  font-family: 'Roboto', sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
}
/*  */
a {
  text-decoration: none;
}
/*  */
.list {
  list-style: none;
}
/*  */
.current {
  color: var(--accent-color);
}
/*  */
header {
  background-color: var(--primary-white-color);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.adres-nav a {
  color: var(--primary-text-color);
}
.adres-nav img:hover,
.adres-nav img:focus {
  background-color: var(--accent-color);
}
/*  */
.title-nav {
  font-family: Raleway;
  font-size: 26px;
  line-height: 1.19;
}
nav a {
  color: var(--title-text-color);
}
nav span {
  color: var(--accent-color);
}
/*  */
nav .list :hover,
nav .list :focus {
  color: var(--accent-color);
}
/*  */
.hero {
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: url(../images/header.jpg);
  /* background-color: rgba(47, 48, 58, 0.8); */
}
h1 {
  color: var(--primary-white-color);
}
/*  */
main .button {
  font-weight: bold;
font-size: 16px;
line-height: 1.87;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.06em;
}

.button {
  color: var(--primary-white-color);
  background-color: var(--accent-color);
  font-weight: 900;
  font-size: 16px;
  line-height: 1.87;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
}
/*  */
.function a {
  background-color: var(--second-background);
}
.function a:hover,
.function a:focus {
  background-color: var(--accent-color);
  border-radius: 4px;
}
.function h3 {
  color: var(--title-text-color);
  font-weight: bold;
  text-transform: uppercase;
}
.function p {
  color: var(--primary-text-color);
  line-height: 1.71;
}
/*  */
.propose h2 {
  color: var(--title-text-color);
  font-weight: bold;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}
.propose h3 {
  color: var(--primary-white-color);
  background-color: rgba(47, 48, 58, 0.8);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}
/*  */
.team {
  background-color: var(--second-background);
}
.team h2 {
  color: var(--title-text-color);
  font-weight: bold;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}
.team h3 {
  color: var(--title-text-color);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
  text-align: center;
}
.team p {
  color: var(--primary-text-color);
  font-size: 16px;
line-height: 1.19;
text-align: center;
}
.team a:hover,
.team a:focus {
  background-color: var(--accent-color);
}
/*  */
.company {
  color: var(--title-text-color);
  font-weight: bold;
  font-size: 36px;
  line-height: 1.17;
  text-align: center;
}
.company a:hover,
.company a:focus {
  background-color: var(--accent-color);
}
/*  */
.title-footer{
  font-family: Raleway;
  font-weight: bold;
  font-size: 22px;
  line-height: 1.18;
}
footer span {
  color: var(--accent-color);
}
footer a {
  color: var(--primary-white-color);
}
footer {
  color: var(--primary-white-color);
  background-color: var(--footer-background);
}
address {
    font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
}
.join a:hover,
.join a:focus {
  background-color: var(--accent-color);
}
address a {
  color: var(--adres-text-color);
 }
footer b {
  font-weight: bold;
  text-transform: uppercase;
}
footer p {
  color: var(--adres-text-color);
  font-size: 12px;
line-height: 2;
text-align: center;
}

/* css portfolio */
.menu {
  color: var(--title-text-color);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.62;
  text-align: center;
}
.menu button {
  background-color: var(--second-background);
  border-radius: 4px;
}
.menu button:hover,
.menu button:focus {
  color: var(--primary-white-color);
  background-color: var(--accent-color);
}
/*  */
.project a:hover,
.project a:focus {
  background-color: var(--accent-color);
}
.project h3 {
  color: var(--title-text-color);
  font-weight: bold;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
}
.project p {
  color: var(--primary-text-color);
  font-size: 16px;
  line-height: 1.87;
 }
.project span {
  font-size: 18px;
line-height: 1.55;
}
