
/*CATEGORY DIVS*/
.category-hl h2 {
    font-size: 30px !important;
    margin-bottom: 20px;
}   
.slider-container {
  width: 100%;
}    
.carousel-div-box {
    width: 100%;
}
.shop-style-img-2 {
    width: 100%;
    background: #F4F4F1;
    height: 100%;
        padding: 2% 8%;
}    
.shop-style-img-2 img{ 
    margin-top: 30px;
    }

/*SHAPES DIVS   */  
.friendly-patterns-info {
    text-align: center;
    padding: 0 3%;
    padding-top: 30px;
}
.friendly-patterns-info h2 {
    font-size: 12px !important;
    font-weight: 300 !important;
    text-align: center;
    font-family: "Inter";
    margin-top: 5px !important;
    line-height: 23px;
    text-transform: uppercase !important;

} 
.shop-throws-info-pink h1, .shop-throws-info-pink h3 {
    color: #fff !important;
}   
.shop-throws-info-pink .shapes-percent-div-1 {
    color: #FF4BF7 !important;
} 
.style-info-aqua .shapes-percent-div-1 {
    color: #36FFE8 !important;
} 
.pattern-info-pink .shapes-percent-div-1 {
    color: #FF4BF7 !important;
}     
.friendly-patterns-info h3 {
    font-size: 15px !important;
    text-align: center;
    margin: 5px 0;
    color: #fff;
}   
.shapes-percent-div-1 {
    float: left;
    width: auto;
    margin: 0 auto;
    padding: 0 19%;
}
.shapes-number-1 {
    width: 70%;
    float: left;
    font-size: 80px !important;
    font-weight: bold;
    line-height: 90%;
    text-align: right;
}
.shapes-discount-1 {
    width: 30%;
    float: left;
      line-height: 23px;
}
.shapes-percentage-1 {
    font-size: 45px !important;
    font-weight: bold;
    line-height: 107%;
}
.shapes-off-1 {
    font-size: 20px !important;
    font-weight: bold;
}      
.friendly-patterns-info-img {
    height: auto !important;

}   
.style-img img, .patterns-img img {
        margin-top: 40px;
        float: left;
        border-radius: 0 0 10px 10px !important;
    }    

/* Carousel container */
.swiper_slider {
  width: 100%;
  padding-block-end: 35px;
}

/* Carousel items */
.carousel-items-2 {
  display: flex;
  transition: transform 0.5s;
}
.shop-style-div-1 {
  width:100%;
  background: #F4F4F1;
  padding: 3% 0 0;
  height: 100%;
    }
.shop-throws-info-pink .shop-style-div-1 {
border-bottom: 10px solid #FF4BF7;
    }    

/* Navigation buttons (optional) */
.carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.carousel-nav button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.carousel-nav button:focus {
  outline: none;
}
/* CSS for the dots */
.carousel-dots-1 {
  text-align: center;
  margin-top: 10px;
}
.carousel-dots-2 {
  text-align: center;
  margin-top: 10px;
}
.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background-color: #fff !important;
    transition: .3s;
    border-radius: 50%;
    margin: 0 15px !important;
    opacity: unset;
}
.swiper-pagination-bullet-active {
  background-color: #ff0000 !important; /* You can adjust the active dot color */
}
.white-dots .swiper-pagination-bullet {
        background-color: #fff !important;
        opacity: 100% !important;
    }
.white-dots .swiper-pagination-bullet-active {
    background-color: #A37E08 !important;
    opacity: 100% !important;
}
 
<!--GENERAL STYLE-->    

a:hover {
/*    opacity: 80%;*/
    text-decoration: none;
}    
.zoom {
  transition: transform .4s;
}
.zoom:hover {
  -ms-transform: scale(101%); /* IE 9 */
  -webkit-transform: scale(101%); /* Safari 3-8 */
  transform: scale(101%); 
}   
hr {
    border-top: 2px solid rgba(0,0,0,.1);
    background: #00FBFF;
    width: 20%;
    margin: 15px auto 0; 
}
.ls-2 {
    letter-spacing: 2px;
} 
.round-corners {
    border-radius: 10px !important;
}    
.center-content {
    text-align: center;
}
.center-image {
    margin: 0 auto; /* This centers a block-level element horizontally */
    display: block; /* Ensures that the margin works as expected */
}
.clear-space {
    margin-bottom: 30px; /* Adjust the value as needed */
}   
.banner-img img {
    object-fit: cover;
    width: 100%;
} 
    .no-margin {
        margin: 0 !important;
    }    


