img {
    display: block;
}

.main-container {
    min-height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;


    font-family: "Inter", serif;


    background-image:
        url('images/pattern-background-desktop.svg');
    background-repeat: no-repeat;
    background-size: auto;
    /* Blend the two images */
    background-color: hsl(225, 100%, 94%);
}

main {
    max-width: 375px;
    background-color: #fff;
    border-radius: 15px;

    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;

    box-shadow: 0px 10px 50px -30px hsl(224, 23%, 55%);
}

.hero-image-container img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}


.pricing,
.buttons {
    margin: 25px
}

.text-description-container {
    text-align: center;
    line-height: 1.8;
    margin: 40px 45px 30px 45px;
}


.text-description-container h1 {
    color: hsl(223, 47%, 23%);
    font-size: 25px;
    margin-bottom: 25px;
}

.text-description-container p {
    color: hsl(224, 23%, 55%);
    font-weight: 500;
}

.pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background-color: hsl(225, 100%, 98%);
    border-radius: 15px;
}

.pricing p {
    display: flex;
    flex-direction: column;
    background-image: url("images/icon-music.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 70px;
}

.pricing p span {
    color: hsl(223, 47%, 23%)
}

.pricing a {
    padding: 4px;
}

.pricing a:hover {
    text-decoration: none;
    font-weight: bold;
    color: rgba(85, 26, 139, 0.7);
    transition: all 0.3s ease;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.buttons button {
    border: 0;
    font-weight: bold;
    cursor: pointer;
    /* Ensure the cursor changes to a pointer on hover */
    transition: all 0.3s ease;
    /* Smooth transition for all properties */
}

.buttons .proceed {
    background-color: hsl(245, 75%, 52%);
    color: hsl(225, 100%, 98%);
    padding: 21px 0;
    border-radius: 15px;
    box-shadow: 0px 20px 17px -1px hsl(225, 100%, 94%);
}

.buttons .proceed:hover {
    background-color: hsla(245, 75%, 52%, 0.7);
}

.buttons .proceed:active {
    box-shadow: 0px 20px 17px -1px hsl(225, 100%, 94%);
    /* Reset shadow */
}

.buttons .cancel {
    margin: 0 auto;
    background-color: transparent;
    color: hsl(224, 23%, 55%);
}

.buttons .cancel:hover {
    color: hsl(223, 47%, 23%);
}

.buttons .cancel:active {
    color: hsl(224, 23%, 55%);
    /* Reset color when clicked */
}

@media screen and (min-width: 1440px) {
    .main-container {
        background-size: contain;
    }

    main {
        max-width: 450px;
    }

    .pricing,
    .buttons {
        margin-left: 45px;
        margin-right: 45px;
    }
}

.attribution {
    font-size: 1em;
    text-align: center;
    color: #000;
    padding-top: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: hsl(225, 100%, 94%);
}

@media only screen and (max-height: 740px) {
    .attribution {
        position: static;
    }
}