/*
Elementos de CSS
reglas: conjunto de un selector, declaraciones, propiedades y valores
selectores: 
    pueden ser
    -selector de etiqueta: header 'o' footer
    -selector descendente: body header div nav ol a { }
    -selector de clase: .nombreClase { }
    -selector de id: #nombreId { }
declaraciones:
    es todo lo que esta adentro de las llaves { }
    estan compuestas de propiedades y valores que se separan con ;
propiedades
valores
*/

/* font-family: 'Bebas Neue', cursive;
font-family: 'Roboto Condensed', sans-serif; */

/*
PROPIEDADES PARA LOS TEXTOS
font-family: define el tipo de fuente aplicado al texto.
color: define el colore del texto.
line-height: define la altura desde la base del texto hasta la base de la siguiente línea de texto.
font-size: define el tamaño del texto, admite cualquiera de las unidades de medida disponibles.
letter-spacing: define el espaciado entre las letras del texto.
font-weight: define el ““peso”” de la letra, negrita, normal, light y normalmente se indica en múltiplos de 100 o usando keywords.
text-decoration: define el decorado del texto como subrayado, tachado, con subrayado superior, etc.
text-transform: permite transformar el estado de mayúsculas / minúsculas en el texto, usando uppercase para mayúsculas sostenidas, lowercase para minúsculas sostenidas, etc.
*/

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?h9b8qc");
  src: url("../fonts/icomoon.eot?h9b8qc#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?h9b8qc") format("truetype"),
    url("../fonts/icomoon.woff?h9b8qc") format("woff"),
    url("../fonts/icomoon.svg?h9b8qc#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  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-menu:before {
  content: "\e900";
}

.burguer-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 4;
  top: 5px;
  left: 5px;
  color: white;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  margin: 0px;
  padding: 0;
  box-sizing: border-box;
  background-color: lightslategray;
}

