*,
:after,
:before {
  box-sizing: inherit;
}


html {
  box-sizing: border-box;
}

body {
  margin: 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.1em;
  background: #2f3640;
  color: #f5f6fa;
}

.logo {
  width: 100%;
  height: auto;
  max-width: 420px;
  padding: 0 16px;
  padding-top: 1rem;
}

.links__item {
  display: block;
  max-width: 550px;
  margin: 0 auto 15px;
  margin-bottom: 5px;
  padding: 15px 20px;
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: #f5f6fa;
}

.links__item .links__item {
  border-radius: 32px;
}

.links__item .links__item:hover {
  background-color: #fff;
  color: #0a0905
}

.links__item .links__item--classic {
  background-color: #00a8ff;
}

.links__item .links__item small {
  display: block;
  letter-spacing: 0;
}

.partners {
  display: flex;
  max-width: 300px;
  margin: 0 auto;
}

.partners .partners__item {
  flex: 1;
  transition: filter 0.4s, transform 0.4s;
  filter: invert(0.6);
}

.partners .partners__item--inverted {
  filter: invert(0.4);
}

.partners__item:hover {
  transform: scale(1.5);
  filter: invert(0);
}

.partners__item--inverted:hover {
  filter: invert(1);
}

.partners .partners__item img {
  width: 64px;
  height: 64px;
}

.socials {
  display: flex;
  max-width: 200px;
  margin: 0 auto;
}

.socials .socials__item {
  flex: 1;
  transition: filter 0.4s, transform 0.4s;
  filter: invert(0.4);
}

.socials__item:hover {
  transform: scale(1.5);
  filter: invert(1);
}

.socials .socials__item img {
  width: 48px;
  height: 48px;
}

.language {
  padding-top: 8px;
}

.language img {
  width: 100%;
  height: auto;
  width: 48px;
}
