.dihola {
  overflow: hidden;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

#drawingCanvas {
  cursor: url("../img/lapiz.png"), crosshair;
}

.dihola #drawing-container {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dihola #drawing-container canvas {
  width: 100vw;
  overflow: hidden;
}

#clearCanvas {
  position: absolute;
  right: 50%;
  top: 160px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
}
#initDrawing {
	display: none;
}

.dihola .dihola--positions {
  background: white;
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../img/grid.svg") no-repeat center center;
  background-size: cover;
  order: 2;
}

.dihola .dihola--positions p {
  margin: 0px;
}

.dihola--positions .wpcf7 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dihola .dihola--positions form > center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100px;
}

.dihola .dihola--positions span {
  font-family: var(--font-secondary);
  color: var(--primary);
  opacity: 0.3;
  text-align: center;
  font-size: 120px;
  line-height: 90px;
  width: 100%;
  max-width: 900px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.dihola center p {
  margin: 0px;
}

.dihola .wpcf7-submit {
  border-radius: 100px;
  display: flex;
  align-items: center;
  height: 58px;
  background: var(--primary);
  color: white;
  padding: 0 34px;
  font-size: 1.125rem;
  line-height: 1.125rem;
  cursor: pointer;
  gap: 14px;
  transition: all 0.3s;
  border: none;
  font-size: 16px;
}
.dihola .wpcf7-submit:hover {
  font-weight: 700;
  background: var(--secondary);
}
.dihola .wpcf7-response-output {
  border: none !important;
  text-align: center !important;
  color: var(--font-primary) !important;
  font-family: var(--font-secondary) !important;
  margin: 0 auto 20px !important;
  padding: 0px !important;
  font-size: 32px !important;
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
}

.dihola--contacto {
  display: flex;
  background: white;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  padding-top: 50px;
}
.dihola--contacto .box {
  display: flex;
  background: white;
  max-width: 800px;
  align-content: center;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.dihola--contacto .box h2 {
  font-size: 2.5rem;
  line-height: 2.625rem;
  color: var(--primary);
  margin: 0 0 20px 0;
}
.dihola--contacto .box > p {
  font-size: 1.25rem;
  line-height: 1.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}
.dihola--contacto form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dihola--contacto form p {
  margin: 0px;
}
.dihola--contacto form .mensaje {
  grid-column: span 2;
}
.dihola--contacto form .mensaje + p,
.dihola--contacto form .mensaje + p + p {
  grid-column: span 2;
  justify-self: center;
}
.dihola--contacto form input[type="text"],
.dihola--contacto form input[type="email"],
.dihola--contacto form input[type="tel"],
.dihola--contacto form textarea {
  width: 100%;
  border: 1px solid var(--primary);
  border-radius: 10px;
  font-size: 1.25rem;
  line-height: 1.5rem;
  padding: 10px 24px;
  box-sizing: border-box;
  color: var(--primary);
  font-family: var(--font-primary);
}
.dihola--contacto form textarea {
  height: 150px;
}
.dihola--contacto form input[type="text"]::placeholder,
.dihola--contacto form input[type="email"]::placeholder,
.dihola--contacto form input[type="tel"]::placeholder,
.dihola--contacto form textarea::placeholder {
  color: var(--primary);
  opacity: 0.5;
}
.dihola--contacto form input[type="text"]:focus,
.dihola--contacto form input[type="email"]:focus,
.dihola--contacto form input[type="tel"]:focus,
.dihola--contacto form textarea:focus {
  outline-color: var(--primary) !important;
}

@media (max-width: 1200px) {
  .dihola--contacto .box {
    padding: 0 30px;
  }
  .dihola .dihola--positions {
    height: calc(100svh - 120px - 51px);
    padding-bottom: 51px;
  }
  .dihola .dihola--positions span {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  .dihola--positions .wpcf7 {
    height: 60svh;
  }
  .dihola #drawing-container {
    height: 60svh;
    top: 60px;
  }
  #clearCanvas {
    top: -0px;
    right: 0px;
  }
  #initDrawing {
    position: absolute;
    top: 0px;
    left: 30px;
    display: flex;
    width: 232px;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    z-index: 10;
  }
  #initDrawing img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .dihola .dihola--positions form > center {
    bottom: 50px;
  }
  .dihola--contacto {
    padding-top: 120px;
    padding-bottom: 70px;
    height: 100% !important;
  }
  .dihola .dihola--positions {
    height: calc(100svh - 100px - 51px);
  }
}

@media (max-width: 480px) {
  .dihola--contacto .box > p {
    font-size: 1rem;
    line-height: 1.25rem;
    margin-bottom: 24px;
  }
  .dihola--contacto form {
    gap: 16px;
  }
  .dihola--contacto form > p {
    grid-column: span 2;
  }
  #initDrawing {
    left: 20px;
  }
}
@media (max-width: 320px) {
  #initDrawing {
    gap: 0px;
    font-size: 0.8rem;
    width: calc(100% - 54px);
  }
  #clearCanvas {
    top: 80px;
    right: 50%;
    transform: translateX(50%);
  }
}

