@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Reem+Kufi+Fun:wght@400..700&family=Tilt+Neon&display=swap');

@font-face {
    font-family: "Tilt Neon", "Cairo", sans-serif;
    src: url(../font/TiltNeon.ttf);
}

body {
    font-family: "Tilt Neon", sans-serif;
    font-weight: bold !important;
    background-color: #fafafa;
}

a {
    color: black;
    text-decoration: none !important;
}

button,
.logIn {
    background-color: transparent !important;
    color: violet !important;
    border-color: violet !important;
}

button:hover {
    color: white !important;
    background-color: violet !important;
}

.AR {
    font-family: "Cairo", "Arial", "sans-serif";
    font-size: small !important;
}


#topMenu .video-icon {
    background-color: violet;
    color: white;
    border-radius: 15%;
}

#topMenu .bg-light {
    background-color: white !important;
}


.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .active>.nav-link {
    background-color: violet !important;
    color: white !important;
    border-radius: 0.25rem !important;

}


input.form-control:focus,
button:focus {
    box-shadow: none;
}

.card .card-icons {
    position: relative;
}

time {
    position: absolute;
    bottom: 10px;
    right: 7px;
    color: white;
    background-color: rgb(65, 65, 65) !important;
    padding: 0px 3px;
    border-radius: 0.5rem;
}

.card .fa-play {
    position: absolute;
    top: 43%;
    right: 41%;
    color: rgb(83, 83, 83) !important;
    display: none;
}

.card:hover .fa-play {
    display: inline;
}

.card:hover {
    transform: translateY(-.9%);
}

.card {
    transition: transform .25s;
}
.card .card-title {
    height: 50px;
    overflow: hidden;
}

.test {
    position: absolute;
    right: 10px !important;

}

.sidebar{
    position: fixed !important;
    z-index: 4;
    left: -17rem;
    transition: all 0.5s ease-in-out;
    height: 100%;
    background-color: white;
    overflow: hidden;
    padding-bottom:150px ;
    margin-top: 2rem;
}
.sidebar:hover{
    overflow-y: scroll;
}
.sidebar .purple{
    color: violet;
}
.sidebar .list-group-item:hover{
    color: white !important;
    background-color: violet !important;
}
.sidebar .list-group-item:hover .purple{
    color: white !important;
}
#wrap.toggled .sidebar{
    left: 0rem;
}
#toggler:hover{
    cursor: pointer;
}
.sidebar::-webkit-scrollbar{
    background-color: white;
    width: 8px;
}
.sidebar::-webkit-scrollbar-thumb{
    background-color: aliceblue;
    width: 8px;
}
.layer {
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
    display: none;
}


#wrapper {
    width: auto;
    max-width: 100%;
    position: relative;

}

#wrapper input {
    width: 100%;
}

#wrapper button {
    aspect-ratio: 1;
    position: absolute;
    right: 0;
    border: none !important;
}

.social-media {
    bottom: 18px;
    left: 20px;
}

.follow {
    bottom: 18px;
    right: 20px;
}

#ulForChannel a {
    color: gray;
}

.navbar .search-icon{
    color: violet !important;
    cursor: pointer;
    padding: 15px 10px;
    position: absolute;
    top: 15px;
    right: 132px;
    display: none;
    border-radius: .5rem;
}
.navbar .search-icon:hover{
    color: white !important;
    background-color: violet !important;
}
.search-input{
    position: fixed;
    top: 53px;
    border: none;
    padding: 6px 23px;
    height:  60px;
    background-color: lightgray;
    display: none;
    z-index: 1;
}
.search-input:focus{
        background-color: lightgray;
}
.container-fluid {
    padding: 0px;
    overflow: hidden !important;
}

/* card size */
.card .card-horizontal .card-body .channel-img {
    display: block;
    margin-top: 10px;
}
.card-img, .card-img-top, .card-img-bottom {
    height: 100% !important;
    width: 100% !important;
    margin-right: 1.5rem;
}
.card .card-horizontal .card-body p{
    white-space:nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}
.card-body {
    min-width: 0;
}
@media(max-width:767px){
    .card-img, .card-img-top, .card-img-bottom {
        width: 100%  !important;
    }
    .card .card-horizontal time{
        right: 10px;
    }
    .card .card-horizontal .fa-paly{
        left: 48%;
    }
}
/* ***************************************** */

@media(max-width:991px){
    .sidebar{
        margin-top: .9rem;
    }
}
@media(min-width:991px){
    .sidebar{
        margin-top: 2rem;
    }
}
@media(max-width:991px){
    .navbar .collapse .d-flex{
        display: none;
    }
    .navbar .search-icon{
        display: inline;
    }
}
@media(min-width:991){

    .search-input{
        display: none !important;
    }

}




