html, body {
  margin: 0px;
  padding: 0px;
  height:100%;
  width: 100%;
  position: relative;
  height: 100vh;
  font-size: 12px;
  font-family: Verdana, sans-serif;
  line-height: normal;

}
/*Hero and navigation*/
.main_h {
  position: fixed;
  top: 0px;
  max-height: 70px;
  z-index: 999;
  width: 100%;
  padding-top: 17px;
  background: none;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  opacity: 0;
  top: -100px;
  padding-bottom: 6px;
}
.open-nav {
  max-height: 400px !important;
}
.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.sticky {
  background-color: rgba(255, 255, 255, 0.93);
  opacity: 1;
  top: 0px;
  border-bottom: 1px solid gainsboro;
}
.logo {
  width: 50px;
  font-size: 25px;
  font-weight: bold;
  color: #003A3E;;
  text-transform: uppercase;
  float: left;
  display: block;
  margin-top: 0;
  line-height: 1;
  margin-bottom: 10px;
}
nav {
  float: right;
  width: 60%;
}
nav ul {
  list-style: none;
  overflow: hidden;
  text-align: right;
  float: right;
}
nav ul li {
  display: inline-block;
  margin-left: 35px;
  line-height: 1.5;
}
nav ul a {
  color: #888888;
  text-transform: uppercase;
  font-size: 12px;
}
.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  right: 22px;
  top: 0;
  width: 30px;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}
.mobile-toggle span {
  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  background: #8f8f8f;
  display: block;
}
.row {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding: 0 2%;
}

* {
  box-sizing: border-box;
}

body {
  color: #8f8f8f;
  background: white;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 50px;
  line-height: 1.8;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.9em;
}
.content {
  padding: 50px 0% 50px;
}

.hero {
  position: relative;
width: 100%;
  background: url(../images/webmaggot_webdesign_cover.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #fff;
  padding-top: 150px;
  height: 500px;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: 500%;
  line-height: 1;
  margin-top: 50px;
  letter-spacing: 0.5em;
  font-weight: bold;

}
.hero h1 span {
  font-size: 50%;
  font-weight: bold;
  color: white;
  letter-spacing: 0.4em;
  padding-bottom: 25px;
  line-height: 2.5;
  animation-name: MoveInLeft;
  animation-duration: 2s;
}

@keyframes MoveInLeft {
  0% {
    opacity: 0%;
    transform: translateX(-100px);
  }
  100% {
    opacity: 100%;
    transform: translateX(0px);
  }
}
@keyframes MoveInRight {
  0% {
    opacity: 100%;
    transform: translateX(100px);
  }
  100% {
    opacity: 0%;
    transform: translateX(0px);
  }
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
}
.kontent {
  margin: 10% auto;
}
/*Intro*/
.values {
max-width:900px;
margin: 0 auto;
}

/*Values*/
.motivational {
text-align: center;
width: 100%;
padding: 0 5px;
}
.subtitlu {
text-align: center;
font-size: 20px;
color: #52706E;
text-transform: uppercase;
font-weight: bold;
padding-top: 15px;
padding-bottom: 0px;
}

/*Columns*/
* {
  box-sizing: border-box;
}
img {
max-width: 100%;
}
.col-container {
  display: table;
  width: 100%;
  border-collapse:separate;
  border-spacing:10px;
}
.col {
  display: table-cell;
  padding: 16px;
  width: 33%;
}
#sec01, #sec02, #sec03 {
text-align: center;
text-transform: uppercase;
font-weight: bold;
font-size: 130%;
padding-top: 15px;
padding-bottom: 0px;
}
.subvalori {
  font-size: 120%;
  text-align: center;
  font-weight: bold;
}
hr {
display: center;
margin-top: 0px;
margin-bottom: 0px;
width: 50%;
margin-left: auto;
margin-right: auto;
border-style: inset;
border-width: 1px;
border-color: #003A3E;
}
/*Contact*/
.biglink {
font-size: 25px;
margin:0;
text-align: center;
text-decoration: none;
color: black;
}
/*footer*/
footer {
min-height: 45px;
padding: 10px 0px;
background-color: black;
position: relative;
bottom: 0px;
width: 100%;
}
/*social media*/
.socialmedia {
display: block;
margin: 5px auto;
padding-left: 20px;
}
.scm1,.scm2 {
display: inline-block;
color: white;
text-decoration: none;
position: relative;
margin: 0 auto;
padding-bottom: 10px;
padding-left: 15px;
}
.scm1:hover {
color: #A3BBA7;
}
.scm2:hover {
color: #A3BBA7;
}
.footercolumn {
float: left;
flex: 33%;
width: 33.33%;
}
/* Clear floats after the columns */
.footerrow:after {
content: "";
display: table;
clear: both;
}
.cpr {
font-size: 12px;
text-align: center;
text-decoration: none;
margin: auto;
color: white;
padding-top: 15px;
}

/*Media*/

@media (max-width:3200px) {
.hero {
  height: 1100px;
}
.hero h1 {
  margin-top: 0px;
  padding-top: 100px;
  margin-bottom: 0px;
}
}
@media (max-width:1500px) {
.hero {
  height: 850px;
}
.hero h1 {
  margin-top: 0px;
  padding-top: 100px;
  margin-bottom: 0px;
}
}