/*4TH JULY BANNER SECTION*/ 
.memorial-banner-container {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.memorial-banner {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/banner/4th-july-day-banner-desktop.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    width: 100%;
    height: 750px;
    position: relative; /* Make the banner relative to position the soldier inside it */
    overflow: hidden; /* Ensure the video doesn't overflow */
    transition: height 1.5s ease-in-out; /* Smooth transition for height */
}

.memorial-banner-text {
    position: absolute;
    padding-top: 200px;
    z-index: 1; /* Ensure the text is above the video */
    left: 50%; /* Center the image horizontally */
    transform: translateX(-50%); /* Adjust the horizontal centering */
    transition: padding-top 1.5s ease-in-out; /* Smooth transition for height */
    }
.memorial-title {
    width: 590px;
}   
.mem-day-about p {
    font-size: 25px !important;
    font-family: "Inter";
    color: #808080;
    text-align: center;
    padding: 0 12%;
    letter-spacing: 1pt;
    font-weight: 300;
}
.mem-day-about a {
    font-size: 17px !important;
    font-family: "Inter";
        color: #909090;
    letter-spacing: 0pt;
    font-weight: 300;
    font-style: italic;
    text-decoration: underline;
}
.mem-day-about a:hover {
        color: #000;
}
    
/*PREMIUM THROW BLANKET*/
#mem-day-background {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/right-stars-bg.png);
    background-repeat: no-repeat;
    background-position: 650px -120px;
    background-size: 100%;
}   
.premium-mem-hl h2 {
    font-size: 50pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #161F3E;
    text-align: center;
} 
.premium-mem-hl h2.white-txt {
    color: #ffffff;
}     
.premium-mem-hl span {
    color: #005ECB;
}
.premium-mem-hl h4 {
    font-size: 35px !important;
    font-family: "Inter";
    font-weight: 300 !important;
    color: #fff;
    text-align: center;
}    
#premium-mem-day {
    width: 100%;
    height: 740px;
    position: relative;
}
.memorial-day-center {
    position: absolute;
    width: 650px;
    z-index: 2;
    left: 50%;
    bottom: -100px; /* Initial position */
    opacity: 0; /* Initial opacity */
    transform: translateX(-50%);
    transition: opacity 1s ease-in-out, bottom 2s ease-in-out;
}
.memorial-day-left {
    position: absolute;
    left: 25%; /* Initial position */
    z-index: -1;
    width: 530px;
    opacity: 0; /* Initial opacity */
    transition: opacity 1.5s ease-in-out, left 2.5s ease-in-out;
}
.memorial-day-right {
    position: absolute;
    right: 25%; /* Initial position */
    z-index: -1;
    width: 500px;
    opacity: 0; /* Initial opacity */
    transition: opacity 1.5s ease-in-out, right 2.5s ease-in-out;
    bottom: 14%;
}

/* PRODUCT DESC */
#mem-day-outdoor-flag {
    background-color: #375595; 
}     
.product-desc-content {
    position: relative;
    width: 100%;
    height: 770px;
}    
.product-desc-content h3{
    font-size: 40px !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    color: #ffffff;
    font-family: "Inter";
}
.product-desc-content p{
    font-size: 15px !important;
    font-weight: 300 !important;
    letter-spacing: 1px;
    color: #ffffff;
    font-family: "Inter";
    padding-top: 10px;
}
.product-detail-flag {
    position: absolute;
    width: 1080px;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    bottom: -200px;
    opacity: 0; /* Initial opacity */
    transition: opacity 1.5s ease-in-out, bottom 2s ease-in-out;
}
.product-detail-flag img {
    display: block;
    max-width: 100% !important;
    height: auto;
}
.scrolled-up .product-detail-flag {
    bottom: 50px; /* Adjust as needed */
}     
.versatile-detail {
    position: absolute;
    width: 250px;
    height: auto;
    left: 18%;
    top: 15%;
    transform: translateX(-50%);
    z-index: 1;
    cursor: zoom-in;
}
.versatile-img {
    position: absolute;
    width: 100%;
    left: 105%;
    top: 35%;
    z-index: 1;
}      
.versatile-detail-img {
        position: absolute;
        width: 70%;
        top: 60%;
        left: 175%;
        z-index: 3;
    }    
.versatile-detail-img img {
        display: none; /* Initially hide the image */
    }
.versatile-detail:hover .versatile-detail-img img {
        display: block; /* Show the image when .practical-surface is hovered */
    }  
.lively-color {
    position: absolute;
    width: 250px;
    height: auto;
    left: 18%;
    bottom: 12%;
    transform: translateX(-50%);
    z-index: 1;
}
.color-img {
    position: absolute;
    width: 70%;
    left: 106%;
    top: -52%;
    z-index: 1;
}    
.practical-surface {
    position: absolute;
    width: 250px;
    height: auto;
    right: 21%;
    bottom: 8%;
    transform: translateX(50%);
    z-index: 1;
    cursor: zoom-in;
}     
.practical-img {
    position: absolute;
    width: 70%;
    left: -80%;
    top: -30%;
    z-index: 1;
}      
.practical-detail-img {
        position: absolute;
        width: 70%;
        top: -70%;
        left: -115%;
        z-index: 3;
    }
.practical-detail-img img {
        display: none; /* Initially hide the image */
    }
.practical-surface:hover .practical-detail-img img {
        display: block; /* Show the image when .practical-surface is hovered */
    }
    
/* SHAPE RUG */
.rug-shape {
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
    margin: auto;
}   
.white-bg {
        background-color: #fff;
    }    
.rug-shape h3{
        font-size: 40px !important;
        font-weight: 700 !important;
        letter-spacing: 1px;
        color: #808080;
        font-family: "Inter";
        text-align: center;
    }
.rug-shape p{
        font-size: 15px !important;
        font-weight: 300 !important;
        letter-spacing: 1px;
        color: #808080;
        font-family: "Inter";
        text-align: center;
        padding: 0 17%;
    }     
.rug-shape p.shape-size {
    font-size: 20px !important;
    padding-bottom: 25px;
}       
.shape-img {
        transition: transform 0.5s ease; /* Transition effect for the image */
    }
