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

:root{
    --bg-color: hsl(225, 100%, 94%);
    --main-text-color: hsl(224, 23%, 55%);
    --bold-text-color: hsl(223, 47%, 23%);
    --light-blue: hsl(225, 100%, 98%);
    --deep-blue: hsl(245, 75%, 52%);
    --dark-grey: hsl(224, 23%, 55%);
    --dark-blue: hsl(223, 47%, 23%);
}

body{
    margin: 0;
    background-color: var(--bg-color);
    background-image: url(./images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100vh;
    display: flex;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 700;
}

.container{
    background-color: white;
    width: 20rem;
    margin: auto;
    border-radius: 10px;
    color: var(--main-text-color);
}

p{
    margin: 0;
}

.img-wrapper{
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.image{
    width: 100%;
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 0.7rem;
}

.title{
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--bold-text-color);
}

.description{
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.plan-details{
    background-color: var(--light-blue);
    display: flex;
    border-radius: 10px;
    padding: 0.7rem 1.1rem;
    gap: 0.8rem;
    width: 90%;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
}

.name-and-price{
    margin-right: auto;
}

.music-icon{
    width: 20%;
}

.plan-name{
    font-weight: 900;
    color: var(--bold-text-color);
}

.change{
    font-weight: 900;
    color: var(--deep-blue);
}

.change:hover{
    text-decoration: none;
    opacity: 70%;
}

.proceed{
    border: none;
    background-color: var(--deep-blue);
    color: white;
    width: 100%;
    padding: 0.8rem 3rem;
    border-radius: 10px;
    font-size: 0.75rem;
    box-shadow: 1px 10px 20px -10px var(--deep-blue);
}

.proceed:hover{
    cursor: pointer;
    opacity: 65%;
}

.cancel{
    color: var(--dark-grey);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.7rem;
    margin-top: 0.7rem;
}

.cancel:hover{
    color: var(--dark-blue);
}

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

    .container{
        width: 90%;
    }
}