/*----------------------------------------------
    IMPORT FILES
-----------------------------------------------*/
@import url(animation.css);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-family: Tahoma, sans-serif;
    font-size: 14px;
}
a{
    text-decoration: none !important;
}
body a:hover {
    text-decoration: none;
}

/* slider */
#logo-banner{
    width: 15%;
    border-radius: 100%;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.text-slider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    bottom: 50px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}

/* banner clouds */
.banner {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.banner .clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.banner .clouds img {
    position: absolute;
    bottom: 0;
    opacity: 0.7;
    animation: effectClouds calc(20s * var(--i)) linear infinite;
}

/* social network */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

#icon {
    margin-bottom: 50px;
}
#icon ul.social {
    display: flex;
    align-items: center; /* Căn giữa dọc */
    justify-content: center;
    position: relative;
    top: 50%;
}
#icon ul.social li {
    list-style: none;
    margin: 0 3%;
}
#icon ul.social li a {
    position: relative;
    display: flex;
    justify-content: center; /* Canh giữa theo chiều ngang */
    align-items: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #333;
    border-radius: 50%;
    font-size: 25px;
    color: #666;
    transition: .5s;
}
#icon ul.social li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffee10;
    transition: .5s;
    transform: scale(.9);
    z-index: -1;
}
#icon ul.social li a:hover::before{
    transform: scale(1.1);
    box-shadow: 0 0 15px #ffee10;
}
#icon ul.social li a:hover {
    color: #ffee10;
    box-shadow: 0 0 5px #ffee10;
    text-shadow: 0 0 5px #ffee10;
}
.network-profile {
    --bs-text-opacity: 1;
    color: #6c757d;
}
.network-profile:hover {
    color: #0f9efd;
    text-decoration: underline !important;
}

/* modal */
.js-modal, .js-modal-account {
    display: none;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    z-index: 111;
}
.js-modal-open {
    display: flex;
}
.modal-container {
    position: fixed;
    width: 500px;
    max-width: 60%;
    min-height: 200px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn ease 0.5s;
}
.modal-container-black {
    position: fixed;
    width: 600px;
    max-width: 60%;
    min-height: 200px;
    background-color: #212121;
    color: #ccc;
    border-radius: 5px;
    box-shadow: 0 0 27px rgba(255, 255, 255, 0.9);
    animation: modalFadeIn ease 0.5s;
}
.modal-container-frame {
    position: fixed;
    width: 1000px;
    max-width: 95%;
    min-height: 200px;
    background-color: #212121;
    color: #ccc;
    border-radius: 5px;
    box-shadow: 0 0 27px rgba(255, 255, 255, 0.9);
    animation: modalFadeIn ease 0.5s;
}
.js-modal-close {
    position: absolute;
    color: #fff;
    font-size: 25px;
    top: -7px;
    right: 0;
    padding: 5px;
    opacity: 0.8;
}
.js-modal-close:hover {
    cursor: default;
    color: red;
    opacity: 1;
}
.modal-img {
    position: relative;
    width: 100%;
    height: 40%;
    padding: 5px;
    text-align: center;
}
.modal-img-black {
    width: 100%;
    padding: 5px;
}
.modal-img-black img {
    border-radius: 10px;
    width: 170px;
    height: 170px;
}
.level {
    margin: 10px;
    background: #000;
    color: #6ebee5;
    padding: 5px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 5px 3px;
}
.js-modal .level-discount {
    margin: 10px;
    background: #000;
    color: #ff1a1a;
    padding: 5px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 5px 3px;
}
.text-account-title {
    color: #FF2400;
    text-shadow: 1px 0 1px rgba(255, 255, 255, 0.75);
}
.js-modal .modal-header {
    background-color: #00bbb3;
    color: #fff;
    display: block;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
}
.modal-header-black {
    color: #f98d8d;
    display: block;
    border-bottom: 1px dashed #f98d8d;
    padding: 10px 0;
    margin: 0 10px 15px;
    height: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}