.round-shape-1:hover .shape-img,
.oval-shape-1:hover .shape-img,
.square-shape-1:hover .shape-img {
    transform: translateY(-30px) rotate(-5deg); /* Adjust the rotation angle as needed */
    transform-origin: center; /* Ensure the rotation happens around the center */
    transition: transform 0.3s ease; /* Smooth transition effect */
}
.round-shape-1,
.oval-shape-1,
.square-shape-1 {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.round-shape-1 a{
    text-align: center;
    color: #808080;
    font-size: 12px;
    font-weight: 400;
}
.oval-shape-1 a{
    text-align: center;
    color: #808080;
    font-size: 12px;
    font-weight: 400;
}
.square-shape-1 a{
    text-align: center;
    color: #808080;
    font-size: 12px;
    font-weight: 400;
}
.round-shape-1:hover a,
.oval-shape-1:hover a,
.square-shape-1:hover a {
    color: #BE141B;
    cursor: default;
}    

/* ROTATING BED*/

#section1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3em;
    position: relative;
    width: 100%;
    padding: 0 20%;
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/ribbons-bg.png);
    background-position: center;
    background-size: 140%;
    background-repeat: no-repeat;
}
#changingImage {
    border-radius: 90px; /* Adjust the radius based on your preference */
}
.rotating-hl {
    position: absolute;
    top: 70px;
    width: 70%;
}
.rotating-hl h2 {
        font-size: 50px !important;
        font-family: "Inter";
        font-weight: Bold !important;
        color: #ffffff;
        text-align: center;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        line-height: 45px !important;
    }
.rotating-hl p {
    font-size: 15px !important;
    font-family: "Inter";
    font-weight: 300 !important;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
}
.rotating-hl h2, .rotating-hl p {
    background-color: #BE141B;
    padding: 10px 30px !important;
    }
        
/*ANCHORED IN STYLE*/
.mem-day-background {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/left-stars-bg.png);
    background-color: #375595;
    background-repeat: no-repeat;
    background-position: -510px 80%;
    background-size: 85%;
    border-top: 30px solid #E02F27;
    margin-top: 50px;
    padding-bottom: 80px;
    border-bottom: 30px solid #E02F27;
}
.mem-day-hl h2 {
    font-size: 65pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #ffffff;
    text-align: center;
    font-style: italic;
    line-height: normal !important;
}  
.mem-day-hl h3 {
    font-size: 35pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #ffffff;
    text-align: center;
    font-style: italic;
    line-height: normal !important;
}    
.mem-day-outdoor p{
    padding: 0 15%;
    font-size: 25px !important;
    color: #fff;
    text-align: center;
    letter-spacing: 1pt;
    font-weight: 300;
    font-family: "Inter";
    padding-bottom: 50px;
}      
.mem-day-content {
    display: flex;
    height: 1000px;
    padding-bottom: 150px;
    margin-bottom: 50px;
}  
.mem-day-box-left {
    flex: 0 0 40%;
    max-width: 40%;
}
.mem-day-box-right {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}
.mem-day-copy {
    float: right;
    width: 56%;
    letter-spacing: 1px;
    margin-right: 34px;
}
.mem-day-copy a{
    color: #ffffff;
    font-size: 15px;
}
.mem-day-copy a:hover{
    color:red;
}    
.mem-day-copy h2 {
    text-align: right;
    font-size: 40px !important;
    font-weight: Bold !important;
    font-family: "Inter";
    color: #ffffff;
}
.mem-day-copy p {
    text-align: right;
    font-size: 25px !important;
    font-family: "Inter";
    color: #ffffff;   
}
.rug-image-1 {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/3197483_main.jpg);
    position: absolute !important;
    right: 0px;
    z-index: 3;
    width: 85%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    opacity: 0; /* Initially hide elements */
    transform: translateX(600px); /* Initial position off-screen to the right */
    transition: opacity 1s, transform 3.5s; /* Add transition effects */
    border: 8px solid #ffffff;
/*    margin-right: 40px;*/
}
.rug-image-1-copy {
        position: absolute;
        bottom: -140px;
        left: 160px;
        z-index: 4;
    }
.rug-image-1-copy h3 {
        text-align: center;
        color: #ffffff;
        font-size: 40px;
    }
.rug-image-1-copy h4 {
        text-align: center;
        color: #C15E5E;
        font-size: 20px;
    }
.rug-image-1-copy h4 a:hover {
        color: #ff0000;
    }    
.vertical-line {
    width: 4px; /* Adjust the width as needed */
    height: 130px; /* This ensures the line stretches to the full height of its container */
    background-color: #C15E5E; /* Change the color as needed */
    margin: 0 auto; /* Center the line horizontally */
}
.rug-image-2 {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/3206288_main.jpg);
    position: absolute !important;
    top: 60px;
    right: 0px;
    z-index: 2;
    width: 95%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    opacity: 0; /* Initially hide elements */
    transform: translateX(500px); /* Initial position off-screen to the right */
    transition: opacity 1s, transform 2.5s; /* Add transition effects */
    border: 8px solid #ffffff;
/*    margin-right: 100px;*/
}    
.rug-image-hover:hover .rug-image-1{
    z-index: 1;
    transition: z-index 1s;
}
.mem-day-pattern-hl h2 {
    font-size: 50pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #ffffff;
    text-align: center;
}      
.mem-day-content {
    overflow: hidden; /* Hide overflow to prevent horizontal scrollbars */
}
.mem-day-copy-box {
    opacity: 0; /* Initially hide element */
    transform: translateY(300px); /* Move the box downwards initially */
    transition: opacity 1s, transform 2s; /* Add transition effects */
}    
    
/*SHOP BY PATTERNS*/
.mem-day-pattern-bg {
    background-color: #F8F8F8;
}
.swiper-slide h2 {
        color: #ffffff;
    }
