@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  border: none;
  outline: none;
}

#main_header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  position: sticky;
  top: 0;
  background-color: gray;
  padding: 0.5em;
  border-bottom: 3px solid rgb(92, 92, 92);
  box-shadow: 0px 10px 20px gray;
}

#main_header > img {
  width: 150px;
  height: 50px;
}

hr {
  margin: 1em 0;
  border: 2px solid black;
}

/********************************/
/* formato horizontal con Float */
/********************************/
.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  float: left;
  margin: 0 5px;
}


/*******************************/
/* formato horizontal con Flex */
/*******************************/
/* .menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.menu li {
    margin: 0 5px;
} */

.menu a {
  font-size: 1.5em;
  text-decoration: none;
  color: #333;
}

p {
  width: 50%;
  margin: left;
  font-size: large;
}

h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

/*******************************************/
/* Metodo sin alterar padding-top ni margin*/
/*******************************************/
#home,
#enlace1,
#enlace2,
#enlace3 {
  scroll-margin-top: 80px;
}

@media (max-width: 500px) {
  /********************************/
  /* formato vertical con Float */
  /********************************/
  .menu {
    text-align: left;
  }
  .menu li {
    list-style-type: square;
    clear: left;
  }
  .menu a {
    font-size: 1em;
  }

  /********************************/
  /* formato vertical con Flex    */
  /********************************/
  /* .menu {
    display: block;
    text-align: left;
  }
  .menu li {
    list-style-type: square;
  }
  .menu a {
    font-size: 1em;
  }

  #home,
  #enlace1,
  #enlace2,
  #enlace3 {
    scroll-margin-top: 100px;
  } */
}
