html {
    box-sizing: border-box;
    min-width: 100%;
    font-size: 62.5%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    justify-content: center;
}


/** Globales**/

img {
    max-width: 100%;
}

.contenedor {
    width: 95%;
    max-width: 120rem;
    /*1200px*/
    margin: 0 auto;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 3.4rem;
}

h3 {
    font-size: 3rem;
}

h4 {
    font-size: 2.6rem;
}


/* Utilidades*/

.no-mheight {
    max-height: 0 !Important;
}

.d-none {
    display: none !Important;
}


/*Header*/

.imagen-fondo {
    position: relative;
}

.imagen-fondo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .05);
}

@media (min-width: 768px) {
    .imagen-fondo {
        top: -4rem;
    }
}

.content-header {
    position: absolute;
    top: 0;
}

@media (min-width: 768px) {
    .content-header {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 1200px) {
    .content-header {
        flex-wrap: nowrap;
    }
}

.logo {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .logo {
        width: 50%;
    }
}

.logo a {
    text-align: center;
    text-decoration: none;
    color: black;
    line-height: 1;
}

.logo a img {
    padding: 1vh 1vh 0px 1vh;
}

.logo a h1 {
    font-size: 1.6rem;
    line-height: 1;
    font-weight: bolder;
    text-transform: uppercase;
    margin: 0 auto;
    max-width: 95%;
    text-align: center;
}

.logo a p {
    margin: 0;
    line-height: 1;
}

@media (min-width: 480px) {
    .logo a h1,
    .logo a p {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .logo a h1,
    .logo a p {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .logo a h1,
    .logo a p {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .logo a h1,
    .logo a p {
        font-size: 3rem;
    }
}

.menu {
    position: absolute;
    width: 100%;
    color: blue;
    top: 14rem;
}

@media (min-width: 480px) {
    .menu {
        top: 22rem;
    }
}

@media (min-width: 768px) {
    .menu {
        position: relative;
        display: flex;
        width: 50%;
        top: 0;
    }
}

.nav-menu {
    font-size: 2rem;
    text-align: center;
    display: block;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

@media (min-width: 480px) {
    .nav-menu {
        font-size: 2.5rem;
    }
}

.nav-menu:hover i {
    border: solid white 1px;
}

.nav-menu i {
    padding: 2px 4px;
    border: solid blue 1px;
}

.nav-header {
    transition: max-height .2s ease;
    overflow: hidden;
    position: relative;
    background-color: white;
    text-align: center;
    max-height: 300px;
    align-items: center;
}

@media (min-width: 480px) {
    .nav-header {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    .nav-header {
        font-size: 2.2rem;
    }
}

@media (min-width: 1200px) {
    .nav-header {
        font-size: 2.5rem;
    }
}

.cerrar {
    cursor: pointer;
}

@media (min-width: 768px) {
    .nav-header {
        display: flex;
        justify-content: space-around;
        top: 0;
        width: 100%;
        max-height: unset !important;
        background-color: transparent;
        height: 4rem;
        margin: auto 0;
    }
    .nav-menu,
    .cerrar {
        display: none !important;
    }
}

.nav-header li {
    list-style: none;
}

.making {
    position: relative;
    cursor: pointer;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

@media (min-width: 768px) {
    .making {
        overflow: initial;
    }
}

.making:hover::before {
    opacity: 0;
}

.making:hover .making-tp {
    opacity: 1;
}

.making-tp {
    position: absolute;
    color: white;
    font-size: 1.4rem;
    top: 0px;
    background-color: black;
    text-align: center;
    margin: auto;
    right: 0;
    left: 0;
    bottom: 0;
    height: 3rem;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 150px;
    z-index: 1;
}

@media (min-width: 768px) {
    .making-tp {
        font-size: 1.2rem;
        height: 2rem;
        line-height: 1.5;
        width: 120px;
    }
}

@media (min-width: 992px) {
    .making-tp {
        font-size: 1.4rem;
        height: 2.5rem;
        line-height: 1.5;
    }
}

@media (min-width: 1200px) {
    .making-tp {
        width: 150px;
        height: 3rem;
        line-height: 2;
    }
}

.nav-header .making::before {
    content: '\f6e3';
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: -1rem;
    right: 1px;
    bottom: 0;
    left: 0;
    font-weight: 600;
    font-size: 2.5rem;
    color: black;
    text-align: left;
    padding-left: 28%;
    transition: opacity 0.5s ease;
}

@media (min-width: 480px) {
    .nav-header .making::before {
        top: -0.5rem;
        padding-left: 34%;
    }
}

@media (min-width: 992px) {
    .nav-header .making::before {
        top: -1.5rem;
        font-size: 3.5rem;
    }
}

@media (min-width: 1200px) {
    .nav-header .making::before {
        top: 0;
        line-height: 1.5;
    }
}

@media (min-width: 768px) {
    .nav-header li {
        width: calc(25% - 1rem);
    }
}

.nav-menu:hover,
.nav-header li:hover,
.nav-header li:hover a {
    background-color: blue;
    color: white;
}

@media (min-width: 768px) {
    .nav-menu:hover,
    .nav-header li:hover,
    .nav-header li:hover a {
        background-color: transparent;
        color: blue;
        font-weight: 600;
    }
}

.nav-header li a {
    text-decoration: none;
    display: block;
    color: blue;
}

.contacto-header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
}

@media (min-width: 768px) {
    .contacto-header {
        top: -4rem;
    }
}

.contacto-header h2,
.contacto-header p {
    width: 100%;
    line-height: 1;
    margin: 0;
}

.contacto-header h2 {
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.whats {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.whats img {
    width: 15px;
    height: 15px;
}


/* .contacto-header h2 a {
    text-decoration: none;
    color: inherit;
} */

@media (min-width: 480px) {
    .contacto-header h2,
    .whats {
        font-size: 2.3rem;
        margin-left: 10px;
    }
    .whats img {
        width: 30px;
        height: 30px;
    }
    .contacto-header p {
        font-size: 2.4rem;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
}

.container h2,
.extra h2 {
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

@media (min-width: 480px) {
    .container h2,
    .extra h2 {
        font-size: 3.2rem;
    }
}

.left {
    width: 40%;
    position: relative;
}

.left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.left img:last-of-type {
    width: 80%;
}

.right {
    width: 20%;
    position: relative;
}

.right::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.extra {
    padding: 0 10px;
}

footer {
    text-align: center;
    font-weight: bold;
    line-height: 1;
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, .05);
}

@media (min-width: 768px) {
    footer {
        font-size: 2rem;
    }
}

footer span {
    font-weight: normal;
    color: gray;
}

footer a {
    text-decoration: none;
    font-weight: normal;
    color: gray;
}