.content__404-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.content__404-wrapper > h1 {
  font-size: 210px;
  font-weight: 400;
  line-height: 105%;
  margin-top: 0;
  margin-bottom: 0;
  color: #100;
}

.subtitle__404 {
  font-size: 48px;
  font-weight: 400;
  line-height: 105%;
  text-transform: uppercase;
  text-align: center;
  color: #100;
  margin-bottom: 10px;
}
.main__text-404 > p {
  font-size: 20px;
  font-weight: 400;
  line-height: 135%;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}

.bubbles__404 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 60px;
  gap: 10px;
}

.bubbles__404 > a {
  padding: 10px 18px;
  border: 1px solid var(--border-main-color);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-color-black);
  transition: var(--default-transition);
}

.bubbles__404 > a:hover {
  color: #fff;
  background-color: var(--accent-red-main);
}

.btn__404 {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 400;
  line-height: 140%;
  text-transform: lowercase;
  color: #433f3e;
  transition: all 0.3s;
}

.btn__404 > svg {
  margin-right: 5px;
}

.btn__404:hover {
  color: #ae1d23;
}

@media (max-width: 992px) {
  .content__404-wrapper > h1 {
    font-size: 150px;
  }
  .subtitle__404 {
    font-size: 32px;
    margin-bottom: 8px;
  }
  .main__text-404 > p {
    font-size: 18px;
  }
  .bubbles__404 {
    flex-wrap: wrap;
  }
  .bubbles__404 > a {
    padding: 9px 14px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .main__text-404 {
    margin-bottom: 20px;
  }
  .bubbles__404 {
    margin-bottom: 50px;
  }
}

@media (max-width: 340px) {
  .subtitle__404 {
    font-size: 28px;
  }
}
