@font-face {
    font-family: "Fraunces";
    src: url(./fonts/Fraunces/Fraunces-VariableFont_SOFT\,WONK\,opsz\,wght.ttf);
}

@font-face {
    font-family: "Montserrat";
    src: url(./fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    font-size: 14px;
}

body {
    background-color: hsl(30, 38%, 92%);
}

.container {
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 40dvw;
    height: 60dvh;
    display: flex;
    gap: 0;
}

.card-left {
    flex-basis: 50%;
    display: flex;
}

.card-left img {
    width: 100%;
}

.card-right {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: hsl(0, 0%, 100%);
    border-top-left-radius: 10px;
    gap: 4%;

}

.intro-text {
    text-transform: uppercase;
    font-family: "Montserrat";
    font-weight: 600;
    color: hsl(228, 12%, 48%);
    letter-spacing: 5px;
}

.intro-h1 {
    font-family: "Fraunces";
    font-size: 35px;
    color: hsl(212, 21%, 14%);
    line-height: 30px;

}

.intro-desc {
    font-family: "Fraunces";
    font-weight: 600;
    color: hsl(228, 12%, 48%);
    word-spacing: 2px;
    line-height: 20px;
}

.price {
    display: flex;
    align-items: center;
    gap: 17px;
}

.main {
    font-size: 35px;
    font-family: "Fraunces";
    color: hsl(158, 36%, 37%);
}

.deleted {
    font-family: "Montserrat";
    color: hsl(228, 12%, 48%);
    display: flex;
    text-decoration: line-through;
}

.add-to-cart {
    display: flex;
    align-content: center;
    height: 50px;
    justify-content: center;
    padding-top: 14px;
    border-radius: 5px;
    background-color: hsl(158, 36%, 37%);
    border: none;
    color: hsl(0, 0%, 100%);
    gap: 10px;
}
.add-to-cart:hover{
    background-color: hsl(158, 51%, 20%);
}


@media screen and (max-width: 500px) {
    .card{
        display: flex;
        flex-direction: column;
        width: 90vw;
        height: 90vh;
        padding: 20px; 
    }

    .card-left{
        height: 20rem; 
    }

    .card-left img{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        height: 470px;
        overflow: hidden;
    }

    .card-right{
        gap: 6%;
        gap: 1.5rem;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        font-size: 30px;
    }
    
    }
  


























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

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