@media (max-width: 768px) {
    /*Index*/
    
    .contenedor-header{
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .nav-principal{
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .nav-principal a{
        border-radius: 0;
        margin-left: 0;
        text-align: center;
    }


    .contenedor-main{
        background-image: url(../img/sphagnum.jpeg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 85vh;
        border-top: solid .6rem rgb(54, 54, 54);
        border-bottom: solid .6rem rgb(54, 54, 54);
        position: relative;
    }

    .main-bg{
        width: 100vw;
    }

    .contenido-main h1{
        font-size: 7rem;
        text-align: center;
    }

    .contenedor-articles{
        margin-top: 0;
    }

    .contenido-articles{
        display: flex;
        flex-direction: column;
        padding: 5rem;
    }

    .article{
        margin-top: 5rem;
    }

    .article:hover{
        transform: none;
    }


    .contenido-article-2 p{
        text-align: justify;
    }


    /*Empresas*/
    .contenido-empresa-section{
      display: flex;
      flex-direction: column;
      width: 80%;
    }

    .contenido-empresa-section img{
        width: 95%;
    }

    .contenido-empresa-section p{
        text-align: justify;
    }


    /*Galeria*/
    
    .nav-principal-galeria{
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .nav-principal-galeria a{
        border-radius: 0;
        margin-left: 0;
        text-align: center;
    }


    /*Contacto*/

    .contenedor-contacto{
        width: 90%;
    }

    .contenido-main-contacto p{
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .contenido-main h1{
        font-size: 5rem;
    }
}