/* Подумать, что перенести из медиа вверх, добавить анимацию при срабатывании гамбургера, может номер телефона оставить при открытии меню, но перенести другое место? */
@font-face {
	font-family: "Geometria-Light";
  font-style: normal;
  font-weight: 300;
	src: url('../fonts/geometria-light.eot');
	src: url('../fonts/geometria-light.eot?#iefix') format('embedded-opentype'),
		   url('../fonts/geometria-light.woff2') format('woff2'),
		   url('../fonts/geometria-light.woff') format('woff'),
		   url('../fonts/geometria-light.ttf') format('truetype'),
		   url('../fonts/geometria-light.svg#geometria-light') format('svg');
  font-display: swap;
}

/* Page+ */
.page {
  height: 100%;
}

.page__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  font-family: "Geometria-Light", "Arial", sans-serif;
  font-size: 12px;
  line-height: 21px;
  color: #000000;
}

/* visually-hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

img {
  max-width: 100%;
  object-fit: contain;
}

iframe {
    width: 100%;
    height: 300px;
}

.no-padding-left {
    padding: 0;
    list-style-position: inside;
}

.small-font {
    font-size: 10px;
}

.light-link {
    color: #8C8C8C;
}

.light-link:hover,
.light-link:active,
.light-link:focus {
    color: #FFFFFF;
}

/* header */

.header__top {
  position: fixed;
  width: 100%;
  z-index: 100;
  background-color: #F5F5F7;
}

