/* reglas
selectores
declaraciones
propiedades
valores */

/* header {
    bacground: pink;
    color: red
} */

/* selector de etiqueta header - section - article - nav */
/* selector descendente */
/* body - header - div - nav - ol - li - a */

/* selector de clase . */

/*  .link */

/* selector de id # */
/* #portafolio */




/* gris oscuro = #1d252c */
/* gris claro = #626262 */
/* background gris = #1b2127 */
/* celeste = #026fff */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?kxyhdo');
    src: url('../fonts/icomoon.eot?kxyhdo#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?kxyhdo') format('truetype'),
        url('../fonts/icomoon.woff?kxyhdo') format('woff'),
        url('../fonts/icomoon.svg?kxyhdo#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: 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-menu:before {
    content: "\e900";
}

* {
    /*margin: 0;*/
    /*padding: 0;*/
    /*box-sizing: border-box;*/
}

body {
    font-family: Arial, 'source sans pro', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6{
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    /* font-style: italica; */
}



h1 {
    font-size: 35px;
    margin: 0 0 110px 0;
    line-height: 1.5;
    letter-spacing: -.2px;
    color: white;
    margin: 0;
    /* margin: 100px 150px 70px 30px;*/
    /* text-transform: uppercase; */
    /* text-decoration: dashed; */


}
h1 strong {
    color: #026fff;
}

h2 {
    color: #026fff;
    text-transform: uppercase;
    font-family: 'source sans pro', sans-serif;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 40px;
}

.hero {
    height: 300px;
    background-color: #1b2127;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.hero-image {
    object-fit: cover;
    border-radius: 10px;
}

.portafolio {
    background: #fafafa;
    padding: 20px;
}

.project {
    border: 1px solid gray;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.project-course,
.project-date,
.project-url {
    margin: 10px 0;
}

.project-description {
    font-size: 20px;
}

.project strong {
    font-family: 'Fjalla One', sans-serif ;
}

/*.project-date {
   margin: 10px 0;
}*/

.project-title {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 10px;
}

.project-details {
   /* width: 500px;*/
   width: 50%;
}

.project-imageContainer {
    /*width: 500px;*/
    width: 50%;
}

.project-imageContainer img {
    max-width: 100%;
}

.header {
    background-color: #1b2127;
    color: white;
    display: flex;
    height: 150px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

ol,
ul {
   margin: 0;
   padding: 0;
   list-style: none;
}

figure {
    margin: 0px;
}

.header a {
    color: white;
    text-decoration: none;
}

.menu {
    height: inherit;
}

.header ol {
    display: flex;
    height: inherit;
    /*align-items: center;*/
}

.header ol li {
    height: inherit;
    /*display: flex;
    align-items: center;*/

}

.header a {
    display: flex;
    align-items: center;
    height: inherit;
    padding: 0 10px;
}

.flexbox {
  display: flex;
  /* flex-wrap: nowrap; */
  flex-wrap: wrap;
  /*flex-direction: row;*/
  /*flex-direction: column;*/


}

.box{
    width: 50px;
    height: 50px;
    margin: 5px;
    border: 1px solid red;

    flex-shrink: 0;
}

.footer {
    color: white;
    background-color: #1b2127;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer img {
    vertical-align: middle;
}

.footer a {
    color: white;
}

.event-list {
    display: flex;
    /* este flex-wrap se utiliza para poner las 4 imagenes juntas 2 arriba y 2 abajo */
    flex-wrap: wrap;
}
.event-list-title {
    margin: 20px;
}
.event {
   /* border: 1px solid red; */
   /* margin: 10px; */
   /* width: 480px; */
    /*margin: 10px;   /* 1% para el reponsive design */
    width: 480px;   /* 48% para el reposive design    */
   /* flex-shrink: 0; */
    border-radius: 10px;
   /* overflow: hidden; */
    background: #f4fbff;
}
.event img {
    width: 460px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover
}

.event-detail {
    margin: 20px 0px;
    margin-top: -40px;
    background-color: white;
    position: relative;
    padding: 20px;
    text-align: center;
}
 /* .event-figure {
    margin: 0%;
} */

.event-description {
    text-align: left;
}
.event-url {
    color: #056fff;
    border: 1px solid #056fff;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 5px;
}


.contact {
    background-color: #056fff;
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 50px;

}

.social {

   margin-left: 600px;
   /*border: 1px solid red;*/
}
.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    /*border: 1px solid white; */
    background-size: 50px 50px;
}
.social-link.twitter {
    background-image: url('../images/twitter.svg');
   /* background-color: white; */
   /*background-size: 50px 50px;*/
}
.social-link.facebook {
    background-image: url('../images/facebook.svg');
     /* background-color: white; */
      /*background-size: 50px 50px;*/
      /*este background lo pasamos a .social-link */
}
.social-link.github {
    background-image: url('../images/github.svg');
    /* background-color: white; */
    /*background-size: 50px 50px;*/
}
.social-link.instagram {
    background-image: url('../images/instagram.svg');
    /* background-color: white; */
    /*background-size: 50px 50px;*/
}


.form-email .input {
    border-color: gray;
    border-style: solid;
    border-radius: 5px;
    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;
    background: transparent;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    width: 100px;
    margin-top: 10px;
}
.form-email .h3 {
    font-family: 'source sans pro, sans-serif';
}

.container {
  /* border: 1px solid red; */
    max-width: 1000px;
  /* width: 100%; */
  /* padding: 20px;*/
    flex: 1;
    margin: 0 auto;
    display: inherit;
    justify-content: inherit;
    align-items: inherit;
    height: inherit;
    flex-wrap: inherit;
}

.burger-button {
  width: 40px;
  height: 40px;
  /* border-radius: 50%; esto seria el mismo resultado a lo de abajo de 20% */
  border-radius: 50%;
  /* background-color: red; */
  background-color: rgba(0, 0, 0, .8);
  /* display: block; */
  display: none;
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  line-height: 40px;
  text-align: center;
  position: fixed;
  z-index: 4;
  left: 5px;
  top: 5px;
  color: white;
  /* font-size: 50px; */

}

/* desktop first que empices desde el MQ mas grande */

@media screen and (max-width: 1024px){

    .portfolio {
      padding: 0px;
    }

    .container {
      padding: 0 1em;
    }
    .hero {
      height: auto;
      position:relative;
      overflow: hidden;
      padding: 2em;
    }
    .hero-image {
      position: relative;
      border-radius: 10px;
      z-index: 1;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100%;
    }

    .h1 {
      font-size: 2em;
      z-index: 2;
    }
    
    .html-video {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;  
      width: 97%;
      border-radius: 10px;
      height: 100%;
/*  max-width: 100%; */
    }
.flexible-html {
    width: 100%;
    /* height: 500px; */
    height: 0;
    padding-top: 56.25%;
    /*calculo de h*100/w= 56.25% */
    /*background: transparent;*/
    position: relative;
}

.youtube-video {
  /* estos valores no nos sirven en esta manera de insertar videos
  width: 100%;
  height: auto;
  max-width: 100%; */
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 10px;
  width: 97%;
  height: 100%;
  /* z-index: 3; */
}

.flexible-video {
  width: 100%;
  /* height: 500px; */
  height: 0;
  padding-top: 56.25%;
  /*calculo de h*100/w= 56.25% */
  /*background: transparent;*/
  position: relative;
}
.social {
    margin-left: 0;
}
}

@media screen and (max-width: 900px) {
    .header {
        width: 910px;
    }
    .hero {
        width: 840px;
    }
    .event {
        width: 100%;
    }
    .event img {
        width: 840px;
        height: auto;
    }
    .contact {
        width: 850px;
    }
    .footer {
        width: 950px;
    }
}

@media screen and (max-width: 767px) {

   .burger-button {
     display: block;
   }
     /* body {
       border: 10px solid green; */

   .hero {
     height: auto;
     position:relative;
     width: 900px;
   }
   .hero-image {
     position: relative;
     border-radius: 10px;
     z-index: 1;
     left: 0;
     right: 0;
     top: 0;
     bottom: 0;
     width: 100%;
   }
   .container h1 {
     font-size: 4.0em;
     z-index: 2;
   }

    .header {
        display: block;
        height: auto;
    }
    .header ol {
        display: block;
    }
    .header lo li {
        height: 50px;
        /* text-align: center; */
    }
    .header a {
        justify-content: center;
        height: 40px;
        font-size: 2em;
        text-decoration: underline;
        margin-bottom: .5em;
    }
    .header .logo {
        text-align: center;
    }

    .menu {
      position: fixed;
      background: rgba(5, 111, 255, .9);
      z-index: 3;
      top: 0;
      /* left: 0; */
      left: -100vw;
      width: 100vw;
      /* height: 100vh; */
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: .3s;
    }

    .menu.is-active {
      left: 0;

    }

    .portafolio {
        width: 894px;
    }
    .portafolio h2 strong {
        color: black;
    }
    .container h2 {
        font-size: 4.0em;
    }
    
    .project {
        display: block;
    }

    .project-imageContainer {
        width: auto;
        text-align: center;
    }

     .project-details {
        width: auto;
       /* font-size: 10px; */
    }
    .project-course, .project-date, .project-url .h4 {
        margin: .3em 0;
        font-size: 3.0em;
    }
    .project-title h3{
        font-size: 4.0em;
        margin-bottom: .3em;
    }
    .project-url {
        font-size: 2.5em;
    }
    
    .project-date {
        font-style: 1.0em;
    }
   .project-description {
        font-size: 3.5em;
   }
   /*.event-list {
       display: block;
   }*/
   .container h2 strong {
       color: black;
   }
   .event {
    width: 100%;
    flex-shrink: initial;
    /* flex-shrink: 1; */
   }
   .event-list-title strong {
       color: black;
   }
   
   .event img {
      /* width: auto; */
      width: 920px;
     /* height: auto; */
   }
   .event-detail {
       /* 1em = 16px */
       margin: -2em .5em .5em;
       padding: 1em;
   }
   .event-detail h3 {
       font-size: 3.5em;
   }.event-description {
       font-size: 3.0em;
   }
   .youtube-video {
       width: 920px;
   }
   .html-video {
       width: 920px;
   }
   .contact {
       width: 890px;
   }
}

@media screen and (max-width: 480px) {
    .h1 {
       font-size: 1.5em;
    }
    .project-details {
        font-size: 12px;
    }
    .event-detail {
       /* 1em = 16px */
       margin: -2em .5em .5em;
       padding: 1em;
    }
    .contact {
        height: auto;
        padding: 1.5em 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;
    }
}

@media screen and (max-width: 320px)
    .h1 {
       font-size: 1.2em;
       background: rgba(0,0,0.5);
    }
    .hero {
      padding: 2em 1em;
    }

}
