@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,700&family=Roboto+Condensed&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background-image: url("../../../img/54.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    /* overflow-x: hidden; */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* #app {
    border-radius: 15px;
    height: 90vh;
    border: 2px solid white;
} */

/* Зэвсэгт хүчний лого болон монгол бичиг */
.logoHeder {
    position: absolute;
    display: flex;
    width: 100px;
    height: 700px;
    top: 18%;
    left: 2.5%;
}

.logoHeder h3 {
    color: white;
    font-size: 25px;
    border-bottom: 2px solid white;
}

.logoZH {
    position: absolute;
    padding: 2px;
    width: 130px;
    height: 130px;
    top: 6%;
    left: 3%;
}

.logoZH .zh {
    width: 100%;
    height: 100%;
}

/* Navbar Гарчигийн хэсэг */
header {
    width: 65%;
    height: 60px;
    background: linear-gradient(90deg, #007bff, #0057b3);
    color: #fff;
    position: fixed;
    top: 0;
    left: 18%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    display: flex;
    gap: 8%;
    justify-content: center;
    align-items: center;
    list-style: none;
}


.nav-links li a {
    font-size: 25px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    position: relative;
    font-weight: 700;
}

.nav-links li a:hover {
    color: #fbff0a;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger i {
    font-size: 1.5rem;
    color: #fff;
}

@media (max-width: 768px) {
    header {
        width: 100%;
        height: 60px;
        border-radius: 0;
        left: 0;
        transform: none;
        background: linear-gradient(135deg, #007bff, #0057b3, #003d82);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }
    
    .navigation {
        padding: 8px 20px;
        justify-content: center;
        position: relative;
        height: 100%;
    }
    
    .nav-links {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: static;
        background: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        gap: 0;
        backdrop-filter: none;
        margin: 0;
    }
    
    .nav-links li a {
        font-size: 18px;
        padding: 0;
        text-align: left;
        width: auto;
        display: block;
        border-radius: 0;
        background: none;
        transition: none;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
    }
    
    .nav-links li a:hover {
        background: none;
        transform: translateY(-50%);
    }

    .burger {
        display: block;
        padding: 8px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .burger:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .container1 {
        position: relative;
        margin-top: 80px;
        right: auto;
        /* top: -5%; */
        max-width: 100%;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }
    
    .container1 .box1 {
        width: 100%;
        max-width: 350px;
        height: 420px;
        margin: 20px 0;
    }
    
    .container1 .box1 .name1 {
        font-size: 22px;
    }
    
    .container1 .box1 .product1 {
        max-width: 240px;
        max-height: 240px;
    }
    
    .container1 .box1 .buy1 {
        width: 130px;
        height: 45px;
        font-size: 17px;
        padding: 18px 22px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .container1 .box1 .buy1:hover {
        background: rgb(20, 20, 20);
        transform: translate3d(-50%, -5px, 80px);
    }
    
    .logoZH {
        display: none;
    }
    
    .logoHeder {
        display: none;
    }
}

@media (max-width: 480px) {
    header {
        width: 100%;
        height: 55px;
        border-radius: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .navigation {
        padding: 6px 15px;
    }
    
    .nav-links li a {
        font-size: 16px;
        left: 15px;
        letter-spacing: 0.3px;
    }
    
    .burger {
        padding: 6px;
    }
    
    .burger i {
        font-size: 1.4rem;
    }
    
    body {
        padding: 10px;
    }
    
    .container1 {
        margin-top: 60px;
        padding: 5px;
    }
    
    .container1 .box1 {
        width: 100%;
        max-width: 300px;
        height: 400px;
        margin: 15px 0;
    }
    
    .container1 .box1 .name1 {
        font-size: 20px;
        top: 30px;
    }
    
    .container1 .box1 .product1 {
        max-width: 200px;
        max-height: 200px;
    }
    
    .container1 .box1 .buy1 {
        width: 120px;
        height: 40px;
        font-size: 16px;
        padding: 15px 20px;
    }
}

/* Хувцасны төрөл сонголт */
.container1 {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-wrap: wrap; */
    /* right: 15%; */
    top: 20%;
    padding: 20px;
}

.container1 .box1 {
    position: relative;
    width: 330px;
    height: 450px;
    margin: 40px;
    background: rgba(255, 255, 255, 0.555);
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.5s, background 0.5s;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.925);

}

.container1 .box1 .name1 {
    position: absolute;
    top: 40px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #000;
    font-size: 25px;
    opacity: 1;
    z-index: 10;
}

.container1 .box1:hover .name1 {
    opacity: 1;
}



.container1 .box1 .buy1 {
    position: absolute;
    bottom: 10px;
    left: 70%;
    color: #ffffff;
    background: rgb(0, 0, 0);
    backdrop-filter: blur(5px);
    padding: 20px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translate3d(-50%, 0, 80px);
    width: 140px;
    height: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.container1 .box1 .buy1:hover {
    background: rgb(20, 20, 20);
    transform: translate3d(-50%, -2px, 80px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.container1 .box1 .product1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    max-width: 280px;
    max-height: 280px;
    transition: transform 0.5s;
}

.container1 .box1:hover .product1 {
    transform: translate3d(-50%, -50%, 100px);
}

.container1 .box1:hover {
    background: rgba(219, 218, 218, 0.726);
    transform: scale(1.05);
}

/* Page Loader */
.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 45%;
    left: 50%;
    z-index: 1001;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* End Page Loader */


/* Model desing */

.modal-img {
    position: relative;
    display: flex;
    justify-content: center;
    /* Дэлгэцийн голд байрлуулах */
    align-items: center;
}

.modal-img img {
    max-width: 150px;
    cursor: zoom-in;
    transition: transform 0.25s ease, top 0.25s ease, left 0.25s ease;
}

.modal-img img.zoomed {
    transform: scale(5);
    cursor: zoom-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    z-index: 1050;
}

.modal-body p {
    text-align: justify;
    text-justify: inter-word;
    padding-left: 15px;
}

.modal-body h5 {
    width: 100%;
    border-bottom: 2px solid gray;
    margin-top: 5px;
}

.hat {
    width: 100%;
    display: flex;
    word-wrap: break-word;
    justify-content: center;
    align-items: center;
}

.temdeg {
    width: 100%;
    display: flex;
    word-wrap: break-word;
    justify-content: center;
    align-items: center;
}

/* --------------- Mune desing  ------------------ */

.menu {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px;
}

.menu li {
    position: absolute;
    list-style: none;
    font-size: 40px;
    transform-origin: 470px;
    width: 100px;
    height: 100px;
    display: flex;
    left: 5%;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(400px);
}

.menu.active li {
    transform: rotate(calc(360deg / 13 * var(--i)));
}

.menu li img {
    width: 100%;
    height: 100%;
    transform: rotate(calc(360deg / -13 * var(--i)));
}

.toggle {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
    font-size: 70px;
    left: 23%;
}

.toggle img {
    width: 235px;
    height: 750px;
}

.modal-body h5 {
    width: 100%;
    border-bottom: 2px solid gray;
    margin-top: 5px;
}

.modal-body p {
    text-align: justify;
    text-justify: inter-word;
    padding-left: 15px;
}

.container0 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    left: 38%;
    top: 25%;
}

.container0 .box0 {
    position: relative;
    width: 240px;
    height: 350px;
    margin: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform-style: preserve-3d;
}

.container0 .box0 .name0 {
    position: absolute;
    top: 40px;
    left: 0;
    text-align: center;
    width: 100%;
    transform-style: preserve-3d;
    color: #fff;
    font-size: 20px;
    opacity: 1;
    z-index: 10;
}

.container0 .box0:hover .name0 {
    top: 40px;
    opacity: 1;
}

.container0 .box0 .buy0 {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform-style: preserve-3d;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.5s;
    transform: translate3d(-50%, 0, 80px);
    width: 100px;
    height: 60px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.container0 .box0 .product0 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    max-width: 180px;
    max-height: 180px;
    transition: 0.5s;
}

.container0 .box0:hover .product0 {
    transform: translate3d(-50%, -50%, 100px);
}

.button0 {
    display: none;
}

.modal-dialog1 {
    width: 600px;
    position: relative;
    left: 30%;
    top: 5%;
}

@media only screen and (max-width: 480px) {
    body {
        background-size: cover;
        padding: 15px;
        /* overflow: hidden !important; */
    }

    .menu {
        position: relative;
        width: 100%;
        height: 90vh;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .toggle {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 70px;
        /* border: 1px solid #fff; */
        width: 70%;
        height: 95%;
    }

    .toggle img {
        width: 100%;
        height: 100%;
    }

    /* #app {
        border: 3px solid #fff;
        border-radius: 15px;
    } */

    .hat {
        width: 100%;
        display: grid;
        word-wrap: break-word;
        justify-content: center;
        align-items: center;
    }

    .temdeg {
        width: 100%;
        display: grid;
        word-wrap: break-word;
        justify-content: center;
        align-items: center;
    }

    .menu li {
        position: absolute;
        list-style: none;
        font-size: 40px;
        transform-origin: 470px;
        width: 100px;
        height: 100px;
        display: flex;
        left: 5%;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        transition-delay: calc(0.1s * var(--i));
        transform: rotate(0deg) translateX(400px);
        display: none;
    }

    .menu.active li {
        transform: rotate(calc(360deg / 10 * var(--i)));
    }

    .menu li img {
        width: 100%;
        height: 100%;
        transform: rotate(calc(360deg / -10 * var(--i)));
    }

    .menu .toggle .cur1 {
        position: absolute;
        width: 13px;
        height: 13px;
        background: rgba(255, 255, 255, 0.658);
        border-radius: 50%;
    }

    .menu .toggle .cur1 span {
        position: absolute;
        width: 100%;
        height: 100%;
        background: inherit;
        border-radius: inherit;
        opacity: .8;
        animation: pulseAnimate 2s ease-out infinite;
        animation-delay: calc(1s * var(--i));
    }

    @keyframes pulseAnimate {
        100% {
            opacity: 0;
            transform: scale(3);
        }
    }

    #pos1 {
        left: 47%;
        top: 4.5%;
    }

    #pos2 {
        left: 47%;
        top: 38%;
    }

    #pos3 {
        left: 60%;
        top: 20%;
    }

    #pos4 {
        left: 47%;
        top: 25%;
    }

    #pos5 {
        left: 26%;
        top: 32%;
    }

    #pos6 {
        left: 15%;
        top: 60%;
    }

    #pos7 {
        left: 47%;
        top: 70%;
    }

    #pos8 {
        left: 47%;
        top: 90%;
    }

    #pos9 {
        left: 12%;
        top: 28%;
    }

    #pos10 {
        left: 66%;
        top: 32%;
    }

    #pos11 {
        left: 30%;
        top: 42.5%;
    }

    #pos12 {
        left: 90%;
        top: 30%;
    }

    #pos13 {
        left: 7%;
        top: 30%;
    }

    .container0 {
        display: none;
    }

    .container1 {
        top: -5%;
        /* right: 8%; */
    }

    .reluod {
        display: none;
    }

    .button0 {
        position: relative;
        transition: all 0.3s ease-in-out;
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
        padding-block: 0.5rem;
        padding-inline: 1.25rem;
        background-color: rgb(0 107 179);
        border-radius: 9999px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffff;
        gap: 10px;
        font-weight: bold;
        border: 3px solid #ffffff4d;
        outline: none;
        /* overflow: hidden; */
        font-size: 15px;
        bottom: 96%;
        left: 17%;
    }

    .icon {
        width: 24px;
        height: 24px;
        transition: all 0.3s ease-in-out;
    }

    .button0:hover {
        transform: scale(1.05);
        border-color: #fff9;
    }

    .button0:hover .icon {
        transform: translate(4px);
    }

    .button0:hover::before {
        animation: shine 1.5s ease-out infinite;
    }

    .button0::before {
        content: "";
        position: absolute;
        width: 100px;
        height: 100%;
        background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
        top: 0;
        left: -100px;
        opacity: 0.6;
    }

    @keyframes shine {
        0% {
            left: -100px;
        }

        60% {
            left: 100%;
        }

        to {
            left: 100%;
        }
    }
}

