@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400..800&display=swap");

body {
  font-family: "Syne", sans-serif;
}

* {
  box-sizing: border-box;
  outline: none;
}

label.error {
  display: none !important;
}

.error {
  border-color: red !important;
}

.valid {
  border-color: green !important;
}

button,
a {
  cursor: pointer;
  transition: 0.3s;
}

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

p {
  margin-top: 0;
}

.flex {
  display: flex;
}

.row.flex::before,
.row.flex::after {
  display: none;
}

.flex.center {
  align-items: center;
}

.box {
  margin-bottom: -30px;
}

.box > div {
  margin-bottom: 30px;
}

.container {
  width: 100%;
  max-width: 1200px;
}

.header_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.menu_link {
  border: 1px solid #ddd;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  border-radius: 100px;
  padding: 9px 20px;
  background-color: #f2f2f2;
  transition: 0.3s;
  font-weight: 700;
  color: #333;
}

.menu_link:hover {
  background-color: #ddd;
}

.header {
  padding: 30px 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.header:hover {
  backdrop-filter: blur(0px);
  background-color: #fff;
}

.header_fixed .header {
  padding: 14px 0;
}

.header_social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_social a {
  font-size: 17px;
  color: #333;
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  font-weight: 700;
}

.header_social a:hover {
  text-decoration: none;
}

.header_social a:nth-child(1) {
  font-size: 18px;
}

.header_social a:nth-child(1):hover {
  transform: scale(1.2);
}

.section {
  padding: 90px 0;
  position: relative;
}

.intro {
  padding-top: 100px;
  height: 100vh;
  height: 100dvh;
  padding-bottom: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}
.intro_before {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/pinosova.jpg);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  background-attachment: fixed;
}

.intro .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: static;
  height: 100%;
}

.intro .container .row {
  flex: 1;
  position: static;
  height: 100%;
}

.intro_img {
  position: absolute;
  width: calc(100% - 20px);
  height: 69vh;
  max-width: 1050px;
  background-position: top center;
  background-size: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  min-height: 300px;
}

body {
  background-color: #f5f5f5;
  letter-spacing: 0.02em;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.intro h1 {
  font-size: 60px;
  position: relative;
  z-index: 100;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  flex: none;
}

.intro .container .row .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  flex-direction: column;
  height: 100%;
}

button {
  letter-spacing: 0.02em;
}

.scroll_down {
  z-index: 100;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-weight: 500;
  background-color: #333;
  border-radius: 10px;
  padding: 10px 30px;
  text-decoration: none;
}

.scroll_down:hover {
  text-decoration: none;
}
.header_menu_items {
  border-radius: 10px;
  background-color: #fff;
  position: absolute;
  top: calc(100% + 10px);
  box-shadow: 0px 0px 5px #d4d4d4;
  padding: 16px;
  white-space: nowrap;
  left: 0;
  transition: 0.3s;
  opacity: 0;
  pointer-events: none;
}

.header_menu {
  position: relative;
}

.header_menu_items ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.header_menu_items ul a {
  color: #333;
  text-decoration: none;
}

.header_menu_items ul a:hover {
  text-decoration: underline;
}

.header_menu.active .header_menu_items {
  pointer-events: all;
  opacity: 1;
}
.footer_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer {
  padding: 15px 0;
  flex: 1;
  display: flex;
  align-items: flex-end;
  background-color: #fff;
}

.foott {
  margin: 0;
}
.card_item_img {
  background-position: top center;
  background-size: cover;
  transition: 0.3s;
  margin-bottom: 26px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
}

.card_item {
  display: block;
  position: relative;
  transition: 0.3s;
  text-decoration: none;
}

.card_item_title {
  display: inline-block;
  text-decoration: none;
  margin: 0;
  color: #333;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.card_item:hover .card_item_title {
  border-bottom-color: #333;
}
.heading {
  margin: 0;
  margin-bottom: 27px;
  font-size: 40px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 11px;
}
.heading::after {
  content: "";
  background-image: url(../img/draw.png);
  height: 11px;
  width: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: brightness(0);
  opacity: 0.4;
}
.card_item_img img {
  width: 100%;
  transition: 0.3s;
}

.card_item:hover .card_item_img img {
  transform: scale(1.02);
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.bounce {
  animation: bounce 2s ease infinite;
}

.masonry {
  column-gap: 16px;
  column-count: 3;
}

.masonry-item {
  display: inline-flex;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transition: 0.3s;
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.3s;
  border-radius: 14px;
}
.masonry-item:hover img {
  transform: scale(1.02);
}

.scroll_down:hover {
  background-color: #000;
  color: #fff;
}

.gallery-controls {
  margin-bottom: 20px;
}
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gallery-tabs .tab {
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.gallery-tabs .tab:hover {
  background: #f7f7f7;
}
.gallery-tabs .tab.active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.masonry-item.is-hidden {
  display: none !important;
}

.gallery-more {
  text-align: center;
  margin-top: 16px;
}
.btn-load-more {
  background: #333;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}
.btn-load-more:hover {
  opacity: 0.8;
}
.btn-load-more:disabled {
  opacity: 0.6;
  cursor: default;
}
.author_name {
  display: none;
}
.title_section {
  background-color: #fff;
}

.title_section h1 {
  font-weight: 900;
  margin-top: 60px;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 42px;
}
.content {
  position: relative;
  line-height: 1.6;
}

.content > :nth-child(1) {
  margin-top: 0;
}

.content h2 {
  font-weight: 900;
}

.content p {
  font-weight: 300;
}

.content img {
  max-width: 100%;
  border-radius: 10px;
  height: auto;
  margin-bottom: 20px;
}

.content ul li {
  position: relative;
  padding-left: 18px;
}

.content ul li::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  background: black;
  top: 10px;
  opacity: 0.5;
}

.content ol {
  padding: 0;
  list-style-type: none;
  counter-reset: list;
}

.content ol li {
  counter-increment: list;
  position: relative;
  padding-left: 18px;
}

.content ol li::before {
  content: counter(list) ". ";
  font-weight: 8;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.5;
}

.content ul,
.content ol {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
[data-fancybox-toggle-slideshow] {
  display: none;
}
.current-menu-item {
  text-decoration: underline;
}

.intro_fl {
  display: flex;
  flex: 1;
  gap: 50px;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  padding-bottom: 50px;
  padding-top: 40px;
}

.intro_fl div {
  position: relative;
  flex: auto;
  overflow: hidden;
}

.intro_fl div img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.intro_fl div a {
  position: absolute;
  bottom: 40px;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
}

.intro_fl div img {
  object-fit: cover;
  object-position: top center;
  height: 100%;
  width: 100%;
}
.card_item_img {
  position: relative;
}

.card_item_img::before {
  content: "";
  display: block;
  padding-top: 81%;
}

.card_item_img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
