/* reglas
selectores
declaraciones
propiedades
valores */

/* header {
    background: pink;
    color: red; 
} */

/* selector de etiqueta header - section - article - nav */
/* selector descendente  */
/* body header div nav ol li a  */
/* selector de clase . */
/* .portafolio */
/* .link */
/* selector de id # */
/* #portafolio */

@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?dhiwzd');
    src:  url('../fonts/icomoon.eot?dhiwzd#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?dhiwzd') format('truetype'),
      url('../fonts/icomoon.woff?dhiwzd') format('woff'),
      url('../fonts/icomoon.svg?dhiwzd#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-telefono:before {
    content: "\e906";
  }
  .icon-correo:before {
    content: "\e900";
    font-size: 1.8em;
    display: inline;
  }
  .icon-instagram:before {
    content: "\e901";
  }
  .icon-github:before {
    content: "\e902";
  }
  .icon-facebook:before {
    content: "\e903";
  }
  .icon-twitter:before {
    content: "\e904";
  }
  .icon-menu:before {
    content: "\e905";
  }
  .icon-correo span {
    font-size: 1.5em;
    display: inline-block;
    margin-bottom: 10px;
  }

.sound{
        width: 50px;
        height: 50px;
        display: absolute;
        line-height: 50px;
        position: fixed;
        z-index: 4;
        right: 5px;
        bottom: 5px;
}

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;
}

h1 {
    font-size: 40px;
    line-height: 1.5;
    font-weight: normal;  
    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 {
    /* box-sizing: border-box; */
    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-right: 10px solid red  ; */
    /* border-top-color: red; */
    /* border-color: red;
    border-width:  15px;
    border-style: solid; */
    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-date,
.project-url,
.project-course{
    margin: 10px 0;
}

.project-description {
    font-size: 20px;
}

.project strong {
    font-family: 'Fjalla One', sans-serif;
}


.project-title {
    font-size: 30px;
    margin-top: 0 ;
    margin-bottom: 10px;
}

.project-details {
    width: 50%;
}

.project-imageContainer {
    width: 50%;
}

.project-imageContainer img {
    max-width: 100%;
}

.header {
    align-items: center; 
    background-color: #1b2127;
    color: white;
    display: flex;
    height: 70px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.menu {
    height: inherit;
}

.header ol {
    display: flex;
    height: inherit;
}

.header ol li {
    height: inherit;
}

.header a {
    color: white;
    text-decoration: none;
    height: inherit;
    display: flex;
    align-items: center;
    padding:  0 10px;
}


ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}

.flexbox {
    display: flex;
    flex-wrap: wrap;
    /* flex-direction: column; */
    
}

.box {
    width: 200px;
    height: 200px;
    margin: 15px;
    border: 1px solid red;
    flex-shrink: 0;
}

.footer {
    background-color: #1b2127;
    color: white;
    display: flex;
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap;
    
}

.footer img {
    vertical-align: middle;
}

.footer a {
    font-family: 'Fjalla One', sans-serif;
    color: white;
}

.event-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.event-list-title{
    margin-left: 20px;
}

.event {
    margin: 1%;
    width: 48%;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: #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;
    margin: 5px;
    display: inline-block;
}

.contact{
    background-color: #056fff;
    color: white;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}



/* .social-link{ PARA CUANDO USAMOS LOS SVG 
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    background-size: 50px 50px;
}
 */

 
.social-link{
    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 0 10px;
    background-size: 50px 50px;
    text-decoration: none;
    font-size: 45px;
    color: white;
}

.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");
}

/* .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;
    margin-top: 10px;
    margin-bottom: 15px;
    background: transparent;
    color: white;
    padding: 10px 0; 
    border-radius: 5px;
    width: 100px;
} */

.form-email h3 {
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
    font-size: 1.7em;
    margin: 2px;
}



.container {
    max-width: 1000px;
    /* width: 100%; */
    flex: 1;
    margin: 0 auto;
    display: inherit;
    justify-content: inherit;
    align-items: inherit;
    height: inherit;
    flex-wrap: inherit;
}

.html-video {
    width: 100%;
    height: auto;
    /* max-width: 100%; */
}
.flexible-video {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    background: blue;
    position: relative;
}

.youtube-video{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* width: 100%;
    height: auto; */
}

.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;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
.event-list-title {
    margin-left: 0;
}

    .portfolio {
        padding: 0;
    }

    .hero {
        height: auto;
        position: relative;
        overflow: hidden;
        padding: 2em;
    }

    h1 {
        font-size: 2em;
        z-index: 2;
    }

    .hero-image {
        position: absolute;
        z-index: 1;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
    }

   .container{
       padding: 0 .5em;
   }
}

@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: red; */
        background-color: rgba(0,0,0,.8);
        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;
    }

    .project-title{
        font-size: 1.5em;
        margin-bottom: .3em;
    }
    .project-url{
        font-size: 1em;

    }
    .project-course{
        font-size: .8em;

    }
    .project-date{
        font-size: 1em;

    }
    .project-description{
        font-size: 1em;

    }
    .event {
        width: auto;
        flex-shrink: initial;
    }
    .event img{
        width: 100%;
    }
    .event-detail {
        margin: -2em .5em .5em;
        padding: 1em;
    }
    .contact{
        height: auto;
        padding: 1em 0;
        text-align: center;
        display: block;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.2em;
    }

    .project-details{
        width: auto;
        font-size: 14px;

    }
    .contact{
        height: auto;
        padding: 1em 0;
        text-align: center;
        display: block;
    }
    .form-email button {
        margin: 1em auto;
        margin-top: .5em;
    }
    .form-email h3 {
        margin-top: 0;
    }
    .footer {
        display: block;
        text-align: center;
    }
    .footer img {
        display: block;
        margin: 1em auto;
    }
}

@media screen and (max-width: 320px) {
    h1{
        font-size: 1.2em;
    }

    .hero {
        padding: 2em 1em;
    }
    .event-url{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .icon-correo:before {
        content: "\e900";
        font-size: 1.3em;
        display: inline;
      }
    
    .icon-correo span {
        font-size: 1.3em;
        display: inline-block;
        margin-bottom: 15px;
    }
    .cucei-maps {
        height: auto;
    }
    
}
