@import url('reset.css');
@import url('fonts.css');
* {
    box-sizing: border-box;
    font-family: "Amatic SC";
}
html {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background-color: #000;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background-color: #000;
}
.first {
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}
.first .windows {
    margin-top: 20px;
    width: 313px;
    z-index: 1;
}

.first .lightsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    height: 755px;
    z-index: 3;
    
}
@media screen and (max-height: 900px) {
  .first .lights {
    margin-bottom: -7px;
  }
}
@media screen and (min-height: 1024px) {
  .first .lights {
    margin-bottom: -100px;
  }
}
@media screen and (min-height: 1400px) {
  .first .lights {
    margin-bottom: -200px;
  }
}

.door1{
  background-size: cover;
  object-fit: fill;
  transition: all 1s ease;
  transform-origin: right center;
  z-index: 100;
  cursor: pointer;
}
.door1.active{
  transform: rotateY(133deg);
}
.doors {
    display: flex;
    background-image: url('../images/doorBack.png.svg');
    justify-content: center;
    height: 800px;
    width: 444px;
    max-width: 100%;
    position: relative;
    z-index: 1000;

}
.enter{
  position: absolute;
  width: 70%;

}
.Ftext{
  position: absolute;
  top: 25%;
  left: 34%;
  color: #FF41C6;
  font-size: 96px;
  rotate: 19deg;
  cursor: pointer;
}
.Ftext2{
  top:50%;
  color: #FF41C6;
  font-size: 65px;
  position: absolute;
  padding-left: 24px;
  text-align: center;

}
.windows {
    display: flex;
    justify-content: space-between;
    height: 600px;
}
.lights {
    width: 1175px;
    height: 1230px; 
}
.twoEl{
  display: flex; 
  flex-direction: row; 
  justify-content: space-around;
  z-index: 2; 
  gap: 138px;
  pointer-events: none;
}
.doors,
.door1{
  pointer-events: auto;
}
.second {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  min-height: 120vh;
  overflow: hidden;
  background-color: #000;
  width: 100%;
  padding-bottom: 40px;
}
.phone{
  position: absolute;
  bottom: 375px ;
  left: 99px;
  rotate: -7deg;
  height: 370px;
}
.tourch{
  position: absolute;
  bottom: 375px;
  left: 305px;
  rotate: 27deg;
  height: 690px;
}
h1 {
  z-index: 10000;
  margin: 0;
  color: #ff10b7;
  font-family: "Amatic SC", cursive;
  font-size: 115px;
  line-height: 0.95;
  text-align: center;
}
#ribbon {
  position: absolute;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) rotate(-7deg);
}
.hands-and-table {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1920px;
}
.windows-container {
  position: absolute;
  top: 0%;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 40px;
  flex-wrap: nowrap;
}
#hands {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  width: 40%;
}
#table {
  z-index: 10;
  padding-bottom: 195px;
  width: 55%;
}
.table-container {
  position: relative;
  width: 1027px;
  height: 679px;
}
.table-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.table-container .table-top {
  z-index: 3;
  pointer-events: none;
}
[data-js="drag-item"]{
  touch-action: none;
  user-select: none;
  cursor: grab;
}
[data-js="drag-item"].dragging{
  cursor: grabbing;
}
[data-js="drag-item"].on-table{
  z-index: 2;
}
.window {
  width: 200px;
  height: auto;
  object-fit: cover;
}
.vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  height: 150%;
  display: none;
  background: linear-gradient(360deg, #000 20.36%, rgba(0, 0, 0, 0) 84.75%);
}
.third{
    height: 100vh;
    overflow: clip;
    background-image: url('../images/third.svg');
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    .textt{
        z-index: 100;
        font-size: 110px;
        text-align: center;
        color: #ff10b7;
    }
}
.third-dark{
    position: absolute;
    top: -200px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}
.stairs-scene{
    position: relative;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    margin-left: calc(50% - 50vw);
    display: flex;
    z-index: 1;
}
.stairs{
    max-width: 100%;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: fill;
}
.stairs-ribbon{
    position: absolute;
    z-index: 3;
    height: auto;
    transform-origin: center;
}
.stairs-ribbon-top{
    left: 19%;
    top: 30%;
    width: 64%;
    transform: rotate(-7deg);
    cursor: pointer;
}
.stairs-ribbon-middle{
    left: 4%;
    top: 47%;
    width: 90%;
    transform: rotate(14deg);
    cursor: pointer;
}
.stairs-ribbon-bottom{
    left: -47%;
    top: 48%;
    width: 200%;
    transform: rotate(-6deg);
    cursor: pointer;
}

