/**
 * This is not a CSS tutorial, be gentle... 😇
 */

@import url("/fonts.css");

*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-display: block;
  overscroll-behavior: contain;
  font-size: max(0.75rem, 0.8101851852vw);

  color: #3632FF;
  background: #ecedef;
}

::selection {
  background: rgba(54, 50, 255, 0.30);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid var(--Primary-Color, #CCCBFF);
  border-top: 1px solid var(--Primary-Color, #CCCBFF);
}

.text-design {
  width: 65%;
}

.aspect-16_11 {
  z-index: 9999;
}

.works-title {
  text-align: center;
}

.works-title h3 {
  font-size: 30px;
}

.nav-links a {
  font-size: 15px;
}

.container {
  padding-left: max(1.2rem, 40/1440 * 100vw);
  padding-right: max(1.2rem, 40/1440 * 100vw);
}

.text-about-body {
  font-size: 18px;
}

article {
  padding-top: 15vh;
}

section {
  margin: max(5px, 5vw) 0;
}

header {
  height: 40vh;
  max-height: 50vw;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  margin-bottom: max(2.5rem, 5vw);
}

.headerLayout {
  position: relative;
}

h2 {
  font-size: max(3.75rem, 187/1440 * 100vw);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.03em;
  margin: 0;
  margin-left: -0.07em;
}

h2 span {
  display: inline-block;
  width: auto;
}

.subline {
  font-weight: 400;
  font-size: max(15px, calc(15 / 1440 * 100vw));
  display: block;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 2.5rem;
  width: 80%;
  margin-left: 0;
}

.contact-button {
  width: 100%;
  font-size: 28px;
  color: #3632FF;
  display: flex;
  justify-content: end;
  padding-right: 10%;
}

.contact-button-link {
  font-family: 'Playfair Display';
  font-size: 32px;
  border-bottom: 1px solid #3632FF;
}

@media screen and (min-width: 64em) {
  .subline {
    position: absolute;
    left: 50%;
    bottom: 1.5%;
    width: max(300px, 22vw);
    height: auto;
    top: auto;
    display: block;
  }
}

body {
  overflow: hidden;
}

/* Add your custom scrollbar styles here */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}


.back-to-top-button {
  cursor: pointer;
  justify-content: center;
}

.back-to-top {
  justify-content: center;
  text-align: center;
  width: 100%;
}

footer {
  padding-top: max(1.5rem, 3vw);
}

.little-title {
  font-size: 30px;
  border-bottom: 1px solid #3632FF;
  margin-top: 20px;
  width: fit-content;
}

h3 {
  font-family: "Playfair Display", sans-serif;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  font-size: max(2rem, 64/1440 * 100vw);
  margin: 10vw 0;
}

h3 span {
  width: 80%;
}

h3 em {
  text-align: right;
  display: block;
  margin-top: 2.5rem;
}

h3 em span {
  margin-left: auto;
}

@media screen and (min-width: 35em) {
  h3 em {
    margin-top: 0;
  }
}

h4 {
  font-weight: 400;
  font-size: max(1rem, 36/1440 * 100vw);
  line-height: 1.36;
  margin: max(5rem, 200/1440 * 100vw) 0;
  width: 77%;
}

p {
  margin-top: max(5rem, 5vw);
}

@media (min-width: 400px) {
  p {
    margin-left: 50%;
    width: max(200px, 22vw);
  }
}

.JellyPlaceholder {
  /* aspect-ratio: 16/10; */
  width: 66%;
  margin: auto;
}

.ImageLandscape {
  aspect-ratio: 16/9;
}

.ImagePortrait {
  aspect-ratio: 10/16;
  width: 47.5%;
}

.ParallaxContainer {
  display: flex;
  padding: 0 5% 0 5%;
  gap: 5%;
  margin: max(5rem, 300/1440 * 100vw) 0;
}

.ParallaxContainer-mobile {
  display: flex;
  padding: 0 2% 0 2%;
  gap: 3%;
  margin: max(0rem, 1/1440 * 100vw) 0;
}

.ParallaxContainer-mobile-text {
  z-index: -9999;
  margin-left: 2%;
  font-family: 'Playfair Display';
}

.text-design {
  width: 90%;
}

.text-design-quote {
  width: 70%;
}

.container-mobile {
  gap: 50px;
}

@media screen and (max-width: 570px) {
  .ParallaxContainer {
    display: flex;
    /* flex-direction: column; */
  }

  .aspect-9_13 {
    display: none;
  }

  .contact-section {
    margin-bottom: 120px;
  }
}

.ParallaxContent-Container {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.ParallaxContent-Title {
  font-size: 24px;
  z-index: 9999;
}

.ParallaxContent-Container a {
  width: fit-content;
  font-family: 'Playfair Display';
  font-size: 22px;
  border-bottom: 1px solid #3632FF;
}

.aspect-9_13 {
  /* aspect-ratio: 9/13; */
  width: 45%;
  margin: auto;
}

img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* CODROPS TEMPLATE */

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
}

a:hover {
  color: var(--color-link-hover);
  outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
  /* Provide a fallback style for browsers
	 that don't support :focus-visible */
  outline: none;
  background: lightgrey;
}

a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
  background: transparent;
}

a:focus-visible {
  /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
  outline: 2px solid #6e6bcd;
  background: transparent;
}

.frame {
  width: 100%;
  min-height: 5vh;
  padding-bottom: 1.5rem;
}

.frame>* {
  margin: 1rem 0;
}

@media screen and (min-width: 45em) {
  .frame {
    width: 100%;
    height: 5vh;
    display: grid;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.frame a,
.frame button {
  pointer-events: auto;
}

.frame a:not(.frame__title-back) {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  display: inline;
}

.social-links {
  display: flex;
  gap: 15px;
}

/* .frame a:not(.frame__title-back)::before {
  content: "";
  height: 1px;
  width: 100%;
  background: currentColor;
  position: absolute;
  top: 90%;
  transition: transform 0.3s;
  transform-origin: 0% 50%;
}

.frame a:not(.frame__title-back):hover::before {
  transform: scaleX(0);
  transform-origin: 100% 50%;
} */

.frame__title {
  grid-area: title;
  display: flex;
}

.frame__title-main {
  font-size: inherit;
  margin: 0;
  font-weight: inherit;
}

.frame__title-back {
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* .frame__title-back span {
  display: none;
} */

.frame__title-back svg {
  fill: currentColor;
}

.frame__prev {
  grid-area: prev;
}