/*------VARIABLES-----*/
:root {
	--line_hover_color: #707932;
	--line_normal_color: rgba(0, 0, 0, 0.2);
	--shadow: rgba(0, 0, 0, 0.4);
	--slide-in-top-timing: cubic-bezier(0.160, 1.000, 0.300, 1.000);
	--slide-in-bottom-delay: 1.25s;
	--slide-in-bottom-dur: .75s;
	--slide-in-bottom-timing: cubic-bezier(0.160, 1.000, 0.300, 1.000);
	--scale-in-hor-center-delay: 1.75s;
	--scale-in-hor-center-dur: .5s;
}
/*---How to use :root variables---->  var(--line_hover_color) #0072ff, var(--line_normal_color)  */

@font-face {
  font-family: "KaushanScript-Regular";
  src: url("../fonts/KaushanScript-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/KaushanScript-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/KaushanScript-Regular.otf") format("opentype"), /* Open Type Font */
    url("../fonts/KaushanScript-Regular.svg") format("svg"), /* Legacy iOS */
    url("../fonts/KaushanScript-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/KaushanScript-Regular.woff") format("woff"), /* Modern Browsers */
    url("../fonts/KaushanScript-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Anton-Regular";
  src: url("../fonts/Anton-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/Anton-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/Anton-Regular.otf") format("opentype"), /* Open Type Font */
    url("../fonts/Anton-Regular.svg") format("svg"), /* Legacy iOS */
    url("../fonts/Anton-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/Anton-Regular.woff") format("woff"), /* Modern Browsers */
    url("../fonts/Anton-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SpecialElite-Regular";
  src: url("../fonts/SpecialElite-Regular.eot"); /* IE9 Compat Modes */
  src: url("../fonts/SpecialElite-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("../fonts/SpecialElite-Regular.otf") format("opentype"), /* Open Type Font */
    url("../fonts/SpecialElite-Regular.svg") format("svg"), /* Legacy iOS */
    url("../fonts/SpecialElite-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("../fonts/SpecialElite-Regular.woff") format("woff"), /* Modern Browsers */
    url("../fonts/SpecialElite-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Regular";
  src: url("./fonts/Roboto-Regular.eot"); /* IE9 Compat Modes */
  src: url("./fonts/Roboto-Regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/Roboto-Regular.otf") format("opentype"), /* Open Type Font */
    url("./fonts/Roboto-Regular.svg") format("svg"), /* Legacy iOS */
    url("./fonts/Roboto-Regular.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/Roboto-Regular.woff") format("woff"), /* Modern Browsers */
    url("./fonts/Roboto-Regular.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}

body {
  /*background-color: #B5B5B5;*/
}

.form_outer {
	background-color: #3a4115;
	background-image: url("../img/form_background1_new.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	/*width: 400px;*/
	width: 1160px;
	margin: auto;
	padding: 0px;
	outline: solid 2px rgba(255,255,255,0.2);
	outline-offset: -2px;
	/*border: solid 2px var(--line_hover_color);*/
	/*border-style: hidden;
	border-color: #B5B5B5;*/
	border-radius: 0px;
	overflow: hidden;
	-webkit-box-shadow: 3px 3px 15px 0px var(--shadow);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	-moz-box-shadow:    3px 3px 15px 0px var(--shadow);  /* Firefox 3.5 - 3.6 */
	box-shadow:         3px 3px 15px 0px var(--shadow);
}

.form_header {
	/*width: 100%;
	height: 100px;
	padding-top: 10px;
	/*background-color: #B5B5B5;*/
	/*margin-bottom: 25px;
	display: flex;*/
	
	margin: auto auto;
    display: block;
    width: auto;
    justify-content: space-evenly;
	height: 100px;
}

.form_header_text {
	margin: auto;
	color: #FFFFFF;
	font-family: 'KaushanScript-Regular', cursive;
	font-size: 4em;
	letter-spacing: -0.04em;
	text-shadow: 0 0 25px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.8);
}

#rotate2 {
	position: absolute;
	margin-top: 80px;
	color: #FFFFFF;
	font-family: 'Roboto-Regular', sans-serif;
	font-size: .6em;
	text-shadow: 0 0 25px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.8);
}

#rotate {
	position: absolute;
	margin: auto;
	color: #FFFFFF;
	font-family: 'KaushanScript-Regular', cursive;
	font-size: 3.5em;
	letter-spacing: -0.04em;
	text-shadow: 0 0 25px rgba(0,0,0,0.8), 0 0 5px rgba(0,0,0,0.8);
}

.nametag:nth-child(1){
  animation-name: fade;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 5s;
  animation-direction: normal;  
}

.nametag:nth-child(2){
  animation-name: fade;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 5s;
  animation-direction: normal;
	animation-delay: 5s;
}

@keyframes fade{
    0% {
      opacity: 0;
}
	50% {
		opacity: 1;
	}
    100%{
      opacity: 0;
  }
}

.form_footer {
	width: 100%;
	height: 20px;
}

.contact_form {
	text-align: left;
	/*width: 350px;*/
	/*width: 100%;*/
	margin: 0px 20px 0px 20px;
	padding: 15px 10px 15px 10px;
	background-color: #FFFFFF;
	opacity: 0.95;
	border-radius: 10px;
	overflow: hidden;
}

input,
textarea {
	/*display: block;*/
	width: 100%;
	border: 0;
	padding: 10px 0px;
	background: white no-repeat;
	resize: vertical;	
	font-family: 'Roboto-Regular', sans-serif;
	font-size: 1em;
	/*
	* IMPORTANT PART HERE
	*/
	
  /* 2 imgs : 1px gray line (normal state) AND 2px green line (focus state) */
	background-image: linear-gradient(to bottom, var(--line_hover_color), var(--line_hover_color)), linear-gradient(to bottom, rgba(0, 100, 100, 0.2), rgba(0, 100, 100, 0.2));
	/* sizes for the 2 images (default state) */
	background-size: 0 2px, 100% 2px;
	/* positions for the 2 images. Change both "50%" to "0%" or "100%" and tri again */
	/* line runs from center outward*/
	/*background-position: 50% 100%, 50% 100%;
	/* line runs from left to right*/
	background-position: 0% 100%, 0% 100%;
	/* line runs from right to left*/
	/*background-position: 100% 100%, 100% 100%;

	/* animation solely on background-size */
  transition: background-size 0.8s cubic-bezier(0.250, 1.000, 0.500, 1.000);

}

input {
	margin-bottom: 40px;	
}

textarea {
	/*padding-bottom: 25px;*/
	box-sizing: border-box;
	resize: none;
	overflow-y: scroll;
}

input:focus,
textarea:focus{
  /* sizes for the 2 images (focus state) */
	background-size: 100% 2px, 100% 2px;
	outline: none;
}

/*---------------Added-----------*/

label {
	position: relative;
}
span {
	position: absolute;
	transition: all 600ms;
	color: var(--line_normal_color);
	top: 0px;
	left: 0px;
	padding: 0px;
	font-family: 'Roboto-Regular', sans-serif;
	font-size: 16px;
	transform-origin: top left;
}

input:not(:placeholder-shown) + span {
	transform: translateY(32px) scale(.85);
	/*transform: translateX(0px) translateY(29px) scale(.85);*/
	color: var(--line_hover_color);
}

textarea::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--line_normal_color);
  opacity: 1; /* Firefox */
}

textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--line_normal_color);
}

