@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz@6..96&family=Poppins:wght@400;500&family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz@6..96&family=Poppins&family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz@6..96&family=Major+Mono+Display&family=Poppins&family=Roboto:wght@400;500&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'poppins';
    box-sizing: border-box;
}
body{
    /* background: linear-gradient(to top left,#111, #333); */
    background-color: #111;
}
ul{
    list-style: none;
}
hr{
    border-radius: 50%;
}
li{
    cursor: pointer;
}
.flex{
    display: flex;
    align-items: center;
}
a{
    color: aliceblue;
    text-decoration: none;
}
.green{
    padding: 8px;
    background-color: rgb(11, 167, 24);
    border-radius: 20px;
}
i{
    font-size: 0.7rem;
    margin-left: 8px;
}
nav{
    width: 100%;
    height: 6vh;
    /* background-color: #13141a; */
    /* background: linear-gradient(270deg, #111, #333); */
    background-color: #000;
    color: white;
    justify-content: space-around;
    /* box-shadow: 1px 1px 10px #333; */
}
.logo img{
    width: 70px;
    margin-bottom: 10px;
}
nav ul{
    gap: 10px;
    text-transform: uppercase;
}

.hero{
    /* border: 2px solid white; */
    width: 100%;
    height: 94vh;
    margin-inline: auto;
    flex-direction: column;
    overflow: hidden; 
}
.hero-item ul{
    gap: 30px;
}
.hero a{
    font-size: 3.5rem;
}
.btn{
    justify-content: space-between;
    width: 98%;
    transform: translateY(-450%);
}
.slider{
    display: flex;
    transition: 0.5s;
}
.slide{
    flex: 0 0 100%;
    width: 310px;
    height: 94vh;
}
.slide.active{
    transform: translateX(0);
}   
.mobile-item{
    width: 100%;
    height: 40vh;
}
.box{
    width: 90%;
    height: 30vh;
    background-color: #171717;
    margin-inline: auto;
    padding: 10px;
    border-radius: 10px;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
}
.box::-webkit-scrollbar{
    display:none;
}
.card{
    min-width: 200px;
    height: 200px;
    background: url(Apple\ Accessories.jpeg);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    cursor: pointer;
}
.card h2{
    color: rgb(255, 255, 255);
    position: relative;
    top: 80%;
    left: 8px;
    text-transform: uppercase;
    overflow: hidden;
    width: 10ch;
    height: 50px;
    animation: ani 1s linear infinite alternate ;
}
@keyframes ani {
    from{width: 10ch;}
    to{width: 0ch;}
}
.card:nth-child(2){
    background: url(Banner2.png);
    background-size: cover;
    background-position: center;
}
.card:nth-child(3){
    background: url(OnePlus.jpeg);
    background-size: cover;
    background-position: center;
}
.card:nth-child(4){
    background: url(OPPO\ FindX5\ Pro.jpeg);
    background-size: cover;
    background-position: center;
}
.card:nth-child(5){
    background: url(El\ Xiaomi\ Mi\ 10T\ Lite\ es\ oficial_\ diseño\,\ características\ y\ precio.jpeg);
    background-size: cover;
    background-position: center;
}
.card:nth-child(6){
    background: url(vivo\ V20\ Series.jpeg);
    background-size: cover;
}
.card:nth-child(7){
    background: url(Latest\ Smartphone.jpeg);
    background-size: cover;
    background-position: center;
}
.card:nth-child(8){
    background: url(Mobile\ Phone\ Projects.jpeg);
    background-size: cover;
    background-position: center;
}
.card:nth-child(9){
    background: url(tecno.jpeg);
    background-size: cover;
}
.cata{
    width: 90vw;
    height: 124vh;
    gap: 20px;
    margin-inline: auto;
    /* background-color: #777; */
    /* padding: 20px; */
    border-radius: 10px;
    color: aliceblue;
}
.left{
    width: 300px;
    height: 123vh;
    /* background-color: #333; */
    background: url(c6-video-bg.jpg);
    border-radius: 10px;
}
.cata-item{
    padding: 10px;
}
.cata-head{
    /* border: 1px solid white; */
    text-transform: uppercase;
    font-family: 'Roboto';
    justify-content: space-between;
}
.cata-head h3{
    font-size: 0.8rem;
    color: #bcb8b8;
}
.text p{
    font-size: 0.8rem;
    color: #999;
}
.item-cate{
    padding-left: 15px;
    color: rgb(239, 242, 244);
}
.item-cate h2{
    font-size:2rem;
    margin-bottom: 3px;
}
.item-cate h5{
    margin-bottom: 3px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.5s;
}
.item-cate h5:hover{
    transform: scale(1.1);
}
.right{
    /* background-color: #333; */
    background: url(black-low-poly-geometric-background-vector.jpg);
    background-size: cover;
    background-position: start;
    height: 123vh;
    width: 70vw;
    padding: 10px;
    border-radius: 10px;
    overflow-y: auto;
    scrollbar-width: none;
}
.right::-webkit-scrollbar{
    display: none;
}

