@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,500;0,700;1,900&display=swap");

html {
    font-family: "Red Hat Display";
    margin: 0px;
    padding: 0px;
    background-image: url("images/pattern-background-desktop.svg");
    background-size: cover;
    background-color: hsl(225, 92%, 90%);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100vh;
    margin: 0px;
    padding: 0px;
}

.container {
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 20px 10px 10px hsl(225, 92%, 87%);
    border-radius: 1rem;
    background-color: white;
}

.option {
    display: flex;
    background-color: hsl(225, 100%, 98%);
    padding: 15px;
    border-radius: 0.5rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    height: 15%;
}
main > img {
    width: 100%;
    border-radius: 1rem 1rem 0rem 0rem;
}

.content {
    padding: 35px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

section > p,
h1 {
    text-align: center;
}

.left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.plan {
    font-weight: 900;
    margin-bottom: -12px;
}

.price {
    color: gray;
}

.left > img {
    height: 50%;
}

.option > a {
    padding: 10px;
}

.option > a:hover {
    color: hsl(251, 66%, 61%);
}

.payment {
    background-color: hsl(245, 75%, 52%);
    color: white;
    height: 40px;
    border-radius: 0.5em;
    border: none;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0px 10px 10px 0px hsl(225, 100%, 94%);
}

.payment:hover {
    background-color: hsl(251, 66%, 61%);
}

.cancel {
    background: none;
    border: none;
    font-weight: 900;
    color: hsl(224, 23%, 55%);
    margin-top: 5px;
    margin-bottom: -35px;
}

.cancel:hover {
    color: black;
}

section > p {
    color: hsl(224, 23%, 55%);
}

footer {
    flex: 0 1 auto;
}

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

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

@media screen and (max-width: 450px) {
    html {
        background-image: url("images/pattern-background-mobile.svg");
    }
    .container {
        width: 300px;
        font-size: 0.75rem;
    }

    .option > a {
        padding: 0px;
    }

    .left {
        gap: 10px;
    }
}
