@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;

}

html {
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    background: #dedede;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
    position: relative;
    width: 80%;
    height: 90%;
    background: #fff;
    box-shadow: 0px 0px 50px -1px rgb(0,0,0,.5);
    padding: 0px 30px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: 1s linear;
}

header .logo {
    position: absolute;
    top: 0;
    left: 10%;
    width: 250px;
    height: 350px;
    background: #282828;
    transition: 1s linear;
}

header .logo h1 {
    color: #fff;
    text-align: center;
    margin-top: 5%;
    font-size: 35px;
    font-weight: 600;
}

header .logo img {
    width: 300px;
    margin: 20px 0px 0px -30px;
    filter: drop-shadow(0px 0px 20px rgb(0,0,0,.6));
}

header nav {
    width: 100%;
    height: 10%;
    /* border: 1px solid #000; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav .menu {
    font-size: 25px;
    color: black;
}

header nav .right_menu {
    display: flex;
    align-items: center;

}

header nav .right_menu ul{
    list-style-type: none;
    display: flex;
    align-items: center;

}

header nav .right_menu ul li {
    padding: 3px 10px;

}

header nav .right_menu ul li a {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    transition: .3s linear;
    
}

header nav .right_menu ul li a::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #dc1313;
    border-radius: 50%;
    bottom: -5px;
    left: 45%;
    opacity: 0;
    transition: .3s linear;
}

header nav .right_menu ul li a:hover {
    color: #dc1313;
}


header nav .right_menu ul li a:hover::before {
    opacity: 1;
}

header nav .right_menu .user_cart {
    margin-left: 50px;
    display: flex;
    align-items: center;
}

header nav .right_menu .user_cart .user {
    position: relative;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    margin-left: 10px;
}

header nav .right_menu .user_cart .user img{
    width: 100%;
}

header nav .right_menu .user_cart .user::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #dc1313;
    border-radius: 50%;
    margin-left: 10px;
}

header .left_menu {
    width: 20px;
    height: 90%;
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

header .left_menu a {
    margin: 40px 0px;
    padding: 0px 5px;
    text-decoration: none;
    font-size: 14px;
    color: #000;
    font-weight: 600;
    transition: .3s linear;
    transform: rotate(-90deg);
}

header .left_menu a:hover {
   color: #dc1313;

}


header section {
    width: 97%;
    height: 90%;
    /* border: 1px solid greenyellow; */

}

header section .content {
    position: relative;
    left: 370px;
    margin-top: 10%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    transition: 1s linear;

}

header section .content h1 {
    font-size: 35px;
    transition: 1s linear;
    
}

header section .content p {
    font-size: 12px;
    font-weight: 600;
    width: 350px;
    word-break: break-all;
}

header section .content .price_order {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

header section .content .price_order .price h2 {
    font-size: 20px;
    color: #dc1313;
    line-height: 18px;
}

header section .content .price_order .price p {
    font-size: 5.5px;
    width: 50px;
}

header section .content .price_order a {
    padding: 4px 20px;
    background: #121213;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin-left: 35px;
}

header section .cards {
    width: 90%;
    height: 140px;
    /* border: 1px solid black; */
    position: relative;
    top: 20%;
    padding-left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: auto;
    scroll-behavior: smooth;
    transition: 1s linear;
}

header section .cards::-webkit-scrollbar {
    display: none;
}

header section .cards .card {
    min-width: 125px;
    min-height: 125px;
    border: 1px solid black;
    position: relative;
    margin-right: 13px;
    background: #282828;
    border-radius: 50px 10px 10px 10px;
    
}

header section .cards .card .dis {
    width: 70px;
    position: relative;
    top: -5px;
    left: -5px;    
}

header section .cards .card .steam {
    width: 60px;
    height: 80px;
    position: absolute;
    top: -35px;
    left: -5px;    
}

header section .cards .card h4 {
    
    position: absolute;
    top: 20px;
    right: 20px;    
    color: #fff;
    font-size: 13px;
    font-weight: 600;

}

header section .cards .card h5 {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 0px 10px;
    margin-top: -8px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

header section .cards .card p {
    color: rgb(203,203,203);
    font-size: 9px;
    font-weight: 500;
    padding: 0px 10px;
      
}

header section .cards .card .rate_cart {
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 10px;
      
}

header section .cards .card .rate_cart h6{
    font-size: 10px  
}

header section .cards .card .rate_cart .bi{
    font-size: 12px
}

header section .social {
    position: relative;
    width: 100%;
    /* border: 1px solid black; */
    top: 20%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 1s linear;

}

header section .btns {
    margin-left: 30px;

}

header section .btns .bi{
    font-size: 13px;
    cursor: pointer;
    transition: .3s linear;
    
}

header section .btns .bi:hover{
    color: rgb(0,0,0,.5);
}

header section .social .icons {
    display: flex;
    align-items: center;
}

header section .social .icons a {
    font-size: 12px;
    margin-left: 10px;
    color: #282828;
    transition: .3s linear;
}

header section .social .icons a {
    color: #000;
}

@media only screen and (max-width:1160px){
    header{
        width: 83%;
    }
}



@media only screen and (max-width:873px){
    header .logo{
        left: 11%;
    }
    header section .content {
        left:320px;
    }
    header section {
        width: 90%;
    }
}

@media only screen and (max-width:825px){
    header{
        width: 100%;
        height: 100%;
    }
    header nav .right_menu ul li {
        padding: 3px 6px;
    }
}

@media only screen and (max-width:740px){
    header nav .right_menu ul{
        position: absolute;
        top: 20%;
        flex-direction: column;
        width: 15px;
        right: 17px;
    }
    header nav .right_menu ul li {
        padding: 30px 10px;
        transform: rotate(90deg);
    }
    header section .content {
        left: 35%;
        top: 40%;
    }
    header .logo {
        left: 35%;
    }
    header section .cards{
        top: 41%;
    }
    header section .social{
        top: 43%;
    }
}

@media only screen and (max-width:525px){
    header .logo {
        left: 23%;
    }
    header section .content {
        left: 14%;
        top: 40%;
    }
}

@media only screen and (max-width:425px){
    header .logo {
        width: 200px;
    }
    header .logo img{
        width: 245px;
        margin: 75px 0px 0px -30px;
    }
    header section .content h1{
        font-size: 32px;
    }
    header section .content p{
        font-size: 9px;
        width: 220px;
    }
}

@media only screen and (max-width:200px){
    header .logo {
        width: 100px;
    }
    header .logo img{
        width: 145px;
        margin: 45px 0px 0px -20px;
    }
    header section .content h1{
        font-size: 22px;
    }
    header section .content p{
        font-size: 7px;
        width: 120px;
    }
}


