 * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
 :root {
    --Green-500: hsl(158, 36%, 37%);
    --Green-700: hsl(158, 42%, 18%);
    --Black: hsl(212, 21%, 14%);
    --Grey: hsl(228, 12%, 48%);
    --Cream: hsl(30, 38%, 92%);
    --White: hsl(0, 0%, 100%);
    --font: 'Montserrat', sans-serif;
    --font-two: 'Fraunces', sans-serif;
}
 body {
    background-color: var(--Cream);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
 .main-card {
    background-color: var(--White);
    display: flex;
    width: 498px;
    height: 375px;
    border-radius: 8px;
}
.img img {
    width: 240px;
    height: 100%;
    border-radius: 8px 0 0 8px ;
}
.perfume-section {
    display: flex;
    flex-direction: column;
}
.perfume-section h1 {
    font-size: 11px;
    letter-spacing: 4.5px;
    font-family: var(--font);
    text-transform: uppercase;
    color: var(--Grey);
    padding: 27px 0 0 25px;
    line-height: 120%;
    opacity: 0.8;
    font-weight: 400;
}
h2 {
    padding: 10px 0 0 25px;
    font-size: 27px;
    font-weight: 700;
    font-family:"Fraunces";
    line-height: 28px;
    max-width: 200px;
}
 .perfume-section p {
        font-size: 12px;
        font-family: var(--font);
        padding: 15px 0 0 25px;
        color: var(--Grey);
        letter-spacing: 0.5px;
        line-height: 17px;
        width: 250px;
 }
 .perfume-section small {
    color: var(--Green-500);
    font-size: 25px;
    padding: 20px 0 0 25px;
    font-family: var(--font-two);

 }
 s {
    font-size: 14px;
    color: var(--Black);
    margin-left: 10px;
    opacity: 0.7;
 }
 .perfume-section button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--Green-500);
    color: var(--White);
    font-family: Montserrat, sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    width: 190px;
    margin-left: 25px;
    margin-top: 20px;
    padding: 10px 0;
    border: 1px solid var(--color-green-500);
 }
 @media (max-width: 576px) {
    .main-card{
      flex-direction: column;
      width: 300px;
      height:fit-content;
      padding-bottom: 20px;
    }
    .img img {
        width: 100%;
        height: 300px;
    }
  }

