@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700;9..144,900&family=Montserrat:wght@500;700&family=Outfit:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@500;700&family=Outfit:wght@400;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-container {
    width: 1440px;
    height: 100vh;
    margin: 0 auto;
    background-color: hsl(30, 38%, 92%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main {
    width: 600px;
    margin: 0 auto;
}

.content {
    width: 600px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-content {
    height: 450px;
    border-radius: 0 15px 15px 0;
    background-color: hsl(0, 0%, 100%);
}

.cart_image img  {
    width: 300px;
    height: 450px;
    margin-top: 4px;
    border-radius: 15px 0 0 15px;
    background-size: cover;
}

#first-text {
    font-family: 'Montserrat', sans-serif;
    font: 500;
    padding: 10px;
    margin-top: 20px;
    margin-left: 20px;
    color: hsl(228, 12%, 48%);
}

h1 {
    font-family: 'Fraunces', sans-serif;
    width: 250px;
    padding: 20px;
    margin-top: -10px;
    margin-left: 10px;
}

#description {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    width: 190px;
    margin-left: 30px;
    color: hsl(228, 12%, 48%);
    line-height: 20px;
}

table {
    margin-top: 5px;
    margin-left: 11px;
    padding: 15px;
}

h2 {
    font-family: 'Fraunces', sans-serif;
    color: hsla(158, 36%, 37%, 1);
}

#price-2 {
    text-decoration: line-through;
    color: hsl(228, 12%, 48%);
    margin-left: 10px;
}

button {
    background-color: hsla(158, 36%, 37%, 1);
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 190px;
    padding: 15px 32px;
    margin-left: 28px;
}

i {
    margin-right: 8px;
}


@media screen and (max-width: 375px) {
    .main-container {
        width: 375px;
        height: 100vh;
        margin: 0 auto;
        background-color: hsl(30, 38%, 92%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    main {
        width: 300px;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content {
        width: 300px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cart_image img {
        width: 275px;
        height: auto;
        margin: -10px;
        border-radius: 15px 15px 0 0;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .right-content {
        width: 275px;
        height: 350px;
        border-radius: 0 0 15px 15px;
        background-color: hsl(0, 0%, 100%);
    }

    #first-text {
        font-family: 'Montserrat', sans-serif;
        font: 500;
        margin-top: 10px;
        color: hsl(228, 12%, 48%);
    }
    
    h1 {
        font-size: 25px;
        font-weight: 700;
        font-family: 'Fraunces', sans-serif;
        width: 270px;
    }
    
    #description {
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 500;
        width: 230px;
        color: hsl(228, 12%, 48%);
        line-height: 20px;
    }
    
    h2 {
        font-family: 'Fraunces', sans-serif;
        color: hsla(158, 36%, 37%, 1);
    }
    
    #price-2 {
        text-decoration: line-through;
        color: hsl(228, 12%, 48%);
        margin-left: 10px;
    }
    
    button {
        background-color: hsla(158, 36%, 37%, 1);
        color: #fff;
        border: none;
        border-radius: 5px;
        width: 220px;
        padding: 15px 32px;
        margin-bottom: 10px;
        margin-left: 28px;
    }
    
    i {
        margin-right: 8px;
    }
}