:root {
    --navy-950: hsl(233, 47%, 7%); /* main background */
    --blue-950: hsl(244, 37%, 16%); /* card background */
    --purple-500: hsl(277, 64%, 61%); /* accent */
    --white-headings: hsl(0, 0%, 100%); /* main heading, stats */
    --white-paragraph: hsla(0, 0%, 100%, 0.75); /* main paragraph */
    --white-stat: hsla(0, 0%, 100%, 0.6); /* stat headings */
}

html {
    font-size: 62.5%;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
    font-size: 15px;
    background-color: var(--navy-950);
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

/* Estilos de la imagen */
.img img{
    width: 30rem;
    border-radius: 1rem 1rem 0 0;
}




.contenedor {
    border-radius: 1rem;
    background-color: var(--blue-950);
    margin: 0 auto;
    width: 30rem;

}

.info h1 {
    color: var(--white-headings);
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
}

.info h1 span {
    color: var(--purple-500);
}

.info p {
    color: var(--white-paragraph);
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

/* Estilos para stats */
.stat {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.stat p {
    display: flex;
    text-align: center;
    flex-direction: column;
    color: var(--white-stat);
}

.stat p span {
    color: var(--white-headings);
    font-size: 2.7rem;
    margin-bottom: 0.6rem;
}

.contenido {
    padding: 1rem;
}

/* Responsive */
@media (min-width: 1040px) {
    body {
        margin: 0 auto;
    }
    .contenedor {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        width: 120rem;
        height: 44rem;
    }

    .info {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .info h1 {
        width: 50rem;
        font-size: 4rem;
    }

    .info p {
        margin-left: 3rem;
        width: 40rem;
        text-align: start;
    }

    .stat {
        flex-direction: row;
        gap: 8rem;
        margin-top: 4rem;
    }



    .img img {
        border-radius: 0 1rem 1rem 0;
        width: 60rem;
    }
}