/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
    font-family: 'Mazzard H';
    src: url('fonts/MazzardH-Extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Mazzard H';
    src: url('fonts/MazzardH-ExtraboldItalic.woff2') format('woff2');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Mazzard H';
    src: url('fonts/MazzardH-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Mazzard H';
    src: url('fonts/MazzardH-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.promo-banner {
    position: relative;
    width: 100%;
    max-width: 1070px;
    height: auto;
    font-family: 'Mazzard H', Arial, sans-serif;
    aspect-ratio: 1 / 1;
    background: url('assets/bg.webp') no-repeat center center;
    background-size: cover;
    background-color: #214C6F;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.text-bubbles {
    position: absolute;
    top: 9%;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 90%;
    z-index: 2;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.text-bubble {
    border: 2px solid #306795;
    border-radius: 20px;
    padding: 3px 12px;
    width: 15%;
    text-align: center;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    cursor: pointer;
}

.text-bubble.selected {
    background-color: #306795;
}

.text-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.text-bubble h2 {
    font-weight: 800;
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-bottom: 2px;
}

.text-bubble p {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #fff;
    margin-bottom: 2px;
}

.text-bubble img {
    display: none;
    width: 100%;
    height: auto;
}

.product {
    position: absolute;
    cursor: pointer;
}

.line {
    width: 2px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(49%, #306795), to(rgba(48, 103, 149, 0)));
    background: -o-linear-gradient(top, #306795 49%, rgba(48, 103, 149, 0) 100%);
    background: linear-gradient(180deg, #306795 49%, rgba(48, 103, 149, 0) 100%);
    position: absolute;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

#rayface { top: 31%; left: 1%; }
#line-rayface { height: 150%; top: 100%; left: 8%; }

#medit { top: 32.7%; left: 26%; }
#line-medit { height: 175%; top: 100%; left: 24.8%; }

#raydent { top: 32%; left: 38%; }
#line-raydent { height: 175%; top: 100%; left: 42%; }

#raymill { top: 36%; right: 32%; }
#line-raymill { height: 200%; top: 100%; right: 41%; }

#silverfox { top: 38%; right: 0; }
#line-silverfox { height: 400%; top: 100%; right: 24.5%; }

#greenmed { top: 19%; right: 0; }
#line-greenmed { height: 120%; top: 100%; right: 7%; }

.price-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    text-align: center;
    color: #fff;
}

.price-info h3 {
    margin-bottom: 10px;
    font-style: italic;
    font-weight: 400;
    font-size: 30px;
    color: #fff;
}

.price-container {
    display: inline-block;
    border: 3.5px solid #56FF47;
    border-radius: 17px;
    padding: 20px 0;
    background: transparent;
    margin-bottom: 10px;
    width: 550px;
    text-align: center;
}

.full-price, .discounted-price, .savings {
    font-style: italic;
    font-weight: 400;
    color: #fff;
    display: block;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
       text-overflow: ellipsis;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.full-price {
    text-decoration: line-through;
    font-size: 30px;
}

.discounted-price {
    font-weight: 800;
    font-size: 69px;
}

.savings {
    font-size: 30px;
}

.background-mobile {
    width: 100%;
    height: auto;
}

.mobile-bg-container {
    display: none;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}


.mobile-product {
    position: absolute;
    cursor: pointer;
    width: 20vw;
    height: 20vw;
}

.mobile-product img {
    width: 100%;
    height: auto;
}

#mobile-rayface { top: 29%; left: 1%; }
#mobile-medit { top: 25%; left: 26%; }
#mobile-raydent { top: 23%; left: 39%; }
#mobile-raymill { top: 30%; right: 25%; }
#mobile-greenmed { top: 0%; right: 0%; }
#mobile-silverfox { top: 38%; right: 0%; }

.mobile-product#mobile-medit {
    width: 3vw;
}

.mobile-product#mobile-raydent {
    width: 13vw;
}

.mobile-product#mobile-greenmed {
    width: 25vw;
}

.mobile-product#mobile-silverfox {
    width: 35vw;
}


.post-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 50px 0;
    width: 100%;
    max-width: 1070px;
}

.post-section form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.post-section input {
    padding: 20px;
    border: 1px solid rgb(33, 76, 111);
    border-radius: 10px;
    font-size: 18px;
    color: #000;
    font-family: 'Mazzard H', Arial, sans-serif;
}

#post-button {
    background-color: #56FF47;
    color: #fff;
    font-size: 18px;
    padding: 20px;
    width: 100%;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Mazzard H', Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    -webkit-animation: pulse 2s infinite;
            animation: pulse 2s infinite;
    -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
    transition: background-color 0.3s, -webkit-transform 0.3s;
    -o-transition: background-color 0.3s, transform 0.3s;
    transition: background-color 0.3s, transform 0.3s;
    transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

#post-button:hover {
    background-color: #45e63e;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
}

#post-button:active {
    background-color: #3ac132; 
    -webkit-transform: translateY(2px); 
        -ms-transform: translateY(2px); 
            transform: translateY(2px);
    -webkit-box-shadow: 0 0 5px 5px rgba(86, 255, 71, 0.5);
            box-shadow: 0 0 5px 5px rgba(86, 255, 71, 0.5);
}

