@font-face {
    font-family: 't1'; /* Birinchi font nomi */
    src: url('./shi/text/Agcci.ttf') format('truetype');
}

@font-face {
    font-family: 't2'; /* Ikkinchi font nomi */
    src: url('./shi/text/BallantinesantiqueRegular.ttf') format('truetype');
}

@font-face {
    font-family: 't3'; /* Uchinchi font nomi */
    src: url('./shi/text/Canelabark.ttf') format('truetype');
}
@font-face {
    font-family: 't4'; /* Uchinchi font nomi */
    src: url('./shi/text//Kaylar\ DEMO.ttf') format('truetype');
}
@font-face {
    font-family: 't5'; /* Uchinchi font nomi */
    src: url('./shi/text/Melvis\ Outline.ttf') format('truetype');
}
@font-face {
    font-family: 't6'; /* Uchinchi font nomi */
    src: url('./shi/text/TechnoOverloadBrk.ttf') format('truetype');
}
@font-face {
    font-family: 't7'; /* Uchinchi font nomi */
    src: url('./shi/text/Write2o.ttf') format('truetype');
}





marquee {
    z-index: 1001; /* Barcha elementlardan yuqorida turishi uchun */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white; /* Yorqin ko‘rinishi uchun */
    color: #800000; /* Qizil-bordo rang */
    font-weight: bold;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 2px solid red;
    box-shadow: 0px 3px 10px rgba(125, 16, 16, 0.5);
    text-align: center;
}

/* Kichik ekranlar uchun responsivlik */
@media (max-width: 600px) {
    marquee {
        font-size: 12px;
        padding: 3px 0;
    }
}



*{
    margin: 0;
    padding: 0;
}
body{
    background-color: rgb(5, 5, 1);
}
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1100px;
    overflow: hidden;
    z-index: -1;
}

video {
    width: 150%; /* Ekranning 100% kengligi */
    height: auto; /* Proportsiyani saqlash uchun balandlikni avtomatik sozlash */
    object-fit: contain; /* Kontentning barcha qismini ko'rinadigan qilish */
}
.operator {
    z-index: 1001; /* .card:hover elementidan yuqoriroq qiymat */
    position: fixed;
    top: 70px;
    left: 70px;
}
.operator:hover{
    cursor: pointer;
}

.operator img {
    width: 50px;
    height: 50px;
    border: 2px rgb(197, 177, 141) solid;
    border-radius: 100%;
}

.a1{
    display: grid;
    height: 250px;
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
    color: wheat;
}
.a11{
    font-size: 90px;
    font-family: 't1', serif; 
}
.a12{
    font-size: 30px;
    font-family: 't6', serif; 
}

/* ============================ */
.a2{
    display: grid;
    margin-top: 100px;
    margin-left: 50%;
    width: 50%;
    height: auto;
    gap: 50px;
}
.a21{
    width: 90%;
    height: auto;
    background-color: rgba(0, 249, 249, 0.382);
    position: relative;
    display: grid;
    align-items: center;
    align-content: space-between;
    justify-content: center;
    justify-items: center;
    font-size: 20px;
    border-radius: 30px;
    border: 4px solid rgba(2, 59, 193, 0.808);
}
.a211{
    background-color: blanchedalmond;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    font-family: 't6', serif; 
}
.a212{
    display: flex;
    padding: 5px;
    align-items: flex-start;
    height: auto;
    justify-content: center;
}
.a2122 , .a2121 {
    text-align: justify;
    line-height: 1.3;
padding-left: 15px;
padding-right: 15px;
}
.a21 button img{
    width: 50px;
    height: 50px;
}
.a21 button{
 position: absolute;
 display: flex;
 align-items: center;
 justify-content: center;align-content: center;
 justify-items: center;
 left: -10px;
 top: -20px;
 width: 50px;
 height: 50px;
 font-size: 33px;
 background-color: #00a6ed;
 border-radius: 100%;
 cursor: pointer;
 transition: 1s;
}
.a21 button:hover{
    transform: rotateY(360deg); 
    transition: transform 1.5s ease;
}
.audio{
    display: none;
}

/*==================================*/


/* Cards container styling */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin: 90px 0 50px 0;
}

