*{
margin:0;
padding:0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
html,body{
width: 100%;
height: 100%;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}
main{
    height: 600px;
    width: 500px;
    background-color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    border-radius: 14px;
    /* gap: 15px; */
}
#heading{
    /* background-color: blue; */
    color: rgb(139, 117, 117);
}
#details{
    height: 450px;
    width: 400px;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border-radius: 12px;
    /* gap: 50px; */
    padding-top: 60px;
    padding-right: 60px;
    padding-left: 60px;
}
#texts{
    font-size: 20px;
}

img{
    height: 230px;
    width: 246px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
button{
    font-size: 35px;
    font-weight: 100;
    background-color: blue;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}
button:active{
    scale: 0.96;
}

/* PERFECT RESPONSIVE WITHOUT CHANGING ANY DESIGN */

@media (max-width: 600px) {
    main {
        transform: scale(0.75);
        transform-origin: top center;
    }
}

@media (max-width: 400px) {
    main {
        transform: scale(0.63);
        transform-origin: top center;
    }
}

@media (max-width: 340px) {
    main {
        transform: scale(0.55);
        transform-origin: top center;
    }
}