.friendly-patterns {
        background-position: center;
        background-size: cover;
        border-radius: 7px;
        padding-bottom: 2%;
    }
.shop-style-inner {
        background-color: #fff;
        padding: 10px;
    }    
.blue-color h2 {
        color: #00216C !important;
    }
.mem-day-patterns p {
    font-size: 25px !important;
    color: #ffffff;
    text-align: center;
    padding: 0 27%;
    letter-spacing: 1pt;
    font-weight: 300;
    font-family: "Inter";
}    
.zoom-rug {
      transition: transform .4s;
    }
.zoom-rug:hover {
      -ms-transform: scale(107%); /* IE 9 */
      -webkit-transform: scale(107%); /* Safari 3-8 */
      transform: scale(107%); 
    }  

/*OUTDOOR IN OUT BANNER*/
.mem-in-out-div {
        position: relative;
    margin-top: 30px;
    }    
.mem-in-out-banner {
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/indoor_outdoor.jpg);
    background-size: cover;
    background-position: top;
    width: 100%;
    height: 1000px;
}    
.mem-in-out-title {
    font-size: 50pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #fff;
    text-align: center;
    padding-top: 50px;
}   
.mem-in-out-content {
    position: absolute;
    z-index: 4;
    width: 100%;
}
.mem-in-out-info {
    position: absolute;
    top: 20%;
/*    top: 20%; Use when info is inside image*/
    right: 16%;
    background-color: #fff;
    padding: 39px 40px 30px;
    border-radius: 20px;
    width: 320px;
    z-index: 1;
}
.mem-in-out-info h3 {
        font-family: "Inter";
        font-size: 25px !important;
        font-weight: 700 !important;
        color: #808080;
        padding-bottom: 20px;
    }    
.mem-in-out-info p {
    font-family: "Inter";
    color: #808080;
    font-size: 15px !important;
/*    padding-bottom: 20px;*/
    line-height: 30px;
}
.in-out-door-rug {
        position: absolute;
        left: 50%;
        top: 680px;
        transform: translateX(-50%);
    }    
.mem-in-out-image-1 {
    position: absolute;
    width: 1200px;
    height: 530px;
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/indoor-outdoor-botanical-rug.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    left: 50%; /* Move the image 50% from the left edge of its container */
    top: 598%; /* Move the image 50% from the top edge of its container */
    transform: translate(-50%, -50%); /* Center the image both horizontally and vertically */
    margin: 0 auto; /* Center horizontally if needed */
}    
.in-out-slider {
    position: relative;
    width: 100%;
    height: 900px; /*This set the heigh depending on screen*/
    overflow: hidden;
}
.in-out-slides {
    display: flex;
    transition: transform 0.5s ease;
}
.in-out-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}
.in-out-slide img {
    width: 100%;
    height: 900px; /*This set the heigh depending on screen*/
    object-fit: cover;
}
.arrow-in-out {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    cursor: pointer;
    color: white;
    padding: 10px;
    border-radius: 50%;
    z-index: 1;
}
.prev-in {
    left: 10px;
}
.next-out {
    right: 10px;
}   
    
/*MEM DO DONTS SECTION*/
.mem-do-donts-bg {
    position: relative;
    background-image: url(https://assets.rugimg.com/webpage/Rugs.com/July-4th/blocks/right-stars-bg.png);
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 610px -589px;
    background-size: 100%;
    margin-top: 20px;
}    
.mem-do-donts-hl h2 {
    font-size: 65pt !important;
    font-family: "Inter";
    font-weight: Bold !important;
    color: #808080;
    text-align: center;
    font-style: italic;
    line-height: normal !important;
    padding: 5% 0;
}    
.do-dont-vertical-line {
    position: absolute;
    width: 5px;
    height: 370px;
    background-color: #808080;
    border-radius: 2px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}    
.mem-do-box {
    width: 100%;
    padding-left: 40%;
    padding-right: 8%;
}
.mem-do-box h3 {
    font-family: "Inter";
/*    color: #C15E5E;*/
    color: #808080;
    font-size: 40pt !important;
    font-weight: Bold !important;
    font-style: italic;
    text-align: right;
    transition: color 0.3s ease; /* Add transition for color change */
}
.mem-do-box:hover h3 {
    color: #E02F27; /* Change the color on hover */
}
    
.mem-do-hover:hover h3 {
    color: #375595 !important; /* Change the color on hover */
}    
    
.mem-do-box h4 {
    font-family: "Inter";
    color: #000;
    font-size: 25pt !important;
    font-weight: 700 !important;
    text-align: right;
    padding-bottom: 30px;
}     
.mem-do-box p {
    font-family: "Inter";
    color: #808080;
    font-size: 20px !important;
    text-align: right;
    padding-bottom: 30px;
} 
.mem-dont-box {
    width: 100%;
    padding-left: 8%;
    padding-right: 40%;
}
.mem-dont-box h3 {
    font-family: "Inter";
    color: #808080;
    font-size: 40pt !important;
    font-weight: Bold !important;
    font-style: italic;
    text-align: left;
}
.mem-dont-box:hover h3 {
    color: #E02F27; /* Change the color on hover */
}
.mem-dont-box h4 {
    font-family: "Inter";
    color: #000;
    font-size: 25pt !important;
    font-weight: 700 !important;
    text-align: left;
    padding-bottom: 30px;
}     
.mem-dont-box p {
    font-family: "Inter";
    color: #808080;
    font-size: 20px !important;
    text-align: left;
    padding-bottom: 30px;
}    
.mem-learn-more {
    font-size: 27pt !important;
    font-family: "Inter";
    font-weight: 600 !important;
    color: #fff;
    text-align: center;
    line-height: normal !important;
    padding: 2% 5%;
    width: 24%;
    background-color: #C15E5E;
    border-radius: 10px;
    margin: 6% auto;
}   
.mem-learn-more:hover a {
    color:#005C43;
    }
    
    
/* Initial positions */
#mem-do-left{
    opacity: 0;
    transition: opacity 1s, transform 2s;
    transform: translateY(150px); /* Initial position */
}
#mem-dont-right {
    opacity: 0;
    transition: opacity 1s, transform 2s;
    transform: translateY(150px); /* Initial position */
}

