body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("../images/bg.png");
  background-attachment: fixed;
}

.navbar {
  font-size: 20px;
}

li {
  font-size: 18px;
  color:#FFFFFF;
}

.challengeheading {
  background-color:#32a852;color:#ffffff;font-size: 16px;
}
.challengebody {
  background-color:#ffffff;color:#000000;font-size: 16px;
}

.challengetext {
  font-size: 16px;
  font-weight:bold;
  color:#000000;
}

a.challenge:link {
  color:#ffffff;
}
a.challenge:visited {
  color: #ffffff;
}
a.challenge:hover {
  color: #ffff00;
}
a.challenge:active {
  color: #49e372;
}

.modal-header, h4, .close {
    background-color: #32a852;
    color:white !important;
    text-align: center;
}
.modal-footer {
    background-color: #32a852;
}

#editor {
  display: flex;
  margin: 0;
  float: left;
  width: 100%;
  height: 50%;
  overflow-x:auto;
  overflow-y:auto;
}

#output {
  float: left;
  width: 100%;
  height: 100%;
  overflow-x:auto;
  overflow-y:auto;
  font-family:monospace;
  font-size: 20px;
  padding: 10px;
  color: #f8f8f2;
  background-color: #282a36;
}

#filename {
  width: 150px;
  height: 32px;
  text-align: center;
  border-color:#32a852;
  color: #000000;
  font-size: 16px;
}

/* scrollbar mods*/

/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #32a852; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* button mods */
.btnGreen, #myFile {
  background-color: #32a852;
  border: none;
  border-radius: 4px;
  width: 250px;
  color: white;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 2px;
  transition-duration: 0.8s;
  cursor: pointer;
}
.btnGreen:hover, #myFile:hover {
  background-color: #f5e1f3;
  border: none;
  border-radius: 4px;
  width: 250px;
  color: #32a852;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 2px;
  transition-duration: 0.8s;
  cursor: pointer;
}

#myFile {
  background-color: #32a852;
  border: none;
  border-radius: 4px;
  width: 250px;
  color: white;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 2px;
  transition-duration: 0.8s;
  cursor: pointer;
}
#myFile:hover {
  background-color: #f5e1f3;
  border: none;
  border-radius: 4px;
  width: 250px;
  color: #32a852;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 2px 2px;
  transition-duration: 0.8s;
  cursor: pointer;
}

/* resize div containers */
.resizecontainer {
  display: flex;
  border: 1px solid #49e372;
  height: calc(100vh - 100px);
  width: 100%;
}
.resizecontainerChallenge {
  display: flex;
  border: 1px solid #49e372;
  height: calc(100vh - 210px);
  width: 100%;
}
.resizer[data-direction="horizontal"] {
  background-color: #49e372;
  cursor: ew-resize;
  height: 100%;
  width: 6px;
}
.resizer[data-direction="vertical"] {
  background-color: #49e372;
  cursor: ns-resize;
  height: 6px;
  width: 100%;
}
.container__left {
  width: 50%;
  min-width: 350px;
  display: flex;
}
.container__right {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
}
.container__top {
  height: 50%;
  min-height: 100px;
  display: flex;
}
.container__bottom {
  flex: 1;
  min-height: 100px;
  display: flex;
}

/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 200px;
  height: 200px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #32a852;
  border-bottom: 16px solid #32a852;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