.fourth{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-image: url('../images/fourth.svg');
    background-size: cover;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 48px 64px;
}
.fourth-content{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 50px;
}
.switch{
    order: 1;
    width: 445px;
    height: auto;
    cursor: pointer;
}
.fourth-text{
    order: 2;
    max-width: 840px;
    color: #ff24bd;
    font-size: 96px;
    text-align: left;
    padding-bottom: 300px;
}

.fourth-extra{
    display: none;
    position: absolute;
    top: calc(100% - 270px);
    left: 495px;
    padding-bottom: 0;
}
.fourth.show-extra .fourth-extra{
    display: block;
}
.fire{
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  min-width: 1280px;
  height: auto;
  opacity: 0;
  transition: opacity 120ms linear;
  pointer-events: none;
}
.fourth.fire-active .fire{
  opacity: 1;
}
.fifth{
    position: relative;
    height: fit-content;
    overflow: hidden;
    background-image: url('../images/fifth.svg');
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
}
.fifth h1 {
      font-size: 95px;
   }

.door {
    display: flex;
    justify-content: center;
    height: 700px;
}
.window2 {
    display: flex;
    justify-content: space-between;
    height: 550px;
}
.nature{
  display: flex; 
  flex-direction: row; 
  justify-content: space-around;
  z-index: 2; 
  gap: 100px;
  align-items: flex-start;
  padding: 0px 20px;
  height: 84%;
}
.sixth{
    position: relative;
    height: 125vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/star.svg');
}
.darken{
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}
.darken2{
  position: absolute;
  bottom:-2px;
  rotate: 180deg;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}
.star-stack{
    position: relative;
    width: 1280px;
    height: 1280px;
    flex: 0 0 1280px;
    z-index: 1;
}
.star-layer{
    position: absolute;
    top: 50%;
    left: 50%;
    height: auto;
    transform: translate(-50%, -50%);
    transform-origin: center;
    will-change: transform;
    cursor: pointer;
}
.star-layer-1{
    width: 200%;
}
.star-layer-2{
    width: 108%;
}
.star-layer-3{
    width: 78%;
}
.star-layer-4{
    width: 52%;
}
.star-layer-5{
    width: 30%;
}
.star-layer-6{
    width: 14%;
}
.seventh{
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #010A16;
}
.seventh-inner{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(1200px, 100%);
  min-height: 100vh;
  padding: 48px 64px;
}
.seventh-row{
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}
.seventh-window{
  width: min(20vw, 260px);
  height: auto;
  rotate: 180deg;
}
.seventh-text{
  align-self: center;
  color: #ff10b7;
  font-size: 96px;
  text-align: center;
  margin-top: -130px;
  padding: 0 120px;
}
.seventh-row-bottom{
  align-items: flex-end;
  padding: 0 80px;
  margin-top: -300px;
}
.seventh-lamp-wrap{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 50%;
}
.seventh-lamp{
  position: relative;
  width: 900px;
  height: auto;
  rotate: 180deg;
}

