:root{
    --mainFont : 'Roboto', sans-serif;
    --secundaryFont : 'Lato', sans-serif;

    --primaryColor : #1073BA;
    --secundaryColor : #00DA55;
    --greyColor : #3B3B3B;
    --whiteColor : #FFFFFF;
    --blackColor : #1F1E1E;
    --lightGreyColor : #e1e1e1;

    --separation : 5rem;
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body{
    font-family: var(--mainFont);
    font-size: 1.6rem;
    line-height: 1.5;
}

/** Global **/
.container{
    max-width: 100%;
    width: 90%;
    margin: 0 auto;
}

h1, h2, h3{
    font-weight: 900;
    font-family: var(--secundaryFont);
    margin: calc( var(--separation) / 2 ) 0 ;
}
h1{
    font-size: 4.4rem;
}
h2{
    font-size: 3.6rem;
}
h3{
    font-size: 2.8rem;
}
img{
    max-width: 100%;
    display: block;
    height: auto;
}

/** Utilities **/
.text-center{
    text-align: center;
}

/** Degradaded **/
.degraded-green{
    color: transparent;
    background: linear-gradient(to right, var(--primaryColor) 0%, var(--secundaryColor) 100% );
    -webkit-background-clip: text; /* Para Chrome */
    background-clip: text;
}

/* Header */

.header{
    background-color: var(--blackColor);
    padding: calc( var(--separation) * 3 ) 0; 
    color: var(--whiteColor);
}

@media (min-width: 768px){ 
    .header-content{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.header-text{
    text-align: center;
    padding-top: var(--separation);
}

@media (min-width: 768px){ 
    .header-text{
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
    }
}

.header-text p{
    margin: 0;
}

.tagline-producto{
    font-size: 3rem;
    font-weight: 900;
}

.product-name{
    font-size: 6rem;
    margin: 0;
}

@media (min-width: 768px) { 
    .product-name{
        font-size: 10rem;
        line-height: 1;
    }
}

.product-price span{
    font-size: 6rem;
    font-weight: 900;
}

/* Icons */
.container{
    margin: 2rem;
    align-items: center;
}

.icons{
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) { 
    .icons{
        flex-direction: row;
        gap: 2rem;
    }
}

.icon img{
    width: 5rem;
    margin: 0 auto; 
    height: auto;
}

.icon{
    margin: 1rem;
    padding: 1rem;
    text-align: center;
}

.icon h3{
    color: var(--primaryColor);
    text-transform: uppercase;
}



.icon:last-of-type {
    margin:0;
}

/* Bloque abnout techPro */
.about-TechPro{
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    max-width: 100%;
}

@media (min-width: 768px){ 
    .about-TechPro{
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-TechPro-grid{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--primaryColor);
    color: var(--whiteColor);
    padding: var(--separation);
}

.women-image{
    display: flex; 
    justify-content: center; 
    align-items: center;
    overflow: hidden;
}

.women-image img{
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.about-TechPro-grid h2{
     margin: 0; 
     padding: 0; 
} 

.about-TechPro-grid p{ 
    margin-top: 1rem; 
}

/* Main Models */

.models{
    padding: var(--separation) 0;

}

.header-models{
    font-size: 6rem;
    margin-bottom: var(--separation);
}

.list-models{
    display: flex;
    flex-direction: column-reverse;
}

@media (min-width: 992px) { 
    .list-models{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 20rem);
        gap: 4rem;
    }
}

.model{
    background-color: var(--lightGreyColor);
    margin-bottom: 2rem;
    padding-left: 4rem;
    color: var(--primaryColor);
    border-radius: 2rem;
    min-height: 20rem;
    background-repeat: no-repeat;
    background-position: 90% center;
    background-size: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition-property: transform background-size;
    transition-duration: .3s;
}

@media (min-width: 992px) { 
    .model{
        margin-bottom: 0;
    }
}

.model:hover{
    transform: scale(1.1);
    background-size: 30rem;
}

.model:first-of-type {
    margin-bottom: 0;
}

.model-x{
    background-image: url(../img/modelo-x.svg);
}
.model-y{
    background-image: url(../img/modelo-y.svg);
}

.model-z{
    background-image: url(../img/modelo-z.svg);
    background-color: var(--primaryColor);
    color: var(--whiteColor);
}

@media (min-width: 992px) { 
    .model-z{
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        background-size: 25rem;
    }
    .model-z h3{
        font-size: 4rem;
    }
}

.model-z .price{
    font-size: 6rem;
}

.model h3{
    font-size: 2.4rem;
}

.model .price{
    font-size: 4rem;
    font-weight: 900;
    line-height: 0;
}

/* Newlester */
.newsletter{
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    max-width: 100%;
}

@media (min-width: 768px){ 
    .newsletter{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

.newsletter-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.newsletter-image{
    display: flex; 
    justify-content: center; 
    align-items: center;
    overflow: hidden;
}

.newsletter-image img{
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.newsletter-text h2{
     margin: 0; 
     padding: 0; 
     text-align: center;
} 

@media (min-width: 768px){ 
    .newsletter-text h2{
        text-align: left;
    }
}

.newsletter-text p{ 
    margin-top: 1rem; 
}

.form input[type="text"]{
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;;
}

.form input[type="submit"]{
    width: 100%;
    padding: 2rem;
    background-color: var(--primaryColor);
    color: var(--);
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition-duration: .3s;
}

.form input[value="Sign up"]:hover{
    transform: scale(1.05);
    background-color: #0b609e;
}

/* Footer */
.footer p{
    text-align: center;
    font-family: var(--secundaryFont);
    font-size: 2rem;
    color: var(--primaryColor);
    padding: 2rem 0;
}