/* main-contact */

#main-contact {
    height: 900px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-img{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.contact-table {
    background: rgba(250,250,250,0.8);
    width: 90%;
    height: auto;
    position: absolute;
}
@media (max-width:423px){
    .contact-top{
      height:10px !important;
    }
 } 
.contact-form input,
.contact-form textarea {
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
    transition: color .3s, border .3s, background .3s, opacity .3s;
    background: #fff;
    padding-left:10px;
}

#errname,
#errmail1,
#errmail2 {
    color: red;
    font-size: 13px;
}

#errname,
#errmail1,
#errmail2 {
    display: none;
}

.contact-form input:hover {
    border: 1px solid #ddd;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%)
}

#name,
#email,
#title {
    width: 100%;
    height:2.3em;
}

#content {
    width: 80%;
    height: 100px;
}

.contact-text {
    text-align: center;
}
.contact-text p,
.contact-text h3{
  background:none !important;
}
.contact-text h3{
  width:100% !important;
}
.contact-top {
    height: 100px;
}

.contact-bottom {
    height: 100px;
}



/*animation orderSuccess*/

.background-succ {
  background-color: #000000;
  color: #fff;
  top: 0;
  left: 0;
  width: 400px;
  z-index: 1000;
  border-radius: 5px;
  height: 215px;
  position: absolute;
  display: none;
  justify-content: ;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background-succ .content {
  padding-top: 50px;
  position: relative;
  text-align: center;
}

.background-succ .content img {
  width: 60px;
  height: 60px;
}

.background-succ .content p {
  display: block;
  font-size: 18px;
  margin-top: 1rem;
  font-weight: 500;
  color: #fff;
}


.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: green;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: green;
  stroke-miterlimit: 10;
  margin: 0px auto;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #fff;
  }
}
