body {
  background-color: #f8f8f8;
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #323232;
  cursor: none;
}

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

a {
  color: #323232;
  text-decoration: none;
  cursor: none;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-25 {
  margin-bottom: 25px;
}

.text-white {
  color: #ffffff !important;
}

.bg-white {
  background-color: white;
}

.font-italic {
  font-style: italic;
}

.page-wrapper {
  padding-top: 40px;
  cursor: none;
  position: relative;
  min-height: 100vh;
}

.display-none {
  display: none;
}

.back {
  position: absolute;
  z-index: 1000;
  font-size: 18px;
  right: 80px;
  top: 40px;
  min-width: 43px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.back:hover {
  opacity: 0.8;
}

.px-80 {
  padding-left: 80px;
  padding-right: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
}

.text {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.04em;
  font-weight: 300;
  color: #323232;
  text-decoration: none;
}

.text-16 {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.04em;
  color: #323232;
  text-decoration: none;
}

.hover-this {
  transition: all 0.3s ease-in-out;
}

.hover-this:hover {
  font-style: italic;
  font-weight: 400;
}

.cursor {
  pointer-events: none;
  z-index: 1000;
  position: fixed;
  height: 18px;
  width: 18px;
  background-color: #323232;
  background-color: #eeeaea;
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: transform 0.3s ease-in-out;
}

.link-cursor {
  /*opacity: 0.7;*/
  transform: translate(-50%, -50%) scale(1.5);
}

.btn {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border: none;
  background-color: transparent;
  cursor: none;
  color: #323232;
}

.back-link {
  min-width: 33px;
}

.hide-web {
  display: none;
}

.landing-image-wrapper {
  text-align: center;
}

.landing-image-wrapper img {
  width: auto;
  height: calc(100vh - 128px);
  object-fit: contain;
}

.landing-bg {
  background-image: url('../images/main-image.jpg');
  background-size: 100%;
  background-repeat: no-repeat;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  position: relative;
}

.swiper-wrapper .logo {
  position: absolute;
  padding: 55px;
  z-index: 1000;
  max-width: 100vw;
}

.swiper-wrapper .logo img {
  width: 100%;
  height: auto;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: cover;
}

.swiper-slide {
  width: auto;
}

#main .swiper-slide.click {
  cursor: pointer;
}

.project-detail {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin: 50px 0 80px;
  font-size: 16px;
  line-height: 39px;
  letter-spacing: 0.04em;
}

.logo-slider {
  position: absolute;
  width: 91px;
  top: 40;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 100;
}

.logo-slider img {
  width: 100%;
}

.logo img {
  max-width: 256px;
  height: auto;
  object-fit: contain;
}

.page-list .list {
  display: flex;
}
.page-list .list a {
  font-size: 20px;
  font-weight: 400;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 6px;
  font-style: normal;
  font-weight: 400;
  width: 140px;
  transition: all 0.3s ease-in-out;
}

.list-item.hover-this:hover {
  font-style: italic;
  font-weight: 400;
}

.list-item::after {
  display: block;
  content: attr(title);
  height: 0;
  font-style: normal;
  color: transparent;
  overflow: hidden;
  visibility: hidden;
}

.image-view {
  display: flex;
  justify-content: flex-end;
  width: 30%;
  max-height: 100vh;
  padding-bottom: 80px;
}

.image-view img {
  max-width: 580px;
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.exhibitions .image-view {
  display: flex;
  align-items: flex-start;
  width: 35%;
}

.exhibitions .image-view img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.exhibitions .project-list {
  width: 300px;
  max-width: 300px;
}

.exhibition-year-selector,
.painting-year-selector {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  margin-bottom: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  touch-action: pan-x;
  user-select: none;
}

.exhibition-year-selector::-webkit-scrollbar,
.painting-year-selector::-webkit-scrollbar {
  display: none;
}

.exhibition-year-selector.is-dragging,
.painting-year-selector.is-dragging {
  scroll-behavior: auto;
}

.exhibition-year-selector.has-overflow,
.painting-year-selector.has-overflow {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.exhibition-year-selector.has-overflow.at-start,
.painting-year-selector.has-overflow.at-start {
  -webkit-mask-image: linear-gradient(to right, #000, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(to right, #000, #000 calc(100% - 22px), transparent);
}

.exhibition-year-selector.has-overflow.at-end,
.painting-year-selector.has-overflow.at-end {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000);
  mask-image: linear-gradient(to right, transparent, #000 22px, #000);
}

.exhibition-year-tab,
.painting-year-tab,
.exhibition-entry-button {
  border: 0;
  padding: 0;
  background-color: transparent;
  color: #323232;
  cursor: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-align: left;
  flex: 0 0 auto;
}

.exhibition-year-tab,
.painting-year-tab {
  color: #323232;
  opacity: 0.5;
}
.exhibition-year-tab:hover,
.exhibition-year-tab.active,
.painting-year-tab.active {
  opacity: 1;
}

.exhibition-entry-button.active {
  font-weight: 400;
}

.exhibition-entry-button {
  width: 100%;
  font-size: 16px;
  line-height: 20px;
}

.exhibition-year-results {
  width: 266px;
  max-width: 266px;
  padding-bottom: 10px;
}

.exhibition-gallery {
  width: 100%;
}

.exhibition-swiper {
  width: 100%;
  height: calc(100vh - 120px);
  padding-bottom: 30px;
}

.exhibitions .exhibition-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  height: calc(100vh - 155px);
}

.exhibitions .exhibition-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 155px);
  object-fit: contain;
  object-position: center;
}

.exhibition-swiper-button {
  position: absolute;
  top: calc((100vh - 155px) / 2);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background-color: transparent;
  color: #323232;
  cursor: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 2px rgba(248, 248, 248, 0.5));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.exhibition-swiper-prev {
  left: 14px;
}

.exhibition-swiper-next {
  right: 14px;
}

.exhibition-swiper-button::before {
  content: '';
  width: 13px;
  height: 13px;
  border-top: 1.5px solid #323232;
  border-right: 1.5px solid #323232;
}

.exhibition-swiper-prev::before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.exhibition-swiper-next::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

.exhibition-swiper-button:hover {
  transform: translateY(-50%) scale(1.08);
}

.exhibition-swiper-button.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.exhibition-swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.04em;
  font-weight: 300;
  color: #323232;
  text-align: center;
}