textarea::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--line_normal_color);
}

/*------------Added from original form--------*/

#mail-status {
	/*padding: 12px 20px;*/
	margin-top: 5px;
	width: auto;
	height: 70px;
	display: none;
	font-family: 'Roboto-Regular', sans-serif;
	font-size: 1em;
	color: rgb(40, 40, 40);
	background-color: #b3c06d;
	padding: 10px;
}

#back_to_form {
	/*display: none; */
}

.form_buttons {
	width: 250px;
  	margin: 0 auto;
}

.btn-form {
	position: relative;
	display: inline-block;
	width: 250px;
	height: 30px;
	margin: 10px 0px 0px 0px;
	/*margin: auto;*/
	font-family: 'Roboto-Regular', sans-serif;
	font-weight: normal;
	text-align: center;
	font-size: 16px;
	line-height: 90%;
	/*text-shadow: 0 0 10px black, 0 0 25px black, 0 0 5px black;*/
	vertical-align: middle;
	color: #fff;
  	background-color: var(--line_normal_color);
	border: solid 2px rgba(255, 255, 255, 0.3);
	touch-action: manipulation;
	cursor: pointer;
	/*border: 1px solid transparent;*/
	white-space: nowrap;	
	border-radius: 0px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all 1.0s ease;
}
.btn-form:focus,
.btn-form:active:focus,
.btn-form.active:focus,
.btn-form.focus,
.btn-form:active.focus,
.btn-form.active.focus {
  /*outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;*/
}
.btn-form:hover {
	color: var(--line_hover_color);
	background: #FFF;
}
.btn-form:focus,
.btn-form.focus {
}
.btn-form:before{
	position: absolute;
	content: '';
	height: 0;
	width: 0;
	border: 2px solid transparent;
	bottom: -2px;
	left: -2px;
	border-radius: 0px;
	box-sizing: border-box;
	border-right: none;
	border-bottom: none;
	transition: border-color 0.25s linear 0.58s,
				width 0.58s linear,
				height 0.25s linear 0.58s;
}
.btn-form:after{
	position: absolute;
	content: '';
	height: 0;
	width: 0;
	border: 2px solid transparent;
	top: -2px;
	right: -2px;
	border-radius: 0px;
	box-sizing: border-box;
	border-left: none;
	border-top: none;
	transition: border-color 0.25s linear 0.58s,
				width 0.58s linear,
				height 0.25s linear 0.58s;
}
.btn-form:hover:before{
	width: 250px;
	height: 30px;
	border: 2px solid var(--line_hover_color);
	border-right: none;
	border-bottom: none;
	transition: border-color 0.25s linear,
				height 0.25s linear,
				width 0.58s linear 0.25s;
}
.btn-form:hover:after{
	width: 250px;
	height: 30px;
	border: 2px solid var(--line_hover_color);
	border-left: none;
	border-top: none;
	transition: border-color 0.25s linear,
				height 0.25s linear,
				width 0.58s linear 0.25s;
}

/*START NAVIGATION FOR TABLET SCREENS -----------------------------*/

@media only screen and (max-width : 1236px) {
	
.form_outer {
	background-image: url("../img/form_background2_new.jpg");
	width: 754px;
}
}

/*END NAVIGATION FOR TABLET SCREENS -------------------------------*/

/*START NAVIGATION FOR MOBILE SCREENS -----------------------------*/

@media only screen and (max-width : 830px) {
	
.form_outer {
	background-image: url("../img/form_background2_new.jpg");
	width: 310px;
}
input,
textarea {
	font-size: .85em;
}
span {
	font-size: .85em;
}
}

/*END NAVIGATION FOR MOBILE SCREENS -------------------------------*/