* {
  margin: 0;
  padding: 0;
  }


#header {
  text-align: center;
  font-size: 20px;
  width: 1350px;
  
  font-family: DejaVu Sans Mono, monospace;
  font-weight: bold;
  box-shadow: 0 7px 37px -5px #00C4F0;
  }
.algoritm a {
text-decoration: none;
color: #E4E4E4;
}

.algoritm {

  width: 5%;
  height: 90px;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  }
  
.grid
{
  display: grid;
  margin-top: 1%;
  justify-content: start;
  grid-template-columns: 0.2fr repeat(3, auto) 2fr;
  grid-template-rows: 100px max-content auto;
  row-gap: 6%;
  column-gap: 2%;
  grid-template-areas:
    "logo logo . . ."
    "sidenav tree tree tree paths"
    "sidenav input data . .";
}


.treeContainer
{
  margin-left: 450px;
  margin-top: -100px;
  width: max-content;
  height: 100%;
  min-width: 600px;
  min-height: 400px;
  background: #484848;
  border-radius: 20px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  grid-area: tree;
  box-shadow: 0 7px 37px -5px #00C4F0;
}
.pathsContainer
{
  margin-top: -95px;
  width: 200px;
  max-height: 100vh;
  color: whitesmoke;
  background: #484848;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  text-align: center;
  overflow: hidden;
  box-shadow: 10px 10px 24px rgba(0, 0, 0, 0.5);
  grid-area: paths;
  box-shadow: 0 7px 37px -5px #00C4F0;
}
.inputContainer 
{
  margin-top: -500px;
  margin-left: -30px;
  margin-right: 15%;
  grid-area: input;
}

.sidenav a:not(.current):hover:after
{
  width: 100%;
}
.sidenav a.current 
{
  color: black;
  border-radius: 12px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  transition: all .5s ease;
}
.sidenav a.current:hover 
{
  color: whitesmoke;
  box-shadow: none;
}

.pathsList
{
  height: 100%;
  list-style: none;
  text-align: start;
  overflow: hidden;
  overflow-y: scroll;
  margin: 0;
  padding: 0;
}
.pathsList::-webkit-scrollbar
{
  display: none;
}
.pathsList>li
{
  padding: 6% 8%;
  border-top: 2px solid #484848;
  font-size: 1.4em;
  cursor: pointer;
  transition: all .6s ease;
}
.pathsList>li:last-child
{
  border-bottom: 2px solid #484848;
}
.pathsList>li:hover,
.pathsList>li.chosen
{
  background: #484848;
}

.switchContainer
{
  color: whitesmoke;
  font-size: 1.2em;
}
.switch
{
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 5%;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #484848;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}
input:checked + .slider {
  background-color: #80cbc4;
}
input:focus + .slider {
  box-shadow: 0 0 1px #80cbc4;
}
input:checked + .slider:before {
  transform: translateX(26px);
}


.fileInputContainer
{
  margin-top: 5%;
}

.textInputContainer
{
  display: none;
  margin-top: 2%;
  margin-bottom: 5%;
  width: 100%;
}
#textInput
{
  width: 375px;
  height: 200px;
  padding: 4px 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25em;
  border-radius: 12px;
  resize: none;
}


#res{
  margin-left: 35px;
}
#upload{display: none;}

.dataInfo 
{
  width: 100%;
  min-width: 100px;
  min-height: 20px;
  display: inline-block;
  color: whitesmoke;
  font-size: 1.3em;
  text-align: center;
  padding: 4px 16px;
  border-radius: 10px;
  border: 1px ridge #80cbc4;
}

.tree,
.tree ul,
.tree li 
{
  color: #e0e0e0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.tree 
{
  margin: auto;
  margin-top: 1em;
  text-align: center;
}

.tree,
.tree ul 
{
  display: table;
}

.tree ul 
{
  width: 100%;
}

.tree li 
{
  display: table-cell;
  padding: .5em 0;
  vertical-align: top;
}

.tree li:before 
{
  border-bottom: solid 2px #e0e0e0;
  content: "";
  font-size: 1.25em;
  color: #9e9e9e;
  left: 0;
  position: absolute;
  right: 0;
  top: -1.1em;
}

.tree li:first-child:before 
{
  content: 'yes';
  text-align: start;
  left: 50%;
}

.tree li:last-child:before 
{
  content: 'no';
  text-align: end;
  right: 50%;
}

.tree>li:last-child:before 
{
  content: '';
}

.tree span 
{
  border: solid .1em #e0e0e0;
  background: transparent;
  font-size: 1.3em;
  border-radius: .2em;
  display: inline-block;
  margin: 0 1em 1.5em;  /* changing height/width of tree */
  padding: .2em .5em;
  position: relative;
  transition: all .4s ease;
}

.tree span.colored 
{
  background: #4db6ac;
}

.tree span.coloredTerminal 
{
  background: #7FAF5C;
}

.tree ul:before,
.tree span:before 
{
  outline: solid 1px #e0e0e0;
  content: "";
  left: 50%;
  position: absolute;
}

/* next 2 selectors is for changing heights of tree's edges */
.tree ul:before 
{
  height: 1.9em;
  top: -1.9em;
}

.tree span:before 
{
  height: .3em;
  top: -.4em;
}

.tree>li 
{
  margin-top: 0;
}

.tree>li:before,
.tree>li:after,
.tree>li>span:before 
{
  outline: none;
}
