/* общие параметры для всех   */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: rgba(206, 149, 109, 0.738);
  font-size: 24px;
  line-height: 28px;
}
.bg-img {
  position: fixed;
  top: 0;
  z-index: -1;
  height: 100vh;
  width: 100%;
  background: url(photo/background.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.container {
  padding: 20px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
.content__title,
.title {
  font-style: italic;
}
.results {
  border: 1px solid black;
  background-color: rgba(79, 232, 79, 0.748);
  padding: 5px;
}
/* главная страница */
.content__box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.content__nav {
  flex: 1 1 calc(25% - 30px);
  margin: 0;
  padding: 0;
  min-width: 300px;
  min-height: 210px;
  border: 8px solid rgba(0, 0, 0, 0.297);
  border-radius: 15px;
  background-size: 100% 100%;
  background-image: url(photo/background-link..jpg);
  background-repeat: no-repeat;
  transition: 0.5s;
}
.content__nav:hover {
  background: rgba(206, 149, 109, 0.738);
  border: 8px solid black;
}
.content__nav-link {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 30px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
}
/* Страница page 1 */
.test-page-1 {
  font-size: 18px;
  border: 1px solid black;
  width: 300px;
  height: 100px;
  margin: 20px;
  padding: 10px;
}
/* Страницы reset-normalize */
.title-reset-normalize {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 38px;
  font-weight: 400;
}
.list-reset-normalize {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  border: 1px solid black;
}
/* Страница page 3 */
.box-page3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: rgba(225, 207, 89, 0.563);
}
.test-page-3 {
  border: 1px solid #000;
  margin: 10px 5px;
  padding: 10px 5px;
}
.div-1,
.div-2 {
  width: 450px;
  height: 400px;
}
.div-2 {
  box-sizing: content-box;
}
.div-1-h2,
.div-1-p {
  display: inline;
  width: 200px;
  height: 60px;
  font-size: 18px;
  font-weight: 200;
}
.div-1-span,
.div-1-a {
  display: block;
  width: 300px;
  height: 80px;
}
.div-2-h2,
.div-2-p {
  display: none;
}
.div-2-span,
.div-2-a {
  display: inline-block;
  width: 200px;
  height: 100px;
}
/* Страница page 4 */
.test-page-4 {
  border: 1px solid #000;
  padding: 10px;
  margin: 10px;
}
.test-page-4-img-1 {
  float: left;
  width: 200px;
  margin-right: 15px;
}
.test-page-4-img-2 {
  float: right;
  width: 200px;
  margin-left: 15px;
}
.test-page-4-img-3 {
  float: right;
  width: 200px;
  margin-left: 15px;
}
.clear-right {
  clear: right;
}
/* Страница page 5 */
.box-page5 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.test-page-5 {
  width: 150px;
  height: 150px;
  margin: 15px;
  border: 1px solid #000;
  background-color: rgba(150, 59, 207, 0.608);
}
.block-2 {
  overflow: auto;
}
.block-3 {
  overflow: hidden;
}
.block-4 {
  overflow: scroll;
}
.block-5 {
  min-height: 150px;
  height: auto;
}
/* Страница page 6 */
.box-page6 {
  border: 1px solid #000;
  padding: 10px;
  margin: 10px;
}
.box {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
}

.static {
  background: rgb(221, 68, 68);
  /* position: static; */
}

.relative {
  background: rgb(115, 237, 237);
  position: relative;
  top: 50px;
  left: 300px;
}

.wrapper-for-absolute {
  position: relative;
  top: 40px;
  bottom: 40px;
  height: 200px;
  width: 400px;
  background: #b3e47bca;
}

.absolute {
  background: rgba(20, 90, 220, 0.685);
  position: absolute;
  top: 30px;
  left: 20px;
  color: white;
}

.fixed {
  background: rgb(208, 255, 0);
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 999;
  width: 100px;
}

.wrapper-for-sticky {
  height: 300px;
  width: 600px;
  background: #b3e47bca;
  margin-top: 100px;
  padding: 10px;
  overflow: scroll;
}

.sticky {
  position: sticky;
  top: 0;
}
.sticky-1 {
  background: rgb(8, 8, 203);
}
.sticky-2 {
  background: rgb(8, 203, 27);
}
.sticky-3 {
  background: rgb(200, 8, 203);
}
.sticky-4 {
  background: rgb(203, 183, 8);
}
