@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-overflow-scrolling: touch
}
html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: black;
    transition: all .2s ease-in-out;
}
body.dark {
    background-color: #252525;
    color: white;
    
}

    body h3 a button {
        background-color: #C83069 !important;
        color: white;
        border-color: dimgray !important;
        border-radius: 2px;
    }

body.dark h3 a button {
    background-color: dimgrey !important;
    color: white;
    border-color: #C83069 !important;
    border-radius: 2px;
}
.fa-angle-left {
    color: dimgrey;
}
.fa-angle-right {
    color: dimgrey
}

body.dark .fa-angle-left {
    color: #C83069 !important
}
body.dark .fa-angle-right {
    color: #C83069 !important
}
        /*.dark-mode {
    background-color: #252525;
    color: white;
}

.light-mode {
    background-color: white;
    color: black;
}*/
        /* header */
        .material-icons {
            color: rgb(96, 96, 96);
        }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 15px;
}

.header__left {
  display: flex;
  align-items: center;
  padding-top: 5px;
}

.header__left img {
  width: 160px;
  margin-left: 25px;
}

.header i {
  padding: 0 7px;
  cursor: pointer;
}
.header__search {
    position: unset;
/*    padding-right: 140px;*/
}

.header__search form {
    border: 1px solid #ddd;
    height: 35px;
    margin: 0;
    padding: 0;
    display: flex;
    color: black;
}

.header__search input {
  width: 500px;
  padding: 10px;
  margin: 0;
  border-radius: 0;
  border: none;
  height: 100%;
}

.header__search button {
  padding: 0;
  margin: 0;
  height: 100%;
  border: none;
  border-radius: 0;
}

/* Sidebar */
.mainBody {
  height: calc(100vh - 70px);
  display: flex;
  overflow: hidden;
}


.sidebar {
    height: 100%;
    width: 230px;
    overflow-y: hidden;
}

.sidebar__categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  margin-top: 15px;
}
.active {
    background: #C0C0C0;
}

.sidebar__category {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  color: dimgrey;
}

.sidebar__category span {
  margin-left: 15px;
}

.sidebar__category:hover {
  background: #e5e5e5;
  cursor: pointer;
  color: hotpink;
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

hr {
  height: 1px;
  background-color: #e5e5e5;
  border: none;
}


/* videos */

.videos {
    width: 100%;
    height: 100%;
    padding: 15px 15px;
    border-top: 1px solid #ddd;
    overflow-y: scroll;
    overflow-x: hidden;
}
/*.videos::-webkit-scrollbar {
    display: none;
}*/

.videos__container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video {
    width: 257.48px;
    transition: transform .3s ease-in-out;
    margin-bottom: 30px;
    text-align: center;
overflow: hidden
}
.video a img{
transition: transform .3s ease-in-out;
}
   .video img:hover {
        transform: scale(1.1);
    }




.author img {
    object-fit: cover;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    margin-right: 10px;
}

.video__details {
  display: flex;
  margin-top: 10px;
}

.title {
  display: flex;
  flex-direction: column;
}

.title h3 {
  color: rgb(3, 3, 3);
  line-height: 18px;
  font-size: 14px;
  margin-bottom: 6px;
}

/*.title a,
span {
  text-decoration: none;
  color: rgb(96, 96, 96);
  font-size: 14px;
}*/

h1 {
  font-size: 20px;
  margin-bottom: 10px;
  color: rgb(3, 3, 3);
}

.footer {
    display: none
}


@media (max-width: 941px) {
    .header__search input {
        width: 300px;
    }

    .video {
        text-align: left
    }

        .video:hover {
            text-align: left
        }
}


@media (max-width: 768px) {
    .ytp-big-mode {
        -webkit-transform: rotate(-90deg) !important;
        -webkit-transform-origin: 50% 50% !important;
        transform: rotate(-90deg) !important;
        transform-origin: 50% 50% !important;
    }
    .header__search input {
        width: 100px;
    }

  .sidebar {
    display: none;
  }

  .header__left .material-icons{
      display: none;
  }

    .show-sidebar {
        display: inline;
        position: relative;
        top: 0.0rem;
        height: auto;
        font-size: 10px;
    }
    .footer {
        position:fixed;
        display: flex;
/*      align-items: center;
        padding-bottom: 90%;
        overflow-y: hidden;*/
        left: 0;
        bottom: 0;
        width: 100%;
        background-color:darkgrey;
        z-index:1
    }
        .footer a {
            color:indianred
        }
        .footer a:hover {
            background: #e5e5e5;
            cursor: pointer;
            color: hotpink;
        }
}



.read-btn {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    background-color: #e21f25;
    width: 130px;
    text-transform: uppercase;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
    color: inherit;
    position: relative;
    z-index: 1;
    margin-right: 196px;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
}

    .read-btn a {
        color: #fff;
    }

    .read-btn:hover {
        color: #fff;
    }

        .read-btn:hover::before {
            opacity: 1;
            background-color: #1d184d;
            -webkit-transform: rotate3d(0, 0, 1, 0deg);
            -moz-transform: rotate3d(0, 0, 1, 0deg);
            -o-transform: rotate3d(0, 0, 1, 0deg);
            -ms-transform: rotate3d(0, 0, 1, 0deg);
            transform: rotate3d(0, 0, 1, 0deg);
            -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
            -moz-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
            -o-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
            -ms-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
            transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
        }

    .read-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 150%;
        height: 100%;
        background: #1d184d;
        z-index: -1;
        -webkit-transform: rotate3d(0, 0, 1, -65deg) translate3d(0, -3em, 0);
        -moz-transform: rotate3d(0, 0, 1, -65deg) translate3d(0, -3em, 0);
        -o-transform: rotate3d(0, 0, 1, -65deg) translate3d(0, -3em, 0);
        -ms-transform: rotate3d(0, 0, 1, -65deg) translate3d(0, -3em, 0);
        transform: rotate3d(0, 0, 1, -65deg) translate3d(0, -3em, 0);
        -webkit-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transition: -webkit-transform 0.7s, opacity 0.7s, background-color 0.7s;
        -moz-transition: -webkit-transform 0.7s, opacity 0.7s, background-color 0.7s;
        -o-transition: -webkit-transform 0.7s, opacity 0.7s, background-color 0.7s;
        -ms-transition: -webkit-transform 0.7s, opacity 0.7s, background-color 0.7s;
        transition: transform 0.7s, opacity 0.7s, background-color 0.7s;
    }
.container h3 a:hover {
    color:white
}


@media (max-width: 425px) {
    .header__search {
        width: 80px
    }
    .header__search input {
        width: 80px
    }

    .header__left a {
        width: 40%;
        height: 40%
    }

    .header__icons .material-icons {
        display: none;
    }

    .header__icons .display-this {
        display: inline;
    }

    .sidebar {
        display: none;
    }
}
.ui-autocomplete {
    overflow-y: scroll;
}.ui-autocomplete img {
    width: 85px;
    height: 47.5px;
}