/* Card styling */
.card {
    background: linear-gradient(to bottom, #333333, #444444);
    border: 2px solid #ffffff33;
    border-radius: 15px;
    width: 350px;
    font-size: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;

    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card:hover {
    z-index: 1000; /* Bu qiymatdan past bo‘lishi uchun .operator z-index: 1001 */
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 8px 16px rgba(183, 166, 166, 0.3);
}
    .cards:hover > :not(:hover) {
        filter: blur(5px);
        opacity: 0.5;

    }
  
  .card.show {
    opacity: 1; /* Ko‘rinadigan bo‘ladi */
    transform: translateY(0); /* Joyiga qaytadi */
  }
  
/* Inner card section styling */
.c1 {
    text-align: center;
    padding-bottom: 15px;
}

.c1 .qala {
    font-size: 34px;
    color: #ffe066;
    text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00;
}

.c1 .Rayon {
    font-size: 18px;
    color: #ffffff99;
}

.c2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #ffffff33;
}

.c21 {
    text-align: center;
    color: #80d4ff;
}
.c21 t{
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #ffffff33;
}

.c21 .time {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px #80d4ff, 0 0 15px #80d4ff;
    
}
.time{
    
    color: yellowgreen;   
}
.c22 {
    text-align: right;
    color: #66ff66;
    font-weight: bold;
    text-shadow: 0 0 5px #66ff66;
}

/* Animation for cards */
.card {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*==========================*/

.a41 {
    background-image: url(./shi/1737397677754.png);
    background-size: cover; /* Fon rasmni to'liq joylashtirish */
    background-position: center; /* Markazlashtirish */
    background-repeat: no-repeat; /* Rasmni takrorlamaslik */
    display: flex;
    height: 500px;
    margin-top: -300px;
    width: 100%;
}


.a42 {
    background-color: #e6a748; /* Sariq fon */
    color: #333; /* To'q qora matn */
    padding: 20px 0;
    text-align: center;
    border: none;
    margin-top: -10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.a42 p {
    margin: 0;
    font-size: 16px;
}

.social-icons {
    margin-top: 10px;
}

.social-link {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #0D47A1; /* Hover effekti - ko'k rang */
}

/*==========================*/
@media screen and (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .video-container {
        height: 100vh; /* Ekran bo'yi moslashadi */
    }

    video {
        width: 220%; /* Ekran kengligiga moslashadi */
        height: auto; /* Proportsiyani saqlaydi */
    }

    .operator {
        top: 20px;
        left: 20px;
    }

    .operator img {
        width: 40px;
        height: 40px;
    }

    .a1 {
        padding: 10px;
        text-align: center;
    }

    .a11 {
        font-size: 40px; /* Sarlavha kichikroq bo'ladi */
    }

    .a12 {
        font-size: 18px;
    }

    .a2 {
        margin-top: 50px;
        margin-left: 10px;
        width: calc(100% - 20px); /* Yonlardagi bo'shliqni kamaytirish */
        gap: 20px;
    }

    .a21 {
        width: 100%; /* Kartalar ekran kengligiga moslashadi */
        height: auto;
        font-size: 14px;
        border-radius: 20px;
    }

    .a211 {
        height: 40px; /* Duolar sarlavhasining balandligi moslashadi */
        font-size: 12px;
    }

    .a212 {
        height: auto;
        padding: 10px;
    }

    .a2121, .a2122 {
        font-size: 12px; /* Matn kattaligi kichik ekranlar uchun moslashadi */
        padding-left: 5px;
        padding-right: 5px;
    }

    .a21 button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .cards {
        flex-wrap: wrap;
        padding: 10px;
        padding-bottom: 100px;
        gap: 10px;
    }

    .card {
        width: calc(100% - 20px); /* Kartalar ekran kengligiga moslashadi */
        font-size: 14px;
        padding: 10px;
    }

    .c1 .qala {
        font-size: 24px; /* Sarlavhalar kichikroq */
    }

    .c1 .Rayon {
        font-size: 14px;
    }

    .c2 {
        padding-top: 5px;
    }

    .c21 .time {
        font-size: 16px;
    }

    .c22 {
        font-size: 14px;
    }

    .a41 {
        height: 300px; /* Elementning balandligi */
        background-size: cover; /* Fon rasmini qoplash */
        background-position: left center; /* Rasm chap tomonga taqalanadi */
    }
    

    .a42 {
        padding: 10px 0;
    }

    .a42 p {
        font-size: 12px;
    }

    .social-icons {
        margin-top: 5px;
    }

    .social-link {
        margin: 0 5px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1100px;
        overflow: hidden;
        z-index: -1;
    }
    
    video {
        width: 250%; /* Ekranning 100% kengligi */
        height: auto; /* Proportsiyani saqlash uchun balandlikni avtomatik sozlash */
        object-fit: contain; /* Kontentning barcha qismini ko'rinadigan qilish */
    }
    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header {
        font-size: 1.2rem;
    }
    .image {
        width: 100%;
        height: auto;
    }
    .a11{
        font-size: 35px;
    }
}
