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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Red Hat Display', sans-serif;
}

body {
    background-color: hsl(224, 23%, 55%);
}

body .desktop_bg_img, .mobile_bg_img {
    width: 100%;
    position: absolute;
}

main {
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    background-color: hsl(225, 100%, 98%);
    width: 25rem;
    height: 40rem;
    border-radius: 1rem;
}

main img {
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
}

main .content {
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem;
}

main .content h1, main .content p {
    text-align: center;
}

main .content h1 {
    color: hsl(223, 47%, 23%);
}

main .content p, main .content section .plan_info .text span {
    color: hsl(224, 23%, 55%);
}

main .content section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsla(225, 100%, 94%, 0.2);
    padding: .6rem;
    border-radius: 1rem;
}

main .content section a:hover {
    text-decoration: none;
    color: hsl(224, 23%, 55%);
}

main .content section .plan_info {
    display: flex;
    gap: 1rem;
}

main .content section .plan_info .text p {
    font-weight: 700;
    color: hsl(223, 47%, 23%);
}

main .content button {
    cursor: pointer;
    font-weight: 700;
    border: none;
}

main .content button:not(.cancel_order) {
    padding: .8rem;
    background-color: hsl(245, 75%, 52%);
    color: hsl(225, 100%, 94%);
    border-radius: .6rem;
    transition: .4s ease opacity;
}

main .content button:not(.cancel_order):hover {
    opacity: .6;
}

main .content button:not(.proceed_order) {
    background-color: transparent;
    color: hsl(224, 23%, 55%);
    transition: .4s ease color;
}

main .content button:not(.proceed_order):hover {
    color: hsl(223, 47%, 23%);
}

@media screen and (max-width: 476px) {
    .desktop_bg_img {display: none !important;}
    .mobile_bg_img {display: block !important;}
}