@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #F3EAE3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}
main{
    display: flex;
    width: 100%;
    max-width: 600px;
    justify-content: center;
}
.img1{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: block;
}
.container{
    background-color: white;
    width: 50%;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    text-align: left;
    padding: 15px 35px;
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
}
.container h1{
    line-height: 33px;
    font-family: "Fraunces", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 35px;
  font-style: normal;
  color: hsl(212, 21%, 14%)
}
.container, span{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 12px;
    color: hsl(228, 12%, 48%);
}
h3{
    font-weight: lighter;
    font-size: 14px;
    letter-spacing: 5px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: hsl(228, 12%, 48%);
}
.main-figures{
    display: flex;
    align-items: center;
    gap: 15px;
}
.main-figures h1{
    color: hsl(158, 36%, 37%);
    font-family: "Fraunces", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
h5{
    font-weight: lighter;
    text-decoration: line-through;
    color: black;
}
button{
    background-color: hsl(158, 36%, 37%);
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

.img2{
    display: none;
}

button span{
    color: white;
    font-weight: bolder;
}
/* mobile */
@media screen and (max-width: 600px) {
    body{
        padding: 20px;
    }
    .img2{
        width: 100%;                                                                                                                                                                                                             
        height: 30vh;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        display: block;
    }
    .img1{
        display: none;
    }
    main{
        display: flex;
        flex-direction: column;

    }
    .container h1{
        font-size: 50px;
        line-height: 55px;
    }
    .container{
        padding: 20px;
        width: 100%;
        border-radius: 0 0 15px 15px;
    }
    .container h3{
        font-size: 20px;
    }
    .container span{
        font-size: 25px;
    }
    .container h5{
        font-size: 22px;
    }
}