* {
  box-sizing: border-box;
}

/* @media only screen and (max-width: 576px) {
}

@media only screen and (min-width: 576px) {
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 1200px) {
}

@media only screen and (min-width: 1441px) {
} */

body {
  font-family: "Manrope", sans-serif;
  /* font-family: "DM Sans", serif; */
  margin: 0;
}

a {
  text-decoration: none;
}

header {
  position: fixed;
  display: flex;
  width: 100%;
  padding-inline: 1.25rem;
  padding-block: 1.25rem;
  align-items: center;
  z-index: 10;
}

@media only screen and (min-width: 1200px) {
  header {
    padding-inline: 2.5rem;
  }
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.header__nav {
  margin-left: auto;
}

.nav__menu {
  list-style-type: none;
  margin: 0;
}

main {
  /* display: grid;
  grid-template-rows: 66.666% 33.333%; */
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.center {
  position: absolute;
  height: 6rem;
  width: 100%;
  background: lightgray;
  top: 50%;
}

.intro {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.intro .intro__overlay {
  background: lightgray;
  position: absolute;
  inset: 0;
  z-index: 20;
}

.intro .intro__texts {
  position: absolute;
  bottom: 0;
  /* top: 50%; */
  /* transform: translateY(-50%); */
  padding: 2rem;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -0.25rem;
  /* inset: 0; */
  /* height: 100%;
  width: 100%;
  z-index: 10; */
}

/* .intro__texts span {
  margin-right: 0.25rem;
} */

.intro .intro__texts div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
}

.intro .intro__text {
  margin: 0;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.25rem;
  position: absolute;
  top: 50%;
  color: gray;
}

.intro__text--focused {
  transition: 0.5s;
  color: black !important;
}

.intro .intro__text:nth-child(2) {
  top: 60%;
}

.intro .intro__images {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.intro .intro__image {
  position: absolute;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.header__logo a {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
  display: inline-block;
  letter-spacing: -0.125rem;
  color: black;
}

/*  */
.labs-preview,
.labs-title {
  display: none;
}

.title__list {
  position: relative;
  width: 100%;
  top: 0;
  text-align: center;
  will-change: transform;
}

.title__item {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05rem;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .labs-preview,
  .labs-title {
    display: block;
  }

  .title__list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 80%;
    text-align: left;
  }

  .title__item {
    font-size: 4rem;
    font-weight: 600;
    line-height: inherit;
    letter-spacing: -0.25rem;
    display: inline-flex;
    padding-right: 2rem;
  }
}

.title__item a {
  color: black;
  transition: 0.3s;
  text-decoration: none;
}

.title__item.title__item--inactive a {
  opacity: 0.1 !important;
}

.labs-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  z-index: 2;
  padding: 2rem;
  /* justify-content: center; */
  /* width: 80%; */
  /* margin: auto; */
  height: 100%;
  width: 100%;
}

/* .labs-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview__container {
  margin-left: auto;
  position: relative;
  margin-right: 2rem;
  margin-top: 2rem;
  height: 40dvh;
  width: 40dvw;
  background-color: burlywood;
} */

.labs-preview {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview__image {
  width: 100%;
  height: 80%;
  /* background-color: lightgray; */
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease-out;
}

.preview__image > img {
  position: absolute;
  width: auto;
  height: 100%;
  width: auto;
}

/* .preview__image {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(-50%);
   width: 100%;
  height: 100%; 
  height: 25dvh;
  width: 25vw; 
} */

.button {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: -0.025rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: 2px solid black;
  border-radius: 9999px;
  color: black;
}

.button--icon {
  gap: 1.25rem;
  align-items: center;
}

/*================== SLIDER ====================*/
.slider {
  display: block;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .slider {
    display: none;
  }
}

.slider__images {
  position: absolute;
  width: 100%;
  height: 100%;
}

.image {
  position: absolute;
  width: 100%;
  height: 100%;
}

.image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.slider__counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  /* height: 2rem; */
  height: 24px;
  display: flex;
  gap: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.slider__counter > div {
  flex: 1;
}

.slider__counter p {
  /* line-height: 1rem; */
  /* line-height: 1; */
  margin: 0;
}

.counter {
  position: relative;
  top: 0;
  will-change: transform;
}

.slider__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/*================ SLIDER END ==================*/