@media screen and (max-width: 1300px){
  .twoEl{
    gap: 100px;
  }
  .doors {
    height: 780px;
     width: 430px;
  }
  .lights {
    width: 1154px;
  }
  .phone{
    left: 50px;
  }
  .tourch{
    left: 245px;
  }
  .nature{
    gap: 50px;
    justify-content: center;
  }
  .door{
    height: 780px;
  }
}
@media screen and (max-width: 1170px){
  .twoEl{
    gap: 50px;
  }
  .doors {
    height: 580px;
    width: 321px;
  }
  .first .windows {
    margin-top: 0;
    width: 280px;
    height: 516px;
  }
  .Ftext{
    top: 26%;
    left: 36%;
    font-size: 65px;
  }
  .Ftext2{
    font-size: 46px;
    padding-left: 51px;
    padding-top: 35px;
  }
  .nature{
    gap: 50px;
  }
  .door{
    height: 680px;
  }
  .window2{
    margin-top: 0;
    width: 280px;
    height: auto;
  }
}
@media screen and (max-width: 1170px) and (min-width: 1024px) {
  .first .lights{
    width: 1016px;
    margin-bottom: 37px !important;
  }
}
@media screen and (max-width: 1024px){
  .light-right {
    display: none;
  }
  .light-left {
    margin-right: 97px !important;
  }
  .window-right {
    display: none;
  }
  .second {
    gap: 0;
  }
  h1 {
    font-size: 70px;
  }
  .phone{
    top: 0%;
    width: 23%;
    left: 29%;
  }
  .tourch{
    top: -50%;
    width: 34%;
    left: 51%;
  }
  #ribbon {
    top: auto !important;
    bottom: 45px !important;
    width: 150vw;
    min-width: 1280px;
  }
  .windows-container {
    top: 50%;
    transform: translateY(-50%);
  }
  .hands-and-table {
    flex-direction: column;
    align-items: center;
  }
  #hands {
    align-items: flex-start;
    height: 410px;
    transform: rotate(180deg) scaleX(-1);
    width: 100%;
    margin-top: 0px;
  }
  .h {
    height: 700px;
  }
  #table {
    width: 80%;
    padding-bottom: 280px;
  }
  .table-container {
    width: 100%;
    height: auto;
    aspect-ratio: 1027 / 679;
  }
  .table-container img {
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 800px;
    height: auto;
    transform: translateX(-48%);
  }
  .table-container .table-top {
    transform: translateX(-330px);
  }
  .vignette {
    display: block;
    width: 100%;
    background: linear-gradient(360deg, #000 20.36%, rgba(0, 0, 0, 0) 121.75%);
  }
  .third-dark{
    top: 0px;
  }
  .third .textt {
    font-size: 70px;
    padding: 50px 5px;
  }
  .fourth{
    padding: 40px 28px;
  }
  .fourth-content{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .switch{
    order: 2;
    width: min(92vw, 520px);
    transform: translateX(-18px);
  }
  .fourth-text{
    order: 1;
    padding-top: 56px;
    max-width: 560px;
    font-size: 80px;
    padding-bottom: 0;
    text-align: center;
  }
  .fourth-extra{
    order: 3;
    position: static;
    margin-top: -50px;
    display: block;
    visibility: hidden;
    opacity: 0;
  }
  .fourth.show-extra .fourth-extra{
    visibility: visible;
    opacity: 1;
  }
  .window2-right{
    display: none;
  }
  .nature{
    gap: 40px;
  }
  .fifth h1{
    font-size: 70px;
  }
}
@media screen and (max-width: 768px){
  .window-left {
    display: none;
  }
  .light-left {
    margin-right: 0px !important;
  }
  .lights {
    height: 954px;
    width: 900px;
  }
  .first .lightsContainer {
    height: 585px;
  }
  .doors {
    height: 480px;
    width: 265px;
  }
  .Ftext{
 
    font-size: 56px;
  }
  .Ftext2{
    font-size: 35px;
    padding-left: 50px;
    padding-top: 10px;
  }
   .table-container img {
    width: 640px;
  }
  .table-container .table-top {
    transform: translateX(-266px);
  }
  .stairs-scene{
    width: 140%;
    margin-left: calc(50% - 70vw);
  }
  .third .textt {
    font-size: 44px;
  }
  .third-dark{
    top: 0px;
  }
  .fourth{
    padding: 28px 20px;
  }
  .fourth-content{
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .switch{
    order: 2;
    width: min(92vw, 370px);
    transform: translateX(-12px);
  }
  .fourth-text{
    order: 1;
    max-width: 100%;
    font-size: 52px;
    text-align: center;
  }
  .fourth-extra{
    order: 3;
    display: block;
    visibility: hidden;
    opacity: 0;
  }
  .fourth.show-extra .fourth-extra{
    visibility: visible;
    opacity: 1;
  }
  .fire{
    width: 180%;
    left: 50%;
    transform: translateX(-50%);
  }
  .window2-left{
    display: none;
  }
  .fifth{
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .nature{
    width: 100%;
    justify-content: center;
    gap: 0;
    padding-top: 24px;
  }
  .door{
    height: auto;
    max-height: none;
  }
  .door img,
  .door{
    max-width: 93%;
  }
  .fifth h1{
    font-size: 52px;
    padding: 24px 12px;
  }
  .seventh-inner{
    padding: 40px 28px;
  }
  .seventh-window{
    display: none;
  }
  .seventh-row-bottom{
    justify-content: center;
    padding: 0;
    margin-top: -180px;
  }
  .lamp-right{
    display: none;
  }
  .seventh-lamp-wrap{
    width: 100%;
    justify-content: center;
  }
  .seventh-lamp{
    width: 760px;
  }
  .seventh-text {
    margin-top: 50px;
  }
}
@media screen and (max-width: 700px){
  h1{
    font-size: 50px;
    padding-top: 18px;
  }
  .h {
    height: 500px;
    
  }
  .phone{
    width: 29%;
  }
  .tourch{
    width: 43%;
    left: 44%;
  }
   #ribbon {

    bottom: 21px !important;
    min-width: 800px;
  }
}
@media screen and (max-width: 500px){
   .phone{
    min-width: 37%;
    left: 60px;
  }
  .tourch{
    min-width: 66%;
    left: 175px;
  }
}
@media screen and (min-width: 1500px){
  .phone{
    left: 150px;
  }
  .tourch{
    left: 324px;
  }
}
@media (min-width: 1512px){
  .third-dark{
    top: -300px;
  }
}