.modal-body {
    padding: 1px;
}
.modal-body-frame {
    height: 35rem;
}
.block-frame {
    margin-bottom: 2rem;
}
.modal-content {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}
.footer-modal {
    margin-bottom: 5%;
}
.footer-modal-black {
    border-top: 1px dashed #f98d8d;
    margin: 0 10px;
    padding: 1px 0;
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 700;
}
.footer-modal a{
    color: #2196f3;
}
.btn-buy-product {
    margin: 5% 0;
}
.button-quantity {
    align-items: center; /* Căn giữa dọc */
    justify-content: center;
}
#btn-buy-product {
    width: 50%;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #00a650;
    color: #fff;
    border: 1px solid #00a650;
    border-radius: 50px;
    padding: 3%;
}
#btn-not-product {
    width: 50%;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #dc3545;
    color: #fff;
    border: 1px solid #dc3545;
    border-radius: 50px;
    padding: 3%;
}
#btn-buy-product:hover {
    background-color: #fff;
    color: #00a650;
}
.js-modal-footer .modal-help a {
    text-decoration: underline;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-150px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.text-customer-active {
    background-color: #E9F8F2;
    border-radius: 50px;
    padding: 3px 10px;
    color: #36C685;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.text-customer-primary {
    background-color: #D9F0FF;
    border-radius: 50px;
    padding: 3px 10px;
    color: #007FFF;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.text-customer-warning {
    background-color: #FFECDB;
    border-radius: 50px;
    padding: 3px 10px;
    color: #FF7F50;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.text-customer-danger {
    background-color: #FFDAD5;
    border-radius: 50px;
    padding: 3px 10px;
    color: #FF5733;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

/* animation button */
.animated-button1 {
    background: linear-gradient(-30deg, #4d0b0b 50%, #3b0808 50%);
    padding: 20px 40px;
    margin: 12px;
    display: inline-block;
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    overflow: hidden;
    color: #f7d4d4;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.animated-button1::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #ff00ff;
    opacity: 0;
    -webkit-transition: .2s opacity ease-in-out;
    transition: .2s opacity ease-in-out;
}
.animated-button1:hover::before {
    opacity: 0.2;
}
.animated-button1 span {
    position: absolute;
}
.animated-button1 span:nth-child(1) {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 4px;
    background: -webkit-gradient(linear, right top, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateTop linear infinite;
    animation: 2s animateTop linear infinite;
}
@keyframes animateTop {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}
.animated-button1 span:nth-child(2) {
    top: 0px;
    right: 0px;
    height: 100%;
    width: 4px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateRight linear -1s infinite;
    animation: 2s animateRight linear -1s infinite;
}
@keyframes animateRight {
    0% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }

    100% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}
.animated-button1 span:nth-child(3) {
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 4px;
    background: -webkit-gradient(linear, left top, right top, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateBottom linear infinite;
    animation: 2s animateBottom linear infinite;
}
@keyframes animateBottom {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    100% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
}
.animated-button1 span:nth-child(4) {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 4px;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(43, 8, 8, 0)), to(#d92626));
    background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
    -webkit-animation: 2s animateLeft linear -1s infinite;
    animation: 2s animateLeft linear -1s infinite;
}
@keyframes animateLeft {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

/* about */
.about-us-bg {
    background: url(https://res.cloudinary.com/dkmug1913/image/upload/v1695124125/WebApp/about-us-bg_rqlp5r.png) top center / cover no-repeat;
    background-size: 100% 100%;
}
.about-us-content {
    font-size: 16px;
    font-family: Open sans, sans-serif;
    align-items: center;
}
.about-us-img img{
    width: 100%;
    height: 60%;
    object-fit: cover;
}

/* footer */
.sticky-footer{
    background: url(https://res.cloudinary.com/dkmug1913/image/upload/v1690293307/WebApp/footer-background-2_mk5whj.jpg) top center / cover no-repeat;
    background-size: cover;
    background-position-y: 0;
    color: #fff;
}
.sticky-footer .container .row {
    background: rgba(0, 0, 0 , 0);
}
.sticky-footer .container .row li {
    color: #0D6EFD;
}

/* frame avatar */
.item-frame:hover {
    border: 5px solid red !important;
    cursor: pointer;
}

/* go to top */
.gototop {
    font-size: 45px;
    background-color: tomato;
    color: #fff;
    border-radius: 100%;
    opacity: 0.7;
    position: fixed;
    right: 23px;
    bottom: 10px;
    z-index: 105;
}
.gototop:hover {
    background-color: #00bbb3;
    color: lightgrey;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 0 5px #00bbb3;
    text-shadow: 0 0 5px #00bbb3;
    opacity: 1;
}