/* When scrolled and in view, show the elements */
.show {
    opacity: 1;
    transform: translateY(0);
}
    
    
@media screen and (min-width: 1800px){  
    
}
    
@media screen and (min-width: 1900px){  
  
.versatile-detail {
    left: 20%;
}
.product-material {
    right: 17% ;

}
  
}
@media screen and (max-width: 1399.98px){ 
.memorial-banner {
    height: 600px;
}    
.memorial-title {
    font-size: 70px !important;
    line-height: 100px;
}
.memorial-banner-text {
    padding-top: 120px;
}
    
.memorial-sub-title {
    font-size: 25px !important;
}    
    
#premium-mem-day {
    height: 500px;
    margin-bottom: -50px;
}
.memorial-day-center img {
    height: 330px !important;
    margin: auto;
}
.memorial-day-left img {
    height: 400px !important;
    float: left;
}     
    .memorial-day-right img {
        /* height: auto !important; */
        float: right;
        width: 300px;
        margin-right: -50px;
        margin-bottom: 20px;
    }     

.product-desc-content {
    height: 600px;
}  
.product-detail-flag {
    width: 800px;
}
.product-detail-flag img {
    height: auto;
    margin: auto;
}    
.versatile-detail {
    left: 15%;
    top: 17%;
}
.versatile-detail-img {
    width: 50%;
    top: 50%;
    left: 135%;
}    
.product-material {
    right: 15%;
    top: 20%;
}    
.lively-color {
    left: 15%;
    bottom: 10%;
}
.practical-surface {
    right: 15%;
    bottom: 8%;
    width: 350px;
}
.practical-detail-img {
    width: 40%;
    top: -70%;
    left: -65%;
}    
.versatile-img {
    width: 60%;
}    
.material-img {
    width: 60%;
    left: -65%;
    top: 22%;
}    
.color-img {
    width: 40%;
    left: 105%;
    top: -24%;
}
.practical-img {
    width: 38%;
    left: -43%;
    top: -33%;
}   
.rug-shape p {
    padding: 0 2%;
}
#changingImage {
    border-radius: 90px;
}    
.rotating-hl h2 {
    line-height: 50pt !important;
}  
.rotating-hl p {
    margin-top: 25px;
    width: 36.3%;
}
    
.mem-day-about p {
    padding: 0 15%;
}
.mem-day-copy {
    width: 75%;
    letter-spacing: 0px;
}    
.mem-day-patterns p {
    padding: 0 15%;

}
 .mem-in-out-info {
    right: 8%;
    padding: 35px 33px 25px;
    border-radius: 15px;
    width: 280px;
}   
    
.mem-do-box {
    padding-left: 20%;
} 
.mem-dont-box {
    padding-right: 20%;
} 
    
.mem-do-box p, .mem-dont-box p {
    font-size: 16px !important;
}
.mem-learn-more {
    font-size: 20pt !important;
    padding: 2% 3%;
    width: 28%;
    margin: 2% auto;
}    
.mem-do-donts-bg {
    background-position: 460px -399px;
}
    
}
@media screen and (max-width: 1200px) { 
.product-detail-flag {
    width: 700px;
}
#mem-day-background {    
    background-position: 360px -89px;
}    
.product-desc-content {
    height: 690px;
}    
.memorial-title {
    width: 590px;
    font-size: 60px !important;
    line-height: 70px;
} 
.memorial-sub-title {
    font-size: 25px !important;
}
.memorial-title-2 {
    font-size: 48px !important;
}  
.memorial-soldier {
    bottom: -45px;
}    
.premium-mem-hl h2 {
    font-size: 40pt !important;
} 
#premium-mem-day {
    height: 460px;
    margin-bottom: -50px;
}
.memorial-day-center img {
    height: 300px !important;
    margin: auto;
}
.memorial-day-left img {
    height: 370px !important;
    float: left;
    margin-left: -30px;
}    
.memorial-day-right img {
    width: 350px !important;
    margin-right: -80px;
} 
  
.rotating-hl h2 {
    font-size: 40pt !important;
    line-height: 40pt !important;
}    
.mem-day-hl h2 {
    font-size: 55pt !important;
}
.mem-day-copy {
    width: 70%;
}    
.mem-day-copy h2 {
    font-size: 35px !important;
}
.rug-shape h3 {
    font-size: 30px !important;
}
.rug-shape p {
    padding: 0 9%;
}
.mem-day-about p, .mem-day-about p, .mem-day-copy p, .mem-day-patterns p  {
    font-size: 15px !important;
} 
.mem-day-patterns p {
    padding: 0 13%;
}    

