*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    box-sizing: inherit;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-family: 'Fjalla One', Arial, sans-serif;
}

h1 {
    color: white;
    font-size: 40px;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

h1 strong {
    color: #056ff0;
}

h2 {
    font-size: 24px;
    color: #056ff0;
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: capitalize;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

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


/* Ejercicio Manito Completa */

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

.logo {
    border-radius: 5px 15px 15px 5px;
}


/* Ejercicio Manito Completa */

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

.header ol li {
    height: inherit;
}

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

.menu {
    height: inherit;
}

ol,
ul {
    list-style: none;
}

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

.portfolio {
    padding: 20px;
    background-color: #fafafa;
}

.project {
    margin: 10px;
    padding: 20px;
    display: flex;
    border-radius: 10px;
    margin-bottom: 15px;
    align-items: center;
    border: 1px solid gray;
    background-color: white;
    justify-content: space-between;
}

.project-title {
    margin-top: 0;
    font-size: 30px;
    margin-bottom: 10px;
}

.project-datails {
    width: 49%;
    margin-right: 1%;
}

.project-course,
.project-course,
.project-url {
    margin: 10px 0;
}

.project-description {
    font-size: 20px;
}

.project strong {
    font-family: 'Fjalla One', Arial, sans-serif;
}

.project-imageContainer {
    display: grid;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
    align-content: center;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(20px, 150px));
}


/* Imagen Responsiva */

.project-imageContainer img {
    max-width: 100%;
    min-height: 55px;
    object-fit: cover;
}

#maquetaciones {
    margin-bottom: 15px;
}

.container__elements {
    display: grid;
    row-gap: 0.8rem;
    column-gap: 0.5rem;
    border-radius: 10px;
    justify-content: center;
    grid-template-columns: 100%;
}

.container__elements img {
    max-width: 100%;
    border-radius: 10px;
    border: solid 1px gray;
}

