body,
* {
  cursor:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="7" cy="7" r="7" fill="black"/></svg>')
      4 4,
    auto;
}

a,
button,
[role="button"],
input[type="submit"],
label,
select {
  cursor:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="10" cy="10" r="10" fill="black"/></svg>')
      6 6,
    pointer;
}

.admin-active {
  display: block;
}

.admin-inactive {
  display: none;
}


.admin-only {
  display: none !important;
}

body.is-admin .admin-only {
  display: block !important;
}

body.is-admin .admin-only-flex {
  display: flex !important;
}

body.is-admin .admin-only-inline {
  display: inline-block !important;
}

.swiper__delete,
.inst-block__delete {
  display: none !important;
}

body.is-admin .swiper__delete {
  display: block !important;
}

body.is-admin .inst-block__delete {
  display: flex !important;
}


.container {
  max-width: 2540px;
  width: 100%;
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: 0 46px;
}

/* HEADER */

.header {
  position: fixed;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  top: 20px;
  justify-content: space-between;
  align-items: center;
  color: black;
  z-index: 20;
}

.header__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  letter-spacing: -1px;
  line-height: 1.1;
  font-weight: bold;
  transition: 0.3s ease;
}

.header__name:hover {
  transform: translateY(-3px);
}

.header__menu {
  display: flex;
  gap: 25px;
  z-index: 10;
  padding: 0 10px;
}

.header__name--mobile {
  display: none;
}

.nav__link {
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

#nav-menu {
  transition: 0.3s;
}
.nav__link:hover {
  transform: translateY(-3px);
}

/* CONTACT-MODAL*/

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #ffcc00;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(50px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.contact-modal.contact-modal-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-modal__wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: space-around;
  justify-content: space-around;
}

.contact-modal__hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6vh;
}

.contact-modal__hero-title {
  font-size: clamp(22px, 3vw, 48px);
  text-align: center;
}

.contact-modal_email {
  background-color: #ffffff;
  padding: 20px 40px;
  border-radius: 30px;
}

/* HERO */
.upload-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.upload-modal.hidden {
  display: none;
}

.upload-modal__content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  font-family: sans-serif;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #444;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero__video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

.hero-video__upload-controls {
  display: none;
  margin-top: 10px;
}

#videoUploadInput {
  background-color: #ffcc004e;
  padding: 5px 10px;
}
#uploadVideoBtn {
  background-color: #ffcc00;
  padding: 5px 10px;
}

/* SHAPES */

.shapes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.shapes-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 2rem;
}

.shapes__heading {
  max-width: 700px;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  margin: auto;
  margin-bottom: 46px;
  margin-top: 46px;
  font-weight: 600;
}

.shape-link {
  position: relative;
  display: inline-block;
  width: 160px;
  height: 160px;
  text-decoration: none;
  cursor: pointer;
}

.shape {
  width: 100%;
  height: 100%;
  fill: #bfc0a5;
  transition: transform 0.3s ease;
}

.shape-link:hover .shape {
  transform: scale(0.9);
}

.label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: black;
  text-align: center;
  pointer-events: none;
  line-height: 1.3;
}

.home-category-link {
  flex: 0 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-category-label {
  display: inline-block;
}

.home-category-link .home-category-label {
  position: static;
  transform: none;
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* WORKS */

.upload-form {
  display: none;
}

.slider-block {
  margin-bottom: 30px;
}
.slider__heading,
.inst-block__heading {
  font-size: clamp(22px, 3vw, 62px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-align: center;
  text-transform: uppercase;
  padding: 70px 0 28px;
  font-weight: 600;
}
#slider__upload-btn {
  padding: 5px 10px;
  background-color: #ffcc00;
  transition: 0.3s;
}

#slider__upload-btn:hover {
  background-color: #f7d85c;
}

.hidden {
  display: none;
}

.slider__upload-wrap {
  display: none;
}

.slider-upload-modal {
  margin-top: 10px;
  margin-bottom: 10px;
}
#slider-modal-file {
  padding: 5px 10px;
  background-color: #ffcc004e;
}

#slider-modal-link,
#slider-modal-title {
  background-color: #ffcc004e;
  padding: 5px 10px;
}

#slider-modal-submit,
#slider-modal-cancel {
  background-color: #ffcc00;
  padding: 5px 10px;
}

#slider-modal-submit:hover,
#slider-modal-cancel:hover {
  background-color: #f4d350;
}

.swiper__delete {
  display: none;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background-color: #fefeb7;
  cursor: pointer;
  transition: 0.3s;
}

