
#MainContainer{
  
    height: 600px;
    width: 850px;
  }
  
  #ProductCard {
    background: rgba(255, 255, 255, 0.26);
    /* backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px); */
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 2px 2px 20px 1px rgba(0, 0, 0, 0.548);
  
    position: relative;
    height:500px;
    /* height: calc((var(--cardHeight))* 1px); */
    width: calc((var(--cardWidth))* 1px);
    margin: 0;
    display: grid;
    grid-template-rows:10% 15% 17% 17% 9% 20% 21%;
    grid-template-columns: 40px 1fr 40px 40px 40px 40px 40px 1fr 40px;
    border-radius: 50px;
    margin-left:330px;
    margin-top:200px;
  }
  
  
  #glasTop{
    background-color: var(--glasColor);
    backdrop-filter: blur(var(--glasBlur));
    -webkit-backdrop-filter: blur(var(--glasBlur));
  
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    grid-area: 1 / 1 / 4 / 10;
  }
  #glasStripe{
    background-color: var(--glasColor);
    backdrop-filter: blur(var(--glasBlur));
    -webkit-backdrop-filter: blur(var(--glasBlur));
  
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    grid-area: 5 / 1 / 6 / 10;
  }
  
  #grayBottom {
    background-color: var(--milkGlasColor);
    backdrop-filter: blur(var(--milkGlasBlur));
    -webkit-backdrop-filter: blur(var(--milkGlasBlur));
  
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    grid-area: -1 / 1 / -3 / 10;
  }
  
  #grayStripe {
    backdrop-filter: blur(var(--milkGlasBlur));
    -webkit-backdrop-filter: blur(var(--milkGlasBlur));
    background-color: var(--milkGlasColor);
    grid-area: 4 / 1 / 5 / 10;
  }
  
  #carouselTitle {
    font-family: "Roboto";
    font-weight: 200;
    font-size: 1.8em;
    margin: 6px;
    line-height: 37px;
    z-index: 3;
  }
  
  .productTable {
    font-size: 1.4em;
    width: 100%;
    height: 100%;
  }
  
  .productTable td {
    padding: 10px;
  }
  
  
  #svgContainer {
    width: 110%;
    height: 110%;
    margin-top: -101px;
    margin-left: -167px;
  }
  
  .imageGroupeContainer img {
    max-height: 100%;
    max-width: 100%;
  }
  
  
  
  @media only screen and (max-width: 730px) {
    #MainContainer{
        --cardHeight: 300;
    --cardWidth: 550;  
    }
    div#carousel {
      grid-area: 4 /-6 /7/-2;
    }
    .carouselImage{
      width: 15px;
      height: 15px;
    }
    #carouselTitle {
      grid-area: 2 /-6 /2/-1;
    }
    .imageContainer{
      width: 55px;
      height: 55px;
    }
    .imageContainer1{
      position: absolute;
      top: 75px;
      left: 25px
    }
    .imageContainer2{
      position: absolute;
      left: -0px;
    }
    .imageContainer3 {
      position: absolute;
      top: -110px;
      left: 25px;
    }
    div.item2 h1{
      font-family: "Roboto";
      font-weight: 800;
      font-size: 3em;
      color: white;
    }
  }
  
  @media only screen and (min-width: 731px) {
     #MainContainer{
      --cardHeight: 600;
    --cardWidth: 855;  
    }
    div#carousel {
      grid-area: 4 /-4 /7/-2;
    } 
    .carouselImage{
      width: 30px;
      height: 30px;
    }
     #carouselTitle {
      grid-area: 2 /-4 /2/-1;
    }
    .imageContainer{
    width: 150px;
    height: 150px;
    }
    .imageContainer1{
      position: absolute;
      top: 150px;
      left: 50px
    }
    .imageContainer2{
      position: absolute;
      left: -0px;
    }
    .imageContainer3 {
      position: absolute;
      top: -220px;
      left: 50px;
    }
    
    div.item2 h1{
      font-family: "Roboto";
      font-weight: 800;
      font-size: 4em;
      color: white;
    }
  }
  
  div#rotatingDiv{
    transition: all 3.25s linear;
    --position: 1;
    --bgColor: url(#grad1);
    grid-area: 1 / 1 / 7 /6;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0; 
  }
  
  div#TopLeftHideOverflow{
    grid-area: 1 / 1 / 6 /6;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
  }
  
  div.rotatingDiv2{
    --animationFunction: all 2.85s cubic-bezier(0.0, 0.22, 0.165, 1);
    /* --startDiff: 0deg; */
    --startDiff: calc((var(--imgContainerPosition) * -120deg) + 210deg);
    margin-left: -200px;
    margin-top: -200px;
    position: absolute;
    transition:  var(--animationFunction);
    width: 75%;
    height: 100px;
    transform:rotateX(0deg) rotateY(0deg) rotateZ(calc(((360deg/3) * var(--position) ) + var(--startDiff)));
    transform-origin: center center;
    z-index: 12;
    opacity: 0;
  }
  div.imageGroupeContainer{
    transition:  var(--animationFunction);
    position: absolute;
  }
  
  
  div.rotatingDiv2:nth-of-type(2) {
    --imgContainerPosition: 1;
  }
  div.rotatingDiv2:nth-of-type(3) {
    --imgContainerPosition: 2;
  }
  div.rotatingDiv2:nth-of-type(4) {
    --imgContainerPosition: 3;
  }
  div.rotatingDiv2:nth-of-type(5) {
    --imgContainerPosition: 4;
  }
  div.rotatingDiv2:nth-of-type(6) {
    --imgContainerPosition: 5;
  }
  div.rotatingDiv2:nth-of-type(7) {
    --imgContainerPosition: 6;
  }
  
  .imageContainer{
    background-color: rgba(255, 255, 255, 0.322);
    /* backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px) ; */
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 2px 2px 20px 1px rgba(29, 29, 29, 0.548);
    
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-content: center;
    justify-content: center;
  }
  
  .imageGroupeContainer .imageContainer{
    position: absolute;
    transition:  var(--animationFunction);
    transform:rotateX(0deg) rotateY(0deg) rotateZ(calc(((-360deg/3) * var(--position) ) - var(--startDiff)));
    /* background-color: aqua; */
  }
  
    .imageContainer1{
    position: absolute;
  }
  .imageContainer2{
    position: absolute;
  }
  .imageContainer3 {
    position: absolute;
  }
  
  #PentaPath{
    transform:rotateX(0deg) rotateY(0deg) rotateZ(calc(((360deg/5) * var(--position) ) + 61deg));
    transform-origin: center center;
    transition: all 1.55s linear;
    fill: var(--bgColor);
  }
  
  
    div#carousel {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transform-style: preserve-3d;
      perspective: 600px;
      --items: 6;
      --middle: 3;
      --position: 1;
      pointer-events: none;
      font-size: 0.8em;
    }
  
    
    div.item {
      position: absolute;
      width: 100%;
      height: 100%;
      /* background-color: coral; */
      --r: calc(var(--position) - var(--offset));
      --abs: max(calc(var(--r) * -1), var(--r));
      transition: 1.35s ;
      transform: translateX(calc(-100% * var(--r)));
      /* z-index: calc((var(--position) - var(--abs))); */
    }
    
    div.item:nth-of-type(1) {
      --offset: 1;
      /* background-color: #90f1ef; */
    }
    div.item:nth-of-type(2) {
      --offset: 2;
      /* background-color: #ff70a6; */
    }
    div.item:nth-of-type(3) {
      --offset: 3;
      /* background-color: #ff9770; */
    }
    div.item:nth-of-type(4) {
      --offset: 4;
      /* background-color: #ffd670; */
    }
    div.item:nth-of-type(5) {
      --offset: 5;
      /* background-color: #e9ff70; */
    }
    div.item:nth-of-type(6) {
      --offset: 6;
      /* background-color: #e9ff70; */
    }
  #input1 {  grid-column: 3 / 3; grid-row: -1/-2;}
  #input2 {  grid-column: 4 / 4; grid-row: -1/-2;}
  #input3 {  grid-column: 5 / 5; grid-row: -1/-2;}
  #input4 {  grid-column: 6 / 6; grid-row: -1/-2;}
  #input5 {  grid-column: 7 / 7; grid-row: -1/-2;}
  #input6 {  grid-column: 8 / 8; grid-row: -1/-2;}
  
  #input1:checked ~ div#carousel {  --position: 1;}
  #input2:checked ~ div#carousel {  --position: 2;}
  #input3:checked ~ div#carousel {  --position: 3;}
  #input4:checked ~ div#carousel {  --position: 4;}
  #input5:checked ~ div#carousel {  --position: 5;}
  #input6:checked ~ div#carousel {  --position: 6;}
  
  #input1:checked ~ #rotatingDiv {  --position: 1; --bgColor: url(#grad1);}
  #input2:checked ~ #rotatingDiv {  --position: 2; --bgColor: url(#grad2);}
  #input3:checked ~ #rotatingDiv {  --position: 3; --bgColor: url(#grad3);}
  #input4:checked ~ #rotatingDiv {  --position: 4; --bgColor: url(#grad4);}
  #input5:checked ~ #rotatingDiv {  --position: 5; --bgColor: url(#grad5);}
  #input6:checked ~ #rotatingDiv {  --position: 6; --bgColor: url(#grad6);}
  
  #input1:checked ~ #rotatingDiv {  --position: 1; --bgColor: url(#grad1);}
  #input2:checked ~ #rotatingDiv {  --position: 2; --bgColor: url(#grad2);}
  #input3:checked ~ #rotatingDiv {  --position: 3; --bgColor: url(#grad3);}
  #input4:checked ~ #rotatingDiv {  --position: 4; --bgColor: url(#grad4);}
  #input5:checked ~ #rotatingDiv {  --position: 5; --bgColor: url(#grad5);}
  #input6:checked ~ #rotatingDiv {  --position: 6; --bgColor: url(#grad6);}
  
  #input1:checked ~ #rotatingDiv #rotImg1 { opacity: 1;}
  #input1:checked ~ #rotatingDiv #rotImg2 { opacity: 0;}
  #input1:checked ~ #rotatingDiv #rotImg3 { opacity: 0;}
  #input1:checked ~ #rotatingDiv #rotImg4 { opacity: 0;}
  #input1:checked ~ #rotatingDiv #rotImg5 { opacity: 0;}
  #input1:checked ~ #rotatingDiv #rotImg6 { opacity: 0;}
  
  #input2:checked ~ #rotatingDiv #rotImg1 { opacity: 0;}
  #input2:checked ~ #rotatingDiv #rotImg2 { opacity: 1;}
  #input2:checked ~ #rotatingDiv #rotImg3 { opacity: 0;}
  #input2:checked ~ #rotatingDiv #rotImg4 { opacity: 0;}
  #input2:checked ~ #rotatingDiv #rotImg5 { opacity: 0;}
  #input2:checked ~ #rotatingDiv #rotImg6 { opacity: 0;}
  
  #input3:checked ~ #rotatingDiv #rotImg1 { opacity: 0;}
  #input3:checked ~ #rotatingDiv #rotImg2 { opacity: 0;}
  #input3:checked ~ #rotatingDiv #rotImg3 { opacity: 1;}
  #input3:checked ~ #rotatingDiv #rotImg4 { opacity: 0;}
  #input3:checked ~ #rotatingDiv #rotImg5 { opacity: 0;}
  #input3:checked ~ #rotatingDiv #rotImg6 { opacity: 0;}
  
  #input4:checked ~ #rotatingDiv #rotImg1 { opacity: 0;}
  #input4:checked ~ #rotatingDiv #rotImg2 { opacity: 0;}
  #input4:checked ~ #rotatingDiv #rotImg3 { opacity: 0;}
  #input4:checked ~ #rotatingDiv #rotImg4 { opacity: 1;}
  #input4:checked ~ #rotatingDiv #rotImg5 { opacity: 0;}
  #input4:checked ~ #rotatingDiv #rotImg6 { opacity: 0;}
  
  #input5:checked ~ #rotatingDiv #rotImg1 { opacity: 0;}
  #input5:checked ~ #rotatingDiv #rotImg2 { opacity: 0;}
  #input5:checked ~ #rotatingDiv #rotImg3 { opacity: 0;}
  #input5:checked ~ #rotatingDiv #rotImg4 { opacity: 0;}
  #input5:checked ~ #rotatingDiv #rotImg5 { opacity: 1;}
  #input5:checked ~ #rotatingDiv #rotImg6 { opacity: 0;}
  
  
  
  #input6:checked ~ #rotatingDiv #rotImg1 { opacity: 0;}
  #input6:checked ~ #rotatingDiv #rotImg2 { opacity: 0;}
  #input6:checked ~ #rotatingDiv #rotImg3 { opacity: 0;}
  #input6:checked ~ #rotatingDiv #rotImg4 { opacity: 0;}
  #input6:checked ~ #rotatingDiv #rotImg5 { opacity: 0;}
  #input6:checked ~ #rotatingDiv #rotImg6 { opacity: 1;}
  
  
    div#carousel2 {
  
      grid-area: 1 / 1 / 7 /4;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transform-style: preserve-3d;
      perspective: 600px;
      --item2s: 6;
      --middle: 3;
      --position: 1;
      pointer-events: none;
      z-index: 6;
    }
    
    div.item2 {
      text-align: center;
      position: absolute;
      --r: calc(var(--position) - var(--offset));
      --abs: max(calc(var(--r) * -1), var(--r));
      transition:1.35s;
      transform: translateX(calc(-300px * var(--r)));
      z-index: calc((var(--position) - var(--abs)));
    }
  
    div.item2 h1{
      font-family: "Roboto";
      color: white;
    }
    
    div.item2:nth-of-type(1) {
      --offset: 1;
      /* background-color: #90f1ef; */
    }
    div.item2:nth-of-type(2) {
      --offset: 2;
      /* background-color: #ff70a6; */
    }
    div.item2:nth-of-type(3) {
      --offset: 3;
      /* background-color: #ff9770; */
    }
    div.item2:nth-of-type(4) {
      --offset: 4;
      /* background-color: #ffd670; */
    }
    div.item2:nth-of-type(5) {
      --offset: 5;
      /* background-color: #e9ff70; */
    }  
    div.item2:nth-of-type(6) {
      --offset: 6;
      /* background-color: #e9ff70; */
    }  
    #input1:checked ~ div#carousel2 {
      --position: 1;
    }
    #input2:checked ~ div#carousel2 {
      --position: 2;
    }
    #input3:checked ~ div#carousel2 {
      --position: 3;
    }
    #input4:checked ~ div#carousel2 {
      --position: 4;
    }
    #input5:checked ~ div#carousel2 {
      --position: 5;
    }
    #input5:checked ~ div#carousel2 {
      --position: 6;
    }
  
  
  
  input[type="radio"]{
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    /* background: #ffffff; */
    /* border: 3px solid #FFF; */
    height: 17px;
    width: 17px;
    outline: 0px solid rgb(250, 250, 250);
    box-shadow: inset  0px 4px 5px 2px rgba(0, 0, 0, 0.534);
    z-index: 1;
    margin: auto;
  }
  #sliderContainer{
    grid-area: -1 / 3 / -2 / 8;
    position: relative;
    margin: auto;
  }
  #slider{
    position: absolute;
    width:15px; 
    height: 15px;
    background:rgba(255, 255, 255, 0.432);
    transition:transform 1s;
    border-radius:50%;
    animation-timing-function: ease-in-out;
    animation-duration:.3s;
    animation-fill-mode: forwards;
    transition: .2s left .05s ease-in-out;
    z-index: 3;
    --distance:40px;
    top:-8px;
  }
  
  #input1:checked  ~ #sliderContainer #slider{ animation-name: input1; left: calc( ( var(--distance) * 1 ) - 127px ) ; } 
  #input2:checked  ~ #sliderContainer #slider{ animation-name: input2; left: calc( ( var(--distance) * 2 ) - 127px ) ; }
  #input3:checked  ~ #sliderContainer #slider{ animation-name: input3; left: calc( ( var(--distance) * 3 ) - 127px ) ; }
  #input4:checked  ~ #sliderContainer #slider{ animation-name: input4; left: calc( ( var(--distance) * 4 ) - 127px ) ; }
  #input5:checked  ~ #sliderContainer #slider{ animation-name: input5; left: calc( ( var(--distance) * 5 ) - 127px ) ; }
  #input6:checked  ~ #sliderContainer #slider{ animation-name: input6; left: calc( ( var(--distance) * 6 ) - 127px ) ; }
  
  
  
  @keyframes input1{ 30%, 70% { transform:scale(0.5); } }
  @keyframes input2{ 30%, 70% { transform:scale(0.5); } }
  @keyframes input3{ 30%, 70% { transform:scale(0.5); } }
  @keyframes input4{ 30%, 70% { transform:scale(0.5); } }
  @keyframes input5{ 30%, 70% { transform:scale(0.5); } }
  @keyframes input6{ 30%, 70% { transform:scale(0.5); } }
  