@media only screen and (max-width: 280px) {
    body {
        background-size: cover;
        padding: 15px;
        /* overflow: hidden !important; */
    }

    .menu {
        position: relative;
        width: 100%;
        height: 87vh;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    .toggle {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;
        cursor: pointer;
        font-size: 70px;
        /* border: 1px solid #fff; */
        width: 70%;
        height: 95%;
    }

    .toggle img {
        width: 100%;
        height: 100%;
    }

    .hat {
        width: 100%;
        display: grid;
        word-wrap: break-word;
        justify-content: center;
        align-items: center;
    }

    .temdeg {
        width: 100%;
        display: grid;
        word-wrap: break-word;
        justify-content: center;
        align-items: center;
    }

    /* #app {
        border: 3px solid #fff;
        border-radius: 15px;
    } */

    .menu li {
        position: absolute;
        list-style: none;
        font-size: 40px;
        transform-origin: 470px;
        width: 100px;
        height: 100px;
        display: flex;
        left: 5%;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        transition-delay: calc(0.1s * var(--i));
        transform: rotate(0deg) translateX(400px);
        display: none;
    }

    .menu.active li {
        transform: rotate(calc(360deg / 10 * var(--i)));
    }

    .menu li img {
        width: 100%;
        height: 100%;
        transform: rotate(calc(360deg / -10 * var(--i)));
    }

    .reluod {
        display: none;
    }
}


/* ---------- Alert modal popup ------------- */

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    z-index: 100;
    display: none;
}

