@import url(reset.css);
@import url(font-awesome.min.css);
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto.eot);
    src:
         url(../fonts/Roboto.eot?#iefix) format('embedded-opentype'),
         url(../fonts/Roboto.woff) format('woff'),
         url(../fonts/Roboto.ttf) format('truetype'),
         url(../fonts/Roboto.svg) format('svg');
    font-weight: normal;
    font-style: normal;
}
textarea{
	width: 100%;
	height: 100px;	
	resize: none;
	border: 0;
	outline: none;
	padding-top: 10px;
}

body label {
	margin-bottom: 10px;
	margin-top: 20px;
	color: white; 
	margin-left:0;
	display: inline-block;
	text-align: left;	
	font-weight: 100;
}


.wrap {
	display: block;
	width: 300px;
}

input, textarea{
	padding-left: 10px;
	display: block;	
	// margin: 0 auto !important;
}


/*Стиль кнопки, вызывающее модальное окно*/
.linkButton{
  cursor: pointer;
}
/*Стиль фона заполняющего всю область экрана при открытии модального окна*/

.remodal-overlay{
/*   background: rgba(0, 0, 0, 0.85); */
}

/*Область формы*/
#firstForm {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
}


.formArea {
  width: 75vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 40px 15px 40px 15px;
  text-align: center;
  background: #2c2c2c;
  font: 16px 'Roboto', sans-serif;
}

.formArea a {
  align-self: flex-start;
}

.form-fieldset {
  display: flex;
  flex-direction: column;
}

.remodal-close {
  top: 15%;
  right: 35%;
}



.ui-input {
  position: relative;
  padding: 0;
  border: 0;
}
.ui-input input, textarea{
  border: 0;
  background: white;
  padding: 10px;
  font-size: 1.6rem;
  outline: 0;
  width: 100%;
  text-transform: none;

}
.ui-input #about-form{
  height: 45px;
}

#username,
#email,
#about-form {
  background: transparent;
  border-bottom: 1px solid #fff;
  color: #fff;
  padding-left: 0;
}

#photo {
  background: #2c2c2c;
  color: #838383;
  display: flex;
  outline: none;
}

.ui-input input + label {
  position: relative;
  display: inline-block;
  padding: 8px 0 8px 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: .0875em;
  font-weight: 500;
  text-align: left;
}
.ui-input input + label::before, .ui-input input + label::after {
/*
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
*/
}
.ui-input input + label::before {
  background-color: rgba(255, 255, 255, 0.2);
}
.ui-input input + label::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
  background-color: #6EB1FF;
  height: 2px;
}
.ui-input input + label span {
  position: relative;
  color: rgba(255, 255, 255, 0.2);
  transition: color 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ui-input input + label span::after {
  content: attr(data-text);
  position: absolute;
  overflow: hidden;
  left: 0;
  transform: scaleX(1);
  white-space: nowrap;
  color: #fff;
  background-image: linear-gradient(to right, #4A90E2 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 100% 50%;
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  backface-visibility: hidden;
  perspective: 1000;
  transform: translateZ(0);
  transition: background-position 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ui-input input:focus + label::after,
.ui-input input.error + label::after,
.ui-input input:invalid + label::after,
.ui-input input.filled + label::after {
  transform: scaleX(1);
  transform-origin: left;
}
.ui-input input:focus + label span::after,
.ui-input input.error + label span::after,
.ui-input input:invalid + label span::after,
.ui-input input.filled + label span::after {
  background-image: linear-gradient(to right, white 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}

.ui-input input.filled {
  color: #b8c2d1;
}
.ui-input input.filled + label::after {
  background-color: #b8c2d1;
}
.ui-input input.filled + label span::after {
  background-image: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}

.ui-input input:focus {
  color: #000;
}
.ui-input input:focus + label::after {
  background-color: #000;
}
.ui-input input:focus + label span::after {
  background-image: linear-gradient(to right, #6EB1FF 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}

.ui-input input.error,
.ui-input input:invalid {
  color: #E66161;
}
.ui-input input.error + label::after,
.ui-input input:invalid + label::after {
  background-color: #E66161;
}
.ui-input input.error + label span::after,
.ui-input input:invalid + label span::after {
  background-image: linear-gradient(to right, #E66161 50%, rgba(255, 255, 255, 0) 0%);
  background-position: 0% 50%;
}
.form-footer{
  margin-top: 30px;
}
.formBtn {
  border: 2px solid #fae35d;
  cursor: pointer;
  background-color: transparent;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 1.7rem;
  line-height: 1.76;
  padding: 8px 75px;
  text-transform: uppercase;
  letter-spacing: .0875em;
  font-weight: 500;
  border-radius: 0;
  outline: 0;
}
.formBtn:hover {
  transition: .2s;
  zoom:1.005;
  cursor: pointer;
}

.formCreator{
  text-align: center;
  margin-top: 10px;
}
.formCreator a{
  font-size: .8rem;
  color: #4e596a;
  text-decoration: none;
}

.btn:focus, .btn:active,
.btn:hover {
  background-color: #000;
  color: white;
}

.__first, .__second, .__third, .__fourth {
  animation-name: fadeIn;
  animation-duration: 180ms;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

.__first {	
  animation-delay: 200ms;
}

.__second {
  animation-delay: 350ms;
}

.__third {
  animation-delay: 500ms;
}

.__fourth {
  animation-delay: 650ms;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, -25%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}



	
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {}
/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {}
/* Extra Small Devices, Phones */
@media only screen and (max-width : 486px) {}
