/* reglas = las reglas de ccs estan conformadas de 1,2,3,4
selectores = estan conformadas de identificacion de elementos de htlm... por ejemplo el header
declaraciones = de todo lo que hacemos de ese selector todo lo que esta entre llaves compuestas de propiedades y por valores...
propiedades = las cosas particulares que podes hacer con ese elementos
valores = son esas cosas que esperan recibir como variables las propiedades para actuar de formar correcta...  
las regals = es todo lo que esta hesder laves y lo interior de las llaves... las laves y su interior es la declaracion;
las llaves son los selectores, background es la propiedad, el valor es pink*/

/* header{
    background: paleturquoise;
} */

/* selector de etiqueta header -section - article -nav 
   selector decendente... es un elemento hijo de otro elemento <a> es hijo de <li> este es hijo
   de <ol> es hijo de <nav> que es hijo de <div>  que es hijo de <header> que es hijo de <body> */

   /* Selector de clase es para no hacer un selector decendente tan complejo 
    una clase = es un atributo dentro de html por ejemplo :
    este enlace  <a href="#portafolio">Portafolio</a> aqui podemos poner un atributo de clase por ejemplo:
    <a class="link" href="#portafolio">portafolio<a/>..., las clases las podemos replicar por toda la website
    muchos elementos pueden recibir el mmismo estilo... a diferencia de los elemntos ID
    lo que se podria hacer es un selector de clase y va de un punto por ejemplo .portafolio
    <section> id="portafolio">
    <section> id="portafolio" class="portafolio"
    selector de id #
    #portafolio
    
    las declaraciones
    header{
        background: paleturquoise;
        color: red;
    } etiqueta header con mas prpiedades y valores*/

/* selector de etiqueta header - section */
/* selector decendente  */
/* body header div nav ol li a */
/* selector de clase. */
/* link */
/* selector de id # */
/* #portafolio */

/* header{
    background: pink;
} */

/* gris oscuro = #1d252c */
/* gris claro = #62622 */
/* background gris = #1b2127 */
/* celesto = #026fff */

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?bnxmhd');
    src:  url('fonts/icomoon.eot?bnxmhd#iefix') format('embedded-opentype'),
      url('fonts/icomoon.ttf?bnxmhd') format('truetype'),
      url('fonts/icomoon.woff?bnxmhd') format('woff'),
      url('fonts/icomoon.svg?bnxmhd#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-github:before {
    content: "\e900";
  }
  .icon-instagram:before {
    content: "\e901";
  }
  .icon-twitter:before {
    content: "\e902";
  }
  .icon-facebook:before {
    content: "\e903";
  }
  .icon-menu:before {
    content: "\e904";
  }

