html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 1.8rem;
    font-family: 'Roboto Slab', serif;
    background-color: #f2f2f2;
}


/**Globales**/

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.4rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2rem;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

.btn {
    text-decoration: none;
    color: #fff;
    font-size: 3rem;
    padding: 2rem 3rem;
    border-radius: 4rem;
    transition: .8s;
}

.btn-empresas {
    text-decoration: none;
    color: #fff;
    font-size: 3rem;
    padding: 1rem 2rem;
    border-radius: 4rem;
    text-transform: uppercase;
    transition: .8s;
}

.btn-verde {
    background-color: #3b6b3b;
}

.btn-nav {
    background-color: #3b6b3b;
}

.btn-nav:hover {
    background-color: #f2f2f2;
    color: #000;
}

.btn-verde:hover {
    background-color: #62b662;
    color: #000;
}


/**Header**/

.contenedor-header {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.nav-principal {
    display: flex;
    justify-content: flex-end;
    margin-right: 3rem;
}

.nav-principal a {
    text-decoration: none;
    color: #fff;
    margin-left: 5rem;
    font-size: 1.8rem;
    padding: 2rem;
    transition: .8s;
}

.nav-principal a:hover {
    transform: scale(1.2);
}


/**Main**/

.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 {
    position: absolute;
    background-color: rgba(0, 0, 0, .2);
    height: 84vh;
    width: 100%;
}

.contenido-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.contenido-main h1 {
    color: #fff;
    font-size: 10rem;
    text-shadow: .2rem .2rem .4rem rgba(0, 0, 0, 1);
    margin-bottom: 10rem;
}


/**Articles**/

.contenedor-articles {
    margin-top: 10rem;
}

.contenido-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 8rem;
    margin-bottom: 10rem;
}

.article {
    background-color: #fff;
    box-shadow: .8rem .8rem 1rem rgba(0, 0, 0, .7);
    border-radius: .8rem;
    transition: .8s;
}

.article:hover {
    transform: scale(1.1);
}

.contenido-article-2 {
    padding: 0 3rem;
    text-align: center;
}

.contenido-article-2 a {
    text-decoration: none;
    color: #000;
}

.article img {
    width: 100%;
    height: 30rem;
    border-radius: .8rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.article p {
    line-height: 2;
}


/**Footer**/

.footer {
    background-color: rgb(54, 54, 54);
    padding: 1rem;
}

.footer p {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
}


/**Página Contacto**/


/**Main-Contacto**/

.contenedor-main-contacto {
    margin: 10rem auto;
}

.contenedor-main-contacto h1 {
    text-align: center;
}

.contenedor-contacto {
    text-align: center;
    width: 50rem;
    padding: 3rem;
    background-color: #fff;
    border-radius: .8rem;
    box-shadow: .4rem .4rem 1rem rgba(0, 0, 0, .7);
    margin-top: 10rem;
    margin: 10rem auto 0 auto;
}

.contenedor-header hr {
    margin-top: 3rem;
    border-width: .3rem;
}


/**Página Empresas**/


/**Main**/

.contenedor-main-empresas {
    margin-top: 10rem;
}

.contenedor-main-empresas h2 {
    text-align: center;
    margin-bottom: 10rem;
}

.contenido-empresa-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100rem;
    margin: 0 auto 10rem auto;
    background-color: #fff;
    border-radius: .8rem;
    box-shadow: .4rem .4rem .8rem rgba(0, 0, 0, .7);
}

.contenido-empresa-section img {
    width: 52rem;
    height: 40rem;
    border-radius: .8rem;
    padding: 2rem;
}

.nacional img {
    height: 60rem;
}

.internacional img {
    height: 60rem;
}

.contenido-btn-empresa {
    text-align: center;
    padding: 3rem;
}

.contenido-btn-empresa p {
    line-height: 2;
    margin-bottom: 5rem;
}


/**Galeria**/


/**Main Galeria**/

.nav-principal-galeria {
    display: flex;
    justify-content: flex-end;
    margin-right: 3rem;
    margin-top: 2rem;
}

.nav-principal-galeria a {
    text-decoration: none;
    color: #fff;
    margin-left: 5rem;
    font-size: 1.8rem;
    padding: 2rem;
    transition: .8s;
    margin-top: 0;
}

.nav-principal-galeria a:hover {
    transform: scale(1.2);
}

.titulo {
    font-size: 55px;
    text-transform: uppercase;
    letter-spacing: 7px;
}

.galeria img {
    box-shadow: 0 8px 10px -4px rgba(0, 0, 0, .6);
    border-radius: 15px;
}

.materialbox-caption {
    bottom: 30px;
    right: 0;
    width: 40%;
    height: auto;
    padding: 10px;
    margin: auto;
    background: #000;
    box-shadow: 5px 5px #fff;
    font-size: 20px;
    color: #fff;
    line-height: 28px;
}

.galeria .col {
    margin-bottom: 20px;
}

.material-placeholder img {
    width: 35rem;
    height: 20rem;
}

@media screen and (max-width: 600px) {
    .materialbox-caption {
        width: 90%;
    }
}

@media screen and (max-width: 992px) {
    .materialbox-caption {
        width: 70%;
    }
}

.btn-galeria {
    text-decoration: none;
    color: #fff;
    font-size: 3rem;
    border-radius: 4rem;
    transition: .8s;
}


/**Banderas**/

.banderas {
    position: fixed;
    right: 0;
    bottom: 7%;
}

.banderas img {
    width: 3rem;
    margin-left: 3rem;
    cursor: pointer;
}

.banderas img:last-child {
    margin-right: 3rem;
}


/*Idiomas*/

.english {
    display: none;
}

.spanish {
    display: block;
}