/* BG________________________*/

#bg{
    height: 30em;
    background-color: #F7F5F4;
    display: flex;
    z-index: -1;
}

/* Main - DESKTOP________________________*/

.col_1{
    grid-area: col_1;
}

.col_1 h3{
    padding-top: 2em;
}

.col_1 ul{
    margin-bottom: 3em;
}

.col_1 ul li{
    margin-bottom: .5em;
}

#boton_prueba{
	padding: .6em 4em .6em .6em;
	border-width: .15em;
	border-style: solid;
    border-color: #ff5757;
    color: #ff5757;
    transition: .3s;
}

#boton_prueba:hover{
    background-color: #ff5757;
    color: #fff;
    transition: .3s;
}

.col_2{
    grid-area: col_2;
}

.col_2 p{
    padding-top: 1em;
}


.col_3{
    display: flex;
    grid-area: col_3;
    margin-top: auto;
    margin-left: auto;
}

#atentamente{
    padding-bottom: 2em;
}

aside{
    grid-area: aside;
}

aside h4{
    text-align: right;
}

aside p{
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-top: 20em;
    text-align: left;
    margin-left: auto;
}

.col_2, aside{
    padding-top: 22em;
}

#f_02{
    width: 10em;
}

.grid_1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr .5fr;
    grid-template-areas:
        'col_1 col_2 col_3 aside';
    gap: 2em;
    margin: auto;
    margin-top: -20em;
    margin-bottom: 5em;
    width: 80vw;
    z-index: 2;
    max-width: 1280px;
}

/* Main - MOBILE________________________*/


.mobile_main{
    display: none;
    margin: auto;
    margin-top: -20em;
    margin-bottom: 5em;
    width: 90vw;
    z-index: 2;
}

.txt01{
    margin-top: 1em;
    margin-bottom: 3em;
}

.txt02{
    margin-top: 2em;
    margin-bottom: 3em;
}


.mobile_main #f_mia2{
    width: 75%;
    max-width: 350px;
}

#boton_contacto{
	padding: .6em 4em .6em .6em;
	border-width: .15em;
	border-style: solid;
    border-color: #ff5757;
    color: #ff5757;
    transition: .3s;
}

#boton_contacto:hover{
    background-color: #ff5757;
    color: #fff;
    transition: .3s;
}



/**
 * Basic CSS Media Query Template
 * TODO: I should probably use Sass...
 * Author: Michael Vieth
 * ------------------------------------------
 *  Responsive Grid Media Queries - 1280, 1024, 768, 480
 *   1280-1024   - desktop (default grid)
 *   1024-768    - tablet landscape
 *   768-480     - tablet 
 *   480-less    - phone landscape & smaller
 * --------------------------------------------
 */


 /*Tablet landcsape*/
 @media all and (min-width: 1024px) and (max-width: 1300px) {
    aside{
        display: none;
    }
    .grid_1 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            'col_1 col_2 col_3';
        gap: 2em;
        margin: auto;
        margin-top: -20em;
        margin-bottom: 5em;
        width: 80vw;
        z-index: 2;
        max-width: 1280px;
    }
  }
 
    /*Tablet portrait*/
 @media all and (min-width: 700px) and (max-width: 1024px) {
    .grid_1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            'col_1 col_2';
        gap: 2em;
        margin: auto;
        margin-top: -20em;
        margin-bottom: 5em;
        width: 80vw;
        z-index: 2;
        max-width: 1280px;
    }
    .col_3{
        display: none;
    }
    aside{
        display: none;
    }
  }
 /*Phone*/
 @media all and (max-width: 700px) {
    .grid_1{
        display: none;
    }
    .mobile_main{
        display: block;
    }
  }
 
 
 /* Portrait */
 @media screen and (orientation:portrait) { /* Portrait styles here */ }
 /* Landscape */
 @media screen and (orientation:landscape) { /* Landscape styles here */ }
 
 
 /* CSS for iPhone, iPad, and Retina Displays */
 
 /* Non-Retina */
 @media screen and (-webkit-max-device-pixel-ratio: 1) {
 }
 
 /* Retina */
 @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
 only screen and (-o-min-device-pixel-ratio: 3/2),
 only screen and (min--moz-device-pixel-ratio: 1.5),
 only screen and (min-device-pixel-ratio: 1.5) {
 }
 
 /* iPhone Portrait */
 @media screen and (max-device-width: 480px) and (orientation:portrait) {
    .grid_1{
        display: none;
    }
    .mobile_main{
        display: block;
    }
 } 
 
 /* iPhone Landscape */
 @media screen and (max-device-width: 480px) and (orientation:landscape) {
 }
 
 /* iPad Portrait */
 @media screen and (min-device-width: 481px) and (orientation:portrait) {
 }
 
 /* iPad Landscape */
 @media screen and (min-device-width: 481px) and (orientation:landscape) {
 }
 