:root {
    /* Primary */
    --pale-blue: hsl(225, 100%, 94%);
    --bright-blue: hsl(245, 75%, 52%);

    /* Neutral */
    --very-pale-blue: hsl(225, 100%, 98%);
    --desaturated-blue: hsl(224, 23%, 55%);
    --dark-blue: hsl(223, 47%, 23%);

    --font-weight-500: 500;
    --font-weight-700: 700;
    --font-weight-900: 900;

    font-family: "Red Hat Display";
    font-size: 16px;
}




@media screen and (max-width: 376px) {
    .bdy-custom {
        background-image: url("images/pattern-background-mobile.svg");
        background-repeat: no-repeat;
    }

    .main-custom {
        width: 90vw;
        height: 80vh;
        border-radius: 5vw;
    }

    .header-img {
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 30%;
        border-top-left-radius: 5vw;
        border-top-right-radius: 5vw;
    }
    
    .detail-section {
        padding: 0 6vw;
        width: 100%;
        height: 70%;    
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .summary {
        font-size: 1.1rem;
    }

    .plan {
        padding: 2vh 5vw;
        border-radius: 5vw;
    }
        
    .price-year {
        margin-right: 4vw;
    }
    
    .payment-btn {
        padding: 2vh 0;
        border-radius: 4vw;
    }
}


@media screen and (min-width: 1440px) {
    .bdy-custom {
        background-image: url("images/pattern-background-desktop.svg");
        background-repeat: no-repeat;
    }

    .main-custom {
        width: 30vw;
        height: 85vh;
        border-radius: 1vw;
    }

    .header-img {
        background-size:contain;
        background-repeat: no-repeat;
        width: 100%;
        height: 35%;
        border-top-left-radius: 1vw;
        border-top-right-radius: 1vw;
    }
    
    .detail-section {
        padding: 0 3vw;
        width: 100%;
        height: 65%;
    }
    
    .title {
        font-size: 1.6rem;
    }
    
    .summary {
        font-size: 1.1rem;
    }

    .plan {
        padding: 2vh 2vw;
        border-radius: 1vw;
    }
        
    .price-year {
        margin-right: 4vw;
    }
    
    .payment-btn {
        padding: 2vh 0;
        border-radius: 1vw;
    }
}


.bdy-custom {
    background-color: var(--pale-blue);
    width: 100vw;
    height: 100vh;
}

.main-custom {
    background-color: white;
}

.header-img {
    background-image: url("images/illustration-hero.svg");
}

.detail-section {
    text-align: center;
    justify-content: space-evenly;
}

.title {
    color: var(--dark-blue);
    font-weight: var(--font-weight-700);
}

.summary {
    color: var(--desaturated-blue);
    font-weight: var(--font-weight-500);
}

.plan {
    background-color: var(--very-pale-blue);
}

.annual {
    font-weight: var(--font-weight-900);
    color: var(--dark-blue);
}

.price {
    color: var(--desaturated-blue);
    font-weight: var(--font-weight-500);
}

.change-btn {
    background-color: transparent;
    border: 0;
    text-decoration: underline;
    font-weight: var(--font-weight-700);
    color: rgb(95, 8, 141);
    transition: 250ms;
}

.change-btn:active {
    text-decoration: none;
    transform: scale(0.8);
}

.payment-btn {
    background-color: var(--bright-blue);
    color: var(--very-pale-blue);
    font-weight: var(--font-weight-700);
    transition: 250ms;
}

.payment-btn:active {
    transform: scale(0.8);
    opacity: 50%;
}

.cancel-btn{
    background-color: white;
    color: var(--desaturated-blue);
    font-weight: var(--font-weight-700);
    border: 0;
    transition: 250ms;
}

.cancel-btn:active {
    transform: scale(0.8);
    color: var(--dark-blue);
}


.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}