/* default settings */
html {
  box-sizing: border-box;
}

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

:root {
  --main-text-cl: #757575;
  --add-cl: #212121;
  --white-cl: #ffffff;
  --black-cl: #000000;
  --accent-cl: #2196f3;
  --background-dark: #2f303a;
  --alt-background: #f5f4fa;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--main-text-cl);  
  font-size: 14px;
  background-color: var(--white-cl);
  letter-spacing: 0.03em;
}

/* general settings */

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.button-cursor {
  cursor: pointer;
}

.list {
  padding: 0;
  margin: 0;
}

.no-bullet {
  list-style: none;
}
.visually-hidden {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.header {
  
}

.header .header-title {
  font-family: Raleway;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;  
}



.link {
  text-decoration: none;
}


.nav-class {
  color: var(--add-cl);
}

.nav-link,.header-link {

  font-weight: 500;  
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--add-cl);
 
}

.header-link,
.header-contacts {
  text-decoration: none;
  color: var(--main-text-cl);
}

.current {
  color: var(--accent-cl);
}  


/* hovers and accents */
.nav-class,
.nav-link:hover,
.header-link:hover,
.header-link:focus,
.title-accent-one,
.footer-contacts:hover,
.footer-contacts:focus {
  color: var(--accent-cl);
}

.logo {
  font-family: "Raleway";
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
  color: var(--accent-cl);
}

.logo-black {
  color: var(--black-cl);
}

.logo-white {
  color: var(--white-cl);
}




/* footer settings */

.footer {
  background-color: var(--background-dark);
  color: var(--white-cl);
}

.footer-title,
.footer-link {
  font-family: 'Raleway';
  font-weight: 700;
  font-size: 26px;
  line-height: 1.19;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--white-cl);
}

.footer-address {
  font-family: 'roboto';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  font-style: normal;
}

.footer-contacts {
  font-family: 'roboto';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}

/* body settings*/

/* 2-lvl headings */

.section-title {
  font-size: 36px;
  line-height: 1.16;
  text-align: center;
  color: var(--add-cl);
}

/* hero home page */

.hero {
  background-color: var(--background-dark);
  color: var(--white-cl);
}

.hero-heading {
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-button {
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.8;
  letter-spacing: 0.06em;
  background-color: var(--accent-cl);
  color: var(--white-cl);
}

.hero-button:hover,
.hero-button:focus {
  color: blue;
  background-color: white;
}

/* features section home page */


.feature-title {
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--add-cl);
}

.features-text {
  line-height: 1.71;
}

/* our team section home page */

.team {
  background-color: var(--alt-background);
}

.member-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.18;
  text-align: center;  
  color: var(--add-cl);
}

.member-position {
  font-size: 16px;
  line-height: 1.18;
  text-align: center; 
}

/* portfolio page body*/

.portfolio-button {
  background-color: var(--alt-backgr);
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  text-align: center;  
  color: var(--add-cl);
  font-family: inherit;
  cursor:pointer;
}

.portfolio-button:hover,
.portfolio-button:focus {
  background-color: var(--accent-cl);
  color: var(--white-cl);
}

.active {
  background-color: var(--accent-cl);
  color: var(--white-cl);
}



.card-heading {
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--add-cl);
}

.card-descr {
  font-size: 16px;
  line-height: 1.87;  
  font-weight: 400;
}
