* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a:focus,
a:active {
  outline: none;
}
nav,
footer,
header,
aside {
  display: block;
}
html,
body {
  height: 100vh;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
input,
button,
textarea {
  font-family: inherit;
}
input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
}
ul li {
  list-style-type: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  background: #fff;
}
.wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.main {
  flex-grow: 1;
  background-color: #2a2a2a;
  color: #fff;
}
.container {
  max-width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}
.header {
  font-weight: 700;
  padding: 15px 0px;
  color: #fff;
  background-color: #1b1b1b;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__box {
  display: flex;
  align-items: center;
  gap: 0px 20px;
}
.logo-img {
  max-width: 200px;
}
.address span {
  color: #e84835;
}
.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px 0px;
}
.phones__item {
  margin-bottom: 5px;
}
.phones__item:last-child {
  margin-bottom: 0;
}
/* .phones__item:hover {
  color: #e84835;
} */
.socials {
  display: flex;
  gap: 0px 10px;
}
.socials__item-img {
  max-width: 35px;
  transition: 0.5s;
}
/* .socials__item-link:hover > .socials__item-img {
  transform: scale(1.2);
} */
.tokimotors {
  background-image: url(../images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.9;
}
.tokimotors__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 800px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}
.title {
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5px;
}
.title span {
  text-transform: lowercase;
}
.tokimotors__title {
  font-size: 80px;
}
.subtitle {
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}
a.button {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  padding: 10px 30px;
  border: 3px solid;
  border-radius: 10px;
  transition: 0.2s;
}
/* a.button:hover {
  color: #e84835;
  background: #e8473515;
} */
.advantages {
  padding: 60px 0;
  background-color: #1b1b1b;
  color: #fff;
}
.advantages__title,
.map__title {
  margin-bottom: 40px;
}
.advantages__list,
.tow-truck-box__list {
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
}
.advantages__list-item,
.tow-truck-box__list-item {
  margin-bottom: 30px;
}
.advantages__list-item:last-child,
.tow-truck-box__list-item:last-child {
  margin-bottom: 0px;
}
.advantages__list-item span {
  font-size: 14px;
  color: #e84835;
}
.tow-truck-box__list-item span {
  color: #e84835;
}
.photo,
.tow-truck-box,
.not-found {
  padding: 60px 0;
}
.photo__list {
  display: grid;
  text-align: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 0px;
}
.photo__list-item {
  transition: 0.2s;
}
/* .photo__list-item:hover {
  opacity: 0.4;
} */
.photo__list-img {
  max-width: 380px;
}
.reviews {
  padding: 60px 0;
  background-color: #1b1b1b;
  color: #fff;
}
.reviews__list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
}
.reviews__list-item {
  max-width: 400px;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  transition: 0.2s;
}
/* .reviews__list-item:hover {
  box-shadow: 0px 0px 20px 0px #fff;
} */
.reviews__list-text {
  margin-bottom: 20px;
  line-height: 23px;
}
.reviews__list-img {
  max-width: 60px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
a.reviews__list-link-name,
.reviews__list-name {
  color: #e84835;
}
.reviews__text {
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
}
.reviews__link {
  margin-left: 10px;
}
.reviews__img {
  max-width: 70px;
  border-radius: 15px;
  transition: 0.5s;
  vertical-align: middle;
}
/* .reviews__link:hover > .reviews__img {
  transform: scale(1.2);
} */
.map {
  padding: 60px 0px 56px;
  background-color: #2a2a2a;
}
.map__container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer {
  font-weight: 700;
  padding: 30px 0px;
  color: #fff;
  background-color: #1b1b1b;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.fromsteve {
  text-align: center;
  line-height: 10px;
  margin-bottom: 30px;
}
a.fromsteve-logo {
  font-family: "Ubuntu", sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
}
a.fromsteve-logo .color {
  color: #9244ff;
}
span.color-blue {
  color: #2d9ee8;
}
span.font-family {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.fromsteve-text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
}
.copyright {
  background-color: #e84835;
  padding: 10px 15px;
  border-radius: 10px;
}
.tow-truck,
.car-service {
  position: fixed;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #e84835;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
}
/* .tow-truck:hover,
.car-service:hover {
  background-color: #a83427;
} */
.ticker {
  background-color: #e84835;
  color: #fff;
  font-size: 24px;
  max-width: 100%;
  overflow: hidden;
}
.ticker__box {
  display: flex;
  width: fit-content;
  animation: ticker 20s linear infinite;
  -webkit-transform-style: preserve-3d;
}
.ticker__item {
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  white-space: nowrap;
  -webkit-backface-visibility: hidden;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.slider-box {
  margin-bottom: 40px;
}
.slider__container {
  max-width: 800px;
  margin: 0 auto;
}
.slider {
  border-radius: 10px;
  overflow: hidden;
}
.slider__img {
  max-width: 100%;
  display: none;
}
.slider__img.active {
  display: block;
  animation: fadeImg 0.8s;
}
.slider-nav ul {
  display: flex;
  justify-content: center;
  gap: 0 160px;
}
.slider-nav button {
  background: transparent;
  font-size: 60px;
  font-weight: 700;
  color: #e84835;
}
.slider-nav button span {
  transform: translateX(0);
  transition: transform 0.3s ease;
}
/* .previous:hover span {
  transform: translateX(-10px) scale(1.2);
}
.next:hover span {
  transform: translateX(10px) scale(1.2);
} */
.slider-nav span {
  display: block;
  width: 100%;
}
@keyframes fadeImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.button-box {
  text-align: center;
  margin-bottom: 40px;
}
.reviews__list-img-avito {
  border-radius: 0px;
}
.container-map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.map__img-box {
  max-width: 560px;
}
.map__img {
  max-width: 100%;
  border-radius: 10px;
}
.not-found,
.not-found__container,
.not-found__inner {
  height: 100%;
}
.not-found__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.not-found__title {
  color: #e84835;
}
.not-found__subtitle {
  margin-bottom: 0;
}
@media (max-width: 1250px) {
  .photo__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 20px 20px;
  }
  .photo__list-img {
    max-width: 300px;
  }
}
@media (max-width: 850px) {
  .reviews__list {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 800px) {
  .tow-truck,
  .car-service {
    font-size: 16px;
  }
}
@media (max-width: 750px) {
  .title {
    font-size: 50px;
  }
  .tokimotors__title {
    font-size: 70px;
  }
}
@media (max-width: 680px) {
  .photo__list-img {
    max-width: 220px;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 14px;
  }
  .header__box {
    flex-direction: column;
    gap: 10px 0px;
  }
  .logo-img {
    max-width: 150px;
  }
  .address {
    text-align: center;
  }
  a.fromsteve-logo {
    font-size: 30px;
  }
  span.font-family {
    font-size: 12px;
  }
  .fromsteve-text {
    margin-top: 5px;
    font-size: 12px;
  }
  .title {
    font-size: 40px;
  }
  .tokimotors__title {
    font-size: 60px;
  }
  .subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  a.button {
    font-size: 22px;
  }
  .advantages,
  .photo,
  .reviews,
  .tow-truck-box,
  .not-found {
    padding: 50px 0;
  }
  .advantages__title,
  .map__title {
    margin-bottom: 30px;
  }
  .advantages__list,
  .tow-truck-box__list {
    font-size: 16px;
  }
  .advantages__list-item,
  .tow-truck-box__list-item {
    margin-bottom: 20px;
  }
  .advantages__list-item span {
    font-size: 12px;
  }
  .reviews__list {
    margin-bottom: 30px;
  }
  .reviews__list-text {
    margin-bottom: 10px;
  }
  .reviews__list-img {
    max-width: 50px;
    margin-right: 5px;
  }
  .reviews__text {
    font-size: 16px;
  }
  .reviews__img {
    max-width: 60px;
  }
  .map {
    padding: 50px 0px 46px;
  }
  .slider-nav button {
    font-size: 50px;
  }
  .slider-nav ul {
    gap: 0 140px;
  }
}
@media (max-width: 550px) {
  .title {
    font-size: 30px;
  }
  .tokimotors__title {
    font-size: 50px;
  }
  a.button {
    font-size: 20px;
  }
  .photo__list-img {
    max-width: 160px;
  }
}
@media (max-width: 390px) {
  .title {
    font-size: 25px;
  }
  .tokimotors__title {
    font-size: 45px;
  }
  .subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  a.button {
    font-size: 18px;
  }
  .advantages__list,
  .tow-truck-box__list {
    font-size: 15px;
  }
  .advantages__list-item,
  .tow-truck-box__list-item {
    margin-bottom: 15px;
  }
  .photo__list-img {
    max-width: 140px;
  }
  .reviews__list-img {
    max-width: 40px;
  }
  .reviews__text {
    font-size: 15px;
  }
  .reviews__img {
    max-width: 50px;
  }
  .tow-truck,
  .car-service {
    font-size: 15px;
  }
  .advantages,
  .photo,
  .reviews,
  .tow-truck-box,
  .not-found {
    padding: 40px 0;
  }
  .map {
    padding: 40px 0px 36px;
  }
  .slider-nav button {
    font-size: 40px;
  }
  .slider-nav ul {
    gap: 0 120px;
  }
}
@media (hover: hover) {
  .phones__item:hover {
    color: #e84835;
  }
  .socials__item-link:hover > .socials__item-img {
    transform: scale(1.2);
  }
  a.button:hover {
    color: #e84835;
    background: #e8473515;
  }
  .photo__list-item:hover {
    opacity: 0.4;
  }
  .reviews__list-item:hover {
    box-shadow: 0px 0px 20px 0px #fff;
  }
  .reviews__link:hover > .reviews__img {
    transform: scale(1.2);
  }
  .tow-truck:hover,
  .car-service:hover {
    background-color: #a83427;
  }
  .previous:hover span {
    transform: translateX(-10px) scale(1.2);
  }
  .next:hover span {
    transform: translateX(10px) scale(1.2);
  }
}
@media (hover: none) {
  .phones__item:active {
    color: #e84835;
  }
  .socials__item-link:active > .socials__item-img {
    transform: scale(1.2);
  }
  a.button:active {
    color: #e84835;
    background: #e8473515;
  }
  .photo__list-item:active {
    opacity: 0.4;
  }
  .reviews__list-item:active {
    box-shadow: 0px 0px 20px 0px #fff;
  }
  .reviews__link:active > .reviews__img {
    transform: scale(1.2);
  }
  .tow-truck:active,
  .car-service:active {
    background-color: #a83427;
  }
  .previous:active span {
    transform: translateX(-10px) scale(1.2);
  }
  .next:active span {
    transform: translateX(10px) scale(1.2);
  }
}