.mem-day-content {
    height: 750px;
}
.mem-in-out-title {
    font-size: 40pt !important;
}    
.in-out-slider, .in-out-slide img {
    height: 700px;
}
.mem-in-out-info h3 {
    font-size: 20px !important;
    padding-bottom: 10px;
}    
.mem-in-out-info {
    padding: 25px 23px 15px;
    border-radius: 15px;
    width: 230px;
}    
.mem-in-out-info p {
    font-size: 12px !important;
    line-height: 22px;
}
.mem-day-pattern-hl h2 {
    font-size: 40pt !important;
}
.do-dont-vertical-line {
    top: 29%;
}    
.mem-do-donts-hl h2 {
    font-size: 55pt !important;
}
.mem-do-box {
    padding-left: 20%;
} 
.mem-dont-box {
    padding-right: 20%;
}    
.mem-do-box h3, .mem-dont-box h3 {
    font-size: 30pt !important;
}
.mem-do-box h4, .mem-dont-box h4 {
    font-size: 20pt !important;
} 
.mem-do-box p, .mem-dont-box p {
    font-size: 17px !important;
}
.product-material {
    width: 190px;
    right: 13%;
} 
.versatile-detail {
    width: 190px;
    left: 15%;
}    
.lively-color {
    width: 200px;
    left: 15%;
}
.practical-surface {
    width: 200px;
    right: 15%;
    bottom: 14%;
}    

.product-desc-content h3 {
    font-size: 30px !important;
}    
.product-desc-content p {
    font-size: 12px !important;
}    
.color-img {
    width: 70%;
    left: 60%;
    top: -37%;
}    
#changingImage {
    width: 750px; 
    height: 750px;
    object-fit: cover; /* Maintain aspect ratio and cover container */
}    
.mem-learn-more {
    font-size: 21pt !important;
    width: 29%;
}    
    
} 
@media screen and (max-width: 992px) {
.memorial-banner {
    height: 450px;
}
.memorial-title {
    font-size: 50px !important;
    line-height: 45px;
}
.memorial-sub-title {
    font-size: 20px !important;
    line-height: 55pt !important;
}
.premium-mem-hl h2,
.rotating-hl h2 {
    font-size: 30pt !important;
    line-height: 30pt !important;
}
    
.product-detail-flag {
    width: 750px;
}    
.product-desc-content h3 {
    font-size: 25px !important;
}
.lively-color {
    width: 200px;
    left: 15%;
    bottom: 18%;
}    
.versatile-img {
    width: 70%;
    left: 81%;
    top: 20%;
}
.product-material {
    width: 150px;
    right: 13%;
    top: 20%;
}
.material-img {
    width: 60%;
    left: -64%;
}
.color-img {
    width: 50%;
    left: 90%;
    top: -49%;
}    
.practical-img {
    width: 60%;
    left: -67%;
    top: -39%;
}
 
.practical-detail-img {
    width:50%;
    top: -100%;
    left: -85%;
}   
    
.product-desc-content {
    height: 500px;
}

.product-desc-content p {
    font-size: 10px !important;
}
    .practical-surface {
        width: 230px;
        right: 15%;
        bottom: 18%;
    }    
    
#changingImage {
    border-radius: 50px;
}     
    #section1 {
    padding: 0 15%;
}    
    .rotating-hl p {
        margin-top: 15px;
        width: 42.3%;
    }
    
    .mem-day-hl h2 {
        font-size: 45pt !important;
    }
    .mem-day-copy h2 {
        font-size: 30px !important;
    }
    .rug-shape h3 {
        font-size: 25px !important;
    }
    .mem-day-about p,
    .mem-day-about p,
    .mem-day-copy p,
    .mem-day-patterns p {
        font-size: 15px !important;
    }
    .mem-in-out-title {
        font-size: 30pt !important;
    }
    .mem-in-out-info h3 {
        font-size: 18px !important;
    }
    .mem-in-out-info p {
        font-size: 10px !important;
    }
    .mem-day-pattern-hl h2 {
        font-size: 30pt !important;
    }
    .mem-do-donts-hl h2 {
        font-size: 45pt !important;
    }
    .mem-do-box h3,
    .mem-dont-box h3 {
        font-size: 25pt !important;
    }
    .mem-do-box h4,
    .mem-dont-box h4 {
        font-size: 18pt !important;
    }

     .rug-shape p {
        padding: 0 0%;
    }   

    .mem-day-outdoor p {
    padding: 0 15%;
}
    
}
@media screen and (max-width: 768px){
.memorial-banner {
        height: 750px;
    } 
.memorial-soldier {
        bottom: -45px;
        width: 150%;
    }
#backgroundVideo {
        top: -100px;
        left: -362px;
        min-width: 200%;
        width: auto;
        height: auto;
    }
.memorial-soldier {
        bottom: -84px;
        width: 100%;
    }   
.memorial-banner-text {
    padding-top: 17%;
    width: 550px;
}    
.premium-mem-hl {
        padding-bottom: 0 !important;
    } 
#premium-mem-day {
    height: 450px;
    margin-bottom: -50px;
}
.memorial-day-center img {
    height: 290px !important;
    margin-right: 10px;
}
.memorial-day-left img {
    margin-left: -80px;
    height: 380px !important;
    float: left;
}     
.memorial-day-right img {
        margin-right: -120px;
        width: 200px !important;
        float: right;
    }
.product-desc-content {
    height: auto;
}
.product-desc-content h3 {
        font-size: 20px !important;
        text-align: center;
        padding-bottom: 10px;
    }  