.header__top-wrapper {
  width: 911px;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.header__news {
  display: none;
  margin: 32px 0 0;
  text-align: center;
  background-color: #FFFFFF;
}

.header__news-link {
  display: inline-block;
  padding: 1px 11px;
  text-decoration: none;
  color: #1274e0;
}

/* Main-nav */

.main-nav {
  width: auto;
  min-height: 32px;
  text-align: center;
}

.main-nav-opened {
  display: block;
}

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.main-nav__toggle {
  display: none;
  align-items: center;
  position: relative;
  width: 22px;
  height: 32px;
  margin-left: 15px;
}

.main-nav__toggle-button {
  width: 100%;
  height: 3px;
  border: none;
  padding: 0;
  border-radius: 5px;
  background-color: #8C8C8C;
}

.main-nav__toggle-button::after,
.main-nav__toggle-button::before {
  position: absolute;
  display: block;
  content: " ";
  width: 100%;
  height: 3px;
  border-radius: 5px;
  background-color: #8C8C8C;
}

.header__top--closed .main-nav__toggle-button::after {
  top: 8px;
}

.header__top--closed .main-nav__toggle-button::before {
  bottom: 8px;
}

.main-nav__logo-thumb {
  vertical-align: sub;
  width: 15px;
  filter: contrast(20%);
}

.main-nav__link {
  display: block;
  padding: 5px 15px;
  font-size: 11px;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav__link--logo:hover,
.main-nav__link:hover {
  background-color: #FFFFFF;
}

.main-nav__link--logo {
  padding: 3px 0;
  width: 19px;
}

.main-nav__link--logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* main */

.main-container {
  flex-grow: 1;
}

/* Page-main */

/* Hero */

.hero {
  background-color: #F5F5F7;
}

.hero__logo {
  display: block;
  width: 151px;
  height: 151px;
  margin: 0 auto;
  padding: 32px 0;
}

/* Mosaic-icons */

.mosaic-icons {
  padding: 54px 0;
  text-align: center;
  background-color: #000000;
}

.mosaic-icons__list {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 911px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}

.mosaic-icons__link {
  text-decoration: none;
}

.mosaic-icons__img {
  display: block;
  width: 145px;
  height: 145px;
  margin: 0 auto;
}

.mosaic-icons__subtitle {
  font-weight: normal;
  color: #FFFFFF;
}

/* Index-subtitle */

.index-subtitle {
  margin: 0;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 300;
  line-height: 30px;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* Slider */

.stripeslider,
.stripeslider2 {
    position: relative;
    overflow: hidden;
}

.stripeslider ul,
.stripeslider2 ul {
    position: relative;
    right: 0;
    display: flex;
    gap: 5px;
    width: 10000px;
    height: 100%;
    margin: 0;
    list-style-type: none;
}

.stripeslider img,
.stripeslider2 img {
    object-fit: cover;
}

/* Mosaic-panels */

.mosaic-panels {
  position: relative;
  height: 153px;
  border-top: 1px solid #FFFFFF;
  background-color: #0D1B21;
}

.mosaic-panels__title {
  position: absolute;
  top: 16px;
  z-index: 100;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  font-size: 11px;
  text-align: center;
}

.mosaic-panels__wrapper {
  margin: 0 auto;
  padding: 4px 8px;
  font-weight: 300;
  text-transform: uppercase;
  border-radius: 6px;
  background-color: #000000;
  color: #FFFFFF;
}

/* Stripe-slides */

.stripe-slides {
  white-space: nowrap;
  margin: 0;
  padding: 4px 0 4px;
  list-style-type: none;
}

.stripe-slides__img {
  display: block;
}

.stripeslider2 .stripe-slides__img {
    height: 100px;
}

/* Portraits */

.portraits {
  padding: 17px;
  padding-bottom: 54px;
  background-color: #000000;
}

.portraits__link {
  text-decoration: none;
  text-align: center;
}

.portraits__title {
  margin-bottom: 15px;
}

.portraits__wraper {
  margin: 0 auto;
}

.portraits__img--1 {
  margin-right: 60px;
}

/* News-previews */

.news-previews {
  height: 101px;
  padding-top: 2px;
  background-color: #FFFFFF;
}

/* Links-sections-site */

.links-sections-site__list {
  width: 911px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 230px 230px 230px;
  gap: 4px;
  margin: 10px auto 0;
  padding: 0;
  list-style-type: none;
}

.links-sections-site__item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
}

.links-sections-site__item--suvenirs {
  background-color: #F5F5F7;
}

.links-sections-site__item--art-objects {
  background-color: #FFFFFF;
}

.links-sections-site__img {
  display: block;
}

/* Certificates */

.certificates {
  background-color: #E3DDD8;
}

.breeding-content {
    padding: 87px 0 60px;
    background-color: #000000;
}

.breeding-content__wrapper {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.galery__hero {
    display: grid;
    grid-template-columns: 25px 1fr 25px;
    height: 390px;
    margin-bottom: 41px;
    padding: 0 5px;
}

.galery__nav-button {
    position: relative;
    height: 100%;
    border: none;
    background-color: #000000;
}

.galery__nav-button::after,
.galery__nav-button::before {
  position: absolute;
  display: block;
  content: " ";
  width: 10px;
  height: 1.5px;
  border-radius: 5px;
  background-color: #FFFFFF;
}

.galery__nav-button--prev::after {
    transform: rotate(45deg);
    left: 1px;
    margin-top: 3px;
}

.galery__nav-button--prev::before {
    transform: rotate(-45deg);
    left: 1px;
    margin-top: -3px;
}

.galery__nav-button--next::after {
    transform: rotate(45deg);
    right: 1px;
    margin-top: -3px;
}

.galery__nav-button--next::before {
    transform: rotate(-45deg);
    right: 1px;
    margin-top: 3px;
}

.galery__nav-button--furthest::after,
.galery__nav-button--furthest::before {
    background-color: black;
}

.galery__hero-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 390px;
    margin: 0 auto;
}

.galery__wrapper {
    position: relative;
    overflow: hidden;
    height: 142px;
    padding: 5px 0;
    /* border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF; */
}

.galery__list {
    position: relative;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 3000px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.galery__item img {
    display: block;
    object-fit: cover;
    height: 150px;
}

.galery__item--active img {
    box-sizing: border-box;
    border: 1px solid #FFFFFF;
}

/* contacts */

.contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 25vh 20px 50px;
    color: #FFFFFF;
    background-color: #000000;
}

.contacts h1 {
    font-size: 14px;
    text-transform: uppercase;
}

.contacts__link {
    font-size: 14px;
    font-weight: 100;
    text-decoration: none;
    color: #FFFFFF;
}

.contacts__icon {
    height: 20px;
    vertical-align: bottom;
    margin-right: 10px;
}

/* about-artist */

.about-artist {
    width: 100%;
    padding: 60px 30px;
    box-sizing: border-box;
    background-color: #000000;
    color: #FFFFFF;
}

.about-artist__wrapper {
    display: grid;
    grid-template-columns: 346px 1fr;
    gap: 40px;
    width: 100%;
    max-width: 911px;
    margin: 0 auto;
}

.about-artist__artist-foto {
    display: block;
    width: 50%;
    margin-bottom: auto;
}

.about-artist__info-wrapper {
    display: flex;
    gap: 15px;
    padding-bottom: 30px;
    text-align: right;
}

.about-artist__artist-info {
    margin-top: 0;
}

.about-artist__link-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.about-artist__link,
.about-artist__link:visited {
    display: block;
    margin: 10px 0 45px 0;
    font-size: 12px;
    text-align: right;
    text-decoration: none;
    color: #FFFFFF;
}

.about-artist__link:hover,
.about-artist__link:active,
.about-artist__link:focus  {
    color: #8C8C8C;
}

.about-artist__link-list h3 {
    margin-top: -5px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 27px;
    text-transform: uppercase;
    text-align: center;
}

.about-artist__hero-img {
    margin-bottom: 70px;
}

.line-svg {
    /* width: 100%;
    height: 20px; 
    padding: 15px 0; */
    margin: 26px 0;
}

/* Page-footer */

.page-footer {
  width: 911px;
  max-width: 100%;
  margin: 0 auto;
}

.page-footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-footer__link {
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000000;
}

.page-footer__wrapper {
  font-size: 12px;
  color: #000000;
}

@media (max-width: 650px) {
  .header__top--opened {
    position: relative;
  }
  .header__top--closed {
    position: fixed;
    box-shadow: 0 1px 4px -2px #8C8C8C;
  }
  .header__top--opened .header__top-wrapper {
      display: block;
  }
  .header__top--opened .main-nav__link {
      text-align: center;
  }
  .header__top--opened .main-nav {
    width: 100%;
  }
  .main-nav__toggle {
    position: absolute;
    display: flex;
  }
  .header__top--opened .main-nav__toggle {
    margin-top: -3px;
  }
  .header__top--opened .main-nav__toggle-button {
    height: 0;
  }
  .header__top--opened .main-nav__toggle-button::after {
    position: relative;
    top: -3px;
    transform: rotate(45deg);
  }
  .header__top--opened .main-nav__toggle-button::before {
    position: relative;
    bottom: 0;
    transform: rotate(-45deg);
  }
  .header__top--opened .main-nav__list {
    flex-direction: column;
  }
  .main-nav__item {
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 1px 2px -2px #8C8C8C;
  }
  .header__top--closed .main-nav__list {
    display: none;
  }
  .main-nav__logo-thumb {
    display: none;
  }
  .header__top--opened .main-nav__link--logo {
    padding: 5px 15px;
  }
  .main-nav__link--logo {
    width: auto;
  }
  .main-nav__link--logo span {
    position: static;
    clip-path: border-box;
    overflow: visible;
  }
  .header__top--opened .header-phone {
    display: none;
  }
  .header__top--opened .header__news {
    margin: 0;
  }
  .about-artist__wrapper {
    display: block;
  }
}

/* modal */
/* Модальное окно */

.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 102;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
}

.modal-container-opened {
    display: flex;
}

.modal-container-closed {
    display: none;
}

.modal {
    position: relative;
    display: flex;
    max-height: 98%;
    max-width: 100%;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-img-text {
  max-height: 98%;
  max-width: 98%;
  background: #f7f7f7;
  color: #380301;
}

.modal-close-button {
  position: absolute;
  padding: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
}

.modal-close-button::before,
.modal-close-button::after {
    content: "";
    position: absolute;
    top: 8.5px;
    right: 1px;
    width: 17px;
    height: 2px;
    border-radius: 15px;
    background-color: black;
}

.modal-close-button::before {
    transform: rotate(45deg);
    box-shadow: none;
}

.modal-close-button::after {
    transform: rotate(-45deg);
}

.modal-img {
    display: block;
    padding: 20px;
    box-sizing: border-box;
    background: #f7f7f7;
}

.modal .gallery-img {
    display: block;
    height: 90%;
    padding: 20px;
    box-sizing: border-box;
    background: #f7f7f7;
}

.winners-modal img {
    display: block;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: #f7f7f7;
}

.modal-img-text .modal-content {
    display: flex;
    flex-direction: column;
}

.modal-img-text .description-text {
    width: 100%;
    height: auto;
    font-size: 14px;
    background: #f7f7f7;
}

.modal-img-text .description-text p {
    margin-top: 0;
}