.container {
    display: grid;
    grid-template-areas: "header header" "content content" "footer footer";
    grid-template-columns: 30% 1fr;
    grid-template-rows: 12% 1fr 8%;
    grid-gap: 0.5rem 0;
    height: 100vh;
    background-color: #9e8921;
}

header {
    grid-area: header;
    background-color: #000050;
    color: #9e8921;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info-p1 {
    color: #9e8921;
    min-width: 30%;
    text-align: center;
    font-size: 1.3rem;
    font-family: 'Bebas Neue', cursive;
}

.header-info-p2 {
    font-size: 1.2rem;
    text-align: center;
}

.menu {
    /*display: block;*/
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
}

.menu-item {
    position: relative;
}

.menu-item a {
    font-size: 1.1rem;
    font-weight: bold;
}

.menu-item:hover {
    background: #9e8921;
    transition: 0.3s;
    border-radius: 0.3rem;
    color: #000050;
}

.menu-link {
    text-decoration: none;
    color: #9e8921;
    font-size: 1.3rem;
    display: block;
    padding: 0.5em 1em;
}

.menu-item .fa-home,
.menu-item .fa-city,
.menu-item .fa-map-marker-alt,
.menu-item .fa-globe,
.menu-item .fa-address-book {
    display: none;
}

.div-logo-img img {
    height: 9.5rem;
    position: relative;
    left: 4rem;
    width: 11rem;
    background-color: white;
    top: 3rem;
    border-radius: 50%;
    z-index: 100;
    border: solid 4px rgba(158, 137, 33, 1);
}

main {
    grid-area: content;
    background-color: white;
    position: relative;
}

.div-home-casa img {
    width: 50%;
    height: 76vh;
}

.div-home-info {
    position: absolute;
    left: 55%;
    top: 0;
}

.home-contact {
    background-color: white;
    display: block;
    text-align: center;
}

.aside-title {
    font-size: 1.2rem;
    text-align: center;
    color: #325569;
    margin: 1rem;
    font-weight: bold;
}

.p-aside {
    color: #325569;
    padding: 0 1rem;
    /*font-family: "Merriweather", serif;*/
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: bold;
    text-align: justify;
    width: 99%;
    margin-left: -2rem;
}

.p-aside3 .p-aside {
    line-height: 1.5rem;
}

.div-home-info-img {
    height: 29vh;
    padding: 0;
    /*background-color: yellow;*/
}

.div-q-contact {
    display: none;
}

.img1aside,
.img2aside,
.img3aside {
    width: 30%;
}

.img3aside {
    width: 29%;
}

.footer {
    grid-area: footer;
    /*color: #9e8921;*/
    background-color: white;
    padding-top: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bebas Neue', cursive;
}

.p-footer-phone,
.p-footer-email,
.p-footer-copy {
    line-height: 1.5rem;
    width: auto;
    color: #325569;
    font-size: 1.05rem;
    margin: 1rem;
}

.fas {
    font-size: 1rem;
    margin-right: 0.4rem;
}

.checkbtn {
    display: none;
}

#check {
    display: none;
}

/*****************************************************/
/*                    Idioma                         */
/*****************************************************/
.chkLang {
    display: none;
}

.div-lang {
    /*background-color: green;*/
    width: 4rem;
    position: absolute;
    right: 1%;
    line-height: 1.2rem;
    bottom: 2rem;
}

.switch {
    cursor: pointer;
}

.slider {
    font-style: italic;
    font-size: 0.8rem;
    text-transform: capitalize;
    font-weight: bold;
}

/*********************************************************/
/* 380 width
/*********************************************************/