body{
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6{
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    /* font-style: italic; */
}

h1{
    font-size: 40px;
    line-height: 1.5;
    letter-spacing: -.2px;
    color: white;
    margin: 0;
    /* margin: 100px 150px 70px 30px; */
    /* text-transform: uppercase;
    text-decoration: underline; */
}

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-image: url('images/hero.jpg'); */
    background-color: #1b2127;
    /* background-size: 500px 300px; */
    /* background-repeat: no-repeat; */
    /* background-position-x: right; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

}
.hero-image {
    object-fit: cover;
}



.portfolio {
    background: #fafafa;
    padding: 20px;
}

.project {
    /* border-top: 10px solid red;
    border-right: 10px solid green;
    border-left: 10px solid orange;
    border-bottom: 10px solid pink; */
    /* border-top-color: red; 
    border-top-width: 15px;
    border-top-style: solid; */
    border: 1px solid gray;
    border-radius: 10px;
    /* border-top-left-radius: 50px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px; */
    margin-bottom: 15px;
    /* margin:  10px; */
    /* margin-right: 0%;
    margin-left: 0%;
    margin-top: 0%; */
    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-details{
    width: 50%;
}


.project_title{
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 10px;
}




.project.imageContainer{
    width: 50%;
}

.project-imageContainer img {
    max-width:  100%;
    position: relative;
    display: flex;
}

.header{
    background-color: #1b2127 ;
    color: white;
    display: flex;
    height: 70px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

}

ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure{
    margin:  0;
}



.header a {
    color: white;
    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 10px;
}


.flexbox{
    display: flex;
    /* flex-wrap: nowrap; */
    flex-wrap: wrap;
    /* 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;
    flex-wrap: wrap;

}

.event-list-title{
    margin-left: 10px;

}


.event {
    margin: 1%;
    width: 48%;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f4fbff;
}

.event img{
    width: 480px;
    height: 200px;
    object-fit: cover;
}

.event-detail{
    margin: 20px 40px;
    margin-top: -40px;
    background-color: white;
    position: relative;
    padding: 20px;
    text-align: center;
}

.event-description{
    text-align: left;

}

.event-url{
    color: #056fff;
    border: 1px solid;
    padding: 5px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.contact {
    background-color: #056fff;
    color: white;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.social a{
    display: inline-block;
    font-size: 3.2em;
    color: white;
    margin: 0 10px;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    background-size: 50px 50px;
    text-decoration: none;
}

.social-link.twitter {
    background-image: url("https://img.icons8.com/carbon-copy/100/000000/twitter.png");
}

.social-link.facebook {
    background-image: url("https://img.icons8.com/carbon-copy/100/000000/facebook.png");
}

.social-link.github {
    background-image: url("https://img.icons8.com/wired/64/000000/github.png");
}

.social-link.instagram {
    background-image: url("https://img.icons8.com/carbon-copy/100/000000/instagram-new.png");
}

.from-email input{
    border-color:  gray;
    border-style: solid;
    border-radius: 5px;
    padding: 5px 20px 5px 25px;
    background-image: url("https://img.icons8.com/material-outlined/24/000000/important-mail.png");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position-y:  center;
    background-position-x: 5px;
}

.from-email button{
    display: block;
    background: transparent;
    color: white;
    padding: 10px 0;
    border-radius: 5px;
    width: 100px;
    margin-top: 10px;
    /* margin: 10px auto 0; */
}

.from-email h3{
    font-family: 'Source Sans Pro', sans-serif;
}

.container{
    /* border: 1px solid red; */
    max-width: 1000px;
    /* width: 100%; */
    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%;
    background-color: rgba(0,0,0 , .8);
    display: none;
    line-height: 40px;
    text-align: center;
    position: fixed;
    z-index: 4;
    left: 5px;
    top: 5px;
    color: white;
}

/* desktop firts que empieces desde el MQ mas grande */

.html-video {
    width: 100%;
    height: auto;
}

.youtube-video {
    /* width: 100%;
    height: auto; */
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 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 : 1023px) {
    .event-list-title {
        margin-left: 0;
    }
    .portfolio {
        padding: 0;
    }

    .container {
        padding: 0 1em;
    }

    .hero {
        height: auto;
        position: relative;
        overflow: hidden;
        padding: 2em;
    }
    .hero-image {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
}

    h1 {
        font-size: 2em;
        z-index: 2;
    }


    
}


@media screen and (max-width: 767px) {
    h2 {
        font-size: 1.2em;
        margin: .5em 0;

    }

    .burger-button {
        display: block;

    }

    .header {
        display: block;
        height: auto;
    }
    .header ol {
        display: block;
    }
    .header ol li {
        height: 50px;
    }
    .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: -100vw;
        width: 100vw;
        /* height: 100vh; */
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: .3s;

    }

    .menu.is-active{
        left: 0;
    }
    .project {
        display:  block;
    }
    .project-imageContainer {
        width: auto;
        text-align: center;
    }

    .project-details {
        width: auto;
        /* font-size: 16px; */
    }

    .project-course, .project-date, .project-url {
        margin: .3em 0;
        margin-bottom: .3em;
    }


    .project-title {
        font-size: 1.5em;
        margin-bottom: .3em;
    }

    .project-url {
        font-size: 1em;
    }

    .project-course {
        font-size: .7em;
    }
    
    .project-date {
        font-size: 1em;
    }

    .project-description {
        font-size: 1em;
    }

    .event {
        width: auto;
        flex-shrink: initial;
    }

    .event img {
        width: 100%;
    }
}




@media screen and (max-width : 480px) {

    h1 {
        font-size: 1.5em;
    }

    .project-details {
        font-size: 14px;
    }
    
    .event-detail {
        /* 1em = 16px */
        margin: -2em .5em .5em;
        padding: 1em;
    }

    .contact {
        height: auto;
        padding: 1.5em 0;
        text-align: center;
        display: block;
    }

    .from-email button {
        margin: 1em auto;
    }

    .from-email h3 {
        margin-top: 0;
    }

    .footer {
        display: block;
        text-align: center;
        border: 1px solid transparent;
    }

    .social-link {
        width: 40px;
        height: 40px;
        background-size: 100%;
    }
}

@media screen and (max-width : 319px) {
    h1 {
        font-size: 1.2em;

    }
    .hero {
        padding: 2em 1em;
    }


    
}