.product-desc-content p {
        font-size: 12px !important;
        text-align: center;
    }    
.premium-mem-hl h4 {
    font-size: 20px !important;
}    
.product-detail-flag-1 {
        width: 70% !important;
        margin: auto !important;
        padding-bottom: 30px !important;
        transition: opacity 1s ease-in-out, bottom 1s ease-in-out;
    }
.versatile-detail, .product-material, .lively-color, .practical-surface {
        width: 250px;
        position: unset;
        transform: unset;
        margin: auto;
        padding-bottom: 20px;
    }   
#mem-day-outdoor-flag {
        padding-top: 20px !important;
    }
.premium-mem-hl h2 {
        margin: 15px 0 !important;
    }    
.versatile-detail {
    left: 12%;
}
.versatile-img {
    left: 100%;
    top: 16%;
}    
.lively-color {
    left: 13%;
}
.color-img {
    left: 64%;
    top: -36%;
}
.practical-surface {
    bottom: 9%;
}    
.practical-img {
    top: -20%;
}
#round-shape, #oval-shape, #square-shape {
    padding: 0% 20% !important;
}
.round-shape-1 img, .oval-shape-1 img, .square-shape-1 img {
    width: 80%;
    object-position: bottom;
    margin: auto;
}    
.rug-shape {
     display: unset; 
}
.rotating-hl {
    position: absolute;
    top: 50px;
    width: 100%;
}      
.rotating-hl h2 {
    font-size: 26pt !important;
    line-height: 30pt !important;
}
.rotating-hl p {
    margin-top: 15px;
    width: 49%;
}    
#changingImage {
        width: 750px;
        height: 570px;
        object-fit: cover;
    }    

.mem-day-background {
    background-repeat: repeat-y;
    background-position: -290px 20%;
    background-size: 132%;
    border-top: 20px solid #B10000;
    margin-top: 20px;
    padding-bottom: 50px;
    border-bottom: 20px solid #b10000;
}   
.mem-day-content {
        height: auto !important;
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }    
.mem-day-outdoor p {
    padding: 20px 15%;
    font-size: 15px !important;
}      
.mem-day-copy img {
        padding-top: 20px;
    }       
.mem-do-box {
    padding-left: 5%;
}    
.mem-dont-box {
    padding-right: 5%;
}     
.mem-learn-more {
    width: 39%;
}   
.friendly-patterns {
    padding-left: 60px;
    padding-right: 60px;
} 
    
    
}  
@media screen and (max-width: 575.98px) {
    .memorial-banner {
        height: 650px;
    }    
    #backgroundVideo {
        top: -60px;
        left: -392px;
        min-width: 260%;
        width: auto;
        height: auto;
    }
    .memorial-banner-text {
        padding-top: 35%;
        width: 500px;
    }
    .memorial-title {
        width: 100%;
        font-size: 70px !important;
        line-height: 62px;
    }    
    .memorial-title {
        font-size: 70px !important;
        line-height: 62px;
    }    
    .memorial-sub-title {
        font-size: 18px !important;
    }    
/*
    .memorial-soldier {
        bottom: -4px;
        width: 200%;
    }    
*/
 
.memorial-day-center, .memorial-day-left, .memorial-day-right {
    width: 300px;
}
.product-detail-flag-1 {
    transition: opacity 1s ease-in-out, bottom 1s ease-in-out;
}     

.mem-day-copy h2, .mem-day-copy p {
    text-align: left;
}    
.mem-day-copy p {
    font-size: 14px !important;
}    
.mem-day-about {
    padding-bottom: 0px !important;
}
.mem-day-copy img {
    padding-top: 30px;
}    
.mem-day-pattern-hl {
    padding: 0 !important;
}    
.mem-day-pattern-bg {
    padding-top: 0 !important;
}
.mem-in-out-title {
    line-height: 42px;
}    
.in-out-slider, .in-out-slide img {
    height: 450px;
}    
.mem-in-out-info {
    border-radius: 10px;
    width: 300px;
    top: 85%;
}
.mem-in-out-info {   /*OVERWRITE THIS WITH OLD   */
    padding: 25px 23px 15px;
    padding: 20px;
    left: 50%;
    transform: translate(-50%, -50%);   
}   
.arrow-in-out {
    font-size: 30px;
}    
.mem-in-out-div {
    padding-bottom: 140px;
}    
   
.mem-day-copy { /*OVERWRITE THIS WITH OLD   */
    width: 70%;
    margin: 0 15%;
    padding-bottom: 10px !important;
}   
    #premium-mem-day {
        height: 390px;
        margin-bottom: -50px;
    }    
    .memorial-day-center img {
        height: auto !important;
        margin-right: -100px;
        float: right;
    } 
.memorial-day-left img {
        margin-left: -70px;
        height: 330px !important;
    }
.product-desc-content {
    height: auto;
}    
.product-detail-flag {
    width: 320px;
}
.product-detail-flag {
    position: unset !important;
    transform: unset !important;
    margin: auto;
}
.product-desc-content h3 {
    font-size: 20px !important;
    text-align: center;
    padding-bottom: 10px;
}
.product-desc-content p {
    font-size: 12px !important;
    text-align: center;
}    
.versatile-detail, .product-material, .lively-color, .practical-surface {
    width: 230px;
    position: unset;
    transform: unset;
    margin: auto;
    padding-bottom: 20px;
}
.versatile-img, .material-img, .color-img, .practical-img {
    display: none;
} 
    .premium-mem-hl h2 {
        margin: 15px !important;
    }   
    