@media screen and (min-width: 768px) {
    .burger-button {
        display: none;
    }
    .container__elements {
        row-gap: 0.5rem;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.event-list-title {
    margin-bottom: 0;
    margin-left: 20px;
}

@media screen and (min-width: 425px) {
    .event-list-title {
        margin-left: 10px;
    }
}

@media screen and (min-width: 768px) {
    .event-list-title {
        margin-bottom: 20px;
    }
}

.event-list {
    display: flex;
    padding: 1rem;
    flex-wrap: wrap;
}

.event {
    margin: 1%;
    width: 48%;
    flex-shrink: 0;
    /* overflow: hidden; */
    border-radius: 10px;
    border: solid 1px gray;
    background-color: #f4fbff;
}

.event img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.event-datail {
    padding: 20px;
    margin: 20px 40px;
    margin-top: -40px;
    text-align: center;
    position: relative;
    background-color: white;
}

.event-description {
    text-align: left;
    padding-bottom: 10px;
}

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

.contact {
    display: flex;
    height: 250px;
    color: black;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-image: url(https://raw.githubusercontent.com/DanielFernandoYepezVelez/Proyecto-Portafolio-Desarrollador/master/public/img/contacto.jpg);
}

.form-email h3 {
    margin-bottom: 15px;
    font-family: 'Fjalla One', Arial, sans-serif;
}

.form-email input {
    border-radius: 5px;
    border-style: solid;
    border-color: black;
    padding: 5px 20px 5px 25px;
}

.form-email button {
    width: 100px;
    display: block;
    color: black;
    margin: 1em auto;
    margin-top: 10px;
    padding: 5px 30px;
    border-radius: 5px;
    border-color: black;
    background-color: transparent;
}

.social-link {
    width: 50px;
    height: 50px;
    margin: 0 10px;
    display: inline-block;
    background-color: white;
    background-size: 50px 50px;
    background-repeat: no-repeat;
}

.social-link.twitter {
    background-image: url('./Img/icons8-twitter-50.png');
}

.social-link.github {
    background-image: url('./Img/icons8-github-50.png');
}

.social-link.instagram {
    background-image: url('./Img/icons8-instagram-50.png');
}

.social-link.linkedin {
    background-image: url('./Img/icons8-linkedin-50.png');
}

.footer {
    padding: 1rem;
    display: block;
    color: white;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: #1b1b1b;
}

.footer img {
    margin-left: 1%;
    vertical-align: middle;
    border-radius: 5px 15px 15px 5px;
}


/* Empaquetando todo el website section por section */

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

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


/* Aplicando Media Queries Con la tecnica Desktop First */


/* BreakPoints */

@media screen and (max-width: 1023px) {
    .portfolio {
        padding-bottom: 0;
    }
    .hero {
        height: auto;
        padding: 3.5em;
        overflow: hidden;
        position: relative;
    }
    .hero-image {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        width: 100%;
        height: 304px;
        position: absolute;
    }
    h1 {
        z-index: 2;
        color: black;
        font-size: 1.8em;
        margin-left: -4.5%;
    }
    h1 strong {
        color: black;
    }
    .form-email {
        padding: 0 1%;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        margin: .5em 0;
        font-size: 1.1em;
    }
    .burger-button {
        display: block;
    }
    .header {
        height: auto;
        display: block;
    }
    .header .logo {
        text-align: center;
    }
    .menu {
        top: 0;
        bottom: 0;
        z-index: 3;
        left: -100vw;
        width: 100vw;
        display: flex;
        position: fixed;
        transition: .3s;
        align-items: center;
        justify-content: center;
        background-color: rgba(5, 111, 255, .9);
    }
    .menu.is-active {
        left: 0;
    }
    .header ol {
        display: block;
    }
    .header ol li {
        height: 50px;
    }
    .header a {
        height: 40px;
        font-size: 2em;
        margin-bottom: .5em;
        justify-content: center;
        text-decoration: underline;
    }
    h1 {
        z-index: 2;
        color: black;
        margin-left: -1%;
        font-size: 1.4em;
    }
    .hero {
        padding: 5em 1em;
    }
    .project {
        display: block;
    }
    .project-datails {
        width: auto;
        font-size: 16px;
        margin-bottom: 1%;
    }
    .project-course,
    .project-date,
    .project-url {
        margin: .3em 0;
    }
    .project-imageContainer {
        width: auto;
        text-align: center;
    }
    .project-title {
        font-size: 1.5em;
        margin-bottom: .3em;
    }
    .project-url {
        font-size: 1em;
    }
    .project-course {
        font-size: .7em;
    }
    .project-description {
        font-size: .8em;
    }
    .project-date {
        font-size: 1em;
    }
    .event {
        width: auto;
        flex-shrink: initial;
    }
    .event img {
        width: 100%;
    }
    .event-datail {
        padding: 1em;
        margin: -2em .5em .5em;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        color: black;
        font-size: .9em;
        margin-left: -3%;
    }
    .hero {
        padding: 6em 1em;
    }
    .project-datails {
        width: auto;
        font-size: 16px;
    }
    .contact {
        height: auto;
        padding: 1em 0;
        display: block;
        text-align: center;
    }
}

@media screen and (max-width: 320px) {
    h1 {
        color: black;
        font-size: .6em;
        margin-left: -4%;
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 321px) and (max-width: 332px) {
    h1 {
        color: black;
        font-size: .6em;
        margin-left: -4%;
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 333px) and (max-width: 350px) {
    h1 {
        color: black;
        font-size: .66em;
        margin-left: -5%;
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 351px) and (max-width: 385px) {
    h1 {
        color: black;
        font-size: .66em;
        margin-left: -4%;
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 386px) and (max-width: 410px) {
    h1 {
        font-size: .76em;
        margin-left: -4.5%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 411px) and (max-width: 450px) {
    h1 {
        font-size: .76em;
        margin-left: -3.5%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 451px) and (max-width: 479px) {
    h1 {
        font-size: .8em;
        margin-left: -3%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 481px) and (max-width: 510px) {
    h1 {
        font-size: .9em;
        margin-left: -3%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 511px) and (max-width: 530px) {
    h1 {
        font-size: .9em;
        margin-left: -2%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 531px) and (max-width: 570px) {
    h1 {
        font-size: .9em;
        margin-left: -1%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 571px) and (max-width: 610px) {
    h1 {
        font-size: 1em;
        margin-left: -1%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 611px) and (max-width: 670px) {
    h1 {
        font-size: 1.1em;
        margin-left: -1%;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 671px) and (max-width: 730px) {
    h1 {
        margin-left: -1%;
        font-size: 1.2em;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 731px) and (max-width: 820px) {
    h1 {
        margin-left: -2%;
        font-size: 1.4em;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 821px) and (max-width: 910px) {
    h1 {
        margin-left: 0;
        font-size: 1.4em;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 911px) and (max-width: 960px) {
    h1 {
        margin-left: 0;
        font-size: 1.5em;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 5em 1em;
    }
}

@media screen and (min-width: 961px) and (max-width: 1000px) {
    h1 {
        margin-left: 0;
        font-size: 1.6em;
        color: rgb(19, 15, 15);
    }
    .hero {
        padding: 4em 1em;
    }
}