body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}
span {
  padding: 0;
  margin: 0;
  line-height: 1;
}

body {
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-content: center;
}

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

/* выше просто сброс стилей */

.main_section {
  display: flex;
  position: relative;
  margin: 25px 25px;
  z-index: 600;
  flex-direction: column;
}

.top_text {
  font-size: 86px;
  font-weight: 600;

  padding: 0;
  color: #193b72;
}

.bottom_text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom_text--svg,
.bottom_text--center,
.bottom_text--year {
  font-size: 20px;
}

.bottom_text--svg {
  color: #5681f1;
  font-weight: 200;
}

.bottom_text--center {
  color: #193b72;
}

.bottom_text--year {
  background-color: #5681f1;
  color: #fff;
  padding: 6px 8px 6px 8px;
  border-radius: 15px;
}

.center_section {
  width: 100%;
  position: relative;
  z-index: 400;
  display: flex;
  margin-top: 5%;

  justify-content: space-around;
}

.house {
  width: 80%;
}

.loading {
  display: flex;
  width: 65%;
  flex-direction: column;
  padding-top: 20px;
  gap: 8px;
}

.loading--text {
  font-size: 20px;
  font-weight: 500;
  color: #1a2847;
  text-transform: uppercase;
}

.loading--bottom_text {
  font-weight: 600;
  color: #868990;
}

.loading--div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 40%;
}

.loading--bar {
  height: 20px;
  width: 94%;
  border: 4px solid #5681f1;
  border-radius: 15px;
  background-color: #cfd4f3;
  padding: 7px 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.loading--square {
  width: 10px;
  height: 100%;
  background-color: #5681f1;
  margin-right: 2px;
  opacity: 0;
  transition: opacity 0s;
}

.right_image {
  object-fit: cover;
  position: absolute;
  width: 100%;
  right: 0;
  top: 0;
  height: 100vh;
}

.background-stock {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  width: 49.6%;
  height: 100%;
  background-image: linear-gradient(45deg, #ccc 25%, transparent 25%),
    linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  background-color: white;
}

@media screen and (max-width: 768px) {
  .top_text {
    font-size: 32px;
  }

  .bottom_text--svg,
  .bottom_text--center,
  .bottom_text--year {
    font-size: 17px;
  }
  .bottom_text--svg {
    display: none;
  }

  .loading {
    padding-left: 0;
  }

  .loading--bottom_text {
    font-size: 15px;
  }
  .loading--text {
    font-size: 10px;
  }

  .right_image {
    width: 100%;
    height: 100vh;
  }

  .loading--bar {
    border-width: 2px;
    width: auto;
    height: 10px;
  }
}

@media screen and (max-width: 480px) {
  .top_text {
    font-size: 24px;
  }

  .bottom_text--svg,
  .bottom_text--center,
  .bottom_text--year {
    font-size: 12px;
  }
  .bottom_text--svg {
    display: none;
  }

  .center_section {
    height: 50%;
    align-items: center;
  }

  .loading {
    padding-left: 0;
    padding-top: 5px;
  }
  .loading--bottom_text {
    font-size: 10px;
  }
  .loading--text {
    font-size: 10px;
  }

  .right_image {
    width: 100%;
  }

  .loading--bar {
    border-width: 2px;
    width: auto;
    height: 10px;
  }
}
