/* gris oscuro = #1d252c
gris claro = #626262
background gris = #1b2127 */

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?dvln3s");
  src: url("../fonts/icomoon.eot?dvln3s#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?dvln3s") format("truetype"),
    url("../fonts/icomoon.woff?dvln3s") format("woff"),
    url("../fonts/icomoon.svg?dvln3s#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak-as: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-linkedin:before {
  content: "\e900";
}
.icon-github:before {
  content: "\e901";
}
.icon-instagram:before {
  content: "\e902";
}
.icon-facebook:before {
  content: "\e903";
}
.icon-twitter:before {
  content: "\e904";
}
.icon-menu:before {
  content: "\e905";
}

body {
  font-family: "Source Sans Pro", system-ui;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fjalla One", system-ui;
  font-weight: normal;
  /* font-style: italic */
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

.container {
  max-width: 1200px;
  flex: 1;
  margin: 0 auto;
  display: inherit;
  justify-content: inherit;
  align-items: inherit;
  height: inherit;
  flex-wrap: inherit;
  justify-content: inherit;
}

.burger-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(27, 33, 39, 0.8);
  display: none;
  line-height: 40px;
  text-align: center;
  position: fixed;
  z-index: 4;
  left: 5px;
  top: 5px;
  color: white;
}

.header {
  background-color: #1b2127;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  flex-wrap: wrap;
}

.menu {
  height: inherit;
}

.header .menu ol {
  display: flex;
  height: inherit;
}

.header .menu ol li {
  height: inherit;
}

.header a {
  text-decoration: none;
  color: white;
  height: inherit;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.header a:hover {
  color: #026fff;
  /* background-color: white; */
}

.header .menu ol li:last-child {
  font-weight: bold;
  text-transform: uppercase;
}

.hero {
  height: 400px;
  background-color: #1b2127;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

h1 {
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: white;
  margin: 0;
  text-shadow: 1px 2px 2px #000;
}

h1 strong {
  color: #026fff;
}

.hero-image {
  object-fit: cover;
  width: auto;
}

.portafolio {
  background: #fafafa;
  padding: 20px;
}

h2 {
  color: #026fff;
  text-transform: uppercase;
  font-family: "Source Sans Pro", system-ui;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 40px;
}

.project {
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 3px 5px 33px #888888;
  /* flex-wrap: wrap; */
}

.project-separation,
.project-imageContainer {
  width: 50%;
  font-size: 20px;
}

.project-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: calc(1em / 3);
}

.project-detail {
  font-size: 0.7em;
}

.project-date,
.project-url {
  font-size: 1em;
}

.project-detail,
.project-date,
.project-url {
  margin: 0.5em 0;
}

.project-description {
  font-size: 1em;
}

.project strong {
  font-family: "Fjalla One", system-ui;
}

.project-imageContainer img {
  max-width: 100%;
}

.exp-title-principal {
  margin-left: 20px;
}

.exp-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-bottom: 1em;
}

.exp {
  /* border: 1px solid red; */
  margin: 1%;
  width: 48%;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f4fbff;
  box-shadow: 3px 5px 33px #888888;
  z-index: 0;
}

.exp-imageContainer {
  padding: 0;
}

.exp img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 0%;
}

