@import url('./scp.css');

@keyframes slide-in {
  0% {
    opacity: 0%;
    margin-left: 0px;
  }

  25% {
    opacity: 25%;
    margin-left: 2px;
  }

  50% {
    opacity: 50%;
    margin-left: 4px;
  }

  75% {
    opacity: 75%;
    margin-left: 6px;
  }

  100% {
    opacity: 100%;
    margin-left: 8px;
  }
}

* {
  padding: 0;
  margin: 0;
}

#nce-dropdown {
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 3%;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999999;
  border-radius: 8px;
}

#nce-dropdown p:hover {
  padding: 4px;
  cursor: pointer;
  color: #eee;
  background: linear-gradient(to right, #9c27b0, #e040fb);
}

.navi {
  cursor: pointer;
  border-radius: 5em;
  margin-left: 0.5%;
  margin-right: 0.5%;
  color: #fff;
  background: linear-gradient(to right, #9c27b0, #e040fb);
  border: 0;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 7px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

.ui-autocomplete {
  overflow-y: auto;
}

* {
  font-family: monospace, georgia, sans-serif;
  box-sizing: border-box;
}

html {
  font-size: 64%;
}

body {
  transition: all 0.3s;
}

#settingsMenu {
  width: 100%;
  height: 1%;
  display: none;
}

#load {
  padding: 10px;
}

#eframe {
  width: 100%;
  height: 95%;
}

#loader {
  user-select: none;
}

.editor-menu {
  width: 100%;
  height: 2rem;
  background-color: #fff;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0 5px 10px;
  transition: all 0.3s;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.e {
  width: 100%;
  height: 6rem;
  background-color: #eee;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 5px 0 5px 10px;
  transition: all 0.3s;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.btn {
  cursor: pointer;
  border-radius: 5em;
  margin-left: 1%;
  margin-right: 1%;
  color: #fff;
  background: linear-gradient(to right, #9c27b0, #e040fb);
  border: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 13px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

img:hover {
  width: 27px;
  height: 27px;
}

#logo {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

#slogan {
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 100px;
}

.live {
  background-color: #37474f;
  border-radius: 8px;
  border-width: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: 'Haas Grot Text R Web', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  margin-right: 8px;
  padding: 10px 12px;
  text-align: center;
  transition: all 200ms;
  vertical-align: baseline;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.test {
  background-color: #37474f;
  border-radius: 8px;
  border-width: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: 'Haas Grot Text R Web', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  margin-right: 8px;
  padding: 10px 12px;
  text-align: center;
  transition: all 200ms;
  vertical-align: baseline;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.live > * {
  cursor: pointer;
}

#container {
  height:100vh;
  width: 100%;
  display: flex;
  transition: all 0.3s;
  background-color: #fff;
}

.left,
.right {
  height: 100%;
  border-radius: 10px;
  width: 50%;
  border: 1px solid #d5d5d5;
}
.editor-html,
#tags {
  width: 100%;
  height: 30%;
  border-radius: 10px;
  font-size: 1.2rem;
  font-family: 'Source Code Pro', monospace;
  outline: none;
  padding: 1.2rem 0 0 1rem;
  border-color: #ccc;
  transition: all 0.3s;
}

.editor-css {
  width: 100%;
  height: 30%;
  border-radius: 10px;
  font-size: 1.2rem;
  font-family: 'Source Code Pro', monospace;
  outline: none;
  padding: 1.2rem 0 0 1rem;
  border-color: #ccc;
  transition: all 0.3s;
}

.editor-js {
  width: 100%;
  height: 30%;
  border-radius: 10px;
  font-size: 1.2rem;
  font-family: 'Source Code Pro', monospace;
  outline: none;
  padding: 1rem 0 0 1rem;
  border-color: #ccc;
  transition: all 0.3s;
}

.tocl {
  text-align: center;
  cursor: pointer;
  border-radius: 5em;
  margin-left: 1%;
  margin-right: 1%;
  color: #fff;
  background: linear-gradient(to right, #9c27b0, #e040fb);
  border: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 13px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

textarea {
  resize: none;
}

#iframe {
  width: 100%;
  height: 97%;
  border-radius: 10px;
  background-color: #fff;
  overflow-y: auto;
  padding: 4px;
}

#ver {
  font-family: 'Source Code Pro', monospace;
  font-size: 1.5rem;
  text-align: right;
  color: gray;
  transition: all 0.3s;
}

#name {
  border-radius: 12px;
}

.project {
  border: 1px solid gray;
  border-radius: 8px;
  width: 400px;
  padding: 5px;
}

/* The container */
.check {
  display: block;
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  font-size: 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.check:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.check input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.check input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.check .checkmark:after {
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#log-container {
  overflow: auto;
  height: 18%;
  padding: 8px;
}

.log-warn {
  color: orange;
  font-size: 1rem;
  margin-left: 4px;
}
.log-error {
  color: red;
  font-size: 1rem;
  margin-left: 4px;
}
.log-info {
  color: skyblue;
  font-size: 1rem;
  margin-left: 4px;
}
.log-log {
  font-size: 1rem;
  margin-left: 4px;
}

.log-warn,
.log-error {
  font-weight: bold;
}

.projects-container {
  padding: 10px;
}

/* Popup box BEGIN */
.hover_bkgr_fricc,
.hover_bkgr_fricc2 {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
  height: 100%;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
}
.hover_bkgr_fricc .helper,
.hover_bkgr_fricc2 .helper2 {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.hover_bkgr_fricc > div {
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 600px;
  min-height: 250px;
  font-size: 14px;
  vertical-align: middle;
  width: 60%;
  position: relative;
  border-radius: 8px;
  padding: 15px 5%;
}
.hover_bkgr_fricc2 > div {
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 600px;
  min-height: 50px;
  font-size: 20px;
  vertical-align: middle;
  width: 60%;
  position: relative;
  border-radius: 8px;
  padding: 15px 5%;
}
.popupCloseButton,
.popupCloseButton2 {
  background-color: #fff;
  border: 3px solid #999;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-family: arial;
  font-weight: bold;
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 25px;
  line-height: 30px;
  width: 30px;
  height: 30px;
  text-align: center;
}
.popupCloseButton:hover,
.popupCloseButton2:hover {
  background-color: #ccc;
}
.trigger_popup_fricc {
  cursor: pointer;
  font-size: 20px;
  margin: 20px;
  display: inline-block;
  font-weight: bold;
}
/* Popup box BEGIN */

#portrait-error {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: black;
  z-index: 99999;
  color: #eee;
  text-align: center;
}

.nav {
  overflow-x: auto;
  display: flex;
  width: 100%;
  height: 20px;
  background-color: lightgrey;
}

body {
  padding-top: 0;
  margin-top: 0;
  background-color: #fff;
  font-family: 'Ubuntu', sans-serif;
}

#login,
#signup,
#code,
#email,
#reset,
#pr {
  background-color: #ffffff;
  width: 400px;
  height: 400px;
  margin: 7em auto;
  border-radius: 1.5em;
  box-shadow: 0px 11px 35px 2px rgba(0, 0, 0, 0.14);
}

.sign {
  padding-top: 40px;
  color: #8c55aa;
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold;
  font-size: 23px;
}

#username,
#username2,
#ci,
#ei,
#re,
#name2 {
  width: 76%;
  color: rgb(38, 50, 56);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  background: rgba(136, 126, 126, 0.04);
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 50px;
  margin-left: 46px;
  text-align: center;
  margin-bottom: 27px;
  font-family: 'Ubuntu', sans-serif;
}

form.form1,
form.form2,
form.form3,
form.form4,
form.form5,
form.form6 {
  padding-top: 40px;
}

#suf,
#rsp {
  text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
  color: #e1bee7;
  padding-top: 15px;
}

