@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
/* Usual use*/
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'Lato', sans-serif;
  color: rgb(51, 51, 51);
  line-height: 1.6;
  background-color: rgb(255, 255, 255);
  zoom: 68.6%;
}
html {
overflow-x: scroll;
overflow-y: scroll;
scroll-behavior: smooth;
zoom:90%;
}
.limba
{
    height: 25px;
    width: 35px;
    padding-top: 4px;
    border-radius: 0;
}
@media screen and (max-width: 1800px) {
html {
   transform: scale(.8);   
}
}
@media screen and (max-width: 1600px) {
html {
   transform: scale(.8);   
}
}
@media screen and (max-width: 1400px) {
html {
   transform: scale(.6);   
}
}
@media screen and (max-width: 1200px) {
html {
   transform: scale(.5);   
}
}
@media screen and (max-width: 1000px)  {
html {
   transform: scale(.4);   
}
}
@media screen and (max-width: 800px)  {
html {
   transform: scale(.3);   
}
}
@media screen and (max-width: 600px)  {
html {
   transform: scale(.2);   
}
}
.tab
{
    tab-size: 8;
}

ul{
    list-style-type: none;
    text-align: center;
}

a{
    text-decoration: none;
    color: #333
}

h1,h2{
  
    font-weight: bold;
    line-height: 1.2;
    margin: 15px;
}

h3{
    font-size: 60px;
    text-align: center;
    margin-top: 70px;
}
img{
    width: 100%;
}

.flex{
    display: flex;
    justify-content: space-between;
    align-items: center;   
}
/*Exit usual use*/


/*Navbar*/
.navbar{
    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
    color:  rgb(255, 255, 255);
    z-index: 1000;    
    height:80px;
    width:3100px;
}
.container
{
    margin: 0 auto;
    overflow: auto;
    padding:0 100px;
}


.navbar a{
    color: white;
    font-size: 20px;
    margin: 0 5px;
}
.navbar a:hover{
    font-size: 23px;
    transition: 0.5s;
}

.insert_bar
{
    background-color: rgb(205, 247, 247); 
    width: 100vw;
    height: auto;
}

.box
{
    height:80px;

}

#canvasVector
{
    position: relative;
    border: 2px solid black;
    width: 1800px;
    height: 100px;
}

#canvas1
{
    position: relative;
    border: 2px solid black;
    width: 1800px;
    height: 900px;
}

.tabel 
{
    margin-left: 150px;
    display: grid;
    grid-template-columns: 100%;
}
.caseta
{
    display: grid;
    grid-template-columns: 1800px 800px;
}
/* Footer */
#footer {
	background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
	width:3100px;
}
#footer .footer {
    display: fixed;
	min-height: 200px;
	flex-direction: column;
	padding-top: 50px;
	padding-bottom: 10px;
}
#footer h2 {
	color: white;
	font-weight: 500;
	font-size: 1.8rem;
	letter-spacing: .1rem;
	margin-top: 10px;
	margin-bottom: 10px;
}
#footer .social-icon {
	display: flex;
	margin-bottom: 30px;
}
#footer .social-item {
	height: 50px;
	width: 50px;
	margin: 0 5px;
}
#footer .social-item img {
	filter: grayscale(1);
	transition: .3s ease filter;
}
#footer .social-item:hover img {
	filter: grayscale(0);
}
#footer p {
	color: white;
	font-size: 1.3rem;
}


/* End Footer */


#algoControlSection
{
    background: rgb(164, 230, 239);
    width:3100px;
}

#AlgorithmSpecificControls
{
    padding: 10px;
}

.element
{
    font-size: 30px;
    padding: 20px;
    margin-left: 24px;
    border-radius: 5px;
    height: 70px;
}
.bold
{
    font-weight: bold;
}


.buton_1
{
    border: 2px solid black;
    width:150px;
    height:150px;
    border-radius: 100%;
    background-color: rgb(255, 255, 255);
    grid-area: buton_1;
    cursor: pointer;
}

.playpause {
    width:150px;
    height:150px;
    padding: 22%;
    padding-left: 30%;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border: 2px solid black;
  }
  
  .playpause:hover {
    background: rgb(182, 182, 182);
  }
  
  .playpause .buton {
    width: 80px;
    height: 80px;
    background: #000000;
    transition: inherit;
    clip-path: polygon(0 0, 50% 25%, 50% 75%, 50% 75%, 50% 25%, 100% 50%, 100% 50%, 0 100%);
    transform: translate(-5%, 0);
  }
  
  .playpause.playing .buton {
    clip-path: polygon(0 0, 40% 0, 40% 100%, 60% 100%, 60% 0, 100% 0, 100% 100%, 0 100%);
    transform: translate(-16%, 0);
  }

.buton_1:hover
{
    background: rgb(182, 182, 182);
    transition: 0.5s;
}

.circular
{
    border-radius: 100%;
}