@media (min-width: 380px) and (max-width: 640px) {
    .div-logo-img img {
        left: 10%;
        height: 5rem;
        width: 6rem;
        top: 2rem;
    }

    .header-info-p1, .header-info-p2 {
        font-size: .75rem;
    }

    .menu {
        font-size: .75rem;
    }

    .menu .menu-item .menu-link {
        font-size: .75rem;
    }

    .footer {
        position: absolute;
        top: 200%;
        /*background-color: yellowgreen;*/
        width: 100%;
        border-top: 4px solid #9e8921;
    }

    .div-home-info-lbl {
        /*background-color: yellow;*/
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .div-home-info-img {
        position: absolute;
        top: 65%;
        right: 20rem;
        width: 100%;
    }


    .p-aside, .p-aside3 {
        text-align: justify;
        background-color: white;
        padding: 1rem 1.5rem;
        margin-left: 0;
        line-height: 1.2rem;
        width: 100%;
        color: yellow;

    }

    .p-aside3 .p-aside {
        line-height: 0.51rem;
        text-align: initial;
        /*background-color: yellow;*/
    }

    .p-aside3 {
        padding: 0;
        color: yellow;

    }
}

/* ==================  phone ====================== */

@media (max-width: 481px) and (max-width: 768px) {
    /*****************************************************/
    /*                    Idioma                         */
    /*****************************************************/
    .div-lang {
        width: 4.5rem;
        position: absolute;
        right: 1%;
        line-height: 1.2rem;
        bottom: 0;
        font-size: .9rem;
        /*background-color: yellow;*/
    }

    .container {
        grid-template-areas: "header" "content" "footer";
        grid-template-columns: 1fr;
        grid-template-rows: auto/* Header */
        1fr/* Content */
        1fr;
        /* Footer */
    }

    .div-home-casa img {
        display: none;
    }

    .menu-item .fa-home,
    .menu-item .fa-city,
    .menu-item .fa-map-marker-alt,
    .menu-item .fa-globe,
    .menu-item .fa-address-book {
        display: block;
    }

    .div-home-info {
        width: 100vw;
        height: 90vh;
        top: 0;
        left: 0;
        padding-top: 10%;
    }

    .div-logo-img img {
        left: 10%;
        height: 7rem;
        width: 8rem;
    }

    .header-info-p1 {
        position: absolute;
        left: 36%;
        font-size: 1.2rem;
    }

    .header-info-p2 {
        font-size: 1rem;
    }

    .div-home-info-img {
        background-color: #c4c4c4;
        padding-left: 10%;
        height: 18vh;
    }

    .div-home-info-lbl {
        font-size: 0.9rem;
        padding: 0;
    }

    .div-q-contact {
        display: block;
        height: 2rem;
        min-width: 100%;
        background-color: white;
        text-align: center;
    }

    .a-q-contact {
        color: white;
        background-color: #9e8921;
        border-radius: 5px;
        width: 75%;
        height: 1.5rem;
        display: block;
        margin: 0 auto;
        box-shadow: 1px 2px 5px 0 #000000;
        padding: .25rem 0 0 0;
    }

    .p-aside {
        text-align: justify;
        background-color: white;
        width: 100vw;
        padding: 1rem 1.5rem;
        margin-left: 0;
        line-height: 1.2rem;
    }

    .p-aside3 .p-aside {
        line-height: .1rem;
    }

    nav {
        position: relative;
        left: -204%;
    }

    .mostrar-menu {
        position: relative;
        left: -102%;
        top: 58.5%;
        transition: all 0.3s;
    }

    .ocultar-menu {
        position: relative;
        left: -204%;
        top: 58.5%;
        transition: all 0.3s;
    }

    .footer {
        border-top: solid 0.2rem #9e8921;
        position: absolute;
        top: 135%;
        width: 100vw;
        flex-direction: column;
        align-items: center;
    }

    .p-footer-phone,
    .p-footer-email,
    .p-footer-copy {
        font-size: 0.8rem;
        /*margin-left: 30%;*/
        width: 50%;
        margin: 0;
    }

    /* ===================== Menu  of  canvas    =============*/
    .checkbtn {
        color: #9e8921;
        display: block;
        cursor: pointer;
        position: absolute;
        right: 4%;
        top: 13%;
    }

    .fa-bars {
        font-size: 1.7rem;
    }

    #check {
        position: absolute;
        display: none;
        right: 13%;
        top: 10%;
    }

    .menu {
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        position: absolute;
        top: 20%;
        z-index: 100;
        height: 80vh;
        width: 75vw;
        flex-direction: column;
        padding: 2rem 0 1rem 1rem;
    }

    .menu-item a .fas,
    .menu-item a .far {
        display: inline-block;
        font-size: 1.5rem;
        width: 1.7rem;
        margin-right: 0.5rem;
    }
}

/* ==================  TABLET - KINDLE ====================== */

@media (min-width: 768px) and (max-width: 1024px) {
    main {
        background-size: 50% 45%;
    }

    .div-q-contact {
        display: block;
        margin: 1rem .5rem 1rem -4rem;
    }

    .a-q-contact {
        color: white;
        background-color: #9e8921;
        border-radius: 5px;
        width: 65%;
        height: 1.5rem;
        display: block;
        margin: 0 auto;
        box-shadow: 1px 2px 5px 0 #000000;
        padding: .3rem 0 0 1.4rem;
    }

    .div-home-casa img {
        height: 35vh;
    }


    .checkbtn {
        display: block;
    }

    .fa-bars {
        font-size: 1.7rem;
    }

    .menu {
        display: none;
    }

    .div-home-info-lbl {
        top: 0;
        position: absolute;
    }

    .aside-title {
        line-height: 2rem;
        width: 80%;
    }

    .p-aside {
        text-align: justify;
        font-size: .91rem;
    }

    .div-home-info-img {
        position: relative;
        margin-top: 140%;
        margin-left: -75%;
        width: 150%;
    }

    .footer {
        height: 99%;
        text-transform: lowercase;
    }
}