.header {
  background-color: #1e081d;
  color: white;
  display: flex;
  flex-wrap: wrap;
  height: 80px;
  align-items: center;
  justify-content: space-between;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

.header a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.menu {
  height: inherit;
}

.header ol {
  display: flex;
  height: inherit;
}

.header ol li {
  height: inherit;
}

.header a {
  display: flex;
  align-items: center;
  height: inherit;
  padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", cursive;
  font-weight: 300;
}

h1 {
  font-size: 40px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: white;
  margin: 0;
}

h1 strong {
  color: #1e081d;
}

.hero {
  background: #4975b0;
  padding-bottom: 20px;
}

.hero-title {
  height: 350px;
  /* background-image: url('../img/logo.jpg'); */
  background-color: #4975b0;
  /* background-size: 263px; */
  /* background-repeat: no-repeat;
    background-position-x: right; */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-image {
  object-fit: cover;
  filter: opacity(80%) blur(1px);
}

.hero-description {
  padding: 0 20px;
}

.hero-description-text {
  border: 1px solid gray;
  border-radius: 10px;
  background: white;
  font-weight: bold;
  font-size: 1.3em;
  padding: 0 20px;
}

.hero-description-text p {
  margin: 20px 0;
}

h2 {
  color: #1e081d;
  text-transform: uppercase;
  font-family: "Titan One", cursive;
  font-size: 2em;
  margin: 0;
  padding-top: 30px;
  padding-bottom: 30px;
}

.project {
  border: 1px solid gray;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px;
  background: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.project-details {
  width: 50%;
}

.project-title {
  font-size: 35px;
  margin-top: 0;
  margin-bottom: 10px;
}

.project-course {
  font-size: 20px;
  margin: 0;
}

.project-date,
.project-url,
.project-description {
  margin: 10px 0;
  font-size: 18px;
}

.project strong {
  font-family: "Bebas Neue", cursive;
  font-weight: lighter;
}

.project-description {
  font-weight: 600;
}

.project-imageContainer {
  width: 50%;
  text-align: end;
}

.project-image {
  max-width: 100%;
}

.flexible-video {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  position: relative;
}

.youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.h2-list {
  margin-left: 20px;
}

.personal-list {
  display: flex;
  flex-wrap: wrap;
}

.personal {
  margin: 1%;
  width: 48%;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #d2e9f0;
}

.personal-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.personal-details {
  margin: 20px 40px;
  margin-top: -40px;
  background-color: white;
  position: relative;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

.personal-description {
  text-align: justify;
}

.personal-url {
  font-weight: bold;
  color: #026fff;
  border: 1px solid #026fff;
  padding: 5px 20px;
  text-decoration: none;
}

.contact {
  background-color: #026fff;
  color: white;
  height: 150px;
  display: flex;
  flex-wrap: wrap;
  align-self: center;
  justify-content: space-between;
}

.form-email input {
  border-color: gray;
  border-style: solid;
  border-radius: 5px;
  padding: 8px 20px 8px 30px;
  background-image: url(../img/envelope.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: 5px;
}

.form-email button {
  display: block;
  margin-top: 10px;
  background: transparent;
  color: white;
  padding: 5px 0;
  margin-top: 10px;
  width: 100px;
  border-radius: 5px;
}

.social-contact {
  margin: auto 0;
}

.social-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-size: 50px;
  margin: 0 10px;
}

.social-link.facebook {
  background-image: url(../img/facebook.svg);
}

.social-link.instagram {
  background-image: url(../img/instagram.svg);
}

.social-link.github {
  background-image: url(../img/github.svg);
}

.footer {
  color: yellow;
  background-color: #08022b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.footer img {
  vertical-align: middle;
}

.footer strong {
  font-style: italic;
}

.container {
  max-width: 1000px;
  flex: 1;
  margin: 0 auto;
  display: inherit;
  height: inherit;
  justify-content: inherit;
  flex-wrap: inherit;
}

@media screen and (max-width: 1024px) {
  .container {
    padding: 0 1em;
  }
  .hero .container {
    padding: 0;
  }
  .hero-title {
    height: auto;
    position: relative;
    padding: 2em;
    overflow: hidden;
  }
  .hero-image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
  }
  h1 {
    font-size: 2.5em;
    z-index: 2;
  }
}
@media screen and (max-width: 767px) {
  .burguer-button {
    display: flex;
  }
  .header {
    display: block;
    height: auto;
  }
  .menu {
    position: fixed;
    background-color: #1e081dee;
    z-index: 3;
    top: 0;
    left: -100vw;
    bottom: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
  }
  .menu.is-active {
    left: 0;
  }
  .header ol {
    display: initial;
  }
  .header ol li {
    height: 50px;
    margin-bottom: 1em;
  }
  .header a {
    justify-content: center;
    height: 40px;
    font-size: 2em;
    text-decoration: underline;
  }
  .header .logo {
    text-align: center;
  }
  h1 {
    font-size: 2em;
  }
  .hero-description-text {
    font-size: 1.1em;
  }
  .hero-description-text p {
    margin: 1em 0;
  }
  .project {
    display: block;
  }
  .project-details {
    width: auto;
    text-align: center;
    font-size: 20px;
  }
  .project-imageContainer {
    width: auto;
    text-align: center;
  }
  .project-title {
    font-size: 1.5em;
    margin-bottom: 0.3em;
  }
  .project-url {
    font-size: 1em;
  }
  .project-course {
    font-size: 0.9em;
  }
  .project-date {
    font-size: 1em;
  }
  .project-description {
    font-size: 0.8em;
  }
  .project-date,
  .project-course,
  .project-url {
    margin: 0.3em 0;
  }
  .personal {
    width: auto;
    flex-shrink: 1;
  }
  h2 {
    text-align: center;
    font-size: 1.8em;
    padding: 1em 0;
  }
  .h2-list {
    margin: 0;
  }
}
@media screen and (max-width: 480px) {
  .project-details {
    font-size: 16px;
  }
  .personal-details {
    margin: -2em 0.5em 0.5em;
    padding: 1em;
  }
  .contact {
    height: auto;
    padding: 1.5em 0;
    display: block;
    text-align: center;
  }
  .form-email button {
    margin: 1em auto;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    margin: 0.5em 0;
  }
  .hero-description-text {
    font-size: 0.9em;
  }
  .footer {
    display: block;
    text-align: center;
    border: 1px solid transparent;
  }
}
@media screen and (max-width: 320px) {
  .project-details {
    font-size: 12px;
  }
  h1 {
    font-size: 1.5em;
    text-align: center;
  }
  h2 {
    font-size: 1.4em;
    padding: 1em 0;
  }
  .hero-description-text {
    font-size: 0.7em;
  }
}
