html {
  box-sizing: border-box;
}

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

a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

aside, nav, footer, header, section, main {
  display: block;
}

ul, ul li {
  list-style: none;
  padding: 0;
}

body,
h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}

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

address {
  font-style: normal;
}

input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

html,
body {
  height: 100%;
  box-sizing: border-box;
}

body {
  font-family: "Arimo", sans-serif;
  font-size: 0.875em;
  font-weight: 400;
  color: #484848;
  line-height: 1.6em;
  background: #fff;
}
body::-webkit-scrollbar {
  width: 0.694vw;
  -webkit-appearance: none;
}
body::-webkit-scrollbar-track {
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  border-radius: 0.347vw;
  background: #484848;
}

.container {
  max-width: 1230px;
  padding: 0 30px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo__text-block {
  display: flex;
  flex-direction: column;
}
.logo__text-title {
  font-weight: 600;
}
.logo__text {
  text-transform: uppercase;
  font-size: 0.75rem;
  position: relative;
}

.btn {
  background-color: #484848;
  color: #fff;
  font-family: "Arimo", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 23px;
  overflow: hidden;
  padding: 10px 30px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
}
.btn::after {
  content: "";
  border-left: 36px solid transparent;
  border-top: 36px solid rgba(255, 255, 255, 0.3);
  width: 0;
  height: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.3s ease 0s;
}
.btn::before {
  content: "";
  height: 0;
  width: 0;
  border-bottom: 36px solid rgba(255, 255, 255, 0.3);
  border-right: 36px solid transparent;
  left: -28px;
  bottom: -28px;
  position: absolute;
  transition: all 0.3s ease 0s;
}
.btn:hover::before {
  left: 0px;
  bottom: 0px;
}
.btn:hover::after {
  right: -28px;
  top: -28px;
}

.mainscreen {
  padding: 50px 0;
  background-color: #fafafa;
}
.mainscreen__info {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.mainscreen__info-item, .mainscreen__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mainscreen__item-info {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.mainscreen__item-name {
  font-weight: 600;
  font-size: 20px;
}
.mainscreen__stars {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  width: 80%;
}
.mainscreen__stars img {
  width: 20px;
}
.mainscreen__rating, .mainscreen__item-text {
  font-size: 20px;
  font-weight: 600;
}
.mainscreen__content {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.mainscreen__content--left, .mainscreen__content--right {
  width: 50%;
}
.mainscreen__content--left {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.mainscreen__item {
  width: 270px;
}
.mainscreen__subitem {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mainscreen__subitem-text {
  font-size: 18px;
}
.mainscreen__subitem-link {
  color: #484848;
  font-family: "Arimo", sans-serif;
  font-size: 18px;
  transition: 0.3s linear;
}
.mainscreen__subitem-link:hover {
  color: #ff4530;
}
.mainscreen__card {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}
.mainscreen__card--left {
  padding: 16px 24px;
  background: #ebfff1;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mainscreen__card--right {
  width: 70%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mainscreen__card-title {
  display: flex;
  gap: 12px;
}
.mainscreen__card-title h3 {
  font-size: 25px;
  font-weight: 600;
  color: #25b868;
}
.mainscreen__card-title svg {
  cursor: pointer;
  width: 25px;
  height: 25px;
}
.mainscreen__card-icon:hover .mainscreen__card-info {
  transform: translateY(0%);
  opacity: 1;
  visibility: visible;
}
.mainscreen__number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.mainscreen__number--main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mainscreen__number-value, .mainscreen__number-text {
  font-weight: 600;
}
.mainscreen__number-value {
  position: absolute;
  color: #fff;
  font-size: 25px;
}
.mainscreen__number-text {
  color: #25b868;
  font-size: 20px;
}
.mainscreen .btn-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.mainscreen .btn-block .btn:first-child {
  background: #ff4530;
}
.mainscreen .btn-block .btn:last-child {
  background: #3dace1;
}
.mainscreen__card-info {
  position: absolute;
  top: 50px;
  right: 0;
  width: 50%;
  padding: 24px;
  color: #fff;
  background: rgb(61, 172, 225);
  font-size: 18px;
  line-height: 1.5em;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  transition: 0.3s linear;
}

@media (max-width: 1200px) {
  .mainscreen__info {
    flex-wrap: wrap;
  }
}
@media (max-width: 890px) {
  .mainscreen__content {
    flex-direction: column;
  }
  .mainscreen__content--left, .mainscreen__content--right {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .mainscreen__info {
    justify-content: center;
  }
  .mainscreen__card {
    flex-direction: column;
  }
  .mainscreen__card--left, .mainscreen__card--right {
    width: 100%;
  }
  .mainscreen__card-info {
    top: 51%;
    width: 95%;
  }
  .mainscreen__item {
    width: 100%;
  }
}
