@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');/* font-family: "Inter", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');/*font-family: "Lexend Deca", sans-serif;*/ 
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
  --Navy950: hsl(233, 47%, 7%);
  --Blue950: hsl(244, 37%, 16%);
  --Purple500: hsl(277, 64%, 61%);
  --White: hsl(0, 0%, 100%);
  --WhiteP: hsla(0, 0%, 100%, 0.75);
  --WhiteS: hsla(0, 0%, 100%, 0.6);
  --Layer: rgba(110,30,160,0.7);
}

body{
    font-size: 15px;
    font-family: "Lexend Deca", sans-serif;
    background-color: var(--Navy950);
}
main{
    background-color: var(--Blue950);
    height: 782px;
    width: 328px;
    margin: 88px auto;
    border-radius: 5px;
    overflow: hidden;
}
.image{
    background-image: url(/images/image-header-mobile.jpg);
    width: 100%;
    height: 240px;
    background-size: cover;
}
/*para cambiar el color de la imagen esta blanco y negro*/
#layer{
    background-color: var(--Layer);
    height: 100%;
    width: 100%;
}
/*seccion2-------------*/
.section2{
    padding: 40px 30px;
    text-align: center;
}
h1{
    color: white;
    text-align: center;
    font-size: 1.9em;
    font-family: "Inter", sans-serif;
    height: 137px;
}
span{
    color: var(--Purple500);
}
p{
    color: var(--WhiteP);
    font-family: "Inter", sans-serif;
    font-size: 1em;
    line-height: 25px;
    height: 137px;
}
.stats{
    color: var(--WhiteS);
    line-height: 25px;
}
.amount{
    font-weight: 700;
    font-size: 1.45em;
    color: var(--White);
}
.concept{
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 33px;
}
.last{
    text-transform: uppercase;
}
/*footer------*/
.attribution { font-size: 11px; text-align: center;
margin-bottom: 50px;
color: blanchedalmond;
 }
.attribution a { color: hsl(228, 45%, 44%); }
/*min-width 1200px----------*/
@media only screen and (min-width:1200px){
    main{
        width: 1110px;
        height: 448px;
        display: flex;
        flex-direction: row-reverse;
        margin: 178px auto;
    }
    .image{
        width: 540px;
        height: 100%;
        background-image: url(/images/image-header-desktop.jpg);
    }
    .section2{
        padding: 75px 70px;
        text-align: left;
    }
    h1{
        font-size: 2.5em;
       
    }
    p{
        margin-right: 70px;
    }
    .stats{
        display: flex;
        justify-content: space-between;
        margin-right: 70px;
    }
}