body {
    background-color: hsl(30, 38%, 92%);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Fraunces';
}

/* Import Fraunces */
@font-face {
    font-family: 'Fraunces';
    src: url('assets/fonts/Fraunces/Fraunces-VariableFont_SOFT\,WONK\,opsz\,wght.ttf') format('woff');
}

/* Import Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('woff');
}

/* Hide both images by default */
.responsive-image {
    display: none;
}

/* Show mobile image by default for smaller screens */
.mobile-img {
    display: block;
    width: 19em;
    border-radius: 10px 10px 0 0;
}

.wrapper {
    background-color: hsl(30, 38%, 92%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #fff;
    width: 16.5em;
    border-radius: 0 0 10px 10px;
    padding: 0 20px;
}

.container h1 {
    font-family: 'Fraunces';
    font-size: 1.7em;
    color: hsl(212, 21%, 14%);
    margin-top: -5px;
    margin-right: 7px;
}

.container h4 {
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat';
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.container p {
    color: hsl(228, 12%, 48%);
    font-family: 'Montserrat';
    font-size: 13px;
    line-height: 1.7;
    margin-top: -5px;
}

.container .prices {
    display: flex;
}

.container .price {
    font-family: 'Fraunces';
    font-weight: 700;
    font-size: 1.7em;
    color: hsl(158, 36%, 37%);
}

.container .promo {
    text-decoration: line-through;
    color: hsl(228, 12%, 48%);
    font-size: 11px;
    position: relative;
    top: 8px;
    left: 20px;
}

.btn {
    background-color: hsl(158, 36%, 37%);
    width: 20em;
    height: 3em;
    color: #fff;
    font-weight: 700;
    /* padding: 20px; */
    margin-bottom: 1.3em;
    border: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #003b3b;
}

.btn .svg {
    width: 1.1em;
    height: 1.1em;
    color: #fff;
    padding-right: 10px;
    margin-bottom: -2px;
}

.attribution { 
    font-size: 11px; 
    text-align: center;
    margin-top: 7px; 
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}


/* MEDIA QUERIES FOR RESPONSIVENESS */

@media only screen and (min-width: 480px) {
    .wrapper {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card {
        display:flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .container {
        border-radius: 0 10px 10px 0;
    }

    /* Hide both images by default */
    .responsive-image {
        display: none;
    }

    /* Show desktop image by default for smaller screens */
    .desktop-img {
        display: block;
        width: 17em;
        height: 20.5em;
        border-radius: 10px 0 0 10px;
    }
}