/* Escritorio extra grande */
@media only screen and (min-width: 1200px) {

    /*Slider*/
    .ei-slider {
        max-width: 100%;
    }

}

/* Escritorio grande */
@media only screen and (min-width: 992px) and (max-width: 1199px) {

    /*INICIO SLIDER*/
    .ei-slider {
        max-width: 100%;
        height: 630px;
        padding-top: 60px;
    }

    .cua-quien1 {
        padding: 20px 40px;
    }

    /*INICIO ANATOMIA*/
    .cua-anat img {
        height: 490px;
    }

    /*INICIO PORTAFOLIO*/
    #portafolio {
        padding: 50px 20px;
        }
        
        .porta{
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          grid-auto-rows: 280px;
          grid-gap: 10px;
        }
        
        .porta div:nth-child(2) {
          grid-column: 3 / 5;
          grid-row: 2 / 3;
        }
        
        .cua-porta {
          position: relative;
          display: inline-block;
        }
        
        .cua-porta img {
          width: 280px;
          height: auto;
        }
}

/* Escritorio pequeño / tablet */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    /*INICIO SLIDER*/
    .ei-slider {
        max-width: 100%;
        height: 500px;
        padding-top: 60px;
    }

    /*INICIO QUIEN SOY*/
    .cua-quien {
        float: left;
        width: 50%;
    }

    .foto img {
        width: 350px;
    }

    .slogan {
        font-size: 16px;
        width: 350px;
    }

    .btn-cv {
        font-size: 16px;
        width: 350px;
    }

    .cua-quien1 {
        float: left;
        width: 45%;
        padding: 20px 2px;
        text-align: justify;
    }

    .cua-quien1 p {
        font-size: 13px;
    }

    /*INICIO ANATOMIA*/
    .cua-anat img {
        height: 390px;
    }

    /*INICIO PORTAFOLIO*/
    #portafolio {
        padding: 30px 10px;
    }

    .porta {
        display: grid;
        grid-template-columns: repeat(3, 3fr);
        grid-auto-rows: 305px;
        grid-gap: 3px;
    }

    .porta div:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .cua-porta img {
        width: 305px;
        height: auto;
    }

    .tit-porta {
        font-size: 16px;
    }

    .tex-porta {
        font-size: 24px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 600;
        padding: 80px 20px;
    }
}

/* Tablets y phablets */
@media only screen and (min-width: 576px) and (max-width: 767px) {

    /*TITULOS*/
    .tit h1 {
        font-size: 25px;
    }

    h1::after,
    h1::before {
        height: 2px;
        top: 35px;
    }

    .tit h2 {
        font-size: 14px;
        padding: 0 40px;
    }

    /*INICIO MENU*/
    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;
    }

    /*INICIO SLIDER*/
    .ei-slider {
        max-width: 100%;
        height: 420px;
        padding-top: 60px;
    }

    .ei-slider-thumbs li img {
        z-index: 12;
    }

    /*INICIO QUIEN SOY*/
    .cua-quien {
        float: left;
        width: 50%;
    }

    .foto img {
        width: 350px;
    }

    .slogan {
        font-size: 16px;
        width: 350px;
    }

    .btn-cv {
        font-size: 16px;
        width: 350px;
    }

    .cua-quien1 {
        float: left;
        width: 50%;
        padding: 20px 20px;
        text-align: justify;
    }

    .cua-quien1 p {
        font-size: 13px;
    }

    /*INICIO ANATOMIA*/
    .cua-anat {
        float: left;
        width: 50%;
        background-color: black;
    }

    .cua-anat img {
        height: 300px;
    }

    /*INICIO PROFESION*/
    #profesion {
        padding: 30px 0;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 2px;
        padding: 2px 10px;
    }

    /*INICIO SLOGAN*/
    #slogan {
        padding: 30px;
        font-size: 22px;
    }

    /*INICIO PORTAFOLIO*/
    #portafolio {
        padding: 30px 10px;
    }

    .porta {
        display: grid;
        grid-template-columns: repeat(3, 2fr);
        grid-auto-rows: 240px;
        grid-gap: 5px;
    }

    .porta div:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 2;
    }

    .cua-porta img {
        width: 240px;
        height: auto;
    }

    .tit-porta {
        font-size: 16px;
    }

    .tex-porta {
        font-size: 24px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 600;
        padding: 80px 20px;
    }

    /*INICIO CONTACTO*/
    .cua-contact {
        float: left;
        width: 50%;
    }

    .contact {
        padding: 5px;
    }

    .company-info {
        padding: 5px 0;
    }

    /*INICIO FOOTER*/
    .footer-inf {
        float: left;
        width: 33.3%;
    }
}

/* Teléfonos */
@media only screen and (max-width: 575px) {

    /*TITULOS*/
    .tit h1 {
        font-size: 22px;
    }

    h1::after,
    h1::before {
        height: 2px;
        top: 30px;
    }

    .tit h2 {
        font-size: 14px;
        padding: 0 40px;
    }

    /*INICIO MENU*/
    #logo {
        width: 50px;
    }

    nav {
        height: 50px;
    }

    nav li {
        height: 50px;
    }

    .sidebar {
        width: 100%;
        z-index: 999;
    }

    .hideOnMobile {
        display: none;
    }

    .menu-button {
        display: block;
    }

    /*INICIO SLIDER*/
    .ei-slider {
        max-width: 100%;
        height: 235px;
        padding-top: 50px;
    }

    .ei-slider-thumbs li img {
        z-index: 12;
    }

    /*INICIO QUIEN SOY*/
    .cua-quien {
        float: left;
        width: 100%;
    }

    .foto img {
        width: 250px;
    }

    .slogan {
        font-size: 16px;
        width: 350px;
    }

    .btn-cv {
        font-size: 16px;
        width: 350px;
    }

    .cua-quien1 {
        float: left;
        width: 100%;
        padding: 20px 50px 20px 40px;
        text-align: justify;
    }

    /*INICIO ANATOMIA*/
    .cua-anat {
        float: left;
        width: 100%;
        background-color: black;
    }

    .cua-anat img {
        width: 100%;
        height: 300px;
    }

    /*INICIO PROFESION*/
    #profesion {
        padding: 30px 0;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 2px;
        padding: 2px 10px;
    }

    /*INICIO SLOGAN*/
    #slogan {
        padding: 30px;
        font-size: 20px;
    }

    /*INICIO PORTAFOLIO*/
    #portafolio {
        width: 100%;
        padding: 30px 10px;
    }

    .porta {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        grid-auto-rows: 185px;
        grid-gap: 3px;
    }

    .porta div:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2 / 2;
    }

    .cua-porta img {
        width: 185px;
        height: auto;
    }

    .tit-porta {
        font-size: 15px;
    }

    .tex-porta {
        font-size: 24px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 600;
        padding: 40px 20px;
    }

    /*INICIO CONTACTO*/
    .cua-contact {
        float: left;
        width: 100%;
    }

    .contact {
        padding: 10px;
    }

    .company-info {
        padding: 5px 0;
        text-align: center;
    }

    /*INICIO FOOTER*/

 .footer-inf {
        width: 100%;
    }

    .copy {
        padding: 5px 0;
        text-align: center;  
    }

    .subt {
        padding: 10px 0;
        text-align: center;  
    }

    .social {
        padding-right: 100px;
    }


}