@font-face {
  font-family: Maiandra;
  src: url(../font/maiandra.ttf);
  font-display: swap;
}
html,
body {
  font-family: Maiandra;
  height: 100%;
  margin: 0;
  min-height: 100%;
  min-width: 420px;
  padding: 0;
}
.page-container {
  margin: 0 auto;
  max-width: 1000px;
  position: relative;
}
h1 {
  background-color: #000;
  background-image: url(../img/checkers.png);
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: auto 45px;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  color: white;
  font-size: 56px;
  line-height: 80px;
  height: 145px;
  margin: 0;
  padding: 20px 0 0;
  text-align: center;
  width: 100%;
}
h1 span {
  color: #d3570d;
}
h1 .bottom {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
h1 div {
  background-image: url('../img/josie.png');
  background-position: right center;
  background-repeat: no-repeat;
  display: inline-block;
  margin: 0 5%;
  max-width: 700px;
  position: relative;
  text-align: left;
  width: 90%;
  z-index: 101;
}
.text,
.image {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: 500px;
}
.text {
  float: left;
  padding: 90px 0;
  width: 50%;
}
.text h2 {
  font-size: 28px;
}
.text p {
  margin: 20px 0;
}
.text .button {
  margin-top: 10px;
}
.image {
  background-image: url(../img/dog.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  float: left;
  width: 45%;
}
.button {
  border: solid 3px #d3570d;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #d3570d;
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  height: 45px;
  line-height: 40px;
  overflow: hidden;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.button > div {
  position: relative;
}
.button::before {
  background-color: #da7a2d;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: rotateZ(-45deg) translate(-50%, -50%);
          transform: rotateZ(-45deg) translate(-50%, -50%);
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  width: 25%;
  z-index: 0;
}
.button:hover {
  color: #fff;
}
.button:hover::before {
  width: 100%;
  top: 0;
  -webkit-transform: none;
          transform: none;
}
.modal {
  background: #fff;
  border: solid 5px #d3570d;
  border-radius: 20px;
  -webkit-box-shadow: 0 0 30px #000000;
          box-shadow: 0 0 30px #000000;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  display: inline-block;
  position: relative;
  top: 155px;
  width: 600px;
}
.modal .close {
  color: #d3570d;
  cursor: pointer;
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 32px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  width: 48px;
}
.modal .close:hover {
  color: #000;
}
.modal h2 {
  font-size: 28px;
  margin: 45px 0 0;
}
.modal h2 span {
  color: #d3570d;
}
.modal form {
  margin: 0 calc((600px - 350px)/2) 45px;
  position: relative;
  width: 350px;
}
.modal #FormCover {
  display: none;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1;
}
.modal #FormCover .cover {
  background: #fff;
  height: 100%;
  opacity: 0.65;
  width: 100%;
}
.modal #FormCover .thanks {
  border: solid 1px #fff;
  display: none;
}
.modal #FormCover .thanks .button {
  margin-top: 25px;
}
.modal #FormCover .loader {
  bottom: 120px;
  color: #d3570d;
  font-size: 40px;
  height: 90px;
  left: 240px;
  position: absolute;
  -webkit-transform: rotate(90deg) translate(-50%, 0%);
          transform: rotate(90deg) translate(-50%, 0%);
}
.modal #FormCover .loader .paw {
  -webkit-animation: 2050ms paws ease-in-out infinite;
          animation: 2050ms paws ease-in-out infinite;
  height: 45px;
  opacity: 0;
  width: 45px;
}
.modal #FormCover .loader .paw svg {
  height: 100%;
  width: 100%;
}
.modal #FormCover .loader .paw .icon {
  fill: currentColor;
}
.modal #FormCover .loader .paw:nth-child(odd) {
  -webkit-transform: rotate(-10deg);
          transform: rotate(-10deg);
}
.modal #FormCover .loader .paw:nth-child(even) {
  -webkit-transform: rotate(10deg) translate(125%, 0);
          transform: rotate(10deg) translate(125%, 0);
}
.modal #FormCover .loader .paw:nth-child(1) {
  -webkit-animation-delay: 1.25s;
          animation-delay: 1.25s;
}
.modal #FormCover .loader .paw:nth-child(2) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.modal #FormCover .loader .paw:nth-child(3) {
  -webkit-animation-delay: 0.75s;
          animation-delay: 0.75s;
}
.modal #FormCover .loader .paw:nth-child(4) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.modal #FormCover .loader .paw:nth-child(5) {
  -webkit-animation-delay: 0.25s;
          animation-delay: 0.25s;
}
.modal #FormCover .loader .paw:nth-child(6) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
@-webkit-keyframes paws {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes paws {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.modal #FormCover .sending {
  background: #fff;
  bottom: 0;
  color: #d3570d;
  font-size: 20px;
  font-weight: bold;
  height: 49px;
  line-height: 42px;
  position: absolute;
  width: 100%;
}
.modal #FormCover.done .cover {
  opacity: 1;
  -webkit-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.modal #FormCover.done .loader,
.modal #FormCover.done .sending {
  opacity: 0;
  -webkit-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.modal label {
  display: block;
  padding-bottom: 30px;
  position: relative;
}
.modal label[for='FormPhone'] {
  display: none;
}
.modal input,
.modal textarea {
  border: solid 3px #6c6c6c;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #333;
  font-family: Maiandra;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  padding: 8px 13px;
  width: 100%;
}
.modal input::-webkit-input-placeholder, .modal textarea::-webkit-input-placeholder {
  color: #999;
  font-weight: normal;
}
.modal input::-moz-placeholder, .modal textarea::-moz-placeholder {
  color: #999;
  font-weight: normal;
}
.modal input:-ms-input-placeholder, .modal textarea:-ms-input-placeholder {
  color: #999;
  font-weight: normal;
}
.modal input::-ms-input-placeholder, .modal textarea::-ms-input-placeholder {
  color: #999;
  font-weight: normal;
}
.modal input::placeholder,
.modal textarea::placeholder {
  color: #999;
  font-weight: normal;
}
.modal input:focus,
.modal textarea:focus,
.modal input:focus-within,
.modal textarea:focus-within,
.modal input:focus-visible,
.modal textarea:focus-visible {
  border-color: #d3570d;
  outline: none;
}
.modal input.error,
.modal textarea.error {
  background: #f8cece;
  border-color: #c70606;
}
.modal textarea {
  height: 100px;
  resize: none;
}
.modal textarea.hide {
  display: none;
}
.modal .button {
  width: 100%;
}
.modal .button::before {
  left: -15px;
}
.modal .button:hover::before {
  left: 0;
}
.modal .message {
  color: #c70606;
  left: 10px;
  position: absolute;
  text-align: left;
}
#ModalContainer {
  display: table;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  -webkit-transform: scale(0);
          transform: scale(0);
  width: 100%;
  z-index: 1;
}
#ModalContainer.open {
  -webkit-transform: scale(1);
          transform: scale(1);
}
#ModalContainer.open .modal-background {
  background: rgba(0, 0, 0, 0);
  -webkit-animation: fadeIn 0.5s forwards;
          animation: fadeIn 0.5s forwards;
}
#ModalContainer.open .modal-background .modal {
  opacity: 0;
  -webkit-animation: scaleUp 0.5s forwards;
          animation: scaleUp 0.5s forwards;
}
#ModalContainer.open.out {
  -webkit-animation: quickScaleDown 0.5s 0.5s linear forwards;
          animation: quickScaleDown 0.5s 0.5s linear forwards;
}
#ModalContainer.open.out .modal-background {
  -webkit-animation: fadeOut 0.5s forwards;
          animation: fadeOut 0.5s forwards;
}
#ModalContainer.open.out .modal-background .modal {
  -webkit-animation: scaleDown 0.5s forwards;
          animation: scaleDown 0.5s forwards;
}
#ModalContainer .modal-background {
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 99;
  display: table-cell;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  vertical-align: middle;
}
@-webkit-keyframes fadeIn {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0.7);
  }
}
@keyframes fadeIn {
  0% {
    background: rgba(0, 0, 0, 0);
  }
  100% {
    background: rgba(0, 0, 0, 0.7);
  }
}
@-webkit-keyframes fadeOut {
  0% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}
