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

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body{
  min-height: 100vh;
  background: url(bg.jpg)no-repeat;
  background-size: cover;
  background-position: center;
}

.side-bar{
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  width: 320px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -100%;
  overflow-y: auto;
  transition: 0.6s ease;
  transition-property: left;
}

.side-bar.active{
  left: 0;
  
}

.side-bar .menu{
  width: 100%;
  margin-top: 60px;
}

.side-bar .menu .item{
  position: relative;
  cursor: pointer;
}

.side-bar .menu .item a{
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  display: block;
  padding: 4px 30px;
  line-height: 35px;
}

.side-bar .menu .item a:hover{
  background: #8621F8;
  transition: 0.3s ease;
}

.side-bar .menu .item i{
  margin-right: 15px;
}

.side-bar .menu .item a .dropdown{
  position: absolute;
  right: 0;
  margin: 5px;
  transition: 0.3s ease;
}

.side-bar .menu .item .sub-menu{
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

.side-bar .menu .item .sub-menu a{
  padding-left: 55px;
}

.rotate{
  transform: rotate(90deg);
}

.close-btn{
  position: absolute;
  color: #fff;
  font-size: 20px;
  right: 0;
  margin: 25px;
  cursor: pointer;
}

.menu-btn{
  position: absolute;
  color: #fff;
  font-size: 36px;
  margin: 15px;
  cursor: pointer;
}

.main{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.main h1{
  color: rgba(255, 255, 255, 0.8);
  font-size: 60px;
  text-align: center;
  line-height: 80px;
}

@media (max-width: 900px){
  .main h1{
    font-size: 40px;
    line-height: 60px;
  }
}

<style>
    .demo-layout-transparent .mdl-layout__header,
    .demo-layout-transparent .mdl-layout__drawer-button {
      color: rgba(0,0,0,0.87);
    }

    a {
      cursor: pointer;
    }

    .mdl-collapse.mdl-collapse--opened {
      border-top: 1px solid #e0e0e0;
      border-bottom: 1px solid #e0e0e0;
      margin-top: -1px;
    }

    .mdl-collapse.mdl-collapse--opened + .mdl-collapse.mdl-collapse--opened {
      border-top: none;
      margin-top: 0;
    }

    .mdl-collapse .mdl-collapse__content-wrapper {
      overflow: hidden;
    }

    .mdl-collapse .mdl-collapse__content {
      transition-property: margin-top;
      transition-duration: 0.2s;
    }

    .mdl-collapse .mdl-collapse__icon {
      transition-property: transform;
      transition-duration: 0.2s;
      color: rgba(0,0,0,0.3);

      /* MDL should provide some facility for positioning icons inside list items so I don't have to do this */
      position: absolute;
      right: 6px;
      margin-top: -3px;
    }

    .mdl-collapse.mdl-collapse--opened > .mdl-collapse__button > .mdl-collapse__icon {
      transform: rotate(-180deg);
    }

    .mdl-collapse.mdl-collapse--opened > .mdl-collapse__content-wrapper > .mdl-collapse__content {
      margin-top: 0 !important;
    }

    .mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
		color: #fff59a;
		width: 400px;
    }

    .mdl-layout__drawer {
        color: #ffffff;
		background-color:rgb(8, 102, 143);
    }

    .mdl-layout__drawer .mdl-navigation .mdl-navigation__link.is-selected {
        color: teal;
    }

    .mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
      padding-top: 4px;
      padding-bottom: 4px;
      padding-left: 20px;
    }

    .mdl-collapse:not(.mdl-collapse--opened) .mdl-collapse > .mdl-collapse__button > .mdl-collapse__icon {
      display: none;
    }

    .mdl-layout__header {
      border-bottom: 1px solid lightgray;
    }

    h6 {
      margin: 16px 0 8px 10px;
    }

    .mdl-layout__drawer {
      overflow-y: scroll;
	  	  column-width: 400px;
    }

    .mdl-collapse .mdl-collapse__icon {
      right: unset;
      left: 6px;
      padding-top: 4px;
      padding-bottom: 4px;
    }

    @media screen and (min-width: 1025px) {
      .mdl-layout--fixed-drawer>.mdl-layout__header .mdl-layout__header-row {
        padding-left: 8px;
		background-color: rgb(143, 185, 202);
      }
    }

    iframe {
      width: 95%;
      height: 750px;
      border-width: 0;
	  position: 10px;
	  margin-left: 68px;
    }

    .mdl-layout__content {
      background-color: #eeeeee;
    }
  </style>
  

  <style>
/* tambahan style*/
/* Fixed sidenav, full height */
.sidenav {
  height: 100%;
  width: 200px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 20px;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 14px;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #f1f1f1;
}

/* Main content */
.main {
  margin-left: 200px; /* Same as the width of the sidenav */
  font-size: 20px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/* Add an active class to the active dropdown button */
.active {
  background-color: rgba(20, 104, 173, 0.8);
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #262626;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 5px;}
  .sidenav a {font-size: 16px;}
}
</style>
  


