::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}

@view-transition {
  navigation: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:focus {
  outline: none;
}
a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 0.35rem;
  border-radius: 2px;
}
a:active {
  opacity: 0.72;
}

ul, ol, li {
  list-style: none;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

body {
  font-family: "Raleway", sans-serif;
  color: #edeae6;
  letter-spacing: 0.2em;
  background-color: #212121;
  font-size: 1.5rem;
  line-height: 2rem;
}

.wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  box-sizing: border-box;
  min-height: 100%;
}

.bg-slider {
  z-index: 777;
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.bg-slider .text-content {
  z-index: 778;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-width: 100%;
}
.bg-slider .text-content .title {
  text-transform: uppercase;
}
.bg-slider .text-content .title h1 {
  display: inline-block;
}
.bg-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
}
.bg-slider .swiper-slide img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

main {
  height: 100%;
  flex-shrink: 1;
  flex-grow: 1;
  position: relative;
  overflow-y: auto;
}

section {
  margin: 10% 8%;
}

.main-header {
  position: fixed;
  width: 100%;
  top: 0%;
  left: 0%;
  z-index: 50;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  width: 100%;
  padding: 0;
  flex-shrink: 0;
  flex-grow: 0;
  background: #212121;
}
.header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.menu-navigation {
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.75), 0 0 8px rgba(0, 0, 0, 0.5), 0 1px 14px rgba(0, 0, 0, 0.35);
}

.menu-navigation-top {
  position: relative;
  margin-top: 8px;
  overflow: hidden;
  z-index: 2;
}

.navigation_items {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-weight: 200;
}

.navigation_item {
  display: flex;
  justify-content: center;
}
.navigation_item h1 {
  margin-bottom: 0;
}
.navigation_item h2 {
  font-weight: 400;
}
.navigation_item a {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.18em;
  padding: 0 1.6%;
  vertical-align: middle;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.navigation_item a:hover {
  opacity: 0.6;
}
.navigation_item .startpage-link {
  pointer-events: none;
  opacity: 0.6;
}

.menu-title {
  text-transform: uppercase;
  font-size: 3.6rem;
  letter-spacing: 0.28em;
  font-weight: 400;
  -webkit-text-stroke: 0.2px rgba(0, 0, 0, 0.35);
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.55), 0 2px 18px rgba(0, 0, 0, 0.38);
}

.menu-title.secondary {
  -webkit-text-stroke: 0;
  text-shadow: none;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.menu-title.secondary:hover {
  opacity: 0.8;
}

.menu-title.small {
  color: #fff;
  font-size: 1rem;
  -webkit-text-stroke: 0;
  text-shadow: none;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.menu-title.small:hover {
  opacity: 0.8;
}

.navigation_item a:has(.menu-title.secondary):active {
  opacity: 1;
}

.navigation_item:first-child a:active {
  opacity: 1;
}

.wrap-burger {
  display: none;
}

.menu-burger {
  position: relative;
  z-index: 51;
  align-items: center;
  justify-content: flex-end;
  width: 30px;
  height: 18px;
}
.menu-burger span {
  height: 2px;
  width: 80%;
  transform: scale(1);
  background-color: #FAF6F2;
}
.menu-burger::before {
  top: 0;
}
.menu-burger::after {
  bottom: 0;
}
.menu-burger::before, .menu-burger::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #FAF6F2;
  transition: all 0.3s ease 0s;
}
.menu-burger.active span {
  transform: scale(0);
}
.menu-burger.active::before {
  top: 50%;
  transform: rotate(-45deg) translate(0, -50%);
}
.menu-burger.active::after {
  bottom: 50%;
  transform: rotate(45deg) translate(0, 50%);
}

button {
  width: 10rem;
  height: 2.5rem;
  background-color: #212121;
  color: #fff;
  border: 2px solid #fff;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
button:focus {
  outline: none;
}
button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: 0.25rem;
}
button:active {
  opacity: 0.78;
}

.slider-section .item {
  width: 100%;
  height: 100vh;
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}

.categories-item {
  padding: 2% 3%;
  display: inline-block;
}

.categories-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.categories-block img {
  width: 153px;
  height: 150px;
  border-radius: 20px;
}
.categories-block img:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.categories-block p {
  text-align: center;
  color: #fff;
  padding: 1% 1%;
}
.categories-block button {
  width: 15.2rem;
  margin: 2%;
}
.categories-block button:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.portfolio-overview {
  width: min(68rem, calc(100% - 4rem));
  margin: 3.5rem auto 5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 17rem;
  gap: 1.4rem;
}

.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.08em;
  transition: opacity 0.24s ease;
}
.portfolio-card:hover {
  opacity: 0.9;
}
.portfolio-card:hover img {
  transform: scale(1.03);
}
.portfolio-card:active {
  opacity: 0.78;
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.portfolio-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.2rem 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}

.portfolio-card-large {
  grid-column: span 1;
  grid-row: span 2;
}

.portfolio-card-wide {
  grid-column: span 2;
}

.biography-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 5rem;
  align-items: start;
  height: auto;
  padding-top: clamp(4rem, 8vh, 6rem);
  padding-bottom: 3rem;
}

.biography-description, .biography-image {
  width: auto;
}

.biography-description {
  margin: 0 auto;
  max-width: 560px;
  font-size: 0.9rem;
  line-height: 1.85;
  letter-spacing: 0.07em;
  color: rgba(237, 234, 230, 0.88);
}

.biography-statement {
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: #edeae6;
  margin-bottom: 2rem;
}

.biography-meta {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 234, 230, 0.5);
  margin-bottom: 2.5rem;
}

.biography-image {
  text-align: right;
}
.biography-image img {
  width: 100%;
  max-width: 460px;
  border-radius: 6px;
}

.pin_container {
  width: 1320px;
  margin: 20px auto;
  -moz-columns: 4;
       columns: 4;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.pin_container .card {
  width: 100%;
  margin-bottom: 10px;
  background-color: #212121;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}
.pin_container .card .img-fluid {
  max-width: 100%;
  border-radius: 5px;
}
.pin_container .card .img-fluid:hover {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.main-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  position: relative;
}
.main-footer a {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 100;
  padding: 0 1% 0 1%;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.main-footer a:last-child {
  display: flex;
  justify-content: center;
}
.main-footer a:hover {
  opacity: 0.6;
}

.index-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  z-index: 50;
}
.index-footer a {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 100;
  padding: 0 1% 0 1%;
  transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}
.index-footer a:hover {
  opacity: 0.6;
}

.popup {
  overflow: auto;
  width: 80%;
  height: 80%;
  font-size: 0.8rem;
  text-align: center;
}

.popup-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
}
