
.slider-text-mobile {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  position:relative;
  justify-content: center;
}


.hp-slider-2024 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 2rem;
 /* height: 630px;*/
  width: 100%;
}

.hp-slider-header {
  margin: 1rem auto;
  width: 100%;
  max-width: 73.125rem;
  padding: 0 24px;
}

li.hp-slider-text {
  font-family: Proxima Nova, "proxima-regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--spectrum-300-cdbfff, #CDBFFF);
  text-align: center;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 36.4px */
  letter-spacing: -0.56px;
  display: flex;
  align-items: center;
  margin-top: 12px;
  justify-content: flex-start;
}

li.hp-slider-text:first-of-type {
  justify-content: flex-end;
}


#sentence {
	/*overflow: hidden;*/
	padding: 0 24px 24px;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sentence > span:not(.slider-text-mobile),
#sentence > p {
		display: inline;
	}	


.adj {
	white-space: nowrap;
	list-style: none;
	position: absolute;
	line-height: 1.3em;
	transform: translateY(60px);
  color: var(--spectrum-200-f-3-f-0-ff, #F3F0FF);

}


#adjList {
	overflow: visible !important;
	text-align: left;
	display: inline;
	position: relative;
	/*height: 24px;*/
  color: var(--spectrum-200-f-3-f-0-ff, #F3F0FF);
  font-family: Proxima Nova, "proxima-bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.84px;
  box-sizing: border-box;
    margin: 0px 8px 0;
}


.two-img-slider {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 1rem auto;
  padding: 1rem 0 2rem;
  height: 400px;
  width: 100%;
  max-width: 73.125rem;
  position:relative;
}

.two-img-box {
  max-width: 1170px;
  width: 100%;
  display: flex;
  opacity: 0;
  transition: opacity .6s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}


.two-img-box.current {
  opacity: 1;
}

.img-box1 {
  padding-right: 10px;
}
.img-box2 {
  padding-left: 10px;
}

.img-box1,
.img-box2 {
  flex: 1;
  max-width: 575px;
  border-radius: 32px;
}

.two-img-box img {
    max-width: 100%;  
    box-shadow: 0px 0px 85px 0px rgba(216, 81, 219, 0.40);
    border-radius: 32px;

}


.slide-in {
	transform: translateY(0);
	transition: 0.7s;
}

.slide-out {
	transform: translateY(-60px);
	transition: 0.7s;
}

@media screen and (max-width: 1240px) {
     div.hp-slider-text {
      flex-wrap: wrap;
  }
}

@media screen and (max-width: 1042px) {
 /* .two-img-box img {
    max-width: 416px;
    height: auto;
    max-height: 275px;
  }*/
  .two-img-box {
   justify-content: center;
    margin: 0 auto;
  }
  #adjList {
    margin: -6px 5px 0;
  }
  li.hp-slider-text {
  font-size: 24px;
  }
  .two-img-slider {
  height: 300px;
  }
}

@media screen and (max-width: 940px) {
  .two-img-slider {
  height: 300px;
  }
  .hp-slider-header {
    flex-direction: column;
  }
   #adjList {
    overflow: hidden !important;
     margin: 6px 6px 0;
     height: 42px;
     width: 152px;
     font-size: 36px;
  }
  .adj {
    top: 0;
    height: 42px;
  }
  .slider-items {
  height: 300px;
  }
  .hp-slider-2024 {
  padding: 0 24px;
  }
  li.hp-slider-text {
    font-size: 24px;
 }
}

@media screen and (max-width: 870px) {
  #sentence {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0 1.5rem 0;
  }
  li.hp-slider-text {
    font-size: 30px;
 }
  
}


@media screen and (max-width: 768px) {
  .two-img-slider {
     height: 400px;
    }
  .img-box1 {
    width: 100%;
    padding: 0;
  }
    li.hp-slider-text {
    font-size: 30px;
 }
  .img-box2 {
  display: none;
  }
  .two-img-box {
  justify-content: center;
  }
  .adj {
    top: 8px;
    height: 42px;
  }
    #adjList {
    height: 50px;
    top: -3px;
  }
  .slider-text-mobile {
  margin-top: -14px;
   }
}


@media screen and (max-width: 540px) {
  .two-img-slider {
    height: 280px;
    }
  #adjList {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
    #adjList,
  li.hp-slider-text {
    font-size: 30px;
   }
.adj {
    height: 55px;
    top: 12px;
    }
  .hp-slider-header {
    margin: 0 auto;
  }
    #sentence {
       align-items: center;
      justify-content: center;
}

@media screen and (max-width: 430px) {

  .two-img-slider {
     height: 240px;
    }
  .adj, #adjList {
    top: 5px;
    }
}
  
  
  @media screen and (max-width: 350px) {
   .adj, #adjList {
            top: 6px;
        }
    #adjList, li.hp-slider-text {
        font-size: 26px;
    }
  .slider-text-mobile {
  flex-direction: column;
    align-items: center;    
   }
   #adjList {
    justify-content: center;
    }
    #last {
    margin-top: 0;
    }
    #sentence {
    padding: 1.5rem 0;
    }
    .two-img-slider {
      height: 200px;
   }
  }
