body {
  background-color: #d6d5e2;
  font-family: 'Inter', sans-serif;
}

.header {
  background-color: #e40427;
  color: #fff;
  padding: 38px 0 75px 0;
}

main {
  background-color: #d6d5e2;
}

.container {
  padding: 0 32px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top_contacts {
  font-weight: 500;
  padding: 9px 16px;
  border: 1px solid #efefef80;
  border-radius: 12px;
  transition: all 0.2s ease-in;
  z-index: 10;
}

.header-top_contacts:hover {
  background-color: #fff;
  color: #ff0000;
}

.contacts-link {
  font-size: 16px;
}

.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-gap: 150px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1170px;
}

.header-bottom_main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-bottom_count {
  display: flex;
  flex-direction: column;
}

.header-count_element:first-child {
  margin-bottom: 10px;
}

.header-count_number {
  font-size: 80px;
  font-weight: 600;
  line-height: 100%;
}

.header-count_text {
  font-size: 24px;
  font-weight: 600;
  line-height: 100%;
}

.header-bottom_title {
  font-weight: 600;
  font-size: 72px;
  line-height: 72px;
}

.header-bottom_announce {
  max-width: 600px;
  padding-top: 30px;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
}

.header-bottom_announce {
  max-width: 600px;
  padding-top: 30px;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
}

.header-bottom_description {
  font-weight: 400;
  font-size: 36px;
  line-height: 32px;
  max-width: 608px;
}

.header-bottom_description > .main-logo {
  width: 243px;
}

.small-logo {
  display: none;
}

.events {
  background-color: #edeef2;
  display: flex;
  flex-direction: column;
}

.footer {
  background-color: #e6e7eb;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  grid-gap: 22px;
}

.footer-logo_link {
  display: inline-block;
  transition: fill 0.3s;
}

.footer-logo_link:hover path {
  fill: #ff004f;
}

.confidential-link {
  font-weight: 400;
  font-size: 18px;
  line-height: 40px;
  color: #9a9a9a;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  opacity: 0.5;
}

@media screen and (max-width: 1200px) {
  .header-bottom_title {
    font-size: 62px;
    line-height: 62px;
  }

  .header-count_number {
    font-size: 70px;
  }

  .header-count_text {
    font-size: 18px;
  }

  .header-bottom_main {
    grid-gap: 70px;
  }
}

@media screen and (max-width: 1060px) {
  .header-bottom {
    grid-gap: 100px;
  }

  .header-bottom_title {
    font-size: 52px;
    line-height: 52px;
  }

  .header-count_number {
    font-size: 60px;
  }

  .header-count_text {
    font-size: 16px;
  }
}

@media screen and (max-width: 910px) {
  .header-bottom {
    grid-gap: 40px;
  }

  .header-bottom_title {
    font-size: 40px;
    line-height: 40px;
  }

  .header-count_number {
    font-size: 40px;
  }

  .main-logo {
    max-width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .header-bottom_description {
    display: none;
  }
  .events {
    align-items: center;
  }
}

@media screen and (max-width: 727px) {
  .header-top {
    margin-bottom: 30px;
  }

  .header-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    grid-gap: 15px;
    padding-bottom: 15px;
  }

  .header-bottom_count {
    flex-direction: row;
    grid-gap: 15px;
  }

  .header-bottom_main {
    flex-direction: column-reverse;
    align-items: flex-start;
    grid-gap: 0;
  }

  .header-count_element:first-child {
    margin: 0;
  }

  .main-logo {
    display: none;
  }

  .small-logo {
    display: block;
  }

  .footer-wrapper {
    grid-gap: 30px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    background-color: #e6e7eb;
  }

  .footer-logo {
    flex-direction: column;
    grid-gap: 28px;
  }

  .confidential-link {
    font-size: 12px;
    line-height: 18px;
  }
}

@media screen and (max-width: 585px) {
  .header-bottom_title {
    overflow-wrap: anywhere;
  }
  .header-bottom_announce {
    font-size: 18px;
  }
  .header-bottom_description {
    font-size: 27px;
  }
}

@media screen and (max-width: 445px) {
  .header-top {
    justify-content: flex-end;
    margin-bottom: 90px;
  }

  .logo {
    position: absolute;
    left: 20px;
    top: 90px;
  }
}
