@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;700;900&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&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');
/* start global roles  */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    font-size: 10px;
}
body {
    font-family: "roboto","Arial",sans-serif;
    background-color: black;
}
a {
    text-decoration: none;
}

/* end global roles  */


/* start header  */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: black;
    position: fixed;
    color: white;
    height: 70px;
    padding: 10px 15px;
    width: 100%;
    z-index: 1000;
}
header .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}
header .left-section {
    display: flex;
    gap: 10px;
    padding: 5px 15px 0 0;
}
header .left-section .image  img {
    max-width: 100%;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
@media (max-width:768px) {
    header {
        position: sticky;
    }
}
.profile-menu {
    display: none;
    position: fixed;
    width: 240px; 
    height: 520px;
    right: 0px;
    background-color: #282828;
    border-bottom: 1px solid #77777756;
    top: 60px;
    color: white;
    margin-right: 10px;
    z-index: 150;
}
.profile-menu.open-menu {
    display: inline;
}
.profile-menu .acount {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px 5px 10px;
    border-bottom: 1px solid #777777;
}
.profile-menu .acount .image {
    width: 40px;
    left: 0;
}
 .profile-menu .acount .image img {
    max-width: 100%;
    width: 40px; 
    border-radius: 50%;
}
.profile-menu .acount p {
    font-size: 14px;
    position: relative;
    right: -7px;
}
.profile-menu .acount .info {
    padding: 0 0 0 5px;width: 160px;
}
.profile-menu .acount span {
    font-size: 17px;
    right: -5px;
    
}
.profile-menu .acount a {
    text-align: center;
    width: 100%;
    left: -20px;
    color: #3ea6ff;
    font-size: 15px;
}
.profile-menu .chanal {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #777777;
} 
.profile-menu .end {
    border: none;
}
.profile-menu .chanal .link {
    padding: 5px;
    font-size: 15px;
}
.profile-menu .chanal .link:hover {
    background-color: #77777756;
}
.profile-menu .chanal .link i {
    font-weight: 700;
    padding: 5px;
    color: antiquewhite;
}
.profile-menu .chanal .link a {
    color: antiquewhite;
}


@media (max-width:768px) {
    .profile-menu {
        width: 130px;
        height: 360px;
    }
    .profile-menu .acount {
        gap: 5px;
        padding: 5px;
    }
    .profile-menu .acount .image {
        width: 25px;
    }
    .profile-menu .acount p {
        font-size: 7px;
    }
    .profile-menu .acount .info {
        padding: 0;
        width: 80px;
    }
    .profile-menu .acount span {
        font-size: 10px;
    }
    .profile-menu .acount a {
        font-size: 12px;
    }
    .profile-menu .chanal {
        padding: 0px 0;
    } 
    .profile-menu .chanal .link {
        font-size: 10px;
    }

}



header .left-section .material-symbols-outlined {
    margin: auto 10px;
    position: relative;
}
header .left-section .alarm::before {
    content: "7";
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    position: absolute;
    height: 15px;
    width: 15px;
    padding: 2px;
    background-color: red;
    border-radius: 50%;
    left: -6px;
    top: -6px;
}

header .mid-section .search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
header .mid-section .search .mic {
    padding-right: 11px;
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
}
header .mid-section .search .mic:hover {
    cursor: pointer;
    background-color: rgb(39, 39, 39);
    border-radius: 50%;
}

header .mid-section .search .button .srch {
    background-color: #222222;
    padding: 13px;
    border-radius: 10px 0 0 10px;
    border: 1px solid #777;
    border-right: none;
    cursor: pointer;
}
header .mid-section .search input {
    padding: 10px 10px;
    width: 430px;
    background-color: black;
    border: 1px solid #888;
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: white;
    -webkit-text-decorations-in-effect: underline;
}
header .mid-section .search input::placeholder {
    text-align: right;
}
header .mid-section .search input:focus {
    outline: none;
}


header .right-section .icon .logo {
    font-size: 22px;
    font-weight: 700;
    color: red;
    margin-left: 22px;
    cursor: pointer;
} 
header .right-section .icon span {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    margin: 10px;
    letter-spacing: -1px;
    cursor: pointer;
} 
header .right-section .icon span::before {
    content: "Egypt";
    position: absolute;
    font-size: 8px;
    right: -6px;
    top: -9px;
    color: #ddd;
}
header .right-section .icon .menu {
    font-size: 2rem;
    margin-left: 18px;
    cursor: pointer;
} 

/* !!!!!?? */
@media (max-width: 991px) {
    header .mid-section .search .mic {
        padding-right: 9px;
        padding: 5px;
        margin: 5px;
        font-size: 12px;
    }
    header .mid-section .search input {
        padding: 5px 5px;
        width: 330px;
    }
    header .mid-section .search .button .srch {
        padding: 7.5px;
    }
}
@media (max-width: 768px) {
    header .mid-section .search .mic {
        padding-right: 4px;
        padding: 3px;
        margin: 3px;
        font-size: 8px;
        display: none;
    }
    header .mid-section .search input {
        padding: 3px;
        width: 53px;
    }
    header .mid-section .search input:focus {
        width: 100px;
        transition: 0.5s;
        -webkit-transition: 0.5s;
        -moz-transition: 0.5s;
        -ms-transition: 0.5s;
        -o-transition: 0.5s;
}
    header .mid-section .search .button .srch {
        padding: 5.5px;
    }
    header .left-section .alarm {
        font-size: 12px;
    }
    header .left-section .alarm::before {
        font-size: 5px;
        height: 5px;
        width: 5px;
        padding: 2px;
        left: -1px;
        top: -4px;
    }
    
header .left-section .material-symbols-outlined {
    display: none;
}
header .right-section .icon .logo {
    font-size: 18px;
    margin-left: 0;
}
header .right-section .icon span {
    font-size: 12px;
    margin: 3px;
}
    header .right-section .icon span::before {
        font-size: 5px;
        display: none;
    }
    header .right-section .icon .menu {
    display: none;
}
    
}
.bottom {
    margin-bottom: -10px;
    width: 110%;
    padding-top: 5px;
}
.category {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    background-color: black;
}
.category a {
    color: white;
    margin: 8px 15px;
    padding: 7px 15px;
    background-color: #77777754;
    border-radius: 10px;
}
 .category a:hover {
    background-color: #97939356;
}
@media (max-width:768px) {
    .category {
        font-size: 8px;
        font-weight: 700;
    }
    .category a {
        margin: 5px ;
        padding: 5px ;
    }
} 
/* end header  */


.content-area {
    display: flex;
    gap: 5px;
}
.content-area aside {
    height: calc(100vh - 56px);
    width: 72px;
    border: 1px solid #9b9191;
    border-color: transparent #302d2d;
    position: fixed;
    background-color: black;
    margin-top: 85px;
    z-index: 120;
}
.content-area aside a {
    display: block;
    font-weight: 800;
    height: 85px;
    padding: 20px 10px;
    margin: 0 auto 6px;
    text-align: center;
}
.content-area aside a:hover {
    background-color: #77777757;
}
.content-area aside a .icon {
    font-size: 20px;
    font-weight: normal;
    color: white;
    margin: 0 auto;
}
.content-area aside a .icon img {
    max-width: 67%;
}
.content-area aside a .span-title {
    display: inline-block;
    font-size: 12px;
    color: white;
    margin: 0 auto;
    font-weight: normal;
}

@media (max-width:768px) {
    .content-area aside {
        width: 100%;
        height: 42px;
        margin: 0;
        bottom: -1px;
        display: inline-flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #eeeeee2b;
    }
    .content-area aside a .icon {
        font-size: 12px;
    }
    .content-area aside a .span-title {
        font-size: 11px;
        padding: 5px 0 0;
    }
    .content-area aside a {
        margin: 0 auto;
        height: 65px;
        display: inline-grid;
    }
    .content-area aside a:nth-child(2) {
        display: none;
    }
    .content-area aside a .icon img {
        width: 15px;
    }
}

/* ???? */
.content-area .video {
    display: grid;
    width: calc(100% - 70px);
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}
.video .top {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
}
.videos  {
    flex: 1;
}
.videos .top-video {
    margin-top: 130px;
    margin-left: 80px;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    border-bottom: 3px solid #77777765;
    gap: 5px;
    position: relative;
}
@media (max-width:768px) {
    .videos .top-video {
        margin: 20px auto;
        padding: 5px;
        grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    }
}
.videos .top-video .vid {
    overflow: hidden;
    cursor: pointer;
    width: 275px;
    margin: 10px;
    transition: 0.7s;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -ms-transition: 0.7s;
    -o-transition: 0.7s;
}
.videos .top-video .vid img {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
.videos .top-video .vid img:hover {
    box-shadow: 0 4px 8px 0 rgb(0 , 0 ,0 ,0.3);
    position: relative;
    z-index: 999;
    background-color: #202020;
    border-radius: 20px;
    transform: scale(1.1) ;
    -webkit-transform: scale(1.1) ;
    -moz-transform: scale(1.1) ;
    -ms-transform: scale(1.1) ;
    -o-transform: scale(1.1) ;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.videos .top-video .vid .image {
    width: 275px;
    display: inline-block;
}
.videos .top-video .vid .image img {
    max-width: 100%;
    height: 155px;
    border-radius: 10px;
}

.videos .top-video .info .head {
    display: flex;
    flex-direction: row-reverse;
}
.videos .top-video .info .head p {
    color: white;
    font-size: 15px;
    font-weight: 700;
    width: 260px;
    position: relative;
    padding: 5px 8px;
    text-align: right;
}
.videos .top-video .info .head img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 10px 5px;
}
.videos .top-video .info .vid-foot {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 75%;
    margin: -22px 30px 0;
}
.videos .top-video .info .chanel {
    color: #ddd;
    right: -34px;
    top: -25px;
    font-size: 12px;
}
.videos .top-video .info .views  {
    color: #ddd;
}
@media (max-width:767px) {
    .videos .top-video .vid {
        margin: 0 auto 10px;
        width: 100%;
    }
    .videos .top-video .vid .image {
        width: 100%;
    }
    .videos .top-video .vid .image img {
        width: 100%;
        border-radius: 0;
    }
    .videos .top-video .vid:hover {
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
    }
    br {
    display: none;
    }
}
/* shorts  */
.shorts {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
    gap: 20px;
    margin-top: 30px;
    margin-left: 80px;
    margin-bottom: 20px;
}
.shorts .short {
    cursor: pointer;
    border: 1px solid #77777765;
    border-radius: 10px;
}
.shorts .short .image {
    max-width: 100%;
    border-radius: 10px;
}
.shorts .short .image img {
    max-width: 100%;
    border-radius: 10px;
}
.shorts .short .info {
    color: white;
    display: flex;
    flex-direction: row-reverse;
    margin-top: 5px;
}
.shorts .short .info p {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    width: 100px;
}
.shorts .short .info span {
    width: 170px;
    right: -6px;
    color: #c5b8b8;
}
@media (max-width:768px) {
    .shorts {
        grid-template-columns: repeat(auto-fill,minmax(100px,1fr));
        gap: 10px;
        margin-top: 5px;
        margin-left: 0;
        margin-bottom: 49px;
    }
    .shorts .short:nth-child(4),
    .shorts .short:nth-child(5),
    .shorts .short:nth-child(6) {
        display: none;
    }
    .shorts .short .info p {
            font-size: 10px;
    }
    .shorts .short .info span {
        font-size: 8px;
    }
}