.circular_flip
{
    transform: scaleX(-1);
    border-radius: 100%;
}

.buton_3
{
    border: 2px solid black;
    width:150px;
    height:150px;
    border-radius: 100%;
    background-color: rgb(255, 255, 255);
    grid-area: buton_3;
    cursor: pointer;
}

.buton_3:hover
{
    background: rgb(182, 182, 182);
    transition: 0.5s;
}

.speed
{
    grid-area: speed;
    height: 400px;
}

#oneMoveBehind
{
    pointer-events: auto; 
}


.main
{
  width: 100%;
  top:15%;
  position: relative;
}

#slider
{
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  outline: none;
  border-radius: 3px;
  background-color: rgb(0, 67, 129);
}

#slider::-webkit-slider-thumb
{
  -webkit-appearance: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 3;
  position: relative;
}

#selector
{
  height: 104px;
  width: 48px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.SelectBtn
{
  height: 48px;
  width: 48px;
  background-image: url(./images/unknown.png);
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  position: absolute;
  bottom: 10px;
}

#SelectValue
{
    color: white;
    width: 48px;
    height: 40px;
    position: absolute;
    top: -5px;
    background: rgb(0, 132, 255);
    border-radius: 4px;
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    font-weight: bold;
}

#SelectValue::after
{
  content: '';
  border-top: 17px solid rgb(0, 132, 255);
  border-left: 24px solid #ffffff;
  border-right: 24px solid #ffffff;
  position: absolute;
  bottom: -14px;
  left: 0;
}

#ProgressBar
{
  width: 50%;
  height: 15px;
  background: rgb(145, 211, 219);
  border-radius: 3px;
  position: absolute;
  top: 3px;
  left: 0;

}

.caseta_comenzi
{
    width: 1000px;
    height: 1000px;
    border: 2px solid black;
}
.comenzi
{
    width: 500px;
    display: grid;
    grid-template-areas:
    'buton_1 buton_2 buton_3'
    'speed speed speed';
    border-color: black;
    border-width: 1px;
    grid-column: 1;
    border: 3px green;
    margin-top:30%;
    margin-left:25%;
    grid-gap: 20px;
    
}
.rulare
{
    display: grid;
    grid-column: 1;
}
.center {
    text-align: center;
    border: 3px solid green;
  }
  .button {
    border-radius: 10px;
    background-color: #114779;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 28px;
    padding: 15px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }
  
  .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .button:hover span {
    padding-right: 25px;
  }
  
  .button:hover span:after {
    opacity: 1;
    right: 0;
  }
  .butoninapoi {
    border-radius: 10px;
    background-color: #114779;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 28px;
    padding: 15px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }
  
  .butoninapoi span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .butoninapoi span:after {
    content: '\00ab';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .butoninapoi:hover span {
    padding-right: 25px;
  }
  
  .butoninapoi:hover span:after {
    opacity: 1;
    right: 0;
  }
  .link2
  {
    font-family: Verdana;
    font-size: 35px;
    font-variant: normal;
    margin-bottom: 3%;
    font-weight: bold;
    margin-left: auto; 
    margin-right:3%;
  }
  .link
  {
    font-family: Verdana;
    font-size: 35px;
    font-variant: normal;
    font-weight: bold;
    float: left;
    margin-left: 3%;
  }
  .boxgol
  {
    width: auto;
    height: 60px;
    background-color: white;
  }
  .aux
{
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
}
#minbutton
{

}

#maxbutton
{
  padding-left: 500px;
}

.button-5 {
  align-items: center;
  background-clip: padding-box;
  background-color: #fa6400;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 22px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 10px;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: 200px;
  height: 75px;
}

.button-5:hover,
.button-5:focus {
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

.button-5:hover {
  transform: translateY(-1px);
}

.button-5:active {
  background-color: #c85000;
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}
.button-6 {
  align-items: center;
  background-clip: padding-box;
  background-color: #fa6400;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 22px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 10px;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: 200px;
  height: 75px;
}

.button-6:hover,
.button-6:focus {
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  background-color: #fb8332;
}

.button-6:hover {
  transform: translateY(-1px);
}

.button-6:active {
  background-color: #c85000;
  box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
  transform: translateY(0);
}
.code
{
	font-family:courier, serif;
	font-style:bold;
	margin:0px;
	padding:0px;
    font-size:110%;
}

.minmax
{
  display: flex;
}

#maxbutton1
{
  left: 800px;
}

#minbutton
{
  left: 800px;
}

.buton_disable{
  align-items: center;
  background-clip: padding-box;
  background-color: #474746;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 22px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 10px;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: 200px;
  height: 75px;
}
.buton_disable2{
  align-items: center;
  background-clip: padding-box;
  background-color: #fb8332;
  border: 1px solid transparent;
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: #fff;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 22px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 10px;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: 200px;
  height: 75px;
}