* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color: #bebebe;
  font-family: 'Roboto Mono', monospace;
}

nav{
  background-color: #ebecf0;
  display: flex;
  padding: 6px 30px;;
  color: gray;
  height: 62px;
  background-size: cover;
}

.options-content{
  display: flex;
  overflow: scroll;
  align-items: center;
}


#fill-content{
  margin-left: 15px;
  display: none;
}

input[type=checkbox] {
         position: relative;
	       cursor: pointer;
    }
    input[type=checkbox]:before {
         content: "";
         display: block;
         position: absolute;
         width: 10px;
         height: 10px;
         top: 0;
         left: 0;
         border: 2px solid #555555;
         border-radius: 3px;
         background-color: #ebecf0;
}
input[type=checkbox]:checked:after {
     content: "";
     display: block;
     width: 1px;
     height: 6px;
     border: solid black;
     border-width: 0 2px 2px 0;
     -webkit-transform: rotate(45deg);
     -ms-transform: rotate(45deg);
     transform: rotate(45deg);
     position: absolute;
     top: 2px;
     left: 6px;
}

.type-content{
  display: none;
  align-items: center;
  overflow: scroll;
  width: 180px;
  height: 50px;
}

.type-content p{
  border: 1px solid #aaa;
  border-radius: .5em;
  box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
  padding: .3em 0 ;

}

.select-css {
	display: block;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 700;
	color: grey;
	line-height: 1.3;
	padding: .3em 0 .3em .8em;
	box-sizing: border-box;
	margin-right: 15px;
	border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .3em;
	background-color: #ebecf0;
}

.select-css:hover {
	border-color: #888;
}
.select-css:focus {
	outline: none;
}

input[type=text] {
  border: 1px solid #aaa;
	box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
	border-radius: .3em;
	background-color: #ebecf0;
  padding: .3em 0 .3em .8em;
}

.shapes-content{
  display: flex;
  justify-content: space-around;
}

.shapes-container{
  display: none;
}

.shapes-content div{
  height: 35px;
  width: 35px;
  margin-right: 7px;
  padding: 3px;
  border: 1px solid transparent;
}



#title{
  margin-top: 13px;
  margin-right: 20px;
}

#ham{
  margin-right: 40px;
}

.drop-down-menue {
  height: 100vh;
  width: 0;
  background-color: white;
  overflow-x: hidden;
  transition: 0.2s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  box-shadow: 0.4rem 0 0 0 rgba(0,0,0,0.1);
}

 .drop-down-menue-items li {
  display: block;
  text-decoration: none;
  color: grey;
  font-size: 16px;
  padding: 15px 20px;
  border-bottom: 0.5px solid #ebecf0;
}

 .drop-down-menue-items li:hover{
   background-color: #f5f5f5;
 }

 .drop-down-menue-items li:first-child:hover{
   background-color: white;
 }


.drop-down-menue header{
  display: flex;
  justify-content: space-between;
  background-color: #3897f0;
  color: white;
  padding: 10px 10px 10px 20px;
  height: 61px;
}

h3{
  margin-top: 5px;
}

#exit{
  width: 38px;
}

.Start-over{
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
}
 .Start-over img:first-child{
   width: 75px;
   height: 54px;
 }

 .Start-over img:nth-child(2){
   width: 54px;
   height: 54px;
 }
 .Start-over img:nth-child(3){
   width: 43px;
   height: 54px;
 }

 .Start-over img:hover{
   background-color: #f5f5f5;
 }

.how-to{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: white;
  display: none;
  align-items: center;
  justify-content: space-around;
  overflow-x: scroll;
}

#left-arrow2, #right-arrow2{
height: 5vh;
width: 5vw;
}

.how-to-content{
  text-align: center;
}
 .vedio p{
  margin: auto;
  text-align: center;
  margin-top: 2vh;
}

em{
  font-style: normal;
background-color: #e6e6e6;
padding: .1rem .3rem ;
border-radius: .5rem;
}

.how-to-content h5{
  color: #3897f0;
  margin: auto;
  text-align: center;
}

.how-to-content h5:hover{
  text-decoration: underline;
}

video{
  height: 40vh;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 30px 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.active, .dot:hover {
  background-color: #3897f0;
}

#about{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: white;
  padding: 20px ;
  text-align: center;
  display: none;
  overflow: scroll;
}

#about h2{
  margin-top: 50px;
}
.about-content{
  width: 70vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin: auto;
}

.about-me{
  text-align: left;
}

.point{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: lightblue;
  display: inline-block;
  margin-right: 10px;
}
.about-me hr{
  margin: 10px 0 30px 0;
}

#exit2{
  width: 50px;
  float: right;
}

.mask{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  display: none;
}

.download-model{
  background-color: white;
  padding: 40px;
  border: 2px solid #3897f0;
  border-radius: 5px;
  width: 50vw;
  position: fixed;
  top: calc(50% - 25vh);
  left: calc(50% - 25vw);
  text-align: center;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.20), 0 6px 20px 0 rgba(0, 0, 0, 0.20);

}
.download-model button{
  background-color: #3897f0;
  padding: 10px 20px;
  border: none;
  margin-top: 20px;
  color: white;
  border-radius: 5px;
}

.mask2{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  display: none;
}

