@charset "UTF-8";

/*CSS para GERAL*/

html {
    margin: 0; 
    height: 100%;
}

body {
    background-color: hsl(212, 45%, 89%);
    position: relative;
}

body, html {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main {
    width: 44vh;
    background-color: hsl(0, 0%, 100%);
    border-radius: 15px;
    text-align: center;
    margin: 0 auto; 
   

  }

  .container {
    border-radius: 20px;
  }

  .child {
    padding-top: 25px;
  }

  img {
    width: 90%; 
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    border-top-right-radius: 10px;
  }

  .texto {
    width: 260px;
    margin: auto;
    font-family: 'Outfit', 'Young Serif';
    font-size: 15px;
    line-height: 15px;

    color: hsl(218, 44%, 22%);

  }

 p {
    font-size: 12px;

  }

  footer {   
    text-align: center; 
    font-size: 10px;

}


/* CSS PARA CELULARES */
@media screen and (min-width: 320px) and (max-width:660px) {
    body {
        font-size: 10px; 
    }

    main {
        width: 50vw; 
        
        
    }

    img {
        width: 60%; 
        max-width: 290px;
        height: auto;


    }

    .texto {
        width: 180px;

    h2 {
        font-size: 14px; 
    }

    p {
        font-size: 10px; 
    }

    footer {
        font-size: 5px;
    }
}

/*CSS para COMPUTADOR */


@media screen and (min-width: 758px) and (max-width: 1024px) {

    body {
        font-size: 15px; 
    }

    main {
        width: 44vh;

    }

    img {
        width: 100%; 
        max-width: 300px;
        height: auto;
    }

    footer {
        font-size: 10px;
    }
}
