/* Basic CSS Boilerplate */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  background-color: #FAF0E6;
  height: 100%;
  width: 100%;
}


#page1{
    height: 100%;
    width: 100%;
    /* background-color: red; */
}

#nav{
    height: 100px;
    width: 100%;
    /* background-color: blue; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}


#nav_part1{
  width: 30%;
   /* background-color: yellow; */
  display: flex;
  align-items: center ;
  justify-content: space-between;
}

#nav_part1 h5{
  font-size: 15px;
  font-weight: 500;
}

#nav img{
  height: 60%;
  width: fit-content;
  background-position: co;
}

#nav_part2{
  width: 30%;
  /* background-color: yellow; */
  display: flex;
  align-items: center ;
  justify-content: flex-end;
  padding: 0 5px;
  gap: 5px;
}


#nav_part2 button{
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  color: white;
  background-color: black ;

}


#nav_part2 button:nth-child(1){
  background-color: transparent;
  color: #000;
}



#content{
  height: calc(100% - 100px);
  margin-top: 15px;
  /* background-color: red; */

}

#content h3{
  background-color: #f2b0ea;
  padding: 12px 16px;
  width: fit-content;
  border-radius: 50px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 100;
  font-family: "WF Visual Sans";
}

#content h1{
  margin-top: 25px;
  font-size: 70px;
  text-align: center;
  font-weight: 100;
  font-family: "WF Visual Sans";
  line-height: 70px;
}

#content h4{
  text-align: center;
  margin: 25px;
  font-weight: 400;
}


#content button{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px 13px;
  border-radius: 50px;
  border: none;
  color: white;
  background-color: #000;
  margin: 5px 0 30px 0;
}

#bottom{
  height: 295px;
  width: 100%;
  /* background-color: red; */
  
  padding: 5px;
   overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;

}


#bottom::-webkit-scrollbar{
  display: none;
}

#bottom {
  display: flex;
  gap: 10px;
  overflow: hidden; /* hide overflow for smooth marquee */
  padding: 10px;
}

.scroll-wrapper {
  display: flex;
  animation: scroll-left 20s linear infinite; /* adjust speed here */
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* move half width for seamless loop */
}

/* Your elem styles stay the same */
.elem {
  position: relative;
  margin-right: 30px;
  display: inline-block;
  border-radius: 40px;
  height: 100%;
  width: 200px;
  background-color: black;
  overflow: hidden;
  flex-shrink: 0;
}

.elem img,
.elem video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.elem .text_bottom {
  height: 25%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  bottom: 0;
  position: absolute;
  padding: 12px 12px;
  display: flex;
  align-items: flex-end;
}

.elem .text_bottom h5 {
  font-family: "WF Visual Sans";
  font-size: 15px;
  margin-top: 9%;
  font-weight: 400;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}



.elem img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


.elem video{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}


.elem .text_bottom {
  height: 25%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* smooth fade */
  backdrop-filter: blur(2px); /* adds glass blur */
  -webkit-backdrop-filter: blur(2px); /* Safari support */
  bottom: 0;
  position: absolute;
  padding: 12px 12px;
  display: flex;
  align-items: flex-end; /* text stays at bottom */
}



.elem .text_bottom h5{
  font-family: "WF Visual Sans" ;
   font-size: 15px;
   margin-top: 9%;
  font-weight: 400;
  color: white;
}



#page2{
  height: 100%;
  width: 100%;
  /* background-color: red; */
  position: relative;
  padding: 60px;
}

#page2 h2{
  font-size: 50px;
  font-weight: 500;
  text-align: center;
  margin-top: -30px;
  margin-bottom: 50px;
}
 .box{
  position: relative;
  height: 250px;
  width: 300px;
  background-color: blue;
  /* padding: 20px; */
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  margin:10px ;
}

.box img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;

}

.box-bottom{
  height: 30%;
  width: 100%;
  background: linear-gradient(transparent,rgba(0,0,0,0.718));
  position: absolute;
  bottom: -40%;
  transition:all ease 0.3s;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 15px;
}

.box-bottom i{
  background-color: white;
  padding: 5px 7px;
  color: black;
  font-size: 15px;
  border-radius: 50%;
}

.box:hover .box-bottom{
bottom: 0;

}