#modal-container,
#modal-container1 {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: scale(0);
    z-index: 1000;
}
#modal-container.two,
#modal-container1.two {
    transform: scale(1);
}
#modal-container.two .modal-background,
#modal-container1.two .modal-background {
    background: rgba(0, 0, 0, 0);
    animation: fadeInJx 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two .modal-background .modal,
#modal-container1.two .modal-background .modal {
    opacity: 0;
    animation: scaleUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two.out,
#modal-container1.two.out {
    animation: quickScaleDown 0s 0.5s linear forwards;
}
#modal-container.two.out .modal-background,
#modal-container1.two.out .modal-background {
    animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container.two.out .modal-background .modal,
#modal-container1.two.out .modal-background .modal {
    animation: scaleDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
#modal-container .modal-background,
#modal-container1 .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: bottom;
    height: 100%;
}
#modal-container1 .modal-background .modal {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
    max-height: 100vh;
    background: #ffffff;
    display: inline-block;
    border-radius: 3px;
    font-weight: 300;
    position: relative;
    text-align: initial;
    color: #212121;
    overflow: auto;
}

#modal-container1 .modal-background .modal p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}
#modal-container1 .modal-background .modal img {
    margin-bottom: 15px;
    border-radius: 15px;
}

#modal-container .modal-background .modal {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-height: 80vh;
    background: #5f676c;
    display: inline-block;
    border-radius: 3px;
    font-weight: 300;
    position: relative;
    text-align: initial;
    color: #fff;
    overflow: auto;
}
@media (min-width: 576px) {
    #modal-container .modal-background .modal,
    #modal-container1 .modal-background .modal {
        width: 540px;
    }
}
@media (min-width: 768px) {
    #modal-container .modal-background .modal,
    #modal-container1 .modal-background .modal {
        width: 720px;
    }
}
@media (min-width: 992px) {
    #modal-container .modal-background .modal,
    #modal-container1 .modal-background .modal {
        width: 960px;
    }
}
@media (min-width: 1200px) {
    #modal-container .modal-background .modal,
    #modal-container1 .modal-background .modal {
        width: 1140px;
    }
}
.description-product-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #ececec;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    box-shadow: 0 20px 30px 0 #0000001a;
    display: block;
    padding: 10px;
    margin: 0;
}
.product-title1 {
    font-weight: 700;
    font-size: 30px;
    display: block;
    color: #444;
    border-bottom: 1px solid black;
    text-align: center;
    margin: 10px 15px;
    padding: 15px;
    text-transform: uppercase;
}
#modal-container1 .modal-background .modal .product-title {
    font-weight: 700;
    font-size: 30px;
    display: block;
    color: #444;
    border-bottom: 1px solid black;
    text-align: center;
    margin: 10px 15px;
    padding: 15px;
    text-transform: uppercase;
}
#modal-container .modal-background .modal .product-title {
    font-weight: 700;
    font-size: 30px;
    display: block;
    color: #fff;
}
#modal-container .modal-background .modal .close-modal,
#modal-container1 .modal-background .modal .close-modal1 {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 10001;
    border: none;
    background-color: rgb(0, 0, 0, 0.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.5;
}
#modal-container .modal-background .modal .close-modal:hover,
#modal-container1 .modal-background .modal .close-modal1:hover {
    background-color: #9f1f62;
    opacity: 0.8;
}
#modal-container .modal-background .modal .close-modal:hover i,
#modal-container1 .modal-background .modal .close-modal1:hover i {
    transform: scale(1.02);
}

@keyframes unfoldIn {
    0% {
        transform: scaleY(0.005) scaleX(0);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(1) scaleX(1);
    }
}
@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(0.005) scaleX(0);
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes fadeInJx {
    0% {
        background: rgba(0, 0, 0, 0);
    }
    100% {
        background: rgba(0, 0, 0, 0.7);
    }
}
@keyframes fadeOut {
    0% {
        background: rgba(0, 0, 0, 0.7);
    }
    100% {
        background: rgba(0, 0, 0, 0);
    }
}
@keyframes scaleUp {
    0% {
        transform: scale(0.8) translateY(1000px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(6px);
        opacity: 1;
    }
}
@keyframes scaleDown {
    0% {
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
    100% {
        transform: scale(0.8) translateY(1000px);
        opacity: 0;
    }
}
@keyframes scaleBack {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.85);
    }
}
@keyframes scaleForward {
    0% {
        transform: scale(0.85);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes quickScaleDown {
    0% {
        transform: scale(1);
    }
    99.9% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes slideUpLarge {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}
@keyframes slideDownLarge {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
}
@keyframes moveUp {
    0% {
        transform: translateY(150px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes moveDown {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(150px);
    }
}
@keyframes blowUpContent {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    99.9% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(0);
    }
}
@keyframes blowUpContentTwo {
    0% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes blowUpModal {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes blowUpModalTwo {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}
@keyframes roadRunnerIn {
    0% {
        transform: translateX(-1500px) skewX(30deg) scaleX(1.3);
    }
    70% {
        transform: translateX(30px) skewX(0deg) scaleX(0.9);
    }
    100% {
        transform: translateX(0px) skewX(0deg) scaleX(1);
    }
}
@keyframes roadRunnerOut {
    0% {
        transform: translateX(0px) skewX(0deg) scaleX(1);
    }
    30% {
        transform: translateX(-30px) skewX(-5deg) scaleX(0.9);
    }
    100% {
        transform: translateX(1500px) skewX(30deg) scaleX(1.3);
    }
}
@keyframes sketchIn {
    0% {
        stroke-dashoffset: 778;
    }
    100% {
        stroke-dashoffset: 0;
    }
}
@keyframes sketchOut {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 778;
    }
}
@keyframes modalFadeInJx {
    0% {
        background-color: transparent;
    }
    100% {
        background-color: white;
    }
}
@keyframes modalFadeOut {
    0% {
        background-color: white;
    }
    100% {
        background-color: transparent;
    }
}
@keyframes modalContentFadeInJx {
    0% {
        opacity: 0;
        top: -20px;
    }
    100% {
        opacity: 1;
        top: 0;
    }
}
@keyframes modalContentFadeOut {
    0% {
        opacity: 1;
        top: 0px;
    }
    100% {
        opacity: 0;
        top: -20px;
    }
}
@keyframes bondJamesBond {
    0% {
        transform: translateX(1000px);
    }
    80% {
        transform: translateX(0px);
        border-radius: 75px;
        height: 75px;
        width: 75px;
    }
    90% {
        border-radius: 3px;
        height: 182px;
        width: 247px;
    }
    100% {
        border-radius: 3px;
        height: 162px;
        width: 227px;
    }
}
@keyframes killShot {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(300px) rotate(45deg);
        opacity: 0;
    }
}
@keyframes fadeToRed {
    0% {
        background-color: rgba(0, 0, 0, 0.6);
    }
    100% {
        background-color: rgba(255, 0, 0, 0.8);
    }
}
@keyframes slowFade {
    0% {
        opacity: 1;
    }
    99.9% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
