*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

html,
body {
    height: 100%;
}

body{
    
    font-family: "Montserrat",sans-serif;
    font-size: 0.875rem;
    color:hsl(228, 12%, 48%);
    background-color :hsl(30, 38%, 92%) ;
    display: grid;
    place-content: center;
    margin: 1rem;
}

.wrapper{
    max-width:375px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.text{
    padding: 2rem;
    line-height: 2rem;
    
}

h1{
    font-size: 0.85rem;
    letter-spacing: 0.5rem;
    font-weight: 700;
    color:hsl(228, 12%, 48%);
    margin-bottom: 1rem;
}

h2{
    font-family:"fraunces",sans-serif;
    color:black ;
    font-weight: 900;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.mon-texte{
    line-height: 1.5rem;
    color:hsl(228, 12%, 48%);
    font-weight: 700;
    margin-bottom: 1rem;
}

.prix{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1rem;
}

.tarif{
    font-family: "fraunces",sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color:hsl(158, 36%, 37%)
}

.encien-prix{
    text-decoration: line-through;
    
}


button{
    width: 100%;
    border-radius: 0.5rem;
    display: flex;
    font-size: 0.85rem;
    font-weight: 700;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
    background-color:hsl(158, 36%, 37%) ;
    color: white;
}

button:hover{
    cursor: pointer;
    background-color: hsl(158, 45%, 21%) ;
}

@media screen and (min-width: 600px) {
    .wrapper {
    max-width: 800px; 
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes : image et texte */
    }
    h1{
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    h2{
        font-size: 3rem;
        line-height: 3rem;
        margin-bottom: 2rem;
    }

    .mon-texte {
        line-height: 2rem;
        margin-bottom: 2rem;
    }

    .prix {
        margin-bottom: 2rem;
    }

    .button {
        display: flex;
        align-items: center; 
        justify-content: center; 
        gap: 1rem; 
        width: 100%;
        border-radius: 0.5rem;
        font-size: 1rem;
        font-weight: 700;
        padding: 1.5rem;
        background-color: hsl(158, 36%, 37%);
        color: white;
    }
    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
}