@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wdth,wght@0,6..12,112.5,200..1000;1,6..12,112.5,200..1000&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
.tele{
    width: 100%;
    height: 95vh;
    text-align: center;
}
.telotainer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
}
.cards{
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    flex-direction: row;
}
.card{
    width: 40%;
    border-radius: 20px;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    box-shadow: 2px 2px 16px black;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 10px;
    video{
        width: 60%;
        border-radius: 20px;
    }
}
.telev{
    padding: 3% 0 0 0;
    .button-telev{
        padding:15px 25px;
    }
}



/* =======================================webpage========================================================= */
.search{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    position: absolute;
    height: 10vh;
    background: transparent;
    z-index: 10;
}
.wrapper{
    margin: 2% 0 0 0 ;
    padding: 0.5% 5%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: none;
    box-shadow: 2px 2px 16px black;
    background: azure;
    font-size: 1.2rem;
    border-radius: 20px;
    text-align: start;
    flex-direction: column;
    position: fixed;
    height: auto;
}
input{
outline: none;
border: none;
background: transparent;
left: 0;
text-align: start;
font-size: 1.2rem;
}
.search-area{
    top: 0;
}
.ionic{
    rotate: 180deg;
    transition: 0.5s ease-in;
}
.ionic.active{
    rotate: 0deg;
}
ul{
    width: 100%;
    display: none;
    margin: 3% 0 0 0;
    text-align: start;
    height: 20vw;
    overflow-y: scroll;
    overflow-x: hidden;
}
ul.active{
    display: block;
}
li{
    width: 100%;
    margin: 5% 0 0 0 ;
    text-align: start;
    padding: 10px;
    background-color: #cccccc80;
    border-radius: 10px;
}
a{
    color: #000;
}
a.active{
    color: rgb(200, 0, 255);
    text-decoration: underline;
}

/* ===============================================================MAIN PART============================================================ */

.tel-main{
    width: 100%;
    height: 100vh;
    background: url(../docs/television/film\ area_upscayl_5x_realesrgan-x4plus.png);
    background-position: center;
    backdrop-filter: blur(100px);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: end;
    align-items: center;
}
.tel-main::before{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: #000000;
opacity: 0.5;
}

.tel-content{
height: 100%;
width: 30%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: #fff;
z-index: 2;
overflow-x: hidden;
h1, button{
z-index: 3;
margin: 5% 0 0 0;
}
h1{
    font-size: auto;
}
button{
    padding: 10px 25px;
    border-radius: 20px;
    background-color: #cccccc80;
    border: 0;
    outline: 0;
}
button:hover{
    background-color: #ccccccdb;
    transition: ease-in-out 0.5s;
}
}

.tel-content::before{
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.6);
}

/* ==================================================2--Part=========================================== */


.main{
    width: 100%;
    background: linear-gradient(to right, #0a1c2a 0%, #191e41 100%);
    height: auto;
    overflow: hidden;
}
.greeting{
    display: grid;
    grid-template-columns: repeat(2,50%);
    justify-content: space-around;
    gap: 5%;
}
.fpart{
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5% 0 0 0;
    video{
        width: 60%;
        border: none;
        outline: none;
        border-radius: 20px;
    }
}
.spart{
    width: 70%;
    height: 80vh;
    color: #ffffffae;
    display: flex;
    justify-content: start;
    align-items: start;
    margin: 20% 0 0 0;
    flex-direction: column;
    h2{
        margin: 0 0 20% 0;
        font: 700 1.8rem "Nunito Sans";
        text-transform: capitalize;
    }
    p{
        word-spacing: 2px;
        font-size: 130%;
        overflow-y: scroll;
    }
    .visit{
        padding: 12px 50px;
        border-radius: 18px;
        border: none;
        outline: 0;
        margin: 10% 0 0 0;
        background: rgb(0, 154, 98);
        color: #ffffffae;
        animation: pulse;
        animation-duration: 5s;
        animation-iteration-count: infinite;
        animation-delay: 0.5ms;
        cursor: pointer;
    }
    .visit:hover{
        color: #ffffff;
        transition: 0.5s ease-in-out;
        scale: 1.2;
    }
}
@keyframes pulse{
    0%{
        box-shadow: 0;
    }
    30%{
        box-shadow: -10px 3px 15px #ccc;
    }
    60%{
        box-shadow: 4px 6px 20px #ccc;
    }
    80%{
        box-shadow: 2px 3px 15px #ccc;
    }
    100%{
        box-shadow: 0;
    }
}

.thpart{
    width: 100%;
    height: 10% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    .subpart.active{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .subpart{
        color: #ffffffae;
        display: none;
        width: 100%;
        video:not(.uzb){  
            margin: 1%; 
            width: 45%;
            height: auto; 
        }
        .uzb{
            width: 60%;
            height: auto; 
        }
        .uzbpart{
            width: 100%;
            display: flex;
            justify-content: space-around;
            gap: 1%;
            word-wrap: break-word;
            word-spacing: 3px;
            font-size: 1.4rem;
            margin: 5% 0 0 0;
            p{
                height: 500px;
                overflow-y: scroll;
            }
        }
        
        h3{
            color: #fff;
            font-size: 2rem;
        }
    }
    .showMore{
        padding: 14px 90px;
        margin: 2% 0 5% 0;
        border-radius: 20px;
        border: none;
        outline: none;
        background: rgb(0, 104, 66);
        color: #ffffffae;
        bottom: 20px;
    }
    .showMore:hover{
        color: #fff;
        box-shadow: 2px 3px 16px  rgb(0, 104, 66);
    }

}





/* ===============================media================================ */


@media screen and (max-width: 1100px){
   .spart p, .uzbpart p{
    height: 45%;
   }
}
@media screen and (max-width: 900){
    .fpart{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        video{
            width: 100%;
        }
    }
}
@media screen and (max-width: 570px){
    .tel-content h1{
        font-size: 120%;
    }
}
