* { /*20.2 Beta Nov/6/2020*/
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  background-color: #ddd;
}

#header {
  width: 100%;
  height: 60px;
  position: fixed;
  background-color: #fff;
  z-index: 1000;
  user-select: none;
  top: 0px;
  overflow: hidden;
}

#header .margen {
  height: 100%;
}

#header nav {
  display: none;
}

#header a {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  text-decoration: none;
  color: #fff;
}

#header a h1 {
  font-weight: normal;
  font-size: 1em;
}

#scrolled_px {
  width: 100%;
  position: absolute;
  color: #03cadf;
  text-align: center;
}

#logo {
  width: 120px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 0px;
}

#logo img {
  width: 100%;
  height: 100%;
}

#boton_menu {
  position: absolute;
  top: 15px;
  left: 0px;
  color: #003b6f;
  font-size: 1.5em;
}

#menu_movil {
  width: 100%;
  height: 0%;
  position: fixed;
  background-color: #111;
  z-index: 100;
  transition: all .65s ease-out;
  padding: 0px 15px;
  overflow: auto;
}

#menu_movil h1 {
  font-weight: normal;
  font-size: 1.2em;
  padding: 7px 0px;
  border-bottom: 1px solid #444;
  padding: 0px;
  transition: all .5s ease;
  opacity: 0;
  max-width: 800px;
  margin: auto;
}

#menu_movil h1 i {
  width: 20px;
  color: lightsteelblue;
  margin-right: 12px;
  text-align: right;
}

#menu_movil a {
  color: #eee;
  text-decoration: none;
  transition: all .4s ease;
}

#chbx {
  display: none;
}

#chbx:checked ~ #menu_movil { 
  height: 100%; 
  padding-top: 60px;
}  

#chbx:checked ~ #menu_movil h1 {
  padding: 10px 0px;
  opacity: 1;
}

#wrap {
  height: 100%;
  position: relative; 
  border: 1px solid gold;
  padding-top: 60px;
}

.section {
  position: relative;
  border: 1px solid #999;
}

.section h1, .section h2, .section h3, .section h4, .section h5 {
  width: 100%;
  text-align: center;
  font-weight: normal;
}

button {
  cursor: pointer;
}

p {
  width: 100%;
  text-align: center;
}

.margen {
  width: 100%;
  position: relative;
  margin: auto;
  border: 1px solid #1576B5;
}

#footer {
  min-height: 200px;
  background-color: #003b6f;
  color: #eee;
}

#footer .margen {
  justify-content: center;
}

#footer i {
  font-size: 1.5em;
}

.div_img img {
  width: 100%;
  height: 100%;
}

.detras {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: #111;
  opacity: .3;
}

.flexbox {
  display:  flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.flex, .sub {
  width: 100%;
  position: relative;
  display:  flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  align-self: flex-start;
  border: 1px dotted red;
}

.sub { 
  border: 1px dotted darkorchid;
}

@media only screen and (min-width: 600px) {
    
  .flex2, .sub2 { width: 49.5%; }
  
  .flex3, .sub3 { width: 32.5%; }
  
  .flex4, .sub4 { width: 49.5% }
  
  .flex5, .sub5 { width: 19.5%; }
  
  .flex6, .sub6 { width: 32.5%; }
} 
      
@media only screen and (min-width: 970px) { 
    
  .flex4, .sub4 { width: 24.5%; }
  
  .flex6, .sub6 { width: 16%; }
   
  #header nav {
    width: 60%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003b6f;  
    margin: auto;
  }
  
  #logo {
    left: 0px;
  }
    
  #boton_menu, #menu_movil {
    display: none;
  }
    
  .margen {
    width: 80%;
    max-width: 1024px;
  }
    
}