2022-01-31 00:23:06 +01:00
|
|
|
@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap");
|
2022-01-03 00:30:42 +01:00
|
|
|
|
2022-01-31 00:23:06 +01:00
|
|
|
/*
|
|
|
|
Mobile 375 x 709
|
|
|
|
Box roughly: 327 x 567
|
|
|
|
Ratio 0.872 x 0.7997179126
|
|
|
|
|
|
|
|
Desktop: 1440 x 900
|
|
|
|
Box roughly: 450 x 697
|
|
|
|
Ratio 0.3125 x 0.7744444444
|
|
|
|
*/
|
2022-01-03 00:30:42 +01:00
|
|
|
:root {
|
|
|
|
/* colors */
|
|
|
|
|
|
|
|
--clr-pale-blue: hsl(225, 100%, 94%);
|
|
|
|
--clr-bright-blue: hsl(245, 75%, 52%);
|
|
|
|
|
|
|
|
--clr-very-pale-blue: hsl(225, 100%, 98%);
|
|
|
|
--clr-desaturated-blue: hsl(224, 23%, 55%);
|
|
|
|
--clr-dark-blue: hsl(223, 47%, 23%);
|
|
|
|
|
|
|
|
/* fonts */
|
|
|
|
--fs-p: 1rem;
|
|
|
|
--fw-500: 500;
|
|
|
|
--fw-700: 700;
|
|
|
|
--fw-900: 900;
|
2022-01-31 00:23:06 +01:00
|
|
|
|
|
|
|
/* Border Radius */
|
|
|
|
--br-11: 11px;
|
|
|
|
--br-20: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
*,
|
|
|
|
::before,
|
|
|
|
::after {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* General Formating */
|
|
|
|
|
|
|
|
body {
|
2022-01-31 00:23:06 +01:00
|
|
|
font-family: "Red Hat Display", sans-serif;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: var(--clr-pale-blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
background-image: url(../images/pattern-background-mobile.svg);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
/* margin: 0 auto; */
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
margin: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
2022-01-31 00:23:06 +01:00
|
|
|
width: 87.2%;
|
|
|
|
border-radius: var(--br-20);
|
|
|
|
background-color: white;
|
|
|
|
text-align: center;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
2022-01-31 00:23:06 +01:00
|
|
|
.hero-image img {
|
|
|
|
width: 100%;
|
|
|
|
border-radius: var(--br-20) var(--br-20) 0 0;
|
|
|
|
margin-bottom: 2rem;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
2022-01-31 00:23:06 +01:00
|
|
|
|
|
|
|
.card h1 {
|
|
|
|
font-weight: var(--fw-900);
|
|
|
|
font-size: 1.375rem;
|
|
|
|
line-height: 1.2;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
color: var(--clr-dark-blue);
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
2022-01-31 00:23:06 +01:00
|
|
|
|
|
|
|
.card p {
|
|
|
|
font-weight: var(--fw-500);
|
|
|
|
color: var(--clr-desaturated-blue);
|
|
|
|
margin: 0 2rem;
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
line-height: 25px;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
2022-01-31 00:23:06 +01:00
|
|
|
|
|
|
|
.price-plan {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
width: 85%;
|
|
|
|
margin: 0 auto 1.5rem auto;
|
|
|
|
padding: 1rem 0;
|
|
|
|
|
|
|
|
border-radius: var(--br-11);
|
|
|
|
background-color: var(--clr-very-pale-blue);
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
2022-01-31 00:23:06 +01:00
|
|
|
|
2022-01-03 00:30:42 +01:00
|
|
|
.plan-type {
|
2022-01-31 00:23:06 +01:00
|
|
|
color: var(--clr-dark-blue);
|
|
|
|
font-size: 0.875rem;
|
|
|
|
font-weight: var(--fw-900);
|
|
|
|
margin-bottom: 0.1875rem;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
.plan-price {
|
2022-01-31 00:23:06 +01:00
|
|
|
color: var(--clr-desaturated-blue);
|
|
|
|
font-size: 0.875rem;
|
|
|
|
font-weight: 500;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
.change-button {
|
2022-01-31 00:23:06 +01:00
|
|
|
font-size: 0.8125rem;
|
|
|
|
font-weight: var(--fw-700);
|
|
|
|
color: var(--clr-bright-blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-area a {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: var(--fw-900);
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
line-height: 20px;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
.payment-button {
|
2022-01-31 00:23:06 +01:00
|
|
|
color: white;
|
|
|
|
/* margin-bottom: 1.5rem; */
|
|
|
|
background-color: var(--clr-bright-blue);
|
|
|
|
width: 85%;
|
|
|
|
margin: 0 auto 1.5rem auto;
|
|
|
|
box-shadow: 0px 20px 20px rgba(56, 42, 225, 0.190291);
|
|
|
|
border-radius: var(--br-11);
|
|
|
|
padding: 15px 0;
|
2022-01-03 00:30:42 +01:00
|
|
|
}
|
|
|
|
.cancel-button {
|
2022-01-31 00:23:06 +01:00
|
|
|
color: var(--clr-desaturated-blue);
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 376px) {
|
|
|
|
main {
|
|
|
|
background-image: url(../images/pattern-background-desktop.svg);
|
|
|
|
}
|
|
|
|
}
|