@charset "utf-8";
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  font-family: 'Dosis', sans-serif;
}

body{
  background: url('tv.jpg') no-repeat top center;
  background-size: cover;
  height: 100vh;
}

.nav-primary {
  font-size:123%;
  background: #000000;
  clear: both;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-primary li {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  vertical-align: bottom; /* IE9 fix: li v-aligns with baseline on hover without this */
}

.nav-primary a {
  color: #fff;
  display: block;
  font-size: 110%;
  font-weight: bold;
  overflow: hidden;
  padding: 0.99em 1.5em; /* slightly less than one to prevent rounding error */
  position: relative;
  text-decoration: none;
  transition: background 0.4s ease-out;
}

.nav-primary a::after {
  background: #db5112;
  content: "";
  height: 0.714em;
  left: 50%;
  margin-left: -0.42857em;
  position: absolute;
  top: -0.857em;
      -moz-transform: rotate( 45deg );
      -ms-transform: rotate( 45deg );
      -o-transform: rotate( 45deg );
      -webkit-transform: rotate( 45deg );
  transform: rotate( 45deg );
      -moz-transition: top 0.3s ease-out;
      -o-transition: top 0.3s ease-out;
      -webkit-transition: top 0.3s ease-out;
  transition: top 0.3s ease-out;
  width: 0.714em;
}

.nav-primary a:hover {
  background: #db5112;
  overflow: hidden;
  position: relative;
}

.nav-primary a:hover::after {
  top: -5px;
}

@media only screen and (max-width: 600px) {
  .nav-primary a {
      border-radius: 0.6em;
      margin: 0.35em;
      padding: 0.5em;
  }

  .nav-primary a:hover {
      background-image: none;
      /*border: 0.25em solid rgba(78, 127, 103, 100);
      padding: 0.25em;*/
    box-shadow: inset 0 -5px 0 0 rgba(78, 127, 103, 100);
  }
}

.wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 550px;
  background: rgba(0,0,0,0.8);
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wrapper .title h1{
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
}

.contact-form{
  display: flex;
}

.input-fields{
  display: flex;
  flex-direction: column;
  margin-right: 4%;
}

.input-fields,
.msg{
  width: 48%;
}

.input-fields .input,
.msg textarea{
  margin: 10px 0;
  background: transparent;
  border: 0px;
  border-bottom: 2px solid #c5ecfd;
  padding: 10px;
  color: #fff;
  width: 100%;
}

.msg textarea{
  height: 212px;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #fff;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color:#fff;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #fff;
}

.btn {
    background: #555;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}
a:link {
  color: #fff;
}

/* mouse over link */
a:hover {
  color: #000;
}


@media screen and (max-width: 600px){
  .contact-form{
    flex-direction: column;
  }
  .msg textarea{
    height: 80px;
  }
  .input-fields,
  .msg{
    width: 100%;
  }
}