.swiper__delete:hover {
  transform: translateX(-50%) scale(1.1);
  background-color: #ffff67;
  color: #75736b;
}

/* SELECTED-WORKS */

.selected-works__grid {
  display: grid;
  justify-content: center;

  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  padding: 20px;
}

.selected-works__item {
  min-width: 250px;
}

.selected-works__img {
  transition: transform 0.3s ease;
}

.selected-works__title {
  margin-top: 10px;
  /* transition: padding-left 0.3s ease; */
}

.selected-works__item:hover .selected-works__img {
  transform: scale(1.04);
  transition: 0.3s ease;
}

/* .selected-works__item:hover .selected-works__title {
  padding-left: 10px;
  transition: 0.3s ease;
} */

.selected-works__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 */
  overflow: hidden;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

.selected-works__img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#pictures-slider-modal-file,
#pictures-slider-modal-title {
  background-color: #ffcc004e;
  padding: 5px 10px;
}

#pictures-slider-modal-submit {
  background-color: #ffcc00;
  padding: 5px 10px;
}

/* INST-BLOCK */

.inst-block {
  margin-bottom: 30px;
}

.inst__file-upload-wrap {
  display: none;
  margin-bottom: 10px;
}

#inst__file-upload-wrap {
  margin-bottom: 10px;
}

.inst-block__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

.inst-block__item {
  flex: 1 1 0;
  max-width: 100%;
  max-height: 500px;
  position: relative;
}

.inst-block__img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.inst-block__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.inst-block__delete {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fefeb7;
  padding: 5px;
  width: 10%;
  height: 10%;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.inst-block__delete:hover {
  background-color: #ffff7e;
}

.inst-block__delete::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #75736b;
  transition: 0.3s;
}
.inst-block__delete::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: #75736b;
  transition: 0.3s;
}

.inst-block__delete:hover::before,
.inst-block__delete:hover::after {
  background-color: #3d3c37;
}

#inst__file-upload {
  background-color: #ffcc004e;
  padding: 5px 10px;
}
#inst__upload-btn {
  background-color: #ffcc00;
  padding: 5px 10px;
  transition: 0.3s;
}

#inst__upload-btn:hover {
  background-color: #ffae00;
}

/* FADE-IN */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */

.footer {
  margin-top: auto;
  background-color: #ffcc00;
  padding: 5px 0px;
  text-align: center;
}

.footer__container {
  padding: 10px 15px;
}

.footer__wrap {
  display: grid;
  /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
  gap: 20px;
  margin-bottom: 20px;
}

.footer__wrap ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}

.footer_column-wrap {
}

.footer__wrap li a {
  transition: 0.3s ease;
}

.footer__wrap li:hover a {
  padding-left: 10px;
}

.copyright {
  font-size: 12px;
}

/* MEDIA REQUESTS*/

@media screen and (min-width: 769px) {
  .header__name--mobile {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0px 18px;
  }

  /* .header__menu{
  display: flex;
  justify-content: space-around;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: #fff;

} */

  .header__name {
    display: block;
  }

  .header__name--mobile {
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
  }

  .header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 24px;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 30;
    padding: 0;
  }

  .burger-line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #000;
    transition: 0.3s ease;
    border-radius: 1px;
  }

  .header__burger.open .top {
    transform: translateY(5px) rotate(45deg);
  }

  .header__burger.open .middle {
    opacity: 0;
  }

  .header__burger.open .bottom {
    transform: translateY(-9px) rotate(-45deg);
  }

  .header__menu {
    display: none;
  }

  .header__menu.active {
    display: flex;
  }

  .header__burger.open {
    background-color: transparent;
  }

  .header__menu {
    flex-direction: column;
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: #eee;
    font-size: 32px;
    transition: 0.3s;
  }

  .nav__link {
    font-size: 32px;
  }
  .header__name {
    font-size: 1.5rem;
    max-width: 50%;
  }

  .hero__video {
    width: 100vw;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    touch-action: none;
  }

  .text--big {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.5px;
    font-weight: 500;
  }

  .inst-block__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
  }

  .slider__heading,
  .inst-block__heading {
    font-size: 36px;
  }

  .footer__wrap {
    font-size: 14px;
    line-height: 20px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 17px;
  }

  .footer__title {
    font-size: 19px;
    line-height: 55px;
    margin-bottom: 10px;
    font-weight: 500;
  }

  .nav__link {
    display: inline-block;
  }

  .footer__container {
    padding: 0px 15px;
  }
}
