* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}
@media (min-width: 1920px) {
  html {
    font-size: 12px;
  }
}
@media (max-width: 1365px) {
  html {
    font-size: 8px;
  }
}
@media (max-width: 1024px) {
  html {
    font-size: 10px;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

@font-face {
  font-family: "Specialelite";
  src: url("../../assets/fonts/specialelite-cyrillic.ttf");
}
body {
  background: #fff;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
}

.page {
  display: flex;
  align-items: flex-start;
}

.header {
  background: #060606;
  width: 28%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 3rem 6rem;
  gap: 9rem;
}

.header_logo {
  font-family: "Trajan Pro 3", serif;
  text-align: center;
  font-weight: 300;
  font-size: 4rem;
  position: relative;
  width: -moz-max-content;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header_logo::after {
  content: "";
  height: 0.1rem;
  width: 0;
  background: #fff;
  transform: translateY(-0.5rem);
  animation-name: nameLine;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes nameLine {
  100% {
    width: 100%;
  }
}
.header_menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  text-align: center;
  font-size: 2rem;
  text-transform: uppercase;
}
.header_menu ul li a {
  transition-duration: 0.5s;
}
.header_menu ul li a:hover {
  color: brown;
}
.header_menu ul li a.active {
  color: brown;
}

.header_contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  gap: 4rem;
}

.header_email {
  font-size: 1.6rem;
  transition-duration: 0.5s;
  text-align: center;
}
.header_email:hover {
  color: brown;
}

.header_media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_media a {
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_media a svg {
  width: 100%;
  height: auto;
}
.header_media a svg path {
  fill: #fff;
  transition-duration: 0.5s;
}
.header_media a:hover svg path {
  fill: brown;
}

.main {
  width: 72%;
}

.main_photo {
  height: 100vh;
  position: relative;
}
.main_photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #060606;
  animation-name: photo;
  animation-duration: 5s;
  animation-fill-mode: forwards;
}
.main_photo picture img {
  height: 100%;
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top left;
     object-position: top left;
}

@keyframes photo {
  100% {
    opacity: 0;
  }
}
.detail {
  background: #14292a;
  min-height: 100vh;
  padding: 3rem 6rem 9rem;
}

.detail_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  border-bottom: 0.1rem solid #fff;
  padding-bottom: 6rem;
}
.detail_title h1 {
  font-family: "Specialelite", serif;
  font-size: 12rem;
  font-weight: 400;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  line-height: 1;
}
.detail_title h1 span {
  display: none;
}
.detail_title h1 span.active {
  display: block;
}

.detail_quote {
  display: flex;
  flex-direction: column;
  font-size: 1.8rem;
  gap: 1rem;
  opacity: 0;
  transition-duration: 3s;
}
.detail_quote.active {
  opacity: 1;
}
.detail_quote p:nth-child(1) {
  text-align: center;
}
.detail_quote p:nth-child(2) {
  text-align: right;
  font-size: 1.6rem;
  font-style: italic;
}

.stihi {
  display: flex;
  flex-direction: column;
  margin: 6rem auto 0;
  width: 85%;
  gap: 4rem;
}

.stih.active .stih_text {
  margin-top: 2rem;
}
.stih.active .stih_name {
  color: brown;
}

.stih_name {
  font-size: 2rem;
  cursor: pointer;
  transition-duration: 0.5s;
}
.stih_name:hover {
  color: brown;
}

.stih_text {
  max-height: 0;
  overflow: hidden;
  transition-duration: 0.5s;
  padding-left: 5rem;
}
.stih_text p {
  white-space: pre-line;
  line-height: 1.8;
  font-size: 1.4rem;
}

.proza {
  display: flex;
  flex-direction: column;
  margin: 6rem auto 0;
  width: 80%;
}

.proza_item {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 6rem 0;
  border-top: 0.1rem solid #fff;
}
.proza_item:first-child {
  padding-top: 0;
  border-top: 0;
}
.proza_item:last-child {
  padding-bottom: 0;
}

.proza_item_name {
  font-size: 4rem;
  transition-duration: 0.5s;
}

.proza_item_info {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.proza_item_img {
  aspect-ratio: 303/421;
  width: 18rem;
  min-width: 18rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.proza_item_text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  line-height: 1.8;
  font-size: 1.4rem;
}

.proza_item_download {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.proza_item_download a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  transition-duration: 0.5s;
}
.proza_item_download a:hover {
  color: brown;
}
.proza_item_download a:hover svg path {
  fill: brown;
}
.proza_item_download a svg {
  width: 2rem;
  height: auto;
}
.proza_item_download a svg path {
  fill: #fff;
  transition-duration: 0.5s;
}

.header_logo_mobile {
  display: none;
}

@media (max-width: 1024px) {
  .header {
    position: fixed;
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    z-index: 9;
    height: auto;
    padding: 2rem 4rem;
    height: 150px;
    gap: 0;
    justify-content: space-between;
  }
  .header_logo {
    display: none;
  }
  .header_logo_mobile {
    display: flex;
    font-size: 2rem;
    gap: 0.1rem;
  }
  .main {
    width: 100%;
  }
  .header_menu {
    width: 100%;
  }
  .header_menu ul {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    font-size: 1.6rem;
    width: 100%;
  }
  .main_photo {
    height: calc(100vh - 149px);
  }
  .main_photo picture img {
    -o-object-position: 30% 0;
       object-position: 30% 0;
  }
  .header_contacts {
    margin-top: 0.5rem;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 2rem;
  }
  .header_email {
    font-size: 1.4rem;
  }
  .header_media a {
    width: 3rem;
  }
  .detail {
    min-height: calc(100vh - 149px);
    padding: 2rem 2rem calc(149px + 4rem);
  }
  .detail_title h1 {
    font-size: 6rem;
    gap: 0.7rem;
  }
  .detail_quote {
    font-size: 1.4rem;
  }
  .detail_quote p:nth-child(2) {
    font-size: 1.2rem;
  }
  .detail_title {
    padding-bottom: 4rem;
  }
  .stihi {
    margin: 4rem auto 0;
    width: 100%;
    gap: 2rem;
  }
  .stih_name {
    font-size: 1.8rem;
  }
  .stih_name:hover {
    color: #fff;
  }
  .stih_text {
    padding-left: 3rem;
  }
  .proza {
    margin: 4rem auto 0;
    width: 100%;
  }
  .proza_item_name {
    font-size: 3rem;
  }
  .proza_item {
    padding: 4rem 0;
  }
  .proza_item_info {
    flex-direction: column;
    gap: 2.5rem;
  }
  .proza_item_img {
    width: 15rem;
    min-width: 15rem;
  }
  .proza_item_download {
    margin-top: 1rem;
  }
  .proza_item_download a {
    gap: 0.8rem;
    font-size: 1.8rem;
  }
  .proza_item_download a svg {
    width: 1.8rem;
  }
}/*# sourceMappingURL=style.css.map */