*,
*::before,
*::after{
    box-sizing: border-box;
} /*ALWAYS START WITH THIS WHEN CREATING STORE*/

body{
  margin: 0;  
  font-family: "Barlow Condensed", sans-serif;
  background-color: black;
  line-height: 1.6;

}

img{
  max-width: 100%;
  display: block;
}

h1,h2,h3,p{
  margin: 0;
  color: rgb(173, 242, 34);
}
section {
    padding: 7em 0;
   & .section-title{
    background-color: rgb(11, 36, 36); 
   }   
}

.container{
  width: 85%;
  max-width:65em; /*65*16=1.040px*/
  margin: 0 auto;
}

.split{  /*for the circles*/
    display: flex;
    gap:3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 25rem;
     
    & > *{
        flex-basis: 30%;
        min-width: 15em;
    }

}
 

.spacing > *+* {
  margin-top: var(--spacer,2rem); /*this gives uniform spacing to the h1,h2..*/
}

.btn{
  display: inline-block; /*this helps anchor */
  text-decoration: none;
  padding: .5em 1.25em;
  background-color: var(--clr-accent, rgb(255, 0, 225));
  color: var(--clr-text, white);
  font-weight: 700;
  text-transform: uppercase; /*make capital letters*/
  font-size: 1.125rem;
  border-radius:.25em ;
  transition: 
  transform 250ms ease-in-out,
  opacity 250ms linear;
}

.btn:hover,
.btn:focus{
  transform:scale(1.1) ;
  opacity: .9;
}

.primary-title{
  font-size: clamp(3rem, calc(5vw + 1rem), 4.5rem); /*smallest it can be is # biggest is 4.5 */
  font-size: 4rem;
  line-height: 1;
  text-transform: uppercase;
}

.section-title{
  text-align: center;
  font-size: clamp(2.5rem, calc(5vw + 1rem),4rem);
  line-height: 1;
  margin-bottom: 5rem;
     
 }

.hero {
  color: aliceblue;
  text-align: center;
  padding: 15em 0;
  background: black;
}

@supports (background-blend-mode: multiply) {
  .hero {
    background :url(assets/background.png),
    radial-gradient(#444,#2b2a2a);
    background-blend-mode: multiply;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover !important;
    background-attachment: fixed;
} /*this is used for scss!?*/

.featured{
    background: #291212;
}

}

.featured__item {
    display: block;
    position: relative;
    transform: scale(0.85); /* I love how this shrinks the painting */
    transition: transform 250ms ease-in-out;
    text-decoration: none;
    text-align: center;
    line-height: 1.6;

} 

 

.featured__item:hover,
.featured__item:focus {
    transform: scale(1);

    .featured__details{
        opacity: 1;
    }
}

.featured__item:after {
    content: '';
    top: -15%;
    left: -12%;
    position: absolute;
    padding: 120% 120% 0 0; 
    border-radius: 50%;
    box-shadow: 0px 00px 40px 20px rgb(62, 7, 86);
    z-index: -1;  

}
.featured__details {
  opacity:0 ;

    span{
       display: block;
       color: #fff;
       font-weight: 700;
       font-size: 2.5rem;
    }

}

.featured__img {
    max-width: 100%; /* Ensures image doesn't overflow the container */
    height: auto;
    margin-top: -60%;
}  

.product__img {
    align-items: center;
    padding: 100px; 
    margin: 100px;
}


.product{
    margin: 3em;  
    text-align: center;
    background:radial-gradient(white, rgb(61, 1, 61)) ;

    .product__title{
        font-size: 4rem;
        color: #fff;
        text-shadow: 0 0 0.2em;
        line-height: 1.10;
        align-items: center;
        
    }
}

.slideshow-container {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center;
     
     
}

.mySlides {
    display: none;
    width: 50%;
    height: 10%;
}

.mySlides img {
    width: 100%;
    height: 100%;
}

.prev, .next {
    cursor: pointer;
    /* position: absolute; */
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  .prev:hover, .next:hover {
    background-color: rgba(13, 12, 12, 0.8);
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from { opacity: .4 } 
    to { opacity: 1 }
}

/* Responsive navigation*/
@media screen and (max-width: 768px) {
  .prev, .next {
    padding: 12px;
    font-size: 16px;
  }

  .dot {
    height: 12px;
    width: 12px;
  }
}

@media screen and (max-width: 480px) {
  .prev, .next {
    padding: 8px;
    font-size: 14px;
  }

  .dot {
    height: 10px;
    width: 10px;
  }

  /* Adjust text size inside the slider */
  .mySlides .text {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .prev, .next {
    position: relative;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
  }

  .prev {
    margin-right: 20px;
  }

  .next {
    margin-left: 20px;
  }
}


/*Responsive Img*/
@media screen and (max-width: 768px) {
  .slideshow-container {
    max-width: 100%; /* Ensure container adapts to tablet size */
  }

  .product__img {
    align-items: center;
     
  }
}

@media screen and (min-width: 480px) {
  .slideshow-container {
    max-width: 100%; /* Ensure container adapts to mobile size */
  }

  .mySlides img {
    width: 80%; /* Ensure images fill the container width */
    height: auto; /* Maintain aspect ratio */
    padding: 20px;
    margin: 40px;
    display: flex;
}


 
}



 

 