@keyframes fadeOut {
  0% {
    background: rgba(0, 0, 0, 0.7);
  }
  100% {
    background: rgba(0, 0, 0, 0);
  }
}
@-webkit-keyframes scaleUp {
  0% {
    -webkit-transform: scale(0.8) translateY(1000px);
            transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1) translateY(0px);
            transform: scale(1) translateY(0px);
    opacity: 1;
  }
}
@keyframes scaleUp {
  0% {
    -webkit-transform: scale(0.8) translateY(1000px);
            transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1) translateY(0px);
            transform: scale(1) translateY(0px);
    opacity: 1;
  }
}
@-webkit-keyframes scaleDown {
  0% {
    -webkit-transform: scale(1) translateY(0px);
            transform: scale(1) translateY(0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.8) translateY(1000px);
            transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
}
@keyframes scaleDown {
  0% {
    -webkit-transform: scale(1) translateY(0px);
            transform: scale(1) translateY(0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.8) translateY(1000px);
            transform: scale(0.8) translateY(1000px);
    opacity: 0;
  }
}
@-webkit-keyframes scaleBack {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
}
@keyframes scaleBack {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
}
@-webkit-keyframes scaleForward {
  0% {
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes scaleForward {
  0% {
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@-webkit-keyframes quickScaleDown {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}
@keyframes quickScaleDown {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
}
@media (max-width: 680px) {
  .modal {
    width: 90%;
  }
  .modal form {
    margin: 0 auto 45px;
  }
}
@media (max-width: 620px) {
  h1 {
    font-size: 40px;
    height: 125px;
    line-height: 60px;
  }
  h1 div {
    background-size: auto 70px;
  }
  .image {
    width: 100%;
    height: 280px;
  }
  .text {
    padding: 0;
    margin: 0 10%;
    width: 80%;
  }
}
