*{
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    background: #efefef;
}

.main {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: calc(100% - 20px);
    max-width: 900px;
    height: 572px;
    margin: auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 10px 1px rgba(0, 0, 50, .05);
}

.option {
    padding-bottom: 20px;
    background: inherit;
}

.row {
    display: flex;

    flex-wrap: wrap;
    justify-content: center;
}

.row>* {
    height: 46px;
    margin: 10px 8px;
    font-family: inherit;
    letter-spacing: 1px;
    color: rgb(59, 153, 197);
    border: 1px solid rgb(59, 153, 197);
}

button {
    width: 86px;
    height: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: .4s ease;
    vertical-align: middle;
    letter-spacing: 1px;
    border-radius: 4px;
    outline: 0;
    background: inherit;
}
.item1 {
    width: 86px;
    height: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: .4s ease;
    vertical-align: middle;
    letter-spacing: 1px;
    border-radius: 4px;
    outline: 0;
    background: inherit;
}

button:hover {
    color: #fff;
    background-color: rgb(59, 153, 197);
}

.disable {
    opacity: 0.5;
}

.disable:hover {
    color: inherit;
    background: inherit;
}

.header{
    background-color: rgb(132, 170, 240);
}
.head{
    text-align: center;
  padding-top: 1%;
}
.name{
    color: black;
    font-size: 5vh;
    font-weight: 900;
}


/* For the three things */
/*  SECTIONS  */
.section2 {
    clear: both;
    padding: 0px;
    margin: 0px;
}
.btn_Gene{
  padding-top: 1%;
  padding-bottom: 1%;
  font-weight: bold;
  font-size: 3vh;
}

/*  COLUMN SETUP  */
.col2 {
    display: block;
    float:left;
    margin: 1% 0 1% 5%;
}
.col2:first-child { margin-left: 0; }

/*  GROUPING  */
.group2:before,
.group2:after { content:""; display:table; }
.group2:after { clear:both;}
.group2 { zoom:1; /* For IE 6/7 */ }

/*  GRID OF THREE  */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 65%; }
.span_1_of_3 { width: 30%; }

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
    .col2 {  margin: 1% 0 1% 0%; }
    .span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}



#a_generate:hover {
  cursor: pointer;
}
.algos button:hover {
  background-color: blue;
  cursor: pointer;
}
.algos .butt_locked {
  background-color: transparent;
  cursor: pointer;
}
.algos .butt_locked:hover {
  background-color: transparent;
  cursor: pointer;
}
.algos .butt_selected {
  background-color: rgb(21, 166, 233);
  color: rgb(6, 255, 6);
}
.algos .butt_selected:hover {
  background-color: white;
  cursor: pointer;
}
.algos .butt_unselected:hover {
  background-color: blue;
  cursor: pointer;
}

/* Now section parts */
section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 20% 60% 20%;
  grid-template-columns: 20% 60% 20%;
}

section #array_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 60vh;
}

.hide {
  display: none;
}
#cp{
  text-align: right;
  color:chocolate
}
body{
  background-color: rgb(197, 226, 226);
}

#two {
  background: linear-gradient(to right, hsl(200, 100%, 50%), hsl(175, 100%, 50%));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: rgb(94, 243, 14);
  font-family: 'Courier New', Courier, monospace;
}

.box {
  height: 40px;
  overflow: hidden;
  position: relative;
}
.box::before {
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  content: '';
  height: 10px;
  position: absolute;
  background: linear-gradient(180deg,none, rgba(255, 142, 113, 0));
}
.box::after {
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  content: '';
  height: 10px;
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 142, 113, 0), none);
}

p {
  float: left;
}

ul {
  float: right;
  margin: 0;
  padding: 0;
  -webkit-animation: scrollUp 10s ease-in-out infinite normal;
          animation: scrollUp 10s ease-in-out infinite normal;
}
ul li {
  opacity: 1;
  height: 20px;
  padding: 10px;
  list-style: none;
}

@-webkit-keyframes scrollUp {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-90%);
            transform: translateY(-90%);
  }
}

@keyframes scrollUp {
  from {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-90%);
            transform: translateY(-90%);
  }
}
