* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  display: flex;
  width: 100vw;
  height: 100vh;
}

.flex-container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  flex: auto;
}

.flex-item-1 {
  flex: 0;
  background: #151521;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

[class*="fi-1-column-"] {
  background: #4D13D1;
  text-decoration: none;
  line-height: calc(100% + 35px);
}

.html,
.css,
.js,
.result {
  float: left;
}

.flex-item-2 {
  flex: 1;
  background: #151521;
  display: flex;
  flex-direction: row;
}

[class*="fi-2-column-"] {
  border-right: 1px solid #151521;
  flex: auto;
  width: 25%;
  height: 100%;
  min-width: 1px;
  min-height: 1px;
}

/* khusus iframe result */
iframe.fi-2-column-4 {
  background: white;
}


[class*="fi-2-column-"]:last-child {
  border-right: none;
}

iframe {
  border: none;
}

.editor {
  background: #151521;
}

@media only screen and (max-width: 1016px) {
  [class*="fi-2-column-"] {
    border-right: none;
    border-bottom: 1px solid #151521;
  }

  [class*="fi-2-column-"]:last-child {
    border-bottom: none;
  }

  .flex-item-2 {
    flex-direction: column;
  }
  [class*="fi-2-column-"] {
    width: 100%;
    height: 25%;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li:hover {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #4D13D1;
    border-bottom: 1px solid #4D13D1;
  }
  .titleNavLink {
    position: absolute;
    margin-left: 80px;
  }
  .hbmNavIcon {
    display: block !important;
  }
}
#loader { 
  border: 12px solid #f3f3f3; 
  border-radius: 50%; 
  border-top: 12px solid #444444; 
  width: 70px; 
  height: 70px; 
  animation: spin 1s linear infinite; 
}

@keyframes spin { 
  100% { 
      transform: rotate(360deg); 
  } 
}

.loadcenter { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  margin: auto; 
}

nav * {
  transition: all 0.3s ease;
}

nav {
  background: #151521;
  text-align: center;
  position: relative;
}

nav > ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  list-style-type: none;
  height: 50px;
  line-height: 50px;
  min-width: 12%;
  position: relative;
}

nav ul li:hover,
.active {
  border: #4D13D1;
  border-radius: 5px;
  background: rgb(41, 41, 41);
  cursor: pointer;
  border-left: 1px solid #4D13D1;
  border-right: 1px solid #4D13D1;
}

.active {
  /* border-radius: 100px; */
  background: #151521;
}

.active > a {
  color: #4D13D1;
  text-shadow: 0.5px 0.5px #000;
}

nav ul li a {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 17px 20px;
}

nav ul li ul li {
  position: relative;
  background: #555;
  display: none;
  z-index: 99;
}

nav ul li ul li:hover {
  border: none;
  background: #777;
}

nav ul li:hover ul li {
  display: block;
}

.titleNav {
  margin-right: auto;
  background: #151521;
  font-weight: bolder;
  font-size: 26px;
}

.titleNav > a {
  color: whitesmoke;
}

.titleNav:hover {
  background: #151521;
}

.optionsNav {
  margin-left: auto;
  min-width: 220px;
}

.hbmNavIcon {
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  padding: 15px 20px;
  display: none;
  text-decoration: none;
  color: #4D13D1;
}

.hbmNavIcon:hover {
  background: #151521;
}
#logo{
  position: relative;
  height: 45px;
}


