@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');


: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: #646464;
  --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;
}

html {
  margin-top: 55px;
}

body {
    font-family: "Poppins";
    overflow-x: hidden;
}

.Page {
  position: relative;
  overflow-x: hidden;
  top: 0;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0px 8px;
    background-color: var(--primary-blue);
    border: none;
    border-radius: 0;
}
.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**/
.Content {
  height: 100%;
}

.chpt_name {
  text-align: center;
  margin: 23px 0;
  font-weight:800;
  font-size: 2.3rem;
  letter-spacing: 2px;
}

div.cards {
  width: 360px;
  height: auto;
  text-align: center;
  display: grid;
  margin: 20px auto;
  padding: 9px 5px;
  border-radius: 20px;
}

div.cards .formula-title {
  width: 100%;
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
}
div.cards .formula-title h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  font-weight: 700;
}

div.cards .sec {
  margin-top: 25px;
}
div.cards  .sec h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.13em;
  font-weight: 600;
}

div.cards .divider {
  width: 85%;
  height: 1px;
  background-color: #707074;
  margin: auto;
}
div.cards .formula {
  font-size: 1.25rem;
  margin: 10px 0px;
}

div.cards .overflow {
  overflow-x: auto;
}



@media (min-width: 700px) {
  
  .navbar {
    height: 60px;
  }
  .navbar .navbar-brand {
    font-size: 2.4em;
  }
  div.cards {
    width: 500px;
  }
}