#password,
#password2,
#rp {
  width: 76%;
  color: rgb(38, 50, 56);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  background: rgba(136, 126, 126, 0.04);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 50px;
  margin-left: 46px;
  text-align: center;
  margin-bottom: 27px;
  font-family: 'Ubuntu', sans-serif;
}

div[data-title]:hover::after {
  content: attr(data-title);
  position: fixed;
  background-color: rgb(0, 0, 0, 0.8);
  border-radius: 4px;
  color: #eee;
  font-size: 75%;
  margin-top: 7px;
  margin-left: 8px;
  padding: 1px 5px 2px 5px;
  white-space: nowrap;
  border: 1px solid #111111;
  z-index: 99999;
  animation-name: slide-in;
  animation-duration: 0.2s;
}

#username:focus,
#password:focus,
#username2:focus,
#password2:focus,
#ci:focus,
#ei:focus,
#re:focus,
#rp:focus {
  border: 2px solid rgba(0, 0, 0, 0.18) !important;
}

#submit,
#submit2,
#cs,
#es,
#rs,
#rs2 {
  cursor: pointer;
  border-radius: 5em;
  color: #fff;
  background: linear-gradient(to right, #9c27b0, #e040fb);
  border: 0;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 10px;
  padding-top: 10px;
  font-family: 'Ubuntu', sans-serif;
  margin-left: 35%;
  font-size: 13px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

#rsp, #backLogin, #backSignup {
  text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
  color: #e1bee7;
  padding-top: 15px;
}

a {
  text-shadow: 0px 0px 3px rgba(117, 117, 117, 0.12);
  color: #e1bee7;
  text-decoration: none;
}

@media (max-width: 600px) {
  .main {
    border-radius: 0px;
  }
}

.language-picker,
.btn-dark-light,
#addResource,
#removeSources,
#createFile,
.folder-picker,
#deleteFile {
  font-size: 8px;
}

.btn-icon {
  margin-left: 0;
}

.pj {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  background-color: lightgray;
  width: 50%;
  height: 40%;
}

.pj a {
  cursor: pointer;
  border-radius: 5em;
  margin-left: 1%;
  margin-right: 1%;
  color: #fff;
  background: linear-gradient(to right, #9c27b0, #e040fb);
  border: 0;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 13px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);

}

.pj p {
  color: gray;
  font-size: 0.6rem;
}

.pj hr {
  margin-top: 25px;
  margin-bottom: 25px;
}
