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

body {
    margin: 0;
    padding: 0;
    background-image: url(images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-color: #e0e8ff;
}

main {
    width: 80%;
    max-width: 28rem;
    margin: 8rem auto;
    padding: 0 0 3rem;
    background-color: white;
    border-radius: 1rem;
    font-family: 'Red Hat Display';
    box-shadow: 0 2rem 2rem -1rem rgb(161, 181, 236);
}

main #illustration-hero {
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    margin: 0 0 2.5rem;
}

.container {
    width: 80%;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #1f2f56ff;
}

.container .description {
    font-size: 1rem;
    font-weight: 500;
    color: #7280a7ff;
}

.container .plan {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #f6fafd;
    border-radius: 1rem;
}

.plan img {
    margin: 0 0 0 2rem;
    float: inline-start;
}

.plan .plan-info {
    width: 100%;
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plan-info p {
    margin: 0;
    line-height: 1.5rem;
}

.plan-info .plan-time {
    font-weight: 900;
    color: #1f2f56ff;
}

.plan-info .plan-price {
    font-weight: 500;
    color: #7280a7ff;
}

.plan a {
    margin: 0 2rem 0 0;
    font-weight: 700;
    font-size: 0.9rem;
    color: #3829e0ff;
}

.plan a:hover {
    color: rgb(118, 108, 240);
}

.container .proceed {
    width: 100%;
    margin: 2rem 0 0;
}

.container button {
    width: 100%;
    height: 3rem;
    border: none;
    outline: none;
    background-color: #3829e0ff;
    color: white;
    box-shadow: 0 1rem 2rem rgb(161, 181, 236);
    border-radius: 0.6rem;
    font-family: 'Red Hat Display';
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.1s ease;
}

.container button:hover,
.container button:active {
    background-color: rgb(118, 108, 240);
}

.cancel {
    text-decoration: none;
    margin: 2rem 0 0;
    color: gray;
    font-weight: 900;
    font-size: 0.9rem;
}

.cancel:hover {
    color: #1f2f56ff;
}

.attribution {
    font-family: 'Red Hat Display';
    font-size: 0.8rem;
    text-align: center;
}

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

@media (max-width: 375px) {
    body {
        background-image: url(images/pattern-background-mobile.svg);
    }
}