* {
  box-sizing: border-box;
  font-family: 'Maven Pro', sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

.toolbox-cont {
  height: 5rem;
  background-color: #4b4b4b;
  display: flex;
  align-items: center;
}

.toolbox-cont > * {
  margin-left: 4rem;
  border-radius: 3px;
}

.toolbox-priority-cont {
  height: 3.5rem;
  width: 14rem;
  background-color: #3d3d3d;
  display: flex;
    align-items: center; 
  justify-content: space-around; 
}
.action-btn-cont {
  height: 3.5em;
  width: 6rem;
  background-color: #3d3d3d;
  display: flex;
}
.action-btn-cont > * {
  display: flex;
  align-items: center;
  justify-content: space-around;/*contering the icons*/
  /*size bada krna of icons*/
  width: 50%;
  font-size: 2rem;
  color: #d1d8e0;
}

.color {
  height: 1.5rem;
  width: 2.5rem;
}
.lightpink {
  background-color: lightpink;
}
.lightgreen {
  background-color: lightgreen;
}
.lightblue {
  background-color: lightblue;
}
.black {
  background-color: black;
}
/* hover is a psuedo class selecter*/
.action-btn-cont > *:hover {
  background-color: #485460;
}
.toolbox-priority-cont > *:hover {
  background-color: #485460;
}
/* viewpoet=100 vh and 100 vw and to center we divide by 2*/
.modal-cont {
  height: 50vh;
  width: 45vw;
  background-color: lightblue;
  position: absolute;/*to move it along freely*/
  top: calc((100vh - 50vh) / 2);/*top  se itna neeche*/
  left: calc((100vw - 45vw) / 2);
  display: none;/* only displayed when add button is clicked,deafult is none*/
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;/*shadow*/
}
.textarea-cont {
  height: 100%;
  width: 75%;
  outline: none;/*no outline after clicking*/
  border: none;
  background-color: #dfe4ea;
  resize: none;
  padding: 2rem;
  font-size: 2rem;
}
.priority-color {
  height: 3rem;
  width: 5rem;
}
.priority-colors-cont {
  height: 100%;
  width: 25%;
  display: flex;
  flex-direction: column;/* as we have to display them vertically*/
  justify-content: space-around;
  align-items: center;
   background-color: #4b4b4b; 
}
.active {
  border: 5px solid #d1d8e0;
}
.main-cont {
  display: flex;/*we have to display the ticket */
  gap: 2rem;/*margin between tickets*/
  justify-content: center;
  padding:2rem;
  flex-wrap: wrap;/* ek ke baad ek ticket display krni hai*/
}

.ticket-cont {
  height: 12rem;
  width: 15rem;
  background-color: #f1f2f6;
}

.ticket-color {
  height: 1rem;
  /*background-color:lightpink;*/ /* it will be generated by javascript*/
}

.ticket-id {
  height: 2rem;
  background-color:lightseagreen;
}
.ticket-lock
{
  display: flex;
  justify-content: flex-end;
  margin-top:5px;
  font-size: 1.5rem;
  margin-right: 7px;

}
.task-area
{
  height: calc(100% - 1rem - 2rem - 2rem);/* remove hight of priortiy colout band and ticket id band*/
  font-size:1.5rem;
  padding: 5px;
  outline:none;

}
footer {
  text-align: center;
  padding: 3px;
  background-color:rgb(161, 229, 241);
  color:black;
  position: absolute;
  bottom: 0;
  width:100%;
  height:4.5rem;
}
/*tablet*/
@media screen and (min-width: 425px) and (max-width: 768px) {
  .modal-cont {
    width: 60vw;
    left: calc((100vw - 60vw) / 2);
  }
}
/*moblile*/
@media screen and (max-width: 426px) {
  .modal-cont {
    width: 75vw;
    height: 55vh;
    top: calc((100vh - 55vh) / 2);
    left: calc((100vw - 75vw) / 2);
    flex-direction: column;
  }
     .textarea-cont {
       width: 100%;
       height: 75%;
     }
  
     .priority-colors-cont {
       flex-direction: row;
       width: 100%;
       height: 25%;
     }
  
     .priority-color {
       width: 17%;
     }
  
     .toolbox-cont>* {
       margin-left: 1.5rem;
       border-radius: 2px;
     }
}