/*!------Pantallas hasta 1250---------------*/
@media screen and (max-width:1250px) {
    .containerx {
        top: 40%;
        bottom: 40%;
        transform-style: preserve-3d
    }

    #fotos_carousel div {
        padding: 10px;
        display: block;
        align-items: normal
    }

    .cards {
        position: relative;
        width: 90vw;
        height: 100%
    }

    .somos {
        width: 100%
    }

    .texto-somos {
        width: 100%
    }

    .texto-grupo {
        display: flex;
        justify-content: center
    }

    .texto-grupo .parrafo {
        width: 90%
    }

    .image-gallery {
        width: 90%
    }

    .sostenibilidad-content {
        margin-left: 1rem;
        padding: 1rem 2px;
        margin: auto
    }

    .logo {
        left: 15px;
        display: block;
        font-size: 1rem
    }

    .ecard {
        margin-top: 5%;
    }
}

/*!-------Pantallas hasta 1205------------*/
@media screen and (max-width:1205px) {
    .logocabecera {
        display: none
    }

    .menu-btn {
        display: block
    }

    .navbar {
        padding: 15px 15px
    }

    .logo {
        left: 15px;
        display: block
    }

    .nav-links {
        flex-direction: column;
        width: 10%;
        height: 10vh;
        justify-content: center;
        background: #343434;
        margin-top: -470px;
        transition: all 0.5s ease
    }

    .mobile-menu {
        margin-top: 402px;
        border-radius: 20px;
        width: 25%;
        height: 92vh
    }

    .nav-links li {
        margin: 15px auto
    }

    .row {
        justify-content: center
    }

    .containerx {
        top: 40%;
        bottom: 40%;
        transform-style: preserve-3d;
        padding-right: 20%;
        margin-right: 20px;
        align-items: center;
        justify-items: center;
        margin-right: 20%
    }

    .video-popup {
        max-width: 90%;
        max-height: 40%
    }

    .somos {
        width: 100%
    }

    .texto-somos {
        width: 100%
    }

    .texto-grupo {
        display: flex;
        justify-content: center
    }

    .texto-grupo .parrafo {
        width: 90%
    }

    .image-gallery {
        width: 90%
    }

    .sostenibilidad-content {
        margin-left: 1rem;
        padding: 1rem 2px;
        margin: auto
    }

    .video-cabecera {
        margin-top: 10%
    }

    */ .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 3px
    }

    .ecard {
        margin-top: 10%;
    }
}

/*!-------Pantallas hasta 850------------*/
@media (max-width:850px) {
    .logocabecera {
        display: none
    }

    .row {
        flex-direction: column
    }

    .row .col {
        margin: 25px auto
    }

    .col img {
        max-width: 90%
    }

    .sostenibilidad-content {
        width: 100%
    }

    .somos {
        width: 100%
    }

    .texto-somos {
        width: 100%
    }

    .texto-grupo {
        display: flex;
        justify-content: center
    }

    .texto-grupo .parrafo {
        width: 90%
    }


    .image-gallery {
        width: 90%
    }

    .img-hover:hover {
        transform: none;
    }

    .content-col h1 {
        font-size: calc(2.2rem + 1vw);
        font-family: var(--ff-montserrat);
        display: flex;
        justify-content: center;
        margin: 0 auto
    }

    .footer {
        padding: 10px
    }

    .content-col {
        width: 100%
    }

    #fotos_carousel p {
        width: 70%
    }

    .nav-links {
        flex-direction: column;
        width: 10%;
        height: 10vh;
        justify-content: center;
        background: #343434;
        margin-top: -470px;
        transition: all 0.5s ease
    }

    .mobile-menu {
        margin-top: 402px;
        border-radius: 20px;
        width: 25%;
        height: 102vh
    }

    .content-col {
        text-align: center
    }

    .content-col .line {
        margin: .5rem auto
    }

    .content-col .ctn {
        margin: 0 auto;
        position: inherit
    }

    .content-col p {
        max-width: 75%;
        text-align: justify
    }

    .video-cabecera {
        margin-top: 10%
    }

    .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 3px
    }

    .ecard {
        margin-top: 10%;
    }

    /* Responsive para el footer */
    .footer {
        align-items: center;
        justify-content: center;
        display: flex;

    }
    .container-footer {
        display: block;
        align-items: center;
        justify-content: center;

    }

    .logo_2_img {
        width: 100%;
        display: flex;
        margin: auto;
    }

    .logo_2 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .social {
        display: none;
    }
}

/*!-------Pantallas hasta 770------------*/
@media screen and (max-width:770px) {
    #fotos_carousel p {
        width: 85%;
        padding-top: 7em;
        margin: auto
    }

    .ctn {
        margin: auto
    }

    .mobile-menu {
        margin-top: 530px;
        border-radius: 20px;
        width: 80%;
        height: auto;
        position: absolute;
        left: 10%
    }

    .texto-grupo .parrafo {
        width: 90%
    }

    .img-hover:hover {
        transform: none;
    }

    .sostenibilidad {
        height: 80vh
    }

    .sostenibilidad-content {
        margin: 0 auto;
        text-align: center;
        width: 100%
    }

    .sostenibilidad-content p {
        padding: 0 3px;
        font-size: 1.5rem
    }

    .sostenibilidad-content .ctn {
        margin: 40px auto
    }

    .video-cabecera {
        margin-top: 12%
    }

    .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 3px
    }

    .ecard {
        margin-top: 10%;
    }

    /* Responsive para el footer */
    .footer {
        align-items: center;
        justify-content: center;
        display: flex;

    }
    .container-footer {
        display: block;
        align-items: center;
        justify-content: center;

    }

    .logo_2_img {
        width: 100%;
        display: flex;
        margin: auto;
    }

    .logo_2 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .social {
        display: none;
    }
}