.post-section  ::-webkit-input-placeholder {
    color: #214C6F;
    opacity: 1;
}

.post-section  ::-moz-placeholder {
    color: #214C6F;
    opacity: 1;
}

.post-section  :-ms-input-placeholder {
    color: #214C6F;
    opacity: 1;
}

.post-section  ::-ms-input-placeholder {
    color: #214C6F;
    opacity: 1;
}

.post-section  ::placeholder {
    color: #214C6F;
    opacity: 1;
}

.post-section  :-ms-input-placeholder {
    color: #214C6F
}

.post-section  ::-ms-input-placeholder {
    color: #214C6F;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(86, 255, 71, 0.7);
                box-shadow: 0 0 0 0 rgba(86, 255, 71, 0.7);
    }
    70% {
        -webkit-box-shadow: 0 0 20px 20px rgba(86, 255, 71, 0);
                box-shadow: 0 0 20px 20px rgba(86, 255, 71, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(86, 255, 71, 0);
                box-shadow: 0 0 0 0 rgba(86, 255, 71, 0);
    }
}

@keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(86, 255, 71, 0.7);
                box-shadow: 0 0 0 0 rgba(86, 255, 71, 0.7);
    }
    70% {
        -webkit-box-shadow: 0 0 20px 20px rgba(86, 255, 71, 0);
                box-shadow: 0 0 20px 20px rgba(86, 255, 71, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(86, 255, 71, 0);
                box-shadow: 0 0 0 0 rgba(86, 255, 71, 0);
    }
}

@media (max-width: 1070px) {
    .promo-banner {
        height: auto;
        background: none;
        background-color: #214C6F;
    }
    .background {
        display: none;
    }
    .mobile-bg-container {
        display: block;
        margin-top: 30px; 
    }
    .product {
        display: none;
    }
    .line {
        display: none;
    }
    .text-bubbles {
        position: static;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 5px 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        z-index: 2;
        margin-top: 20px; 
        -webkit-transform: none; 
            -ms-transform: none; 
                transform: none;
    }
    .text-bubble {
        width: 100%;
        height: 100px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        padding: 80px 30px;
    }
    .text-bubble img {
        display: block;
        width: auto;
        height: 80px;
        max-height: 80px;
    }
    .discounted-price {
        white-space: nowrap;
    }
    .mobile-product {
        width: 20vw; 
        height: 20vw;
    }
    .price-info {
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
        position: static; 
        margin: 30px 0  50px 0;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .promo-banner {
        height: auto;
        background: none;
        background-color: #214C6F;
    }
    .mobile-bg-container {
        display: block;
        margin-top: 20px;
    }
    .text-bubbles {
        position: static;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin-top: 20px;
    }
    .text-bubble {
        width: 100%;
        height: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        padding: 13px 10px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        gap: 20px;
    }
    .text-bubble img {
        display: block;
        width: auto;
        height: 70px;
    }
    .text-bubble h2 {
        font-weight: 800;
        font-size: 14px;
        margin-bottom: 2px;
    }
    .text-bubble p {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .price-container {
        width: 300px;
        display: inline-block;
        border: 3.5px solid #56FF47;
        border-radius: 17px;
        padding: 10px 30px;
        background: transparent;
        margin-bottom: 10px;
        text-align: center;
        margin: 0 auto;
    }
    .price-container {
        min-width: 150px;
    }
    .full-price {
        font-size: 14px;
    }
    .discounted-price {
        font-size: 30px;
    }
    .savings {
        font-size: 14px;
        margin-top: 5px;
    }
    .price-info {
        position: static;
        margin: 20px 0;
        text-align: center;
    }
}