.footer {
  margin-bottom: 20px;
}

.footer-right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-right-side img {
  margin-bottom: 14px;
  width: 128px;
  height: auto;
  object-fit: cover;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 60px;
}

.online-arts {
  padding-bottom: 57px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Contact */

.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.contact-socials img {
  height: 19px;
  width: auto;
  transition: all 0.3s ease-in-out;
}

.contact-socials img:hover {
  transform: scale(1.2);
}
.contact-wrapper {
  flex-grow: 1;
  margin-left: 200px;
  min-height: 100vh;
}

.contact-form {
  display: flex;
  gap: 180px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 477px;
}

input,
textarea {
  background-color: transparent;
  border: none;
  border-bottom: 0.7px solid #323232;
  border-radius: 0;
  outline: none;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.04em;
  width: 100%;
  color: #7e6d6d;
  height: 30px;
}

.form-group {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 44px;
}

.form-group .field {
  width: 48.4%;
  color: #7e6d6d;
}

textarea {
  width: 100%;
  color: #7e6d6d;
  resize: none;
}

.field,
.field-textarea {
  position: relative;
}

.field-textarea {
  width: 100%;
}

label {
  color: #7e6d6d;
  opacity: 0.7;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease-in-out;
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
  top: -20px;
  left: 0;
  opacity: 1;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

.info {
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 0.04em;
  color: #7e6d6d;
}

.about .image-view img {
  max-width: 475;
  height: auto;
  object-fit: cover;
}

.gallery-list {
  display: flex;
  gap: 80px;
}

.painting-year-group {
  display: flex;
  flex-direction: column;
  width: 180px;
  max-width: 180px;
}

.painting-year-selector {
  max-width: 180px;
  margin-bottom: 18px;
}

.painting-year-label {
  display: block;
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #323232;
}

.painting-year-results {
  width: 140px;
  max-width: 140px;
  padding-bottom: 10px;
}

.textile-works-group {
  width: 180px;
  max-width: 180px;
}

.textile-works-label,
.textile-works-year {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #323232;
}

.textile-works-label {
  margin-bottom: 31px;
}

.textile-works-year {
  margin-bottom: 12px;
}

.description .more-text {
  display: none;
}

.read-more-container {
  margin-top: 15px;
}

.read-more {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}

.color-palette {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}

.color-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #ccc;
  position: relative;
}

.color-circle:hover {
  transform: scale(1.2);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.color-circle::after {
  content: attr(data-tooltip);
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.color-circle:hover::after {
  opacity: 1;
}

.col-3 {
  width: 30%;
}

@media screen and (max-width: 1366px) {
  .info-container p,
  .info-container a {
    font-size: 16px;
  }
  .info-container {
    width: 800px;
  }
  .exhibitions .image-view {
    max-height: 550;
  }
  .contact-wrapper {
    margin-left: 100px;
  }

  .contact-form {
    gap: 100px;
  }
  .back {
    font-size: 16px;
  }
  .image-view img {
    max-width: 480px;
  }
}

@media screen and (max-width: 1260px) {
  .landing-bg {
    background-image: url('../images/landing-page-mobile.jpg');
    background-size: cover;
    object-fit: cover;
    height: 100vh;
  }

  .px-80 {
    padding-left: 40px;
    padding-right: 40px;
  }

  .image-view {
    max-height: 500px;
  }

  .flex-space-between {
    flex-wrap: wrap;
  }

  .exhibitions .image-view {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    max-height: none;
    padding-bottom: 40px;
  }

  .exhibitions .project-list,
  .exhibition-year-selector,
  .exhibition-year-results {
    width: 100%;
    max-width: none;
  }

  .exhibition-gallery,
  .exhibition-swiper {
    width: 100%;
  }

  .exhibition-swiper {
    height: auto;
  }

  .exhibitions .exhibition-swiper .swiper-slide {
    width: 100%;
    height: min(68vh, 620px);
  }

  .exhibitions .exhibition-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: min(68vh, 620px);
    object-fit: contain;
  }

  .exhibition-swiper-button {
    top: calc(min(68vh, 620px) / 2);
    left: 8px;
    right: auto;
  }

  .exhibition-swiper-next {
    left: auto;
    right: 8px;
  }

  .contact-wrapper {
    margin-left: 50px;
  }

  .contact-form {
    gap: 50px;
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block;
    padding: 0px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-end;
    background-color: transparent;
    position: absolute;
    top: 40;
    right: 20;
    color: black;
  }

  .page-list {
    display: none;
    margin-top: 20px;
    width: 100%;
  }

  .page-list .list {
    flex-direction: column;
    align-items: center;
  }

  .page-list.open {
    display: block;
    /* flex: 1; */
  }

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

  .page-list.open .list-item {
    padding: 10px 0;
    text-align: center;
    margin-bottom: 18px;
  }

  .page-list.open .list-item a {
    font-size: 22px;
  }

  .page-wrapper.open {
    background-color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .landing-bg .logo img {
    width: 220px;
  }

  .landing-bg .hide-web {
    display: block;
  }

  .landing-bg .hide-mob {
    display: none;
  }
}

@media screen and (max-width: 1054px) {
  .gallery-list {
    width: 70%;
  }

  .painting-year-group,
  .painting-year-selector,
  .painting-year-results,
  .textile-works-group {
    width: 100%;
    max-width: none;
  }

  .gallery .logo {
    width: 100%;
  }
}

@media screen and (max-width: 830px) {
  .footer-right-side {
    margin-top: 45px;
    width: 100%;
  }
}

@media screen and (max-width: 786px) {
  .page-wrapper,
  .contact-wrapper {
    min-height: auto;
  }

  .info-container {
    width: 100vw;
  }

  .swiper-slide,
  .swiper-slide img {
    width: 100vw;
    object-fit: cover;
  }

  .back {
    top: 40px;
    right: 12px;
  }

  .info-container p,
  .info-container a {
    font-size: 14px;
  }

  .px-80 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .project-list,
  .page-list,
  .image-view {
    width: 100%;
  }

  .project-list {
    gap: 40px;
  }

  .hide-mob,
  .mob-list {
    display: none;
  }

  .projectMob {
    max-width: 300px;
  }

  .projectMob,
  .projectMob img {
    width: 100%;
    object-fit: cover;
  }

  .hide-web {
    display: block;
  }

  .footer {
    margin-top: 50px;
  }

  .footer-right-side {
    margin-top: 45px;
    width: 100%;
  }

  .footer-right-side .text {
    font-size: 12px;
  }

  .list-ex {
    display: flex;
    list-style: none;
    width: 100%;
    gap: 20px;
    padding: 0 0 40px;
  }

  .list-ex .list-item {
    flex: 1;
    width: auto;
    padding-bottom: 7px;
  }

  .list-active {
    border-bottom: 1px solid #323232;
  }

  .image-view,
  .pb-80 {
    padding-bottom: 0;
  }

  .exhibitions .image-view {
    max-height: none;
    margin-top: 35px;
    padding-bottom: 30px;
  }

  .exhibitions .project-list,
  .exhibition-year-selector,
  .exhibition-year-results {
    width: 100%;
    max-width: none;
  }

  .exhibition-gallery,
  .exhibition-swiper {
    width: 100%;
  }

  .exhibition-swiper {
    height: auto;
  }

  .exhibitions .exhibition-swiper .swiper-slide {
    width: 100%;
    height: min(62vh, 440px);
  }

  .exhibitions .exhibition-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    max-height: min(62vh, 440px);
    object-fit: contain;
  }

  .exhibition-swiper-button {
    top: calc(min(62vh, 440px) / 2);
    width: 26px;
    height: 40px;
  }

  .back-link {
    margin-bottom: 45px;
  }

  .list-item {
    /* margin-bottom: 18px; */
    /* text-align: center; */
  }

  .page-list .list a {
    font-size: 16px;
  }

  .contact-wrapper {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .form-group .field,
  .contact-form form {
    width: 100%;
  }

  .project-images-mob img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
  }

  .project-images-mob .logo img {
    width: 96px;
  }

  .project-detail {
    flex-wrap: wrap;
    letter-spacing: 0.02em;
  }

  .form-group {
    flex-wrap: wrap;
  }

  .page-list .list {
    flex-direction: column;
    align-items: center;
  }

  .landing-bg .logo img {
    width: 170px;
  }

  .col-3 {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .image-view img {
    width: 100%;
  }
  .footer-contact {
    width: 100%;
    margin-top: 20px;
  }
}