/*!--------Pantallas hasta 600------------*/
@media screen and (max-width:600px) {
    #fotos_carousel p {
        margin: auto
    }

    .nav-links {
        flex-direction: column;
        width: 10%;
        height: 10vh;
        justify-content: center;
        background: #343434;
        margin-top: -470px;
        transition: all 0.5s ease
    }

    .mobile-menu {
        margin-top: 530px;
        border-radius: 20px;
        width: 80%;
        height: auto;
        position: absolute;
        left: 10%
    }

    .video-popup {
        max-width: auto;
        max-height: auto;
        margin-right: 250px
    }

    .img-popup {
        max-width: auto;
        max-height: auto;
        margin-right: 70px
    }

    .texto-grupo .parrafo {
        width: 80%
    }

    .img-hover:hover {
        transform: none;
    }

    .sostenibilidad {
        height: 80vh
    }

    .sostenibilidad-content {
        width: 90%
    }

    .sostenibilidad-content p {
        padding: 0 3px;
        font-size: 1.5rem
    }

    .video-cabecera {
        margin-top: 16%
    }

    .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 3px
    }

    .ecard {
        margin-top: 20%;
    }

    /* Responsive para el footer */
    .footer {
        align-items: center;
        justify-content: center;
        display: flex;

    }
    .container-footer {
        display: block;
        align-items: center;
        justify-content: center;

    }

    .logo_2_img {
        width: 100%;
        display: flex;
        margin: auto;
    }

    .logo_2 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .social {
        display: none;
    }
}

/*!--------Pantallas hasta 470------------*/
@media screen and (max-width:470px) {
    #fotos_carousel p {
        margin: auto
    }



    .nav-links {
        flex-direction: column;
        width: 10%;
        height: 10vh;
        justify-content: center;
        background: #343434;
        margin-top: -470px;
        transition: all 0.5s ease
    }

    .mobile-menu {
        margin-top: 530px;
        border-radius: 20px;
        width: 80%;
        height: auto;
        position: absolute;
        left: 10%
    }

    .video-popup {
        max-width: auto;
        max-height: auto;
        margin-right: 250px
    }

    .img-popup {
        max-width: auto;
        max-height: auto;
        margin-right: 160px
    }

    .texto-grupo .parrafo {
        width: 80%
    }

    .img-hover:hover {
        transform: none;
    }

    .sostenibilidad {
        height: 80vh
    }

    .sostenibilidad-content {
        width: 90%
    }

    .sostenibilidad-content h1 {
        font-size: 2rem
    }

    .sostenibilidad-content p {
        padding: 0 3px;
        font-size: 1rem
    }

    .video-cabecera {
        margin-top: 19%
    }

    .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 1px;
    }

    .nav-button {
        font-size: 20px;
        width: 30px;
        height: 30px
    }

    .ecard {
        margin-top: 20%;
    }

    /* Responsive para el footer */
    .footer {
        align-items: center;
        justify-content: center;
        display: flex;

    }
    .container-footer {
        display: block;
        align-items: center;
        justify-content: center;

    }

    .logo_2_img {
        width: 100%;
        display: flex;
        margin: auto;
    }

    .logo_2 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .social {
        display: none;
    }
}

/*!--------Pantallas hasta 400------------*/
@media screen and (max-width:400px) {
    .ctn {
        padding: 13px 25px
    }

    .nav-links {
        flex-direction: column;
        width: 10%;
        height: 10vh;
        justify-content: center;
        background: #343434;
        margin-top: -470px;
        transition: all 0.5s ease
    }

    .mobile-menu {
        margin-top: 530px;
        border-radius: 20px;
        width: 80%;
        height: auto;
        position: absolute;
        left: 10%
    }

    .video-popup {
        max-width: 70%;
        max-height: 40%
    }

    .img-popup {
        max-width: auto;
        max-height: auto;
        margin-right: 200px
    }

    .texto-grupo {
        display: flex;
        justify-content: center
    }

    .texto-grupo .parrafo {
        width: 80%
    }

    .img-hover:hover {
        transform: none;
    }

    .content-col h1 {
        font-size: calc(2.2rem + 1vw);
        font-family: var(--ff-montserrat);
        display: flex;
        justify-content: center;
        margin: 0 auto
    }

    .sostenibilidad {
        height: 80vh
    }

    .sostenibilidad-content {
        width: 90%
    }

    .sostenibilidad-content h1 {
        font-size: 1.5rem
    }

    .sostenibilidad-content p {
        padding: 0 3px;
        font-size: 1rem
    }

    .video-cabecera {
        margin-top: 23%
    }

    .header-content {
        padding: 0rem
    }

    .card,
    col {
        width: 100%
    }

    .proyecto .ctn {
        margin-top: 3px;
        padding-top: 0.5rem;
    }

    .nav-button {
        font-size: 20px;
        width: 30px;
        height: 30px
    }

    .ecard {
        margin-top: 20%;
    }


    /* Responsive para el footer */
    .footer {
        align-items: center;
        justify-content: center;
        display: flex;

    }
    .container-footer {
        display: block;
        align-items: center;
        justify-content: center;

    }

    .logo_2_img {
        width: 100%;
        display: flex;
        margin: auto;
    }

    .logo_2 {
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .social {
        display: none;
    }
}