#changingImage {
    border-radius: 30px;
    height: 450px;
}
.mem-day-content {
    height: 540px;
} 
.mem-day-hl h3 {
    font-size: 25pt !important;
}    
.mem-day-hl h2 {
    margin: 0 10% !important;
}    
.mem-day-box-left, .mem-day-box-right {
    flex: 0 0 50%;
    max-width: 50%;
}    
   
.mem-day-copy p {
    font-size: 15px !important;
}
.rug-image-1-copy {
    left: 50px;
}    
  
    
    #mem-do-left, #mem-dont-right {
        margin-bottom: 40px;
    }    
.do-dont-vertical-line {
    display: none;
}    
.mem-do-box {
    padding-left: 15%;
    padding-right: 15%;
} 
.mem-do-box h3, .mem-do-box h4, .mem-do-box p {
    text-align: left;
}    
    
.mem-dont-box {
    padding-left: 15%;
    padding-right: 15%;
}    
.mem-dont-box h3, .mem-dont-box h4, .mem-dont-box p {
    text-align: right;
}
.mem-learn-more {
    width: 50%;
}   
    
  
.mem-learn-more {
    margin-bottom: 40px;
    border-radius: 5px;
}
 
.mem-day-content {
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
}    

    .rotating-hl {
        position: absolute;
        top: 20px;
        width: 100%;
    }
    .rotating-hl h2 {
        font-size: 19pt !important;
        line-height: 18pt !important;
    }
    .rotating-hl p {
        margin:0px !important;
        width: 50%;
        font-size: 12px !important;
        padding: 10px 25px !important;
    }  
    .friendly-patterns {
    padding: 0 60px;
}
    
    }

    @media screen and (max-width: 480px){
        .mem-day-hl h2 {
        margin: 0 !important;
        font-size: 30pt !important;
        }
        }


@media screen and (max-width: 390px){
    
    #backgroundVideo {
        top: -60px;
        left: -312px;
        min-width: 280%;
        width: auto;
        height: auto;
    }    
.memorial-banner {
    height: 560px;
}
.memorial-title {
    font-size: 32px !important;
    line-height: 65px;
} 
    .memorial-title-2 {
        font-size: 38px !important;
    }
    .memorial-sub-title {
        font-size: 15px !important;
        letter-spacing: 2px;
    }    
    .memorial-soldier {
        bottom: -24px;
        width: 100%;
    }
    
    
    
.memorial-sub-title {
    font-size: 17px !important;
}    
.mem-day-about p, .mem-day-about p, .mem-day-patterns p {
    font-size: 16px !important;
} 
    
#premium-mem-day {
    height: 450px;
    margin-bottom: -60px;
}
    
    
.memorial-day-center img {
    height: 210px !important;
    float: none;
    margin-right: 0 !important;
}  
    
.memorial-day-left {
    width: 300px;
}    
    .memorial-day-left img {
        margin-left: 8%;
        height: 250px !important;
    }   
    
    .premium-mem-hl h4 {
        font-size: 20px !important;
        margin-top: 20px;
    }
    .product-detail-flag img {
        margin: 40px 0;
    }    
    
#changingImage {
    width: 750px;
    height: 450px;
    object-fit: cover;
}
#changingImage {
    height: 450px;
    object-fit: cover;
    object-position: top;
}
.white-bg {
    padding-bottom: 0px !important;
}    
.rotating-hl {
    top: 30px;
    left: 45%;
    transform: translate(-50%, -50%); 
}    
.premium-mem-hl h2, .rotating-hl h2 {
    margin: 0 5% !important;
} 
.product-desc-content {
    padding-top: 30px;
}
.product-detail-flag-1 {
    width: 90% !important;
} 
.scrolled-up .product-detail-flag-1 {
    bottom: 50px; /* Adjust as needed */
}      
.rug-shape p {
    padding: 0%;
}

.mem-day-about p {
    padding: 0 6%;
} 
.mem-day-about {
    padding-bottom: 0px !important;
}     
.mem-day-hl h2 {
    font-size: 35pt !important;
    margin: 0 10% !important;
}    
.mem-day-content {
    height: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.mem-day-copy h2, .mem-day-copy p {
    text-align: left;
}    
.mem-day-copy {
    width: 70%;
    margin: 0 15%;
    padding-bottom: 10px !important;
}   
.mem-day-copy p {
    font-size: 14px !important;
}    
.mem-day-copy img {
    padding-top: 30px;
} 
.mem-day-pattern-bg {
    padding-top: 0 !important;
}  
.mem-day-pattern-hl {
    padding: 0 !important;
}  
    
.mem-day-patterns p {
    padding: 0 2%;
}    
.mem-in-out-title {
    line-height: 42px;
}    
.in-out-slider, .in-out-slide img {
    height: 450px;
}    
.arrow-in-out {
    font-size: 30px;
}    
.mem-in-out-div {
    padding-bottom: 140px;
}    
.mem-in-out-info {
    border-radius: 10px;
    width: 260px;
    top: 85%;
} 
.mem-learn-more {
    font-size: 18pt !important;
    width: 70%;
}    
 .mem-dont-box p {
    font-size: 14px !important;
}   
.rotating-hl p {
    margin: auto 5% !important;
    width: 60%;
    padding: 10px 25px !important;
    top: 80px;
} 
.mem-day-hl h3 {
    font-size: 19pt !important;
}    
.mem-day-hl h2 {
    font-size: 30pt !important;
    margin: 0 10% !important;
}    
}
    