
/*------base--*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

* { outline: solid 1px #a88b8b6b;}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;

  scroll-behavior: smooth;
  scroll-padding-top: 80px;

}

main {
  min-height: 90vh;
}



/*--------header------------*/

header {
  width: 100%;
  height: 75px;
  position: fixed;
  color: #3B5366;
  background: #3B5366;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;

}

.iconmenu {
  top: 20%;
  position: absolute;
  left: 90%;
  cursor: pointer;
}

.iconmenu img {
  width: 32px;
  background: none;
}

/*------------menu-----------------*/

.menu {
  position: absolute;
  top: 75px;
  left: -9px;
  width: 100%;
  height: 150px;
  background: #1B262E;
  transition: all 0.3s;
  transform: translateX(-100%);
  z-index: 10;
  position: fixed;
}

.menu a {
  display: block;
  color: #fff;
  background: #3B5366;
  height: 50px;
  padding: 16px;
  font-size: 16px;
  padding-right: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  text-align: right;
  font-weight: bolder;
  z-index: 20;
}

.menu a:hover {
  background: rgba(235, 255, 255, .01);
}

/*---------inicio---------*/
.inicio__section {
  background: #b2b2c2;
  width: 100%;
  height: auto;
  margin-top: 75px;
  padding: 3em 1em;
  padding-bottom: 20em;
}

.inicio {
  text-align: center;
  top: 60%;
  background: none;
}

.inicio h1 {
  background: none;
}



/* ------portafolio-------- */
.portafolio__section {
  background: #a2b1ac;
  width: 100%;
  padding: 2em 1em;
}

.portafolio {
  text-align: center;
  top: 60%;
  background: none;
  padding-bottom: 3em;

}

.portafolio h1 {
  background: none;
}


.portafolio__images {
  display: flex;
  max-width: fit-content;
  min-width: 100%;
  margin: 1em auto;
  padding: 1em;
  gap: auto;
  /* background-color: inherit; */

  figure {
    /* width: 10em; */
    margin: 0em 1em;
  background-color: inherit;

  }

  img {
    width: 80%;
    margin: 1em
  }

}


/* ------contacto--------- */
.contacto__section {
  background: #dfdada;
  width: 100%;
  padding: 5em;
  padding: 4em 1em;
}

.contacto {
  text-align: center;
  top: 60%;
  background: none;
}

.contacto h1 {
  background: none;
}