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

body {
    font-family: system-ui, "Roboto", 'Open Sans';
}

header {
    width: 100%;
    max-width: 1980px;
    height: 20vh;
    background: #f12711;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f5af19, #f12711);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f5af19, #f12711); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

header .menu {
    width: 80%;
    max-width: 1280px;
    height: 20vh;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

}

header .menu .containerNav {
    position: absolute;
    margin-top: 20vh;
    left: 0;
    display: block;
    width: 100%;
    background: #f12711;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f5af19, #f12711);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f5af19, #f12711);
    transform: translateX(-200%);
    transition: transform 1s ease;
    z-index: 1000;
}

header .menu .containerNav.active {
    position: absolute;
    margin-top: 20vh;
    left: 0;
    transform: translateY(0);
    transition: transform 0.8s ease;
}

header .menu nav ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

header .menu nav ul li {
    list-style: none;
    padding: 25px 5px;
    border-bottom: 1px solid #ffff;
    padding-left: 40px;
}

header .menu nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

header .menu nav ul .logoMenuMovil  {
    margin: 0 auto;
    padding: 20px 0;
}

/* Section Hero */

.hero {
    top: 20vh;
    max-width: 1980px;
}

.hero .containerHero {
    background-image: url(../Img/hero/hero01.jfif);
    /* background-position: 100% 100%; */
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    object-fit: contain;
}

.hero .containerHero .capa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
	background-color: rgba(74, 86, 104, 0.8);
    z-index: 1;
}

.hero .containerHero .containerText {
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero .containerHero .containerText .containerTitle {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.hero .containerHero .containerText .containerTitle h3 {
    color: #f5af19;
    padding-bottom: 1rem;
    font-size: 38px;
}

.hero .containerHero .containerText .containerTitle h1 {
    z-index: 3;
    color: #ffff;
    font-size: 40px;
    letter-spacing: 3px;
    line-height: 1.7;
    font-weight: 400;
}

/*Proyectos*/

.containerFull {
    width: 100%;
    max-width: 1980px;
    height: 100;
    margin: 3rem 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.containerFull .card {
    width: 90%;
    max-width: 200px;
    height: 265px;
    border: 1px solid rgba(251, 177, 59, 0.200);
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    /* box-shadow: -10px -10px 5px 0px rgb(0 0 0 / 30%); */
}

.containerFull .card .img_card {
    width: 100%;
    height: 100%;
}

.containerFull .card .img_card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.containerFull .card .textCard {
    width: 90%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.containerFull .card .review {
    font-size: 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: end;
    padding: 0.3rem;    
}

.containerFull .card .review .contador {
    color: #494C5A;
}

.containerFull .card .textCard h2 {
    width: 100%;
    color: #222;
    text-align: center;
    margin: .5rem 0;
    font-size: 14px;
}

.containerFull .card .textCard a {
    text-decoration: none;
}

.containerFull .card .textCard a button {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    font-size: 10px;
    background-color: transparent;
    border: none;
} 

/*about*/

.containerAbout {
    width: 100%;
    max-width: 1980px;
    height: 100;
    margin: 3rem 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #494C5A;
    flex-wrap: wrap;
}

.containerAbout .TextH2 {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    color: #f1f1f1;
    padding: 3rem 0;
    font-size: 42px;
}

.containerAbout .containerImagen {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerAbout .containerImagen img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 0.5rem
}

.containerAbout .containerText {
    width: 50%;
    padding-right: 10rem;
    text-align: justify;
}

.containerAbout .containerText p {
    font-size: 14px;
    color: #f1f1f1;
}

.containerAbout .logoGithub {
    width: 100px;
    padding: 0.5rem;
} 

.containerAbout .containerSocial {
    
    border: 1px solid #f1f1f1;
    border-radius: 0.5rem;
    margin: 5rem 2rem;
}

.containerAbout .containerSocial a {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.containerAbout .containerSocial a:hover {
    background-color: #222;
    border-radius: 0.5rem;
}

.containerAbout .containerSocial p {
    color: #f1f1f1;
    text-align: center;
    padding: 0 1rem;
}


.image {
    animation: animate .6s linear alternate-reverse infinite;
    transition: .6s ease;
    cursor: pointer;
}
  
@keyframes animate {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.09);
    }
}

.containerMe {
    width: 70%;
    height: auto;
    margin: 0 auto 3rem;
    display: flex;
}

.containerMe .containerTextMe h3 {
    margin-bottom: 1rem;
}

.containerMe .containerTextMe h3 span {
    color: #f5af19;
    font-size: 20px;
}

.containerMe .Me {
    width: 190px;
    height: 190px;
    rotate: 3deg;
    border-radius: 0.5rem;
    border: 1px solid #a2a2a2a2;
    margin-top: 3rem;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

/*footer*/

.containerFooter {
    width: 100%;
    height: auto;
    background-color: #494C5A;
}

.containerFooter .containerSocial {
    width: 70%;
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.containerFooter .containerSocial p {
    color: #f1f1f1;
}

.containerFooter .icons {
    width: 2rem;
    
}


@media (width <= 768px) {
    .hero .containerHero .containerText .containerTitle h3 {
        font-size: 18px;
    }
    
    .hero .containerHero .containerText .containerTitle h1 {
        font-size: 20px;
    }

    .containerAbout {
        flex-direction: column;
    }

    .containerAbout .containerText {
        width: 90%;
        margin: 0 auto;
        padding-right: 0;
        padding-top: 2rem;
    }

    .containerAbout .containerImagen img {
        width: 150px;
        height: 150px;
    }

    .containerAbout .containerSocial {
        margin-top: 2.5rem;
    }

    .containerAbout .TextH2 {
        font-size: 32px;
    }
    
    .containerMe {
        flex-direction: column;
        width: 90%;
    }

    .containerMe .Me {
        margin: 1.5rem auto;
        rotate: 0deg;
        width: 9rem;
        height: 10rem;
    }

    .containerFooter .icons {
        width: 1.3rem;   
    }

}

@media (width >= 768px) {
    header .menu .containerNav {
        transform: translateY(0);
        position: initial;
        margin-top: 0;
        background: none;
    }
    header .menu nav ul .logoMenuMovil {
        display: none;
    }
    header .menu .btnMenu {
        display: none;
    }
    header .menu nav ul {
        flex-direction: row;
        justify-content: end;
        gap: 1rem;
        height: 100%;
        align-items: center;
    }
    header .menu nav ul li {
        border-bottom: none;
        cursor: pointer;
    }
}

@media (width >= 1024px) {
    .containerFull .card {
        max-width: 223px;
    }
}