*{margin:0;padding:0;box-sizing:border-box}

html{
  scroll-snap-type:y mandatory;
  scroll-behavior:smooth;
}

body{
  background: #000;
  overflow-x:hidden;
  font-family:Arial;
}

/* MUSIC BUTTON */
.music-btn{
  position:fixed;
  bottom:80px;
  right:100px;
  z-index:9999;
  padding:10px 15px;
  border:none;
  border-radius:20px;
  background:#fff;
  cursor:pointer;
  transition: .3s;
}
.music-btn:hover {
  transform: translateX(-20%);
  background: orange;
}

.water-mark {
  transform: translateY(41%);
  position:fixed;
  bottom:80px;
  color: White;
  font-weight: bolder;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 40px;
  z-index:9999;
  padding:10px 15px;
  border:none;
  border-radius:20px;
  cursor:pointer;
  transition: .4s; 
}
.water-mark:hover video {
  border-radius: 5px;
  transform: scale(4) translateX(30%) translateY(-150%);
}

/* SECTION */
section{
  height:100vh;
  scroll-snap-align:start;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  padding:40px;
  position:relative;
}

/* IMAGE BASE ANIMATION */
img{
  object-fit:cover;
  transition:0.5s;
  opacity:0;
  transform:translateY(80px) scale(.9);
  animation:show both;
  animation-timeline:view();
  animation-range:entry 20% cover 50%;
}

@keyframes show{
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* SECTION 1 GRID */
.s1 {
	background: url(blossoms.jpg);
	background-position: center;
	background-size: cover;
}
.s1{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.s1 img{width:100%;height:100%;border-radius:20px}


/* SECTION 2 FLOAT */
.s2 {
	background: url(day-bg.jpg);
	background-position: center;
	background-size: cover;
}
.s2 img{
  position:absolute;
  width:180px;height:180px;border-radius:20px;
}

.s2 .center{
  width:320px;height:420px;position:relative;z-index:2
}

.s2 .a{top:10%;left:10%}
.s2 .b{top:15%;right:10%}
.s2 .c{bottom:10%;left:15%}
.s2 .d{bottom:10%;right:15%}

/* SECTION 3 DIAGONAL */
.s3{
  background: url(3d-love.jpg);
  background-size: cover;
  background-position: center;
  display:flex;
  gap:10px;
  transform:skewY(-4deg);
}

.s3 img{height:300px;width:100%;border-radius:15px}

/* SECTION 4 OVERLAP */
.s4 {
	background-position: center;
	background: url(snow-love.jpg);
	background-size: cover;
}
.s4 img{
  position:absolute;
  width:250px;height:350px;border-radius:20px;
}

.s4 img:nth-child(1){left:10%;top:20%}
.s4 img:nth-child(2){left:25%;top:10%}
.s4 img:nth-child(3){left:40%;top:25%}
.s4 img:nth-child(4){left:55%;top:10%}
.s4 img:nth-child(5){left:70%;top:20%}
.s4 img:nth-child(6){left:35%;top:40%}

/* SECTION 5 GRID */
.s5{
  background: url(sunsetpink.jpg);
  background-size: cover;
  background-position: center;
  display:grid;
  grid-template-areas:
  "a a b"
  "c d b"
  "c e f";
  gap:10px;
}

.s5 img{width:80%;height:80%;border-radius:20px}

.s5 .i1{grid-area:a}
.s5 .i2{grid-area:b}
.s5 .i3{grid-area:c}
.s5 .i4{grid-area:d}
.s5 .i5{grid-area:e}
.s5 .i6{grid-area:f}

.one {
    overflow: hidden;
    margin-bottom: 10px;
   }

   .one video,
   .s1 video,
   .s5 video,
   .s4 video,
   .s3 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
   }

    /* button styles */
  .btn {
    background: transparent;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-top: 30px;
    animation: slide .5s infinite alternate;
  }

  @keyframes slide {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(50%);
    }
  }
  .one {
    background: url(candiix.jpg);
	background-size: cover;
	background-position: center;
}
  .one h1 {
	text-transform: Uppercase;
	font-size: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(to right,   orange, red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    /*-qwebkit-text-stroke-color: black;*/
    -webkit-text-stroke-width: 1px;
    text-align: center;
    letter-spacing: -2px;
}
.one p {
	letter-spacing: 10px;
	font-size: 22px;
  color: #fff;
  opacity: 0.5;
}
.one div {
	width: 20%;
	display: flex;
	justify-content: space-between;
	}
	
	.overlay{
position:absolute;
z-index: 9999;
inset:0;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:20px;
}

.card{
background:rgba(255,255,255,.08);
backdrop-filter:blur(10px);
padding:25px;
height: 170px;
color: white;
border:1.5px solid rgba(255,255,255,.5);
border-radius:20px;
box-shadow: 0 0 20px rgba(0,0,0,.8);
}
.water-mark img {
	width: 90px;
}