* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: RedRose;
  src: url(/fonts/RedRose-Medium.ttf);
}
@font-face {
  font-family: RedHatMono;
  src: url(/fonts/RedHatMono-Light.ttf);
}
:root {
  --index: calc(1vh + 1vw);
  --color-title: gainsboro;
  --font-family-title: RedRose;
  --font-variant-title: small-caps;
  --font-family-text: RedHatMono;
  --3d-depth: 4000px;
  --transition-method: 0.7s ease-out;
  background-color: black;
  color: gainsboro;
}

/* menu */
.menu-title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  margin-bottom: -2rem;
  height: 2rem;
  position: fixed;
  z-index: 1;
  width: 100%;
}
.menu-button {
  color: gainsboro;
  font-style: normal;
  font-family: var(--font-family-title);
  font-variant: var(--font-variant-title);
}

/* title */
.container-title {
  z-index: 0;
  position: relative;
  height: 150vh;
}
.note {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.74);
  margin: 0 auto;
  text-wrap-mode: wrap;
  text-wrap-style: pretty;
  text-align: center;
}
.note-text {
  font-family: RedRose;
  font-size: calc(var(--index) * 5);
  font-variant: small-caps;
}
.note-secondary-text {
  color: white;
  font-family: RedHatMono;
  font-size: calc(var(--index) * 1);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

/* about */
.about-title {
  text-align: center;
  text-decoration: double;
  color: var(--color-title);
  background-color: black;
  margin: 3rem;
  padding: 1rem;
  font-family: RedRose, sans-serif;
  font-size: calc(var(--index) * 2);
  font-variant: small-caps;
}
.about-text {
  padding: 3rem;
  font-family: RedHatMono, monospace;
  font-size: calc(var(--index) * 1);
  font-variant: small-caps;
}

/* gallery */
.photo-wrapper {
  height: var(--3d-depth);
}
.container-photo {
  width: 100%;
  perspective: 1500px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  transform-style: preserve-3d;
}
.gallery {
  height: 100%;
  transform-style: preserve-3d;
}
.frame {
  height: 100%;
  width: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-method), opacity 0.7s ease;
  will-change: transform;
  transform-style: preserve-3d;
}
.frame-content {
  height: fit-content;
  width: fit-content;
  --side-small: 26;
  --side-big: 36;
  --indentation: 30px;
  --big: calc(var(--index) * var(--side-big));
  --small: calc(var(--index) * var(--side-small));
}
.frame-content > h2 {
  font-family: var(--font-family-title);
  text-transform: uppercase;
  font-size: calc(var(--index) * 5);
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
  width: min-content;
}
.frame-content > h3 {
  font-family: var(--font-family-title);
  text-transform: uppercase;
  font-size: calc(var(--index) * 2);
  width: min-content;
}
.frame-content > p {
  font-family: var(--font-family-text);
  font-size: calc(var(--index) * 0.8);
  max-width: 33vw;
}
.frame-text-right {
  left: 23vw;
  position: relative;
}
.frame-text-left {
  right: 23vw;
  position: relative;
}
.frame-media {
  position: relative;
  background-position: center;
  background-size: cover;
}
.portrait {
  height: var(--big);
  width: var(--small);
}
.landscape {
  height: var(--small);
  width: var(--big);
}
.frame-media-left.portrait {
  right: calc(var(--side-small) / 2 * var(--index) + var(--indentation));
}
.frame-media-right.portrait {
  left: calc(var(--side-small) / 2 * var(--index) + var(--indentation));
}
.frame-media-left.landscape {
  right: calc(var(--side-big) / 2 * var(--index) + var(--indentation));
}
.frame-media-right.landscape {
  left: calc(var(--side-big) / 2 * var(--index) + var(--indentation));
}
.frame-bg {
  background-color: rgba(0, 0, 0, 0.8);
}
.frame-text-center {
  margin: 0 auto;
}

.gallery-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin-top: -90vh;
  h3 {
    margin: 0 auto;
    font-family: RedRose, sans-serif;
    font-size: calc(var(--index) * 2);
    font-variant: small-caps;
  }
}
.button-more {
  color: var(--color-title);
  background-color: darkorange;
  padding: 1rem;
  margin: 2rem auto;
  border: 1.5px solid var(--color-title);
  border-radius: 10px;
  width: 20vw;
  cursor: pointer;
}

/* core */
ul.desc {
  padding-left: 60px;
  padding-right: 60px;
  margin-left: 30px;
}

/* footer */
.footer {
  min-height: 50vh;
  background-color: var(--main-color5);
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  font-family: var(--font-family-title);
  .w-33 {
    width: 33%;
    min-width: 300px;
    padding: 1rem;
    height: auto;
    text-align: right;
    .block {
      display: block;
    }
  }
  .w-100 {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
  }
  a,
  p {
    color: var(--main-color1);
    text-decoration: none;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0) invert(1);
  }
}