@media (max-width:1300px) {
.hero {
  height: 800px;
}
.hero h1 {
  margin-top: 0px;
  padding-top: 100px;
  margin-bottom: 0px;
}
}

@media only screen and (max-width: 950px) {
.hero {
  height:1000px;
}
.hero h1 {
font-size: 450%;
margin:auto;
padding-top: 100px;
/*margin-top: 20px;
margin-bottom: 0px;*/
}
.hero h1 span {
font-size: 45%;
letter-spacing: 0.3em;
margin:auto;
/*margin-top: 0px;*/
}
}

@media only screen and (max-width: 780px) {
.hero h1 {
font-size: 400%;
margin-top: 0px;
margin-bottom: 0px;
}
.hero h1 span {
font-size: 40%;
letter-spacing: 0.3em;
margin-top: 0px;
}
}
@media only screen and (max-width: 766px) {
.hero h1 {
font-size: 360%;
line-height: 1.3;
margin-top: 0px;
margin-bottom: 0px;
display: block;
width: 100%;
font-weight: bold;
letter-spacing: 1.1;
  }
.hero h1 span {
font-size: 45%;
font-weight: bold;
letter-spacing: 0.9;
color: white;
width: 100%;
margin-top: 0px;
line-height: 3;
}
.main_h {
padding-top: 25px;
}
.logo {
float: none;
}
nav {
width: 100%;
}
nav ul {
padding-top: 10px;
    margin-bottom: 22px;
    float: left;
    text-align: center;
    width: 100%;
  }
  nav ul li {
    width: 100%;
    padding: 7px 0;
    margin: 0;
  }
  .mobile-toggle {
    display: block;
  }
}
@media (max-width:700px) and (min-width:601px) {
.hero {
  height: 600px;
}
  .hero h1 {
    font-size: 360%;
    line-height: 1.3;
    margin-top: 0px;
    margin-bottom: 0px;
    display: block;
  width: 100%;
    font-weight: bold;
  letter-spacing: 1.1;
  }
  .hero h1 span {
    font-size: 45%;
font-weight: bold;
letter-spacing: 0.9;
    width: 100%;
    margin-top: 0px;
    line-height: 3;
  }
}
@media only screen and (max-width: 600px) {
  .col {
    display: block;
    width: 100%;
    margin-bottom:20px;
    margin-top: 2%;
  }
.hero {
    width: 100%;
  }
  nav {
    width: 100%;
  }
  nav ul {
    padding-top: 10px;
    margin-bottom: 22px;
    float: left;
    text-align: center;
    width: 100%;
  }
  nav ul li {
    width: 100%;
    padding: 7px 0;
    margin: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .kontent {
    margin: auto;
    width: 100%;
}
.hero {
  position: relative;
   background: url(../images/webmaggot_webdesign_cover.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  text-align: center;
  color: #fff;
  padding-top: 40px;
  height: 280px;
}
.hero h1 {
  font-size: 250%;
  line-height: 1.2;

  display: block;
  margin: 0;
  padding-top: 60px;
width: 100%;
  font-weight: bold;
letter-spacing: 1.1;
}
.hero h1 span {
  font-size: 60%;
  color: white;
  width: 100%;
  margin-top: 0;
  padding-bottom: 50px;
  line-height: 3;
  letter-spacing: normal;
}
.subvalori {
  font-size: 120%;
}
.biglink {
font-size: 18px;
}
.scm1,.scm2 {
display: inline-block;
color: white;
text-decoration: none;
margin: 3px 4px;
position: relative;
}
}
@media only screen and (max-width: 450px) {
  .hero {
    height: 250px;
  }
  .hero h1 {
  font-size: 200%;
  margin: 0;
  padding-top: 50px;
  }

  .hero h1 span {
    margin-top: 0;
    padding-bottom: 50px;
    font-size: 50%;
  }
.scm1,.scm2 {
margin: 10px 2px;
position: relative;
}
  }

  @media only screen and (max-width: 370px) {
  .hero {
    height: 220px;
  }
  .hero h1 {
  font-size: 150%;
  margin: 0;
  padding-top: 50px;
  }

  .hero h1 span {
    margin-top: 0;
    padding-bottom: 50px;
  }
  .scm1,.scm2 {
  text-align: center;
  position: relative;
  padding: 5px;
  }
  .cpr {
  margin: 0 auto;
  text-align: left;
  padding: 0;
  }
  .footercolumn {
    width: 100%;
    display:inline-flex;
    float: left;
    padding: 0;
  }
  .socialmedia {
  margin: 0 auto;
  padding: 0;
  text-align: left;
  }
  }





@media only screen and (max-width: 350px) {
  .hero {
    height: 220px;
  }
.hero h1 {
font-size: 150%;
margin: 0;
padding-top: 50px;
}

.hero h1 span {
  margin-top: 0;
  padding-bottom: 50px;
}
.scm1,.scm2 {
margin: 0 auto;
}
.cpr {
margin: 0 auto;
}
.footercolumn {
  width: 100%;
  display: inline-block;
  float: left;
}
}
