@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

html {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

body {
  background: #e5e7e9;
}

/* Nav-Bar */
.nav-bar {
  background: linear-gradient(135deg, #17202a 0%, #566573 100%);
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: #fbfcfc;
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* Contenedor de canvas */
.box-paint {
  width: 100%;
  height: 92vh;
  background-image: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.582) 0%,
      rgba(17, 8, 70, 0.911) 100%
    ),
    url("https://www.muycomputer.com/wp-content/uploads/2021/06/Monterey-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
}
.seccion-inputs {
  width: 10%;
  height: 100%;
  background: linear-gradient(140deg, #17202a 0%, #566573 100%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  /* background: yellow; */
}

.conteiner_canvas {
  width: 90%;
  height: 100%;
  /* background: blue; */
  display: flex;
  justify-content: center;
  align-items: center;
}
#drawing_area {
  background: #fefefe7e;
  backdrop-filter: blur(8px);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

/* Inputs */
.container-input {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fbfcfc;
  gap: 10px;
  padding: 10px;
}
.title-input {
  text-align: center;
  font-size: 10px;
}
.input {
  width: 100%;
  text-align: center;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  padding: 2px;
  border: none;
}
input[type="color"] {
  appearance: auto;
  width: 44px;
  height: 23px;
  background-color: #fff;
  /* cursor: default; */
  border-width: 0px;
  border: inherit;
  border-image: initial;
  padding: 0px;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: none;
}
.input-color {
  width: 100%;
  height: 40px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  cursor: pointer;
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -ms-transition: all 200ms;
  -o-transition: all 200ms;
}
.input-color:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.input-color:focus {
  box-shadow: 0px 0px 13px #e5e7e9;
}

#cleanCanvas {
  background: rgba(0, 0, 0, 0.705);
  color: #e5e7e9;
  padding: 10px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  width: 90%;
  cursor: pointer;
  transition: all 400ms;
  -webkit-transition: all 400ms;
  -moz-transition: all 400ms;
  -ms-transition: all 400ms;
  -o-transition: all 400ms;
}
#cleanCanvas:hover {
  background: rgba(0, 0, 0, 0.37);
}
#cleanCanvas:focus {
  box-shadow: 0px 0px 7px #e5e7e9;
}

/* responsive */
@media (max-width: 789px) {
  .box-paint {
    flex-direction: column;
    /* background-color: yellow; */
    height: 100vh;
  }
  .seccion-inputs {
    /* background: green; */
    width: 100%;
    flex-direction: row;
    height: 70px;
    justify-content: center;
    align-items: center;
  }
  .container-input {
    width: auto;
    height: 100%;
  }
  .input-color {
    width: 50px;
    height: 50px;
  }
  .conteiner_canvas {
    width: 100%;
    height: 100%;
    /* background: blue; */
    align-items: flex-start;
    margin-top: 40px;
  }
  .seccion-inputs {
    padding-right: 10px;
    padding-left: 10px;
  }
}
