@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

:root {
  /**Blue Theme Colors**/
  --primary-blue: #2196f3;
  --darkprimary-blue: #1976d2;
  --accent-blue: #448aff;
  
  /**Pink Theme Color**/
  --primary-pink: #e91e63;
  --darkprimary-pink: #c2185b;
  --accent-pink: #ff4081;
  
  --primarytext: #212121;
  --secondarytext: #757575;
  --divider: #bdbdbd;
  
  --blue-theme: linear-gradient(-45deg, rgba(0,0,0,0.22), rgba(255,255,255,0.25)), #2196f3;
  
  --pink-theme: linear-gradient(-45deg, rgba(0,0,0,0.22), rgba(255,255,255,0.25)), #e91e63;
  
  
  --lshadow-div: -5px -5px 15px rgba(255,255,255,0.8), 5px 5px 10px rgba(0,0,0,0.2);
  
  --lshadow-div2:-3px -3px 15px rgba(0,0,0,0.15);
  
  --lshadow-input: inset -2px -2px 6px rgba(255,255,255,0.8), inset 2px 2px 6px rgba(0,0,0,0.1);
  
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: "Poppins";
    height: 85vh;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 0px 8px;
    background-color: var(--primary-blue);
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
}
.navbar .navbar-brand {
  font-weight: bold !important;
  font-size: 1.9em;
}

#themebtn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin: 0 5px;
  border: 1px solid white !important;
  outline: none;
  background: var(--pink-theme);
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    z-index: 999;
    background: var(--primary-blue);
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: var(--accent-blue);
    position: absolute;
    top: 25px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: var(--accent-blue);
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px 10px;
    background: var(--darkprimary-blue);
}

#sidebar .sidebar-header h2 {
    font-weight: bolder;
    font-size: 2.3rem;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.3rem;
    display: block;
    font-weight: 600;
}

#sidebar ul li a span {
    font-size: 1rem;
}

#sidebar ul li a:hover {
    color: var(--darkprimary-blue);
    background: #fff;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: var(--darkprimary-blue);
}



/**Page content Without Navbar**/
.Page, .Content {
  height: 100%;
}

.Content ul {
  position: relative;
  list-style: none;
  width: 100%;
  height: 100%;
  display: grid;
  margin: 0 0 40px 0;
  padding: 0;
}
.Content ul .chapter {
  position: relative;
  margin: 15px 10px;
  left: 50%;
  transform: translateX(-100%);
  width: 330px;
  height: content;
  border-radius: 10px;
  padding: 13px 0px 13px 35px;
  transition: .5s;
}


.Content ul .chapter[data-scroll="in"] {
  transform: translateX(-50%);
}

.Content ul .chapter:nth-of-type(2) {
  transition-delay: .03s;
}
.Content ul .chapter:nth-of-type(3) {
  transition-delay: .06s;
}
.Content ul .chapter:nth-of-type(4) {
  transition-delay: .09s;
}
.Content ul .chapter:nth-of-type(5) {
  transition-delay: .12s;
}
.Content ul .chapter:nth-of-type(6) {
  transition-delay: .15s;
}
.Content ul .chapter:nth-of-type(7) {
  transition-delay: .18s;
}
.Content ul .chapter:nth-of-type(8) {
  transition-delay: .21s;
}
.Content ul .chapter:nth-of-type(9) {
  transition-delay: .24s;
}
.Content ul .chapter:nth-of-type(10) {
  transition-delay: .27s;
}
.Content ul .chapter:nth-of-type(11) {
  transition-delay: .3s;
}
.Content ul .chapter:nth-of-type(12) {
  transition-delay: .33s;
}
.Content ul .chapter:nth-of-type(13) {
  transition-delay: .36s;
}
.Content ul .chapter:nth-of-type(14) {
  transition-delay: .39s;
}
.Content ul .chapter:nth-of-type(15) {
  transition-delay: .42s;
}
.Content ul .chapter:nth-of-type(16) {
  transition-delay: .45s;
}


.Content ul li span {
  position: absolute;
  width: 50px;
  height: 50px;
  background: linear-gradient(-45deg,#5FEB14, #8FDE64);
  border-radius: 10px 10px 0px 10px;
  text-align: end;
  line-height: 60px;
  padding: 0 6px;
  font-weight: 700;
  font-size: 1.5rem;
  top: -20px;
  left: -22px;
}

.Content ul h3 {
  width: 330px;
  font-size: 2em;
  font-weight: 600;
  margin: 15px 0;
  text-align: center;
}



@media (min-width: 700px) {
  
  .navbar {
    height: 60px;
    margin-bottom: 55px;
  }
  .navbar .navbar-brand {
    font-size: 2.4em;
  }
  
  .Content ul .chapter,  .Content ul h3{
    margin: 20px 0px;
    width: 500px;
  }
}