/*
Theme Name: WildRestaurant
Description: This is a custom child theme for Salient
Theme URI: wildrestaurant.co.uk
Author: artspaceUK
Template: salient
Version: 1.0
*/



/* Animation */
.typewriter-animation {
  animation: 
    typewriter 5s steps(50) 1s 1 normal both, 
    blinkingCursor 500ms steps(50) infinite normal;
}
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blinkingCursor{
  from { border-right-color: rgba(255,255,255,.75); }
  to { border-right-color: transparent; }
}


@keyframes fade-in {
  from {
    opacity: 0;
    transform: translate(0.2em, 3em) rotate(2deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}
h1.wildfade {
  opacity: 0;
  display: inline-block;
  animation-name: fade-in;
  animation-duration: 1.7s;
  animation-delay: 0.2s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: forwards;
}
h1.wildfade:last-child {
  animation-delay: 2.4s;
}


.wpcf7 label{
    text-align:left!important;
}
.wpcf7 input[type=text], .wpcf7 input[type=email]{
    border-color: rgba(255, 255, 255, .2)!important;
}
.wpcf7 input[type=text]:focus, .wpcf7 input[type=email]:focus{
    border-color: rgba(255, 255, 255, 1)!important;
}
.wpcf7 input[type=submit]{
    font-size: 16px;
    padding: 20px!important;
}
.nectar-button.large, body[data-form-submit="regular"] input[type=submit]{
    font-size: 16px;
    padding: 20px!important;
}
body[data-form-submit=regular] .container-wrap button[type=submit], body[data-form-submit=regular] .container-wrap input[type=submit] {
    padding: 20px !important;
}
.wpcf7-form p span.wpcf7-spinner {
    position: absolute;
}

@media only screen and (max-width: 600px) {
    body[data-form-submit="regular"] input[type=submit]{
        font-size: 16px;
    }
    body h1{
        font-size: 40px;
        line-height: 50px;
    }
    body[data-form-submit=regular] .container-wrap input[type=submit] {
    margin: 0 0 0 -5% !important;
}
}

