/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none; 
}
body{
  /* display: flex; */
  /* align-items: center; */
  justify-content: center;
  /* min-height: 100%; */
  max-height: 100%;
  overflow: hidden;
  background: #4A98F7 !important;
}
.container{
  display: flex;
  min-width: 100%;
  min-height: 90%;
  max-height: 100%;
  gap: 10px;
  padding: 10px;
  /* max-width: 1050px; */
}
.timebar{
  min-height: 1% !important;
  max-height: 10dvh;
  height: auto;
  padding-top: 0 !important;
}
.time-slider{
  width: 100%;
}
section{
  background: #ffffff;
  border-radius: 7px;
}
.tools-board{
  position: relative;
  width: 210px;
  padding: 15px 22px 0;
  max-height: 85dvh;
  min-height: 85dvh;
  overflow: hidden;
}
.tools-board .row{
  margin-bottom: 20px;
}
.row .options{
  list-style: none;
  margin: 10px 0 0 5px;
}
.row .options .option{
  display: flex;
  cursor: pointer;
  align-items: center;
  margin-bottom: 10px;
}
.option:is(:hover, .active) img{
  filter: invert(17%) sepia(90%) saturate(3000%) hue-rotate(900deg) brightness(100%) contrast(100%);
}
.option :where(span, label){
  color: #5A6168;
  cursor: pointer;
  padding-left: 10px;
}
.option:is(:hover, .active) :where(span, label){
  color: #4A98F7;
}
.option #fill-color{
  cursor: pointer;
  height: 14px;
  width: 14px;
}
#fill-color:checked ~ label{
  color: #4A98F7;
}
.option #size-slider{
  width: 100%;
  height: 5px;
  margin-top: 10px;
}
.colors .options{
  display: flex;
  justify-content: space-between;
}
.colors .option{
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-top: 3px;
  position: relative;
}
.colors .option:nth-child(1){
  background-color: #fff;
  border: 1px solid #bfbfbf;
}
.colors .option:nth-child(2){
  background-color: #000;
}
.colors .option:nth-child(3){
  background-color: #E02020;
}
.colors .option:nth-child(4){
  background-color: #6DD400;
}
.colors .option:nth-child(5){
  background-color: #4A98F7;
}
.colors .option.selected::before{
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  height: 12px;
  width: 12px;
  background: inherit;
  border-radius: inherit;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
}
.colors .option:first-child.selected::before{
  border-color: #ccc;
}
.option #color-picker{
  opacity: 0;
  cursor: pointer;
}
.buttons{
  /* position: absolute;
  bottom: 0;
  margin: auto; */
}
.buttons button{
  width: 100%;
  color: #fff;
  border: none;
  outline: none;
  padding: 11px 0;
  font-size: 0.9rem;
  margin-bottom: 13px;
  background: none;
  border-radius: 4px;
  cursor: pointer;
}
.clear-canvas{
  color: #ff2b2b !important;
  border: 1px solid #ff2b2b !important;
  transition: all 0.3s ease !important;
}
.clear-canvas:hover{
  color: #fff !important;
  background: #ff2b2b !important;
}
.buttons .save-img{
  background: #4A98F7;
  border: 1px solid #4A98F7;
}
.undoBtns{
  gap: 10px;
}
.undoBtns button{
  flex: auto;
  color: #6C757D;
  border: 1px solid #6C757D;
  transition: all 0.3s ease;
  padding: 11px 0;
  font-size: 0.9rem;
  margin-bottom: 13px;
  background: none;
  border-radius: 4px;
  cursor: pointer;
}
.undoBtns button:hover{
  color: #fff;
  background: #6C757D;
}
.undoBtns button:disabled,
.undoBtns button[disabled]{
  border: 1px solid #6c757d00;
  background-color: #cccccc;
  color: #a5a5a5;
}
.drawing-board{
  flex: 1;
  position: relative;
  overflow: hidden;
}
.drawing-board canvas{
  width: 100%;
  height: 100%;
  position: absolute;
  touch-action: none;
  /* background-image: url('bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; */
}
.title {
  font-weight: bold;
}
#max-key{
  width: 100px;
}
.icon{
  height:20px;
  width:auto;
}