.popup-content {
    padding: 14px 10px;
    line-height: 1.5;
    height: inherit;
}

.popup-onload {
    width: 100%;
    margin: 0 auto;
    display: none;
    position: fixed;
    z-index: 101;
}

.cnt223 {
    width: 600px;
    min-height: 150px;
    margin: 100px auto;
    background: #f3f3f3;
    z-index: 103;
    padding: 15px 35px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px #000;
}

.cnt223 img {
    width: 150px;
    height: 400px;
    margin: 10px;
}

.cnt223 .sum {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 39%;
    bottom: 17%;
}

.popup-content h2 {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
}

.popup-content p {
    clear: both;
    color: #000000;
    text-align: justify;
    font-size: 22px;
    font-family: sans-serif;
}

.cnt223 .x {
    float: right;
    height: 35px;
    left: 22px;
    position: relative;
    top: -25px;
    width: 34px;
}

.closes {
    position: relative;
    width: 350px;
    height: 40px;
    left: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: rgb(20, 188, 255);
    border: none;
}

.popup-content a {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
}

/* Footer Эхлэл */
.footer {
    position: absolute;
    width: 100%;
    height: 35px;
    z-index: 1002;
    padding: 3px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #007bff96, #0057b371);
    border-top-left-radius: 20px;
    bottom: 0;
    color: #ffffffbd;
}

.footer .footer-content {
    text-align: center;
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
}

/* Footer END */

/* *********************************** Responsive ****************************** */
@media only screen and (max-width: 480px) {
    .popup-onload {
        position: absolute;
        left: 0;
    }

    .cnt223 {
        width: 90%;
        margin: 50px auto;
        display: block;
        position: relative;
        bottom: 80px;
    }

    .cnt223 img {
        width: 30%;
        height: auto;
        position: relative;
        left: 35%;
    }

    .cnt223 .sum {
        position: absolute;
        left: 48%;
        top: 20%;
        width: 30px;
        height: auto;
    }

    .popup-content h2 {
        font-size: 24px;
    }

    .closes {
        position: relative;
        width: 80%;
        left: 10%;
    }

    .popup-content p {
        clear: both;
        color: #000000;
        text-align: justify;
        font-size: 18px;
        font-family: sans-serif;
        margin-top: 10px;
    }
    
    .footer {
        height: 40px;
        padding: 5px;
    }
    
    .footer .footer-content {
        font-size: 10px;
        text-align: center;
        width: 100%;
    }
}
