/* Desktop Size */

body {
    font-family: 'Montserrat', serif;
}

@media only screen and (min-width: 600px) {
    body {
        background-color: #F2EAE2;
        margin: 0;
    }
    #flex-container {
        background-color: #f2eae2;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        height: 100vh;
        width: 600px;
        margin: auto;
    }
    #left-card-pane {
        background-image: url('images/image-product-desktop.jpg');
        background-size: cover;
        border-radius: 10px 0 0 10px;
        min-width: 300px;
        height: 450px;
    }

    #product-image {
        background-size: cover;
        /*height: 400px;*/
        border-radius: 10px 0 0 10px;
    }

    #right-card-pane {
        /*border: 5px dashed blue;*/
        background-color: #ffffff;
        border-radius: 0 10px 10px 0;
        min-width: 300px;
        height: 450px;
        display: flex;
        flex-direction: column;
    }
}
/* Phone */
@media only screen and (max-width: 600px) {
    body {
        background-color: #F2EAE2;
        margin: 0;
        padding: 15px;
    }
    #flex-container {
        background-color: #f2eae2;
        /*display: flex;*/
        /*justify-content: center;*/
        /*align-items: center;*/
        /*flex-direction: column;*/
        height: 600px;
        width: 100%;
        margin: 0;

    }

    #left-card-pane {
        background-image: url('images/image-product-mobile.jpg');
        background-size: cover;
        height: 240px;
        left: 0.04%;
        right: -0.25%;
        top: -17.84%;
        bottom: 42.88%;
        border-radius: 10px 10px 0 0;
    }

    #product-image {

        object-fit: cover;
        border-radius: 10px 10px 0 0;
        width: 100%;
        height: 240px;
        margin: 0;
    }

    #right-card-pane {
        /*border: 5px dashed blue;*/
        margin-top: 0;
        background-color: #ffffff;
        border-radius: 0 0 10px 10px;
        min-width: 300px;
        /*height: 411px;*/
        display: flex;
        flex-direction: column;
    }
}

i {
    padding: 10px;
}

h1 {
    margin-top: 20px;
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 900;
    font-size: 32px;
    line-height: 32px;
    color: #1C232B;

}

h2 {
    padding: 0;
    margin: 0;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #6C7289;
}

p {
    margin-top: 15px;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 23px;
    color: #6C7289;
}

#product-specs {
    padding: 32px;
}

#price {
    display: flex;
    align-items: center;
}

#sale-price {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 32px;
    color: #3D8168;
}

#regular-price {
    font-family: 'Montserrat', serif;
    padding: 20px 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 23px;
    text-decoration-line: line-through;
    color: #6C7289;
}

#add-to-cart {
    background: #3D8168;
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 48px;
    margin-top: 15px;
}

#add-to-cart:active {
    transform: translateY(4px);
    cursor: pointer;
}

footer {
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }