body {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  position: relative;
  padding: 0px;
  margin: 0px;
  height: 100%;
  background: white;
  background-size: cover;
  background-repeat: no-repeat;
}

header {
  width: 100%;
  height: 50px;
  margin-top: 0px;
  background: #be1c1c;
  position: relative;
}

header nav #card_menu ul li #asg {
  display: none;
}

/**Menu**/
header h1 {
  display: inherit;
  width: 40px;
  margin: 0px;
  height: 40px;
  margin-left: 30%;
  margin-right: 30%;
  line-height: 25px;
  min-width: 200px;
  text-align: left;
  position: absolute;
}

header h1 a {
  font-size: 0.45em;
  font-weight: 800;
  top: 0px;
  margin: 0px;
  /*letter-spacing: 2px;*/
  text-shadow: 0.5px 0.5px black;
}

header h1 > * {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  color: white;
  font-size: 0.6em;
  margin-top: -4px;
}
header h1 figure {
  height: 27px;
  width: 27px;
  margin: 0px;
  margin-top: 10px;
}

header h1 figure img {
  width: 100%;
  border-radius: 50%;
}

header h1 #texhinf {
  font-size: 0.3em;
  font-weight: 300;
  margin-top: -40px;
  margin-left: 52px;
  text-align: center;
}
/**Menu**/

header nav .ioMenuMovil {
  height: 17px;
  width: 90px;
  cursor: pointer;
  line-height: 40px;
  margin: 5px 0px 0px 10px;
  padding-top: 5px;
}

header nav .ioMenuMovil img {
  height: 100%;
}

header nav #card_menu {
  display: none;
  position: relative;
  width: 230px;
  background: white;
  top: -42px;
  left: 0px;
  border-right: 3px solid #be1c1c;
  z-index: 999;
  padding-bottom: 50px;
}

header nav #card_menu figure {
  margin-top: 20px;
}

header nav #card_menu ul {
  margin-top: 30px;
  margin-left: 20px;
}

header nav #card_menu ul li {
  list-style: none;
  font-size: 1em;
  line-height: 37px;
}

header nav #card_menu ul li a {
  text-decoration: none;
  color: black;
}

/*header nav #card_menu ul li a:active{
  color: blue;
}*/

header #prev_section,
header #next_section {
  width: 35px;
  height: 35px;
  cursor: pointer;
  overflow: hidden;
  margin-top: 25px;
  position: absolute;
  top: 0px;
}

header #prev_section {
  right: 45px;
}
header #next_section {
  right: 5px;
}

header #prev_section img,
header #next_section img {
  width: 70%;
  top: 5px;
  left: 5px;
  position: relative;
}

#menu a:hover {
  color: black;
}

#menu a:focus,
a:active {
  color: black;
}

#contact_form {
  position: absolute;
  right: 0px;
  top: 40px;
  background: white;
  width: 250px;
  border-top: 1px solid black;
  box-shadow: 0px 0px 3px #9f9e9e;
  font-family: "Poppins", sans-serif;
  height: 100vh;
  z-index: 999;
  display: none;
}

#contact_form #close_form {
  position: absolute;
  width: 30px;
  height: 30px;
  left: 85%;
  top: 190px;
}

#contact_form #close_form:hover {
  cursor: pointer;
}

#contact_form #close_form:before {
  font-family: "icomoon";
  content: "\ea0f";
  top: 5px;
  left: 9px;
  position: relative;
}

#contact_form figure {
  height: 180px;
  width: 100%;
  margin: 0px;
  padding: 0px;
  text-align: center;
  background: white;
}

#contact_form figure img {
  height: 100%;
  margin: 0px;
}

#contact_form p {
  margin: 20px;
  width: 90%;
  margin-left: 5%;
  font-size: 2em;
}

#contact_form input,
#contact_form textarea {
  display: block;
  margin: 20px;
  border: none;
  border-bottom: 2px solid gray;
  width: 90%;
  margin-left: 5%;
  padding-bottom: 3px;
  margin-bottom: 50px;
  font-weight: bold;
}

#contact_form #button {
  background: red;
  color: white;
  border-bottom: none;
  padding: 8px 0px;
  border-radius: 5px;
}

#contact_button {
  width: 30px;
  height: 30px;
  background: red;
  border-radius: 50%;
  color: #e4a428;
  z-index: 80;
  right: 20px;
  position: fixed;
  top: 90vh;
}

#contact_button:hover {
  cursor: pointer;
}

#contact_button:before {
  font-family: "icomoon";
  content: "\ea95";
  position: relative;
  font-size: 2.5em;
  top: -5px;
  left: -6px;
}

footer {
  width: 100%;
  background: black;
  color: white;
  text-align: center;
  z-index: 999;
  height: 150px;
  position: fixed;
  bottom: -140px;
  transition-duration: 0.4s;
}

footer:hover {
  bottom: 0px;
}

footer:after {
  content: "\ea25";
  font-family: "icomoon";
  position: absolute;
  top: 0px;
  left: 50%;
  width: 80px;
  height: 80px;
  margin-left: -40px;
  margin-top: -30px;
  border-radius: 50%;
  background: black;
  color: black;
  transform: rotate(360deg);
  font-size: 1.5em;
  transition-duration: 0.4s;
  text-shadow: 0px 10px 0px white;
}

footer:hover:after {
  transform: rotate(180deg);
  background: white;
  color: white;
  text-shadow: 0px 23px 0px black;
}

footer .ssn {
  margin-top: 55px;
  width: 150px;
  height: 40px;
  margin-left: 0px;
  position: absolute;
}

footer .ssn figure {
  width: 150px;
  height: 40px;
  position: relative;
}

footer .ssn figure img {
  width: 150px;
  height: 40px;
  position: relative;
  margin-right: 100%;
  margin-left: -30px;
}

