@font-face {
font-family: "Nexa";
src: 
url("font/NexaBold.otf") format("opentype"),
url("font/NexaLight.otf") format("opentype");
}

body {
font-family: 'Nexa', Arial, sans-serif;
font-family: 'Montserrat', sans-serif;
font-weight:normal;
font-style:300;
margin:0;
padding: 0;
}
h1,h2,h3, strong{
	font-family: 'Montserrat', sans-serif;
	font-weight: bold;
}
h1{
	font-size: 50px;
	text-transform: uppercase;
	margin: 0;
}
h2{
	font-size: 30px;
	margin-bottom: 50px;
}
h4 {
    font-weight: 300;
    font-size: 30px;
}
span{
	font-weight: 300;
}
p{
	font-size: 20px;
}
main{
	display: flex;
}

section{
	flex: 1 1 40%;
	height: 100vh;
}
aside{
	flex: 1 1 60%;
	background: #000;
	height: 100vh;
	color: #fff;
}
.box{
	padding: 40px;
    position: relative;
    top: 20%;
}
.box-2{
	background: url(../img/w.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: cover;
    background-position: center center;
}
.bg{
	background: #fffffed6;
    height: 100vh;
    color: #000;
}

/**
** form
**/



.frm {
  box-sizing: border-box;
  width: 80%;
  margin: 10px auto 0;
  padding-bottom: 40px;
  border-radius: 3px;
}



input {
  margin: 40px 0; 
  display: block;
  border: none;
  width: 100%;
  padding: 10px 0;
  border-bottom: solid 1px #ddd;
  -webkit-transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 96%, #ffa900 4%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #ffa900 4%);
  background-position: -1000px 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #0e6252;
  outline: none;
}

label {
  margin: 40px 0; 
  position: absolute;
  margin-top: -68px;
  pointer-events: none;
  color: #ababab;
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
width: 80%;
}

input:focus{
  box-shadow: none;
  outline: none;
  background-position: 0 0;
  border-bottom: none;
}

input:focus + label, input:valid + label {
  color: #ffa900;
  -webkit-transform: translateY(-25px);
  transform: translateY(-25px);
  visibility: visible;
  font-size: 15px;
  font-weight: 700;
 font-family: 'Montserrat', sans-serif;

}

.error{
    font-size:16px;
    color:#880808;
}

/* MAD-RIPPLE EFFECT */
.ripple{
  position: absolute;
  top:0; left:0; bottom:0; right:0;
  overflow: hidden;
  -webkit-transform: translateZ(0); /* to contain zoomed ripple */
  transform: translateZ(0);
  border-radius: inherit; /* inherit from parent (rounded buttons etc) */
  pointer-events: none; /* allow user interaction */
          animation: ripple-shadow 0.4s forwards;
  -webkit-animation: ripple-shadow 0.4s forwards;
}
.rippleWave{
  backface-visibility: hidden;
  position: absolute;
  border-radius: 50%;
  transform: scale(0.7); -webkit-transform: scale(0.7);
  background: rgba(255,255,255, 1);
  opacity: 0.45;
          animation: ripple 2s forwards;
  -webkit-animation: ripple 2s forwards;
}
@keyframes ripple-shadow {
  0%   {box-shadow: 0 0 0 rgba(0,0,0,0.0);}
  20%  {box-shadow: 0 4px 16px rgba(0,0,0,0.3);}
  100% {box-shadow: 0 0 0 rgba(0,0,0,0.0);}
}
@-webkit-keyframes ripple-shadow {
  0%   {box-shadow: 0 0 0 rgba(0,0,0,0.0);}
  20%  {box-shadow: 0 4px 16px rgba(0,0,0,0.3);}
  100% {box-shadow: 0 0 0 rgba(0,0,0,0.0);}
}
@keyframes ripple {
  to {transform: scale(24); opacity:0;}
}
@-webkit-keyframes ripple {
  to {-webkit-transform: scale(24); opacity:0;}
}




/* MAD-BUTTONS (demo) */
[class*=mad-button-]{
  display:inline-block;
  text-align:center;
  position: relative;
  margin: 0;
  white-space: nowrap;
  vertical-align: middle;
  font-family: 'Montserrat', sans-serif
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border: 0; outline: 0;
  background: none;
  transition: 0.3s;
  cursor: pointer;
  color: rgba(0,0,0, 0.82);
}
[class*=mad-button-] i.material-icons{
  vertical-align:middle;
  padding:0;
}
.mad-button-raised{
  padding: 5px 25px;
  line-height: 36px;
  border-radius: 2px;
  box-shadow: /*amb*/ 0 0   2px rgba(0,0,0,0.15),
              /*key*/ 0 1px 3px rgba(0,0,0,0.25);
}.mad-button-raised:hover{
  box-shadow: /*amb*/ 0 0   2px rgba(0,0,0,0.13),
              /*key*/ 0 2px 4px rgba(0,0,0,0.2);
}

/* MAD-COLORS */
.bg-primary-darker{background:#1976D2; color:#fff;}
.bg-primary{ background:#2196F3; color:#fff; }
.bg-primary.lighter{ background: #BBDEFB; color: rgba(0,0,0,0.82);}
.bg-accented{ background:#ffa900; color:#fff; }

.tab-display{
	display: none;
}
/***
**
**/
@media only screen and (max-width: 1350px){
h1{
	font-size: 45px;
}
h4 {
    font-size: 25px;
}
}
@media only screen and (max-width: 1250px){

	section{
	flex: 1 1 50%;
}
aside{
	flex: 1 1 50%;
}
}
@media only screen and (max-width: 992px){
	aside{display: none;
}
.tab-display{
	display: block;
}
h1{
	font-size: 38px;
}
}

@media only screen and (max-width: 768px){
.box {
    padding: 10px;
}
h1 {
    font-size: 35px;
}
h2 {
    font-size: 25px;
}
}