.contato {
  background: url('./img/bg/bgContate.png') center top/cover no-repeat;
  background-size: cover;
  /* essa linha cobre todo o conteudo do bg */
  height: 842px;
  align-items: center;
  text-align: center;
}

.contato .br {
  height: 15px;
}

.contato h3 {
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 46px;
  color: white;
  padding-top: 160px;
}

.formulario {
  margin: 42px auto;
  width: 460px;
  height: 520px;
  border: 1px solid;
  border-radius: 32px;
  border-color: white;
  background-color: rgba(14, 39, 60, 1);
}

.div-nome {
  margin: 42px auto 0;
  position: relative;
}

input {
  z-index: 1;
  height: 54px;
  width: 87%;
  border: 1px solid #ffc53a;
  border-radius: 12px;
  background-color: transparent;
  color: white;
  background-color: rgba(14, 39, 60, 1);
}


.label-float {
  position: relative;
  padding-top: 13px;
  color: #ffc53a;
}

.label-float input {
  border: 1px solid rgba(255, 197, 58, 0.8);
  border-radius: 12px;
  outline: none;
  min-width: 250px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
}

.label-float input:focus {
  border: 2px solid #ffc53a;
}

.label-float input::placeholder {
  color: transparent;
}

.label-float label {
  pointer-events: none;
  position: absolute;
  top: calc(50% - 10px);
  left: 40px;
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  background-color: rgba(14, 39, 60, 1);
  border-radius: 12px;
  padding: 2px 12px;
  box-sizing: border-box;

}

.label-float input:focus+label,
.label-float input:not(:placeholder-shown)+label {
  font-size: 13px;
  font-weight: bold;
  top: 0;
  color: #ffc53a;
}

.label-float-msg {
  position: relative;
  padding-top: 13px;
  color: white;
}

.label-float-msg textarea {
  height: 140px;
  border: 1px solid white;
  background-color: white;
  border-radius: 12px;
  outline: none;
  min-width: 250px;
  align-self: start;
  padding: 16px 8px;
  font-size: 14px;
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  color: rgba(14, 39, 60, 1);
  vertical-align: top;
  resize: none;
}

.label-float-msg textarea:focus {
  border: 3px solid #ffc53a;
  background-color: antiquewhite;
}

.label-float-msg textarea::placeholder {
  color: transparent;
}

.label-float-msg label {
  pointer-events: none;
  position: absolute;
  top: calc(50% - 10px);
  left: 40px;
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  background-color: #ffc53a;
  border-radius: 12px;
  padding: 4px 12px;
  box-sizing: border-box;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5), 4px 0px 6px rgba(0, 0, 0, 0.5);
  /* Sombra ao lado direito */
}

.label-float-msg textarea:focus+label,
.label-float-msg textarea:not(:placeholder-shown)+label {
  font-size: 13px;
  font-weight: bold;
  top: 0;
  color: white;
}

.contato button {
  color: white;
  font-weight: 500;
  margin: 20px 0 0 0;
  background-color: #ffc43af5;
  padding: 8px 36px;
  font-size: 24px;
  border: 1px solid antiquewhite;
  border-radius: 12px;
  transition: transform 1s ease, background-color 1s ease;
  width: 200px;
  box-shadow: inset 0px 0px 0px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .5),
    4px 4px 5px 0px rgba(0, 0, 0, .5);
}

.contato button:hover {
  transform: scale(1.05);
}

@media (max-width:550px) {

  .contato h3 {
    font-size: 40px;
  }

  .formulario {
    width: 350px;
  }

  .label-float-msg textarea {
    width: 300px;
  }

  .contato button {
    transform: scale(0.8);
  }
}

@media (max-width:320px) {

  .contato h3 {
    font-size: 32px;
  }

  .formulario {
    width: 300px;
  }

  .label-float-msg textarea {
    width: 260px;
  }
}