* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    background: black;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 45px;
    background: #EF4136;
    z-index: 1000;
    text-align: center;
}

header #button-menu {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    bottom: 7px;
    left: 0;
    right: 0;

}

.navegacion {
    position: absolute;
    top: 100%;
    left: 0;
    width: 0%;
    height: 100vh;
}

.navegacion ul {
    width: 100%;
    background: #00A79D;
    list-style: none;

    position: absolute;
    top: 0;
    left: -320px;

    transition: top .3s;
}


.navegacion .menu a {
    display: block;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    font-family: 'Teko', sans-serif;
    letter-spacing: 8px;
    line-height: 55px;
}

.navegacion .menu a:hover {
    color: black;
}


.navegacion .menu .item-submenu > a::after {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\f105';

    float: right;
    color: #C5C5C5;
}


h1 {
    font-family: 'Teko', sans-serif;
    font-size: 45px;
    font-weight: normal;
    letter-spacing: 15px;
    color: #00A79D;
    line-height: 110%;
}

h2 {
    font-family: 'Teko', sans-serif;
    font-size: 35px;
    font-weight: normal;
    letter-spacing: 10px;
    color: #EF4136;
    line-height: 90%;
    text-align: right;
}

.contenido-izquierdo {
    margin-top: 120px;
}

.enlaces {
    margin-top: 25px;
    text-align: right;
    position: relative;
}

.en::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #EF4136;
    left: 0;
    top: 125%
}



.en li a {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: lighter;
    color: #00A79D;
    list-style: none;
    text-decoration: none;
}

.en li {
    line-height: 200%
}


p {
    color: white;
    font-family: "myriad pro";
    font-weight: lighter;
    line-height: 160%;
    margin-top: 9px;
    width: 100%;
    width: 80%;
}


.modal-container {

    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 1000;
    left: 0;
    background: black;
    display: none;
    justify-content: center;
    align-items: center;
}



.modal-container img {

    height: 100%;
    width: auto;
}

.modal-container .close {

    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #ffffff;
    background: rgba(67, 67, 67, 0.29);
    text-align: center;
    border-radius: 50px;
    width: 40px;
    padding-bottom: 2px;

}

.close:hover {
    color: #EF4136;
}

.modal-container.modal-open {

    display: flex;
}

.grilla {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 10px;
    margin: 25px;
    margin-top: 155px;
    grid-row: auto;
    grid-template-rows: auto;
    padding-bottom: 10px;
}


.contenido-izquierdo {
    grid-column: 1/3;
}

.horizontales {
    grid-column: 3/6;

}

.panoramicas {
    grid-column: 3/6;

}

.descipcion {
    grid-column: 6/8;
    margin-top: 120px;
    width: 100%;
}

.verticales {
    grid-column: 3/6;
}

.cuadradas {
    grid-column: 3/6;
}

.app {
    align-content: center;
    position: relative;
}

/*.grilla div {

}*/



img {
    width: 100%;
    opacity: .8
}

.app img:hover {
    opacity: 15
}

.close:hover {
    color: #EF4136;
}


h3 {
    color: #EF4136;
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    background: red;
    top: 45%;
    align-items: center;
    justify-content: center;

}



.modal-container .horizontales {
    max-width: 100%;
    height: auto;


}

.modal-container .verticales {
    max-height: 100%;
    height: 100%;


}

.modal-container .panoramicas {
    max-width: 100%;
    height: auto;


}

.modal-container .cuadradas {
    max-height: 100%;
    height: 100%;


}



footer {
    margin-top: auto;
    margin-bottom: 0px;
    margin-right: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background: #00A79D;
    padding: 5px;
    position: fixed;
    color: black;
    font-size: 10px;
    font-weight: lighter;
    text-align: center;
    font-family: "helvetica"
}



/*escritorio*/
@media screen and (max-width: 1500px) {

    .grilla {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-column-gap: 25px;
        grid-row-gap: 10px;
        margin: 11px;
        margin-top: 15px;
        grid-row: auto;
        grid-template-rows: auto;


    }

    .descipcion {
        grid-column: 3/7;
        width: 100%;
        grid-row: 1/2;
    }


    .contenido-izquierdo {
        grid-column: 1/3;
    }

    .horizontales {
        grid-column: 2/7;
        grid-row: 2/3;

    }

    .panoramicas {
        grid-column: 2/7;
        width: 100%;
    }

    .verticales {
        grid-column: 2/7;

    }

    .cuadradas {
        grid-column: 2/7;
    }

    .en::after {
        top: 100%
    }
}


/*ipad*/

@media screen and (max-width: 1024px) {
    .grilla {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-column-gap: 25px;
        grid-row-gap: 10px;
        margin: 11px;
        margin-top: 55px;
        grid-row: auto;
        grid-template-rows: auto;


    }


    .contenido-izquierdo {
        grid-column: 2/5;
        grid-row: 1/2;
        margin-top: 0px;
    }

    .descipcion {
        grid-column: 5/13;
        width: 100%;
        grid-row: 1/2;
    }

    .horizontales {
        grid-column: 3/11;
        grid-row: 2/3;
    }


    .verticales {
        grid-column: 3/11;

    }

    .panoramicas {
        grid-column: 3/11;

    }

    .cuadradas {
        grid-column: 3/11;

    }

    .en::after {
        top: 100%
    }

    .descipcion {
        margin-top: 0px;
    }

    p {
        font-size: 18px;
        line-height: 140%
    }

    .en li a {
        font-size: 25px;
        line-height: 5%
    }

    .en li {
        margin-top: 10%
    }

    h2 {
        font-size: 45px;
    }

    h1 {
        font-size: 65px;
    }



    .modal-container .verticales {
        height: auto;
        max-width: 100vw;


    }

    .modal-container .cuadradas {
        height: auto;
        max-width: 100vw;


    }





    /*movil*/

    @media screen and (max-width: 567px) {
        .grilla {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
            grid-column-gap: 25px;
            grid-row-gap: 10px;
            margin: 11px;
            margin-top: 55px;
            grid-row: auto;
            grid-template-rows: auto;


        }


        .contenido-izquierdo {
            grid-column: 2/13;
            grid-row: 2/3;
            margin-top: 0px;
        }

        .descipcion {
            grid-column: 2/13;
            width: 100%;
            grid-row: 1/2;
        }

        .horizontales {
            grid-column: 1/13;
            grid-row: 3/4;
        }


        .verticales {
            grid-column: 1/13;

        }

        .panoramicas {
            grid-column: 1/13;

        }

        .cuadradas {
            grid-column: 1/13;
        }

        .en::after {
            top: 100%
        }

        .descipcion {
            margin-top: 0px;
        }

        p {
            font-size: 10px;
            line-height: 130%
        }

        .en li a {
            font-size: 9px;
        }

        h2 {
            font-size: 10px;
            letter-spacing: 5px;
            text-align: left
        }

        h1 {
            font-size: 25px;
            letter-spacing: 5px;
        }

        .en li {
            display: inline-block;
            line-height: 0;
            margin-top: 0%
        }

        .enlaces {
            margin-top: 0px;
            text-align: left;

        }



        .modal p {

            display: inline-block;
            font-size: 10px;
            margin-bottom: 0px;

        }

        .modal-container .horizontales {
            height: auto;
            max-width: 100vw;


        }


        .modal-container .verticales {
            height: auto;
            max-width: 100vw;



        }

        .modal-container .cuadradas {
            height: auto;
            max-width: 100vw;


        }


    }
