* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#main-project {
    opacity: 0;
    animation: projectAppears 0.5s ease forwards;
}
a {
    text-decoration: none;
    color:  #2f4a73;
    cursor: pointer;
    outline: 0;
}
@keyframes projectAppears {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.body-project {
    background-color: #F2EFE8;
    color: #2f4a73;
    font-family: 'Roboto', sans-serif;
}

.projectpage{
    width: 100%;
    background-color: #F2EFE8;
    transition: 0.6s ease-in-out; 
    left: 0%;
    top: 0;
    transition: 1s ease-in-out;
    z-index: 2;
    overflow-y: visible;
    margin: auto;
    /* display: none; */
    height: 100%;
    
}

.projectpage__sec {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    margin-bottom: 10%;
    flex-wrap: wrap;
    background-color: #F2EFE8;
    align-items: flex-start;
}
.sec-1 {
    flex-direction: column;
    align-items: center;
}
.sec-sticky {
    padding-top: 5%;
    
}
.group-sticky {
    position: sticky;
    top: 130px;
}

.projectpage__title {
    margin-bottom: 5%;
}
.projectpage__sec1__text__p {
    padding-bottom: 10%;
}

.projectpage__sec__img {
    height: auto;
    width: 100%;
}


.group-sticky, .img-sec-sticky {
    width: 100%;
    height: auto;
}

.projectpage__title {
    margin-bottom: 5%;
}
.projectpage__sec1__text__p {
    padding-bottom: 10%;
}
.projectpage__sec__img:first-child {
    margin-bottom: 10%;
}
.projectpage__sec__img--small:last-child {
    padding-top: 10%;
}
.close {
    width: 90%;
    margin: auto;
    margin-top: 5%;
}
.close-x {
    margin-left: 90%;
    /* transform: rotate(45deg); */
    cursor: pointer;
    margin-top: 5%;
     
}

/* animacion onscroll */
.animated {
    opacity: 0;
    transition: all 1s;
}
.showTop {
    animation: showTop 1s;
}

@keyframes showTop {
    0% {
        transform: translateY(70px);
        
    }
    100% {
        transform: translateY(0px);
        
    }
}
@media only screen and (min-width: 768px) {
    
   .sec-sticky {
       flex-wrap: nowrap;
   }
     .projectpage__sec__img {
        width: 45%;
        
    }
    .projectpage__sec__img--small {
        width: 30%;
    }
    .projectpage__sec__img--small:last-child {
        padding-top: 0%;
    }
    .projectpage__sec__img:first-child {
        margin-bottom: 0;
    }
    .img-sec-sticky {
        width: 50%;
        
    }
    .projectpage__sec1__text {
        padding-bottom: 0;
        position: sticky;
        top: 130px;
    }

    .projectpage__sec1__text__p {
        padding-right: 25%;
    }
    .close {
        width: 95%;
        margin: auto;
        margin-top:0;
        height: 100px;
        display: flex;
        align-items: center;
    }
 }

 .first-image-page {
    max-width: 600px;
}