footer .rrss {
  margin-top: 70px;
  width: 100%;
  height: 40px;
  margin-left: 23%;
  margin-right: -30px;
}

footer .rrss a {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: relative;
}

footer .rrss a:before {
  color: white;
  text-decoration: none;
  position: absolute;
  font-size: 2em;
  top: 5px;
  left: 5px;
  font-family: "icomoon";
}

footer .rrss a:nth-child(1):before {
  content: "\ea91";
}

footer .rrss a:nth-child(2):before {
  content: "\ea92";
}

footer .rrss a:nth-child(3):before {
  content: "\eaca";
}

footer .rrss a:nth-child(4):before {
  content: "\ea93";
}

footer p {
  font-size: 1em;
  font-family: "Poppins", sans-serif;
}

@media screen and (min-width: 480px) {
  header #superior {
    width: 100%;
  }

  header div #cabeza_text {
    margin-top: -15px;
    width: 200px;
    height: 40px;
    margin-left: 58%;
    font-size: 0.8em;
    text-align: right;
    color: white;
  }
}

@media screen and (min-width: 600px) {
  header div #cabeza_text {
    margin-top: -15px;
    width: 200px;
    height: 40px;
    margin-left: 62%;
    font-size: 0.8em;
    text-align: right;
    color: white;
  }
}

@media screen and (min-width: 767px) {
  header {
    height: 80px;
  }

  header #superior {
    width: 100%;
    height: 20px;
    background: black;
    display: block;
  }

  header div #cabeza_text {
    position: relative;
    margin-top: -15px;
    width: 50px;
    height: 40px;
    margin-left: 70%;
    font-size: 0.8em;
    text-align: left;
    color: white;
  }

  header h1 {
    display: inline-block;
    width: 42%;
    margin: 0px;
    height: 60px;
    margin-left: 40px;
    line-height: 25px;
    min-width: 200px;
    text-align: center;
  }

  header h1 a {
    font-size: 0.7em;
    font-weight: 800;
    top: 0px;
    /*letter-spacing: 2px;*/
    text-shadow: 0.5px 0.5px black;
  }

  header h1 > * {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    color: white;
    font-size: 0.6em;
    margin-top: -4px;
  }
  header h1 figure {
    height: 45px;
    width: 45px;
    margin: 0px;
    margin-top: 12px;
  }

  header h1 figure img {
    width: 100%;
    border-radius: 50%;
  }

  header h1 #texhinf {
    font-size: 0.4em;
    font-weight: 300;
    margin-top: 35px;
    margin-left: -160px;
    text-align: center;
  }

  header nav {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    margin-left: 0px;
    position: relative;
  }

  /**/

  header nav #showMenu,
  header nav #hideMenu {
    display: none;
  }

  header nav #card_menu {
    display: inline-block;
    border: none;
    background: none;
    position: relative;
    top: 0px;
    width: 100%;
    text-align: left;
    padding-bottom: 0px;
  }

  header nav #card_menu figure {
    display: none;
  }

  header nav #card_menu ul {
    transform: translate(100%, 0);
    text-align: left;
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
    width: 10%;
    margin-left: 70%;
  }

  header nav #card_menu ul li {
    display: inline-block;
    width: 80px;
    height: 50px;
    text-align: center;
    font-size: 0.75em;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
    margin-top: 10px;
    padding: 0px;
    line-height: 12px;
    display: table-cell;
    vertical-align: middle;
  }

  header nav #card_menu ul li a {
    color: white;
    width: 100%;
    margin-left: 5%;
  }

  header nav #card_menu ul li #asg {
    display: none;
    position: absolute;
    margin-left: -50px;
    margin-top: -50px;
    width: 150px;
    margin-right: 30%;
  }

  header #prev_section,
  header #next_section {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #6f6969;
    right: 40px;
    z-index: 999;
    border-radius: 50%;
  }

  header #prev_section {
    top: 95px;
  }
  header #next_section {
    top: 155px;
  }

  header #prev_section img,
  header #next_section img {
    width: 100%;
    top: 0px;
    left: 0px;
    background: #858484;
  }

  #contact_form {
    top: 75px;
    width: 400px;
  }

  #contact_button {
    right: 40px;
  }

  footer .ssn {
    margin-top: 30px;
    width: 250px;
    height: 40px;
    margin-left: 5px;
    position: absolute;
  }

  footer .ssn figure {
    width: 250px;
    height: 80px;
    position: relative;
  }

  footer .ssn figure img {
    width: 250px;
    height: 80px;
    position: relative;
  }

  footer .rrss {
    margin-top: 70px;
    width: 100%;
    height: 40px;
    margin-left: 0px;
    margin-right: 0px;
  }
}

@media screen and (min-width: 870px) {
  header div #cabeza_text {
    position: relative;
    margin-top: -15px;
    width: 50px;
    height: 40px;
    margin-left: 75%;
    font-size: 0.8em;
    text-align: left;
    color: white;
  }
}

@media screen and (min-width: 950px) {
  header div #cabeza_text {
    position: relative;
    margin-top: -15px;
    width: 50px;
    height: 40px;
    margin-left: 80%;
    font-size: 0.8em;
    text-align: left;
    color: white;
  }

  footer .ssn {
    margin-top: 30px;
    width: 250px;
    height: 40px;
    margin-left: 5px;
    position: absolute;
  }

  footer .ssn figure {
    width: 250px;
    height: 80px;
    position: relative;
  }

  footer .ssn figure img {
    width: 250px;
    height: 80px;
    position: relative;
  }

  footer .rrss {
    margin-top: 70px;
    width: 100%;
    height: 40px;
    margin-left: 0px;
    margin-right: 0px;
  }
}
