.intro 
{
  width: 100%;
  position: relative;
  box-sizing: border-box;
  color: black;
  flex-direction: column;
  overflow: hidden;
  line-height: 2em;
  background: #000f;
}

.intro .images .dots
{
  position: absolute;
  z-index:1;
}

.intro .images
{
  position: absolute;  
  height: 100%;
  width: 100%;
}

.intro img
{
  opacity: 0;
  position: absolute;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.intro .images:has(#bgsel1:checked) #bg1
{
  opacity: 1;
  transition: all 2s;
}

.intro .images:has(#bgsel2:checked) #bg2
{
  opacity: 1;
  transition: all 2s;
}

.intro .images:has(#bgsel3:checked) #bg3
{
  opacity: 1;
  transition: all 2s;
}

.intro_content
{
  grid-row: 1;
  grid-column: 1;
  width: 200%;
  margin-top: 25%;
  height: 30%;
  display: flex;
  flex-direction: row;
}

.intro_welcome_title,
.intro_philosophy_title
{
  color: white;
  background: linear-gradient(to right, 
    rgb(80, 80, 84, 0.75) 100%, 
    transparent);
}

.products_section_title
{
  background: rgb(201, 213, 234);
  background: 
    linear-gradient(to right, rgb(201, 213, 234, 255), transparent);
}

.intro_welcome_title,
.intro_philosophy_title,
.products_section_title
{
  padding: 0.5em;
}

.intro_welcome,
.intro_philosophy
{
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.intro_content
{
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

@media(max-width: 550px)
{
  .intro_content
  {
    margin-top: 40%;
    height: 46%;
  }
}

@media(max-width: 550px)
{
  .intro_content
  {
    margin-top: 40%;
    height: 46%;
  }
}

@media(max-width: 800px)
{
  .intro_welcome_desc,
  .intro_philosophy_desc
  {
    margin: 0;
    line-height: 1.75em;
    padding: 0.8em!important;
    font-size: 0.75em!important;
  }
}

.intro_content
{
  animation-name: rollingAnimation;
  will-change: transform, opacity;
  contain: layout style paint;
}

@keyframes rollingAnimation {
  0% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(-1%);
    opacity: 0;
  }
  10% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(0%);
    opacity: 1;
  }
  11% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(0%);
    opacity: 1;
  }
  40% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(0%);
    opacity: 1;
  }
  45% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(1%);
    opacity: 0;
  }
  50% {
    clip-path: inset(0% 0% 0% 50%);
    transform: translateX(-49%);
    opacity: 0;
  }
  60% {
    clip-path: inset(0% 0% 0% 50%);
    transform: translateX(-50%);
    opacity: 1;
  }
  95% {
    clip-path: inset(0% 0% 0% 50%);
    transform: translateX(-50%);
    opacity: 1;
  }
  99% {
    clip-path: inset(0% 0% 0% 50%);
    transform: translateX(-51%);
    opacity: 0;
  }
  100% {
    clip-path: inset(0% 50% 0% 0%);
    transform: translateX(0%);
    opacity: 0;
  }
}

.intro_welcome_desc,
.intro_philosophy_desc
{
  font-weight: normal;
  background: 
    linear-gradient(to right,
      #333f 0%, 
      #111f 10%,
      #222f 20%, 
      #000f 30%,
      #111f 40%, 
      #222f 50%, 
      #111f 60%, 
      #222f 70%, 
      #111f 80%, 
      #222f 100%);
  color: white!important;
  text-shadow: 
    0px 0px 5px black,
    0px 0px 15px black;
  padding: 2em 2em;
}

.product_list
{
  box-sizing: border-box;
}

.intro_welcome_desc,
.intro_philosophy_desc
{
  height: 100%;
  flex: 1;
}

.products_section
{
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.products_section_title
{
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-template-columns: 1fr auto;
}

.products_section_title a
{  
  text-decoration: none;
  margin: auto;
  text-wrap: nowrap;
}

.products_section_footer
{
  display: grid;
  align-items: center;
  grid-auto-flow: column;
  grid-template-columns: 1fr auto;
}

.products_section_footer a
{  
  text-decoration: none;
  padding: 1em;
  margin: auto;
  text-wrap: nowrap;
}

.featured
.product_list
{
  display: flex;
  a-gap: 1em 0;
  padding: 1em 0 !important;
  justify-content: space-evenly;
}

.featured
.product_list .product_preview
{
  flex: 0 1 auto;
  background: transparent;
  /*-background: #f6f7ff;*/
  border: 1px solid #eee;
  width: min-content;
  min-width: unset;
  height: auto;
  margin: 0em!important;
  gap: 0.5em;
  padding: 1em;
  box-sizing: border-box;
  justify-content: center;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
}

.featured
.product_list .product_preview
img
{
  padding: 0;
  margin: auto;
  width: 9em;
  height: 9em;
  grid-column: 1;
  grid-row: 1;
}


@media(min-width: 400px)
{
  .featured
  .product_list .product_preview
  img
  {
    width: 10em;
    height: 10em;
  }
}


@media(min-width: 500px)
{
  .featured
  .product_list .product_preview
  img
  {
    width: 13em;
    height: 13em;
  }
}

@media(min-width: 600px)
{
  .featured
  .product_list
  {
    gap: 2em 0;  
  }
  
  .featured
  .product_list .product_preview
  {
    padding: 1.5em;  
  }
  
  .featured
  .product_list .product_preview
  img
  {
    width: 15em;
    height: 15em;
  }
}

.featured
.product_list .product_preview
 .price
{
  padding: 0;
  margin: 0 auto;
  height: 1em;
  grid-row: 3;
  grid-column: 1;
}

.featured
.product_list .product_preview
.description
{
  justify-items: start;
  margin: auto;
  text-align: center;
  padding: 0;
  max-height: 3em;
  grid-row: 2;
  grid-column: 1;
  -webkit-line-clamp: 2;
}
