@font-face {
  font-family: "HB Lossy";
  src: url('fonts/HB-Lossy-Web-Regular-Base-v1.0.woff2') format('woff2'),
       url('fonts/HB-Lossy-Web-Regular-Base-v1.0.woff') format('woff');
}
@font-face {
  font-family: "HB Lossy Underline";
  src: url('fonts/HB-Lossy-Web-Regular-Underline-Base-v1.0.woff2') format('woff2'),
       url('fonts/HB-Lossy-Web-Regular-Underline-Base-v1.0.woff') format('woff');
}

/* defaults */
* {
  box-sizing: border-box;
}
body {
  color: #f1f1f1;
  background-color: #3000cd;
  margin: 1rem 1.5rem 4rem 1.5rem;
  text-align: center;
}
.white {
    background-color: #f1f1f1;
}

main {
  max-width: 1025px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
    main {
    max-width: 360px;
	}
}
/* typography */

.t-md {
  font-family: "HB Lossy";
  font-size: 2.625rem;
  line-height: 1.1;
}
@media screen and (max-width: 640px) {
  .t-md {
    font-size: 2.1rem;
    font-weight: normal;
  }
}
@media screen and (max-width: 375px) {
  .t-md {
    font-size: 1.85rem;
    font-weight: normal;
  }
}

.t-md a {
  font-family: "HB Lossy Underline";
  text-decoration: none;
  color: #f1f1f1;
}
.t-md a:hover {
  color: #ff0000;
}

/* layout */

.t-left {
  text-align: left;
}
h1, p:not(:last-of-type), ul {
  margin-bottom: 1em;
}
.content {
	width:100%;
}
.left
{
	width:25%;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	text-align: left;
	float: left;
}
.right
{
	width:75%;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	text-align: right;
	float: right;
}

#wrapper {
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    position: absolute;
    height: 170px;
	width: 100%;
	vertical-align: middle;
	text-align: center;
	z-index:100;
}
@media screen and (max-width: 640px) {
	#wrapper {
    height: 110px;
	}
}

#thankyou {
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    background: #ff0000;
    color: #f1f1f1;
    padding: 20 20 20 20;
	border-radius: 0.7rem;
	text-align: center;
    font-family: "HB Lossy";
    font-size: 2.625rem;
    line-height: 1.11;
    width: 600px;
}
@media screen and (max-width: 640px) {
	#thankyou {
		border-radius: 0.57rem;
		text-align: center;
	    font-size: 2rem;
	    width: 340px;
	}
}

/* form */

textarea:focus, input:focus{
    outline: none;
}
@media screen and (max-width: 640px) {
	textarea:focus, input:focus{
	    outline: none;
	}
}
div.clear foot{
    margin: auto;
	text-align: center;
}
input {
  margin: 0.25em 0;
  border: 3.95px solid #f1f1f1;
  border-radius: 0.7rem;
  color: #f1f1f1;
  background-color: transparent;
  padding: 0.25rem 0.5rem;
  width: 100%;
}

input[type=submit]:hover {
  color: #ff0000;
}

input[type=submit] {
  font-family: "HB Lossy Underline";
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  width: auto;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
	input {
	    border-width: 2.5px;
	    border-radius: 0.57rem;
	}
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 4px solid #f1f1f1;
  background-color: transparent;
  font-weight: normal;
  -webkit-font-size: 2.625rem;
  -webkit-text-fill-color: #f1f1f1;
  -webkit-box-shadow: 0 0 0px 1000px #3000cd inset;
  transition: background-color 5000s ease-in-out 0s;
}

@media screen and (max-width: 640px) {
	input:-webkit-autofill,
	input:-webkit-autofill:hover, 
	input:-webkit-autofill:focus,
	textarea:-webkit-autofill,
	textarea:-webkit-autofill:hover,
	textarea:-webkit-autofill:focus,
	select:-webkit-autofill,
	select:-webkit-autofill:hover,
	select:-webkit-autofill:focus {
	  border: 2.5px solid #f1f1f1;
	  background-color: transparent;
	  font-weight: normal;
	  -webkit-text-fill-color: #f1f1f1;
	  -webkit-box-shadow: 0 0 0px 1000px #3000cd inset;
	  transition: background-color 5000s ease-in-out 0s;
	}
}