.right-head{
    width: 100%;
    /* height: 50px; */
    /* border: 1px solid white; */
    font-size: 1.4rem;
    text-transform: uppercase;
}
.mobile{
    margin-top: 20px;
    width: 100%;
    /* background-color: #444; */
    height: 90vh;
    gap: 20px;
    flex-wrap: wrap;
}
.mobile-card{
    background-color: #22222241;
    backdrop-filter: blur(5px);
    width: 240px;
    height: 400px;
    /* border: 1px solid; */
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;
    cursor: pointer;
    transition: 0.5s;
}
.mobile-card:hover{
    background-color: #2222229a;
    box-shadow: 1px 1px 10px #444;
    transform: scale(1.1);
}
.mobile-card img{
    width: 100%;
    border-radius: 8px;
}
.mobile-card a{
    font-size: 0.7rem;
}
.card-text{
    flex-direction: column;
    align-items: start;
    padding: 10px;
    /* justify-content: space-evenly; */
    gap: 10px;
}
.price{
    height: 14vh;
    flex-direction: column;
    align-items: start;
    text-transform: uppercase;
    gap: 10px;
} 
.price p{
    margin-top: 10px;
}
.box-input{
    gap: 10px;
}  
.box-input input{
width: 130px;
padding: 8px;
border-radius: 10px;
background-color: #222;
font-family: 'poppins';
}
.accessories{
    width: 99.9%;
    height: 50vh;
    /* background-color: #999; */
}
.grid-item{
    margin-block: 20px;
    padding: 10px;
    width: 90vw;
    /* background-color: #333; */
    height: 50vh;
    margin-inline: auto;
    display: grid;
    grid-auto-rows: 110px;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    flex-basis: 50%;
}
.adds{
    display: flex;
    align-items: end;
    cursor: pointer;
    /* border: 1px solid; */
    color: white;
    /* width: 300px;
    height: 300px; */
    background-color: #222;
    border-radius: 8px;
    transition: 0.5s;
}
.adds:hover{
transform: scale(1.1);
}
.row{
    grid-row: span 2;
}
.coloum{
    grid-column: span 2;
}
.row-2{
    grid-row: span 3;
}
.coloum-2{
    grid-column: span 3;
}
.monitor{
    width: 100%;
    height: 100vh;
    
}
.mac{
    width: 60vw;
    height: 100%;
    background: url(mac\ os.jpg);
    background-size: cover;
    background-position: center;
    
}
.mac img{
    position: relative;    
    left: 16.8%;
    top: 23.2%;
    width: 512px;
    height: 300px;
}
.mac-text{
    width: 400px;
    height: 300px;
    color: white;
    flex-direction: column;
    text-transform: capitalize;
    gap: 10px;
    position: absolute;
    left: 40%;
    transform: translateY(-60%);
    text-align: center;
}
.font{
    font-family: 'Roboto';
    font-weight: 200;
}
.google img{
    width: 200px;
    cursor: pointer;
    transition: 0.5s;
}
.google img:hover{
transform: scale(0.9);
}
footer{
    width: 100%;
    height: 30vh;
    background-color: #121111;
    justify-content: space-around;
    padding-block: 10px;
}
.foot-logo img{
    width: 200px;
}
.foot-content{
    width: 1100px;
    color: aliceblue;
    /* font-family: 'Roboto'; */
}

@media screen and (max-width: 1024px) {
    body{
        width: 500px;
    }
    nav{
        /* width: 100%; */
        justify-content: space-between;
        background: none;
        width: 100px;
    }
        .logo img{
            width: 70px;
            margin-bottom: 10px;
            z-index: 1;
        }
        nav ul li{
           display: none;
        }
       .hero{
        width: 500px;
        height: 300px;
        transform: translateY(-13%);

       } 
       .slider{
        width: 500px;
        height: 500px;
    }
    .slide{
        max-width: 500px;
        max-height: 300px;
    }
    .btn{
      
    }
}