.share-model{
  background-color: white;
  padding: 40px;
  border: 2px solid #3897f0;
  border-radius: 5px;
  width: 50vw;
  position: fixed;
  top: calc(50% - 25vh);
  left: calc(50% - 25vw);
  text-align: center;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.20), 0 6px 20px 0 rgba(0, 0, 0, 0.20);
  overflow: hidden;

}
.share-model button, .share-model input{
  padding: 10px 20px;
  border: none;
  margin-top: 20px;
  border-radius: 5px;
}

.share-model button{
  background-color: #3897f0;
  color: white;
}

.mask3{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  display: none;
}

.delete-model{
  background-color: white;
  padding: 40px;
  border: 2px solid #3897f0;
  border-radius: 5px;
  width: 50vw;
  position: fixed;
  top: calc(50% - 25vh);
  left: calc(50% - 25vw);
  text-align: center;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.20), 0 6px 20px 0 rgba(0, 0, 0, 0.20);

}
.delete-model button{
  background-color: #3897f0;
  padding: 10px 20px;
  border: none;
  margin-top: 20px;
  color: white;
  border-radius: 5px;
}


main{
  display: flex;
}
#canvas{
  cursor: crosshair;
  display: inline-block;
  background-color: white;
  margin: auto;
  image-rendering: pixelated;
  height: 50vh;
  width: 50vw;
}


#tool-bar{
  display: flex;
  flex-direction: column;
  width: 3rem;
  margin: 1% ;
}

.tool, .tool-2 {
  background-color: #ebecf0;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: 0.1rem 0.1rem 0 rgba(0,0,0,0.25);
  margin: 5px;
}

.tool img, .tool-2 img{
  width: 100%;
}

.colors{
  border: 2.5px solid #ebecf0;
  margin: 30px 5px;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: 0.1rem 0.1rem 0 rgba(0,0,0,0.25);
}

.colors-container{
  width: 100px;
}

.colors-container:hover .colors-pallet{
  display: flex !important;
}

.colors-pallet{
  position: relative;
  left: 55px;
  bottom: 5px;
  background-color: #ebecf0;
  padding:  5px ;
  border-radius: 20px;
  display: none;
  height: 43px;
  width: 280px;
  box-shadow: 0.1rem 0.1rem 0 rgba(0,0,0,0.25);
}

.colors-pallet ul{
    display: flex;
}

.colors-pallet li{
  border: 2.5px solid #ebecf0;
  margin: 5px;
  margin-left: 0;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  list-style: none;
  box-shadow: 0.9px 0.9px 0 rgba(0,0,0,0.25);
}

.color-pallet-hide li{
  width: 0;
  border: 0;
  margin: 0;
}

input[type="color"] {
	-webkit-appearance: none;
  margin: 5px;
  margin-left: 0;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  box-shadow: 0.9px 0.9px 0 rgba(0,0,0,0.25);

}
input[type="color"]::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type="color"]::-webkit-color-swatch {
	border: none;
  border-radius: 50%;
  border: 2.5px solid white;
}


.colors-pallet li:hover{
box-shadow: 0 0 0.1rem rgba(0,0,0,0.80);
}

.colors-pallet img{
  width: 20px;
  height: 15px;
  margin: 10px 0 5px 5px;
}

#left-arrow, #left-arrow2{
  transform: rotate(180deg);
}

.tool-2:first-child{
  margin: 30px 5px;
  cursor: not-allowed;
}

.tool-2:first-child:active{
  background-color: #e3e3e3;
}

.tool:hover, .tool-2:hover {
  background-color: #e3e3e3;
}

.tool-2:active{
  background-color: #000;
}

.tool-2 svg{
  stroke: #000;
}

.tool-2 svg:active {
  stroke: #fff;
}

.info{
  position: relative;
  bottom: 35px;
  left: 55px;
  background-color: #ebecf0;
  padding: 1px 5px ;
  font-size: 13px;
  color: grey;
  border-radius: 5px;
  text-align: center;
  display: none;
  box-shadow: 0.1rem 0.1rem 0 rgba(0,0,0,0.25);
}


.draw-content {
  height: 50px;
  width: 150px;
  background-image: url("https://www.autodraw.com/assets/images/stroke-width.svg");
  background-repeat: no-repeat;
  background-size: cover;
  display: none;
}

.slider {
  -webkit-appearance: none;
  height: 50px;
  width: 150px;
  background: transparent;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 25px;
  border-radius: 10%;
  background: #4285f4;
  cursor: pointer;
}

.auto-draw-image-content{
  height: 50px;
  overflow: scroll;
}
.auto-draw-content{
  display: none;
}

.auto-draw-image-content img{
  height: 50px;
  width: 50px;
}

h5{
width: 350px;
margin-top: 15px;
text-align: center;
}

#redo svg{
  transform: rotate(180deg);
}



@media (min-width: 770px) {
  em{
    font-style: normal;
  background-color: #e6e6e6;
  padding: .5rem 1rem;
  border-radius: .5rem;
  }
  #left-arrow2, #right-arrow2{
  height: 8vh;
  width: 8vw;
  }
  .type-content{
    display: none;
    padding-top: 2px;
    align-items: center;
    width: auto;
    height: 50px;
  }
  .about-content{
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .about-me{
    width: 31vw;
  }
  nav{
    margin-bottom: 5px;
  }
  #ham{
    margin-right: 70px;
  }
  .tool:hover .info, .tool-2:hover .info{
    display: inline;
  }
  .options-content{
    overflow: visible;
  }
 }
