/*Middle Body*/

.middle-container {
    display: flex;
}

.content_box,
.image1 {
    width: 50%;
    box-sizing: border-box;
    /* Ensures padding and borders don't affect width */
    padding: 20px;
    /* Adjust padding as needed */
}

.image1 img {
    width: 100%;
}

.content_box {
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.content_box_header {
    font-size: 15px;
    background-image: linear-gradient( -225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    height: 50%;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

.online_deal {
    font-size: 50px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding: 5px;
}

.content_box_text {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 0;
    margin-bottom: 16px;
}

.pop-outin {
    animation: 2s anim-popoutin ease infinite;
}

@keyframes anim-popoutin {
    0% {
        color: black;
        transform: scale(0);
        opacity: 0;
        text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    25% {
        color: red;
        transform: scale(2);
        opacity: 1;
        text-shadow: 3px 10px 5px rgba(0, 0, 0, 0.5);
    }
    50% {
        color: black;
        transform: scale(1);
        opacity: 1;
        text-shadow: 1px 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        /* animate nothing to add pause at the end of animation */
        transform: scale(1);
        opacity: 1;
        text-shadow: 1px 0 0 rgba(0, 0, 0, 0);
    }
}

.key_deal {
    font-size: 80px;
    padding: 5px;
    text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary), 12px 12px 0 var(--color-quinary);
    font-family: bungee, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: calc(2rem + 5vw);
    text-align: center;
    margin: 0;
    color: var(--color-primary);
    animation: shadows 1.2s ease-in infinite, move 1.2s ease-in infinite;
    letter-spacing: 0.4rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-primary: rgba(29, 18, 78, 0);
    --color-secondary: #38344d;
    --color-tertiary: #524e7c;
    --color-quaternary: #7469b3;
    --color-quinary: #8989f3;
    /*
  --color-primary: #5192ED;
  --color-secondary: #69A1F0;
  --color-tertiary: #7EAEF2;
  --color-quaternary: #90BAF5;
  --color-quinary: #A2C4F5;
  */
}

@keyframes shadows {
    0% {
        text-shadow: none;
    }
    10% {
        text-shadow: 3px 3px 0 var(--color-secondary);
    }
    20% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary);
    }
    30% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary);
    }
    40% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary), 12px 12px 0 var(--color-quinary);
    }
    50% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary), 12px 12px 0 var(--color-quinary);
    }
    60% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary), 12px 12px 0 var(--color-quinary);
    }
    70% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary), 9px 9px var(--color-quaternary);
    }
    80% {
        text-shadow: 3px 3px 0 var(--color-secondary), 6px 6px 0 var(--color-tertiary);
    }
    90% {
        text-shadow: 3px 3px 0 var(--color-secondary);
    }
    100% {
        text-shadow: none;
    }
}

@keyframes move {
    0% {
        transform: translate(0px, 0px);
    }
    40% {
        transform: translate(-12px, -12px);
    }
    50% {
        transform: translate(-12px, -12px);
    }
    60% {
        transform: translate(-12px, -12px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}


/* Optional: Add more styling for better layout */

.content_box {
    background-color: #ece0e0;
}

.image1 {
    background-color: #eaeaea;
}


/* Responsive adjustments */

@media screen and (max-width: 935px) {
    .middle-container {
        flex-direction: column;
    }
    .content_box,
    .image1 {
        width: 100%;
    }
}


/*Feature Container*/

.feature-container {
    display: flex;
    justify-content: center;
    /* Center items horizontally */
    align-items: center;
    /* Center items vertically */
    flex-wrap: wrap;
    /* Allow items to wrap if needed */
    padding: 30px;
    margin: auto;
}

.feature1,
.feature2,
.feature3 {
    width: 30%;
    /* Each feature takes full width of the container */
    text-align: center;
    /* Center text within each feature */
    padding: 20px;
    margin: 20px;
    box-sizing: border-box;
    /* Include padding in width calculation */
    box-sizing: border-box;
    background-color: cadetblue;
    border-radius: 5px;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.feature1:hover,
.feature2:hover,
.feature3:hover {
    color: white;
}

.feature1:hover p,
.feature2:hover p,
.feature3:hover p {
    color: black;
}

.feature1 p,
.feature2 p,
.feature3 p {
    color: rgb(255, 255, 255);
}

@media screen and (max-width:930px) {
    .feature-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap:nowrap;
    }
    .feature1,
    .feature2,
    .feature3 {
        width: 100%;
    }
}


/*Products_Container*/

.products_container {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
.products_banner h1 {
    padding: 10px;
    position: relative;
    color: hsl(0, 87%, 25%);
    font-weight: bolder;
    font-family: "Anonymous Pro", monospace;
    letter-spacing: 2px;
    overflow: hidden;
    border-right: 2px solid hsl(0, 87%, 25%);
    white-space: nowrap;
    animation: typewriter 4s steps(44) 1s 1 normal both, blinkTextCursor 500ms infinite;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: hsl(0, 0%, 80%);
    }
    to {
        border-right-color: transparent;
    }
}

.products {
    display: flex;
    padding: 20px;
    align-items: center;
}

.product1,
.product2,
.product3 {
    width: 33%;
    /* Each feature takes full width of the container */
    text-align: center;
    /* Center text within each feature */
    padding: 20px;
    margin: 20px;
    box-sizing: border-box;
    /* Include padding in width calculation */
    box-sizing: border-box;
    background-color: rgb(165, 208, 233);
    border-radius: 5px;
    color: rgb(104, 8, 8);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.products h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border-radius: 3px;
    background-color: #eaeaea;
    padding: 5px;
    margin: 10px;
}

.products ol {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.products ol li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.products ol li::before {
    content: '\2713';
    /* Unicode character for checkmark */
    font-size: 1.2em;
    margin-right: 5px;
    color: #28a745;
    /* Set color for the checkmark */
}

.products h2 {
    background-color: #007bff;
    /* Set background color for the h2 element */
    color: #fff;
    /* Set text color for the h2 element */
    padding: 10px;
    font-size: 1.2rem;
    margin: 0;
    border-radius: 5px;
}

.products :hover {
    box-shadow: 0 4px 8px 0 rgba(47, 10, 95, 0.2), 0 6px 20px 0 rgba(25, 12, 61, 0.19);
}

@media screen and (max-width:970px) {
    .products {
        flex-direction: column;
    }
    .product1,
    .product2,
    .product3 {
        width: 100%;
    }
    .products_banner h1 {
        font-size: 15px;
        width: 100%;
        align-items: center;
    }
    
}

