@keyframes opacity{
0%{
opacity:0;
}
100%{
opacity: 1;
}
}
.prevseq button img {
margin-right: 2.5px;
margin-left: -4px;
width: 22px;
margin-top: 2px;
margin-bottom: -2px;
}
.indicatorseq {
display: flex;
position: absolute;
top: 100px;
margin-left:10px;
background: none;
}
.indicatorseq div {
z-index: 20;
display: flex;
width: 20px;
height: 20px;
margin-left: 0px;
margin-right: 15px;
background: transparent;
border:4px solid #EACCB5;
border-radius: 50%;
text-align: center;
justify-content: center;
align-items: center;
}
.indicatorseq div.active {
background-color:#EACCB5;
transition: 0.3s;
}
.controls-seq {
display: flex;
position: absolute;
transition:6s;
top:330px;
right:37%;
animation: opacity 3s ease;
}
.controlsseq {
margin-top: 0px;
display: flex;
transition:6s;
}
.nextseq {
margin-left: 13px;
}
.prevseq,
.nextseq {
cursor: pointer;
flex-grow: 1;
z-index: 2;
margin-top: 10px;
width: 50px;
height:50px;
padding: 15px 0px;
border-radius: 100%;
background-color: transparent;
border: 1px solid #EACCB5;
cursor: pointer;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.nextseq button,
.prevseq button {
position: relative;
cursor: pointer;
background-color: transparent;
border: none;
padding: 0px 20px;
}
.nextseq {
animation: circ 3.5s ease-in-out infinite;
}
.nextseq button img {
margin-left: 4.2px;
margin-right: 24px;
width: 21px;
margin-top: 1px;
margin-bottom: -1px;
}
.prevseq button img {
margin-left: -2px;
margin-right: 23px;
width: 22px;
margin-top: 2px;
margin-bottom: -2px;
}
.testmonial-main{
width: 100%;
display: flex;
justify-content: center !important;
}
.seqslideholder {
margin-top:45px;
padding: 0px 0px;
position: relative;
width: 100%;
display: flex;
justify-content: space-around;
height:500px;
max-width: 1200px;
justify-content: center;
}
.product-slide {
width: 100%;
display: flex;
align-content: center;
align-items: center;
align-self: center;
}
.product-display {
width:100%;
display: flex;
align-content: center;
justify-content: center;
align-items: center;
justify-content: space-around;
display: none;
}
h2.seqhab {
top: 0px;
font-size: 35px;
font-family: recoleta, Serif;
color: #8eb2a7;
opacity: 0.7;
left: -22px;
transform: rotate(90deg)
position: absolute;
writing-mode: vertical-rl;
margin-left: -14px;
}
.promo {
margin-left: 18%;
font-family: recoleta, Sans-Serif;
}
.product-desc {
width: 100%;
}
img.eqimg {
margin-left: -90px;
width: 90%;
}
.p-name {
font-family: recoleta, Serif;
font-size: 33px;
}
.product-desc {
display: flex;
flex-direction: column;
}
button.bteq {
padding: 16px;
width: 160px;
border-radius: 20px 0px;
color: white;
transition: 0.6s;
}
button.bteq:hover {
background: white;
padding: 16px;
width: 160px;
border-radius: 20px 0px;
color: #8eb2a7;
}
.active{
display: flex;
width:100%;
}
.promo h3,h4{
font-family: recoleta,serif;
}
.promo h3{
color:#8eb2a7;
margin-top:-15px;
margin-bottom: -10px;
}
@media (max-width:500px){
.seqslideholder {
padding: 100px 0px;
background-color: #ebebeb;
position: relative;
width: 100%;
display: flex;
justify-content: space-around;
}
h2.seqhab{
display: none;
}
.seqslideholder{
display: block;
}
.product-slide{
}
.product-display{
flex-direction: column;
margin-left: 125px;
}
.prod-img{
flex-direction: column;
height:100%;
background-size:cover;
}
.controls-seq{
margin-top: 20px;
}
.promo{
margin-top:0px;
margin-bottom: 90px;
}
}
.product-display{
transition: 1s ease;
transition-delay: 0.4s ease;
}
.product-slide{
transition: 1s ease;
}
span.pricef{
color:#8eb2a7;
}
.product-desc{
height:100%;
padding: 40px 155px;
flex-direction: column;
height:100%;
}
.product-slide{
position:absolute !important;
}
.prod-img:nth-child(1){
width:100%;
background:url("https://allaboutyouskin.com/wp-content/uploads/2021/06/
") !important;
max-width:650px;
background-size:cover !important;
}
.prod-img{
width:100%;
max-width:650px;
background-size: cover !important;
height:100% !important;
background-position:center;
background-size:cover !important;
background-size:cover !important;
}
.prod-img2{
width:100%;
max-width:650px;
background-image:url("https://allaboutyouskin.com/wp-content/uploads/2021/06/park-street-KYUiTYOaE9M-unsplash-1-1-1024x683-1.jpeg") !important;
content:url(https://allaboutyouskin.com/wp-content/uploads/2021/06/park-street-KYUiTYOaE9M-unsplash-1-1-1024x683-1.jpeg);
background-size: cover !important;
height:100% !important;
background-position:center;
background-size:cover !important;
background-size:cover !important;
}
.prod-img3{
width:100%;
max-width:650px;
background-image:url("https://allaboutyouskin.com/wp-content/uploads/2021/06/pexels-koolshooters-7143191-1024x683-1.jpeg") !important;
content:url(https://allaboutyouskin.com/wp-content/uploads/2021/06/pexels-koolshooters-7143191-1024x683-1.jpeg);
background-size: cover !important;
height:100% !important;
background-position:center;
background-size:cover !important;
background-size:cover !important;
}
@media(min-width:1950px){
.prod-img3, .prod-img2, .prod-img:nth-child(1){
width: 50% !important;
max-width: 50% !important;
}
.controls-seq {
display: flex;
position: absolute;
transition: 6s;
top: 330px;
right: 33% !important;
}
.product-desc{
width: 50% !important;
}
}
.product-desc{
width:100%;
background:white;
}
p.p-desc{
max-height: 300px;
width:400px;
margin-top:90px;
font-size:18px;
}
.product-desc h2{
font-weight:bold;
font-family:"Helvetica Neue", sans-serif;
font-size:42px;
}
.product-desc h3{
font-weight:600;
font-family:"Helvetica Neue", sans-serif;
font-size:25px;
color:#D9B194;
margin-top:-20px;
}
/*.product-desc:nth-child(1){*/
/* margin-top:-20px;*/
/*}*/
.product-desc:nth-child(2){
margin-left: -5% !important;
}
.product-desc:nth-child(3){
margin-left: -5% !important;
}
.descleaves{
position:absolute;
right:-90px;
top:50px;
width:200px;
z-index: 9;
transform:rotate(-35deg);
transition:0.5s ease;
animation: leavi 3s ease infinite ;
}
@keyframes leavi{
0%{ transform: rotate(-35deg);
}
50%{
transform: rotate(-28deg)
}
100%{
transform: rotate(-35deg)
}
}
@media(max-width:800px){
.controls-seq{
left:32% !important:
right:0%;
}
}
@media(min-width: 1750px){
.controls-seq {
display: flex;
position: absolute;
transition: 6s;
top: 330px;
right: 30% !important;
}
}
@media(max-width: 1850px){
.controls-seq {
display: flex;
position: absolute;
transition: 6s;
top: 330px;
right: 33.6% !important;
}
}
.product-desc .txt1{
margin-left: 12% !important;
}
"I love how much it smells like the actual fruit and I alwaus have comments on how good my skin and hair look when I wear it"
Johnny
"I have dry skin and my husband gets severe eczema on his hands and the skin foods are perfect for him, as normal hand washes dry out his skin."
Samantha
"The shampoo has completely revitalized my hair, and it's looking so shiny and strong, thank you!"
Jennifer
const slidesseq = document.querySelectorAll(".product-display");
const prevseq = document.querySelector(".prevseq");
const nextseq = document.querySelector(".nextseq");
const indicatorseq = document.querySelector(".indicatorseq");
let indexseq = 0;
prevseq.addEventListener("click", function () {
prevSlideSeq();
updateCircleIndicatorSeq();
resetTimerSeq();
});
nextseq.addEventListener("click", function () {
nextSlideSeq();
updateCircleIndicatorSeq();
resetTimerSeq();
});
function prevSlideSeq() {
if (indexseq == 0) {
indexseq = slidesseq.length - 1;
} else {
indexseq--;
}
changeslideSeq();
updateCircleIndicatorSeq();
}
function nextSlideSeq() {
if (indexseq == slidesseq.length - 1) {
indexseq = 0;
} else {
indexseq++;
}
changeslideSeq();
updateCircleIndicatorSeq();
resetTimerSeq();
}
function changeslideSeq() {
for (i = 0; i < slidesseq.length; i++) {
slidesseq[i].classList.remove("active");
}
slidesseq[indexseq].classList.add("active");
}
function circleIndicatorSeq() {
for (let i = 0; i < slidesseq.length; i++) {
const div = document.createElement("div");
div.setAttribute("onclick", "indicateSlideSeq(this)");
div.id = i;
if (i == 0) {
div.className = "active";
}
indicatorseq.appendChild(div);
}
}
circleIndicatorSeq();
function indicateSlideSeq(element) {
indexseq = element.id;
changeslideSeq();
updateCircleIndicatorSeq();
resetTimerSeq();
}
function updateCircleIndicatorSeq() {
for (let i = 0; i < indicatorseq.children.length; i++) {
indicatorseq.children[i].classList.remove("active");
}
indicatorseq.children[indexseq].classList.add("active");
}
function autoPlaySeq() {
nextSlideSeq();
updateCircleIndicatorSeq();
}
let timerSeq = setInterval(autoPlaySeq, 5000);
function resetTimerSeq() {
clearInterval(timerSeq);
timerSeq = setInterval(autoPlaySeq, 5000);
}