@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: hsl(30, 38%, 92%);
    font-family: "Montserrat", sans-serif;
}

.container {
    display: flex;
    width: 70%;
    max-width: 600px;
    min-width: 560px;
    margin: 80px auto;
    background-color: hsl(0, 0%, 100%);
    border-radius: 10px;
}

.img-desk {
    width: 100%;
    height: 100%;
    border-radius: 10px 0px 0px 10px;
}

.half-two {
    padding: 2em;
    width: 100%;
    box-sizing: border-box;
}

header {
    font-size: 20px;
    color: hsl(228, 12%, 48%);
}

h1{
    font-size: xx-large;
    margin-top: 15px;
    font-family: "Fraunces", sans-serif;
}

.half-two .par {
    color: hsl(228, 12%, 48%);
}

.prices {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;

}

.new-price {
    font-size: xx-large;
    font-weight: bold;
    font-family: "Fraunces", sans-serif;
    color: hsl(158, 36%, 37%);
}

.old-price {
    text-decoration: line-through;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color:hsl(158, 36%, 37%);
    border-radius: 5px;
    border: none;
    color: white;
}

button:hover{
    background-color: hsl(158, 42%, 18%);
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@media (max-width: 600px) {
    .container{
        display: flex;
        flex-direction: column;
        width: 90%;
        min-width: auto;
        margin-top: 30px;
    }
    .img-desk {
        border-radius: 10px 10px 0px 0px;
    }
}
