

@font-face {
    font-family: "myFirstFont";
    src: url(../fonts/Brandon_reg.otf);

}

.nav-modal {
  font-family: "myFirstFont";
  text-transform: capitalize;
}
.nav-modal {
  position: fixed;top: 0;
    padding-bottom: 50px;
  left: 0;
  background-color: #fff;
  z-index: 1000;
  width: 100%;
  height: 100%;
  color: #333;
  font-size: 1.73em;
  overflow-x: hidden;
  font-size: 18px;
  text-transform: normal;
  font-weight: normal;
  display: none;
  transform: scale(.7,.7);
  transition: all .3s ease;
}
/*Footer*/

.nav-modal footer {
    text-align: center;
    height: 35px;
    line-height: 30px;
}


/*Floating Form*/
.nav-modal input:focus ~ label, .nav-modal textarea:focus ~ label, nav-modal input:valid ~ label, .nav-modaltextarea:valid ~ label {
 font-size: 0.75em;
 color: #ff4c2e;
 top: -2.25rem;
 -webkit-transition: all 0.125s ease;
 transition: all 0.125s ease;
}

.nav-modal .styled-input {
  float: left;
  width: 100%;
  position: relative;
}
#fon2 {
   font-size: 1.73em;
}

.nav-modal .styled-input label {
  color: #999;
  padding: 1rem;
  position: absolute;
  left: 0;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  pointer-events: none;
  font-family: myFirstfont!important;
  text-transform: uppercase!important;
  letter-spacing: 5px!important;
  font-size: 13px!important;
  line-height: 130%;
  position: absolute;
  top: 0;
}

.nav-modal input,
.nav-modal textarea {
  padding: 1rem 1rem;
  border: none;
  border-bottom: 1px solid #b1b1b1;
  width: 100%;
  font-size: 1rem;
}

.nav-modal input ~ span,
.nav-modal textarea ~ span {
  display: block;
  width: 0;
  height: 3px;
  background: #ec1d25;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transition: all 0.125s ease;
  transition: all 0.125s ease;
}

.nav-modal input:focus,
.nav-modal textarea:focus { outline: 0; }

.nav-modal input:focus ~ span,
.nav-modal textarea:focus ~ span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
}

.nav-modal textarea {
  width: 100%;
  min-height: 15em;
}

/*Contact*/
.nav-modal .contacts{
    margin-bottom: 2%;
}
.nav-modal .contacts h1{
    font-size: 5em;
}
.nav-modal .contacts form .col-md-6,.contacts form .col-md-12{
    margin-top: 2%;
}

.nav-modal .contacts-question{
    /*background: #f2f2f2;*/
    /*padding: 5% 0;*/
}
.nav-modal #ques{
    font-size: 1.73em;
    margin-top: 60px;
}
.contacts-question h3{
    font-size: 1.65em;
}
 button,button {
    border: none;
    background-color: #ec1d25;
    width: 200px;
    height: 60px;
    color: #fff;
    transition: all 500ms ease;
    margin-top: 60px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
button:hover,button:hover{
    background-color: #000;
}
#contact_form{
   margin-top: 60px;
}
#contact_details{
    margin-top: 60px;
    border-left: 1px solid black;
}
.address{
    margin-top: 15px;
}

#fill_form{
 margin-top: 72px;;
}


/*.nav-modal { font-size: 1.73em;
    margin-top: 60px;
}*/
.nav-modal #scndform{
    margin-top: 5px;
}
.nav-modal .company_name{
    font-size: 25px;
    text-transform: uppercase;
}
h1.company-title {
  color: #000;
  text-align: center;
  text-transform: uppercase;
}
.nav-modal #phone{
    font-size: 1.73em;
    color: #ec1d25;
    padding-top: 25px;
}
    .nav-modal .styled-input{
        /* margin-top: 12px; */
    }
@media screen and (max-width: 996px) and (min-width: 300px) {

    .nav-modal .styled-input{
        margin-top: 17px;
    }
    .nav-modal #fon2 {
    font-size: 21px;
}
.nav-modal .contacts h1 {
    font-size: 3em;
}
.nav-modal #ques {
    font-size: 21px;
}
.nav-modal #contact_details {
    margin-top: 20px;
    border-left: none;
}
.nav-modal button {

     margin-bottom: -4px;
}
.nav-modal .address {
     margin-top: 10px;
}
.nav-modal #contact_form {
     margin-top: 10px;
}
.nav-modal #fill_form {
     margin-top: 10px;
}
.nav-modal .contacts-question {
    margin-top: 10px;
}
.nav-modal #company_name {
    font-size: 1.27em;
}
.nav-modal #phone {
    font-size: 1.3em;
    color: #ff4c2e;
}


}
.show {
  display: block;
  transform: scale(1, 1);
  transition: all .3s ease;
}
.nav-modal .styled-input label {
}
.nav-modal input:focus ~ label,
 .nav-modal textarea:focus ~ label,
 nav-modal input:valid ~ label,
  .nav-modaltextarea:valid ~ label   {
    top: 0px;
  }