.exp-detail {
  background-color: #f1f8e9;
  margin: 20px 40px;
  margin-top: -40px;
  position: relative;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

.exp-description {
  text-align: left;
}

.exp-url {
  border: 1px solid;
  border-radius: 5px;
  padding: 5px 20px;
  text-decoration: none;
  color: #056fff;
}

.exp-url:hover {
  color: #1b2127;
}

.contact {
  background-color: #056fff;
  color: white;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-email h3 {
  font-family: "Source Sans Pro", system-ui;
  font-weight: 700;
}

.form-email input {
  border-color: gray;
  border-radius: 5px;
  border-style: solid;
  padding: 10px 20px 10px 25px;
  background-image: url("../images/envelope.svg");
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: 5px;
}

.form-email button {
  display: block;
  margin-top: 10px;
  margin-bottom: 20px;
  background: transparent;
  color: white;
  border-radius: 5px;
  padding: 10px 0;
  width: 100px;
}

.form-email button:hover {
  color: #1b2127;
}

/* .social {
    git border: 1px solid red;
} */

.social-link {
  /* display: inline-block;
  font-size: 40px;
  width: 50px;
  height: 50px;
  background-size: 50px 50px;
  text-decoration: none;
  
  border: 3px solid #fff;
  border-radius: 100%;
  padding: 5px;
  justify-content: center;
  align-items: center; */
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 3em;
}

.social-link:hover {
  color: #1b2127;
}

/* .social-link.twitter {
  background-image: url("../images/twitter.svg");
}

.social-link.facebook {
  background-image: url("../images/facebook.svg");
}

.social-link.github {
  background-image: url("../images/github.svg");
}

.social-link.instagram {
  background-image: url("../images/instagram.svg");
} */

/* .html_video {
  width: 100%;
  height: auto;
} */

.footer {
  background-color: #1b2127;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer img {
  vertical-align: middle;
  padding: 10px;
}

.footer a {
  color: white;
}

.footer a:hover {
  color: #026fff;
}

.youtube-video {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.flexible-video {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  background: blue;
  position: relative;
}

@media screen and (max-width: 1023.98px) {
  .container {
    padding: 0 1em;
  }

  .hero {
    height: auto;
    position: relative;
    overflow: hidden;
    padding: 7em 0;
  }

  .hero h1 {
    font-size: 1.9em;
    z-index: 2;
  }

  .hero-image {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    object-position: center 25%;
  }
}

@media screen and (max-width: 767.98px) {
  h2 {
    text-align: left;
    font-size: 1.2em;
    margin: 0.5em 0;
  }

  .burger-button {
    display: block;
  }

  .header {
    display: block;
    height: auto;
  }

  .header .logo {
    text-align: center;
  }

  .header .menu ol {
    flex-direction: column;
    align-items: center;
  }

  .header .menu ol li {
    margin: 15px 0;
  }

  .header .menu {
    position: fixed;
    background-color: rgba(5, 111, 255, 0.9);
    z-index: 3;
    top: 0;
    left: -100vw; /* Para que el menu se oculte a la izquierda*/
    width: 100vw;
    bottom: 0; /* height: 100vw; */ /*A partir de aqui para centrar*/
    display: flex;
    align-items: center;
    justify-content: center; /* centrar hasta aqui */
    transition: 0.3s;
  }

  .header a {
    height: 40px;
    font-size: 2em;
    text-decoration: underline;
    margin-bottom: 0.5em;
  }

  .header .menu.is-active {
    left: 0;
  }

  .hero {
    padding: 7em 0;
  }

  .hero h1 {
    text-shadow: 1px 2px 2px #000;
    font-size: 1.4em;
  }

  .portafolio h2 {
    padding-bottom: 1em;
  }

  .project {
    display: block;
  }

  .project-imageContainer {
    width: auto;
    text-align: center;
  }

  .project-separation {
    width: auto;
    font-size: 16px;
  }

  .project-detail,
  .project-date,
  .project-url {
    margin: 0.3em 0;
  }

  .project-title {
    font-size: 1.5em;
    margin-bottom: 0.3em;
  }

  .project-url {
    font-size: 1em;
  }

  .project-detail {
    font-size: 0.7em;
  }

  .project-date {
    font-size: 1em;
  }

  .project-description {
    font-size: 0.8em;
  }

  .exp-title-principal {
    padding-top: 1em;
  }

  .exp {
    width: auto;
    flex-shrink: 1;
  }

  .exp img {
    width: 100%;
  }

  .contact {
    height: auto;
    padding: 1em 0;
    text-align: center;
    display: block;
  }

  .form-email button {
    margin: 1em auto;
  }

  .form-email h3 {
    margin-top: 0;
  }

  .footer {
    display: block;
    text-align: center;
    border: 1px solid transparent;
    padding-bottom: 20px;
  }

  .footer p {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 0.96em;
  }

  .project-separation {
    font-size: 12px;
  }

  .exp-detail {
    margin: -2em 0.5em 0.5em;
    padding: 1em;
  }
}

@media screen and (max-width: 320px) {
  .hero h1 {
    text-shadow: 1px 2px 2px #000;
    font-size: 0.78em;
  }

  .header a {
    font-size: 1.8em;
  }

  /* .hero {
    padding: 2em 1em;
  } */

  .social a {
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
  }
}
