/* 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; }

/* ----- BANNER TOP ----- */

.banner {
    height: 50px;
    line-height: 50px;
    background: #EC9A29;
    text-align: center;
    font-size: 12px;
}

/* ----- HEADER ----- */

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;
}

h1, h2, p {
    margin: 0;
}

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

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

/* ----- NAV ----- */

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;
}


/*----- MAIN -----*/

.clearfix:after {
    content: "";
    display: table;
    clear: both;
  }

  .herodiv {
    margin: 10px auto;
    position: relative;
}

.box{
    display: block;
    margin: 10px auto;
    border: 1px dashed #000;
    padding: 15px;
    background-color: #bbbbbb;
    color: #0C1618;
    font-family: 'Montserrat', sans-serif;
  }


.img-principal {
    border: 3px solid #ccc;
    border-radius: 1em; 
    width: 100%;
    height: 300px;
}

.home-article-h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 30px;
}

.points-article {
    background: #e0e0e0;
    padding: 20px;
    margin-top: 5px;
    display:block;
    margin:auto;
    width: 80%;
    border: 3px solid #ccc;
    border-radius: 1em; 
}
section {
    display: grid;
    grid-template-columns: 1fr;
  }
section:nth-child(odd) img {
    grid-column: 1;
  }
  
section:nth-child(odd) .data {
    grid-column: 1;
    grid-row: 1;
  }

.cards{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    align-content: center;
    text-align: center;
    margin: .5rem;  
}

section {
    
    display: block;
    margin: auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid rgb(124, 124, 124);
    border-radius: 10px;
    box-shadow: 2px 2px 5px 2px #888;
    width: 70%;
}
section h2, h3 {
    text-align: center;
}
section p {
    font-size: small;
    font-weight: bold;
    padding-left: .5rem;
}
section img {
    width: 80%;
    height: 200px;
    margin: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 5px;
}



/*----- FOOTER PAGE -----*/

  .gmap {
    grid-column: 1/5;
    grid-row: 1/2;
    margin-left: auto;
    margin-right: auto;
    width:200px; 
    height:150px;
    border: 3px solid #ccc;
    border-radius: 1em;
}

.navlinks li {
    font-size: 12px;
    list-style:none;
    text-align: left;
}