/* Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.  */
html {-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}

/*----------- apply a natural box layout model to all elements --------------*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

nav button {
    margin: .2rem 2%;
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    color: #fff;
}

nav {
    background-color: #536878;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    display: block;
    padding: .8rem 2%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0,0,0,0.3);
}

nav ul li.active a {
    background-color: rgba(0,0,0,0.2);
    color: #fff;
}

nav ul li a:hover {
    background-color: rgba(0,0,0,0.4);
}

nav ul.hide {
    display: none;
}

/*----- Clearfix: Force an Element not to collapse -----*/
.clearfix:after {
    content: "";
    display: table;
    clear: both;
  }

.box{
    display: block;
    margin: 10px auto;
    border: 1px dashed #000;
    padding: 15px;
    background-color: #bbbbbb;
    color: #0C1618;
    font-family: 'Montserrat', sans-serif;
    text-align: center;    
  }
  
  body {
      font-size: 16px;
      font-family: "Sansita", Ubuntu, sans-serif;
  }
  
  header, h1 {
      font-size: 30px;
      text-transform: uppercase;
  }
  
  header,
  nav,
  main,
  footer {
      max-width: auto;
      margin: 0 auto;
  }
  
  h1 {
      font-size: 2rem;
  }
  
  h2 {
      color: #536878;
  }

  header {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #808080;
  }

  header img {
      width: 100px;
      height: auto;
      display:block;
      

  }

  .h2main {
    text-align: center;
}