:root {
    --primary-text-color: #333;
    --primary-color-50: #faf5ff;
    --primary-color-100: #f3e8ff;
    --primary-color-200: #e9d5ff;
    --primary-color-300: #d8b4fe;
    --primary-color-400: #c084fc;
    --primary-color-500: #a855f7;
    --primary-color-600: #9333ea;
    --primary-color-700: #641ba3;
    --primary-color-800: #4a1772;
    --primary-color-900: #2f0553;
    --primary-color-950: #1a032e;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Ubuntu', 'Roboto', sans-serif;
    margin: 0;
    color: var(--primary-text-color);
}

@media screen and (max-width: 768px) {
    body {
        padding: 0.5rem 0 0;
    }
}

header, section, footer {
}

div {
    box-sizing: border-box;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    box-sizing: content-box;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }
}

.flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    text-align: center;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
    }
}

h3 {
    color: var(--primary-color-700);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

h3.inverse {
    color: #fff;
}

p {
    font-size: 1rem;
    line-height: 150%;
    margin: 0;
}

a {
    color: var(--primary-color-700);
    text-decoration: none;
}

a.inverse {
    color: #fff;
}

.button {
    background: var(--primary-color-700);
    background: linear-gradient(55deg, var(--primary-color-800) 0%, var(--primary-color-700) 35%, var(--primary-color-700) 100%);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.button.inverse {
    background: white;
    background: linear-gradient(55deg, var(--primary-color-100) 0%, white 35%, white 100%);
    color: var(--primary-color-700);
    border: 1px solid var(--primary-color-700);
}

@media screen and (max-width: 768px) {
    header .flex {
        justify-content: space-between;
    }
}

.logo img {
    max-width: 300px;
}

@media screen and (max-width: 1025px) {
    .logo img {
        max-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .desktop {
        display: none;
    }
}

.mobile {
    display: none;
}
@media screen and (max-width: 768px) {
    .mobile {
        display: block;
    }
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin-right: 0.5rem;
}

nav ul li {
    margin: 0 0.75rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-text-color);
    font-weight: bold;
    font-size: 112.5%;
}


.menu {
    width: 35px;
    height: 25px;
    top: -3px;
    position: relative;
    margin: 0 1rem;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.menu span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--primary-color-700);
    border-radius: 4px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.menu span:nth-child(1) {
    top: 0;
}

.menu span:nth-child(2),.menu span:nth-child(3) {
    top: 10px;
}

.menu span:nth-child(4) {
    top: 20px;
}

.menu.open span:nth-child(1) {
    top: 10px;
    width: 0;
    left: 50%;
}

.menu.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu.open span:nth-child(4) {
    top: 10px;
    width: 0;
    left: 50%;
}

nav.mobile {
    background: var(--primary-color-700);
    background: linear-gradient(55deg, var(--primary-color-800) 0%, var(--primary-color-700) 35%, var(--primary-color-700) 100%);
    width: calc(100% - 2rem);
    padding: 1rem;
    display: none;
}

nav.mobile.open {
    display: block;
}

nav.mobile ul {
    display: block;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

nav.mobile ul li {
    padding: 0;
    margin: 1rem 0;
}

nav.mobile ul li a {
    color: #fff;
    font-size: 125%;
}

.hero .flex{
    margin: 2rem 1rem;
}

@media screen and (max-width: 768px) {
    .hero .flex {
        margin: 1rem;
        flex-direction: column-reverse;
    }
}

.hero h2 {
    color: var(--primary-color-700);
    width: calc(55% - 2rem);
    text-align: left;
    font-size: 4rem;
    line-height: 150%;
    margin: 1rem;
}

@media screen and (max-width: 1024px) {
    .hero h2 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
        min-width: calc(100% - 2rem);
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
        min-width: calc(100% - 2rem);
        text-align: center;
    }
}

.hero img {
    width: calc(45% - 2rem);
    margin: 1rem;
}

@media screen and (max-width: 768px) {
    .hero img {
        min-width: calc(100% - 2rem);
    }
}

.packages .flex {
    align-items: flex-start;
}

.package {
    flex-grow: 1;
    background-color: #fefefe;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    width: calc(25% - 2rem);
    margin: 1rem 0.75rem;
    text-align: center;
}

.package.inverse {
    background: var(--primary-color-700);
    background: linear-gradient(55deg, var(--primary-color-800) 0%, var(--primary-color-700) 35%, var(--primary-color-700) 100%);
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .package {
        min-width: calc(50% - 2rem);
        margin: 1rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .package {
        min-width: calc(100% - 2rem);
    }
}

.package .price {
    color: var(--primary-color-700);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0;
    text-align: center;
}

.package .price.inverse {
    color: #fff;
}

.package .button {
    display: block;
    margin: 1rem auto;
}

.package p.featured {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.package ul.package-features {
    list-style: none;
    padding: 0;
}

.package ul.package-features li {
    display: block;
    padding: 0.5rem 0;
    font-size: 87.5%;
}

.feature {
    background-color: var(--primary-color-50);
    border-radius: 0.5rem;
    margin: 1rem 1rem;
    padding: 1.5rem;
    width: calc(33% - 2rem);
}

@media screen and (max-width: 1024px) {
    .feature {
        min-width: calc(50% - 2rem);
    }
}

@media screen and (max-width: 480px) {
    .feature {
        min-width: calc(100% - 2rem);
    }
}

footer {
    background-color: var(--primary-color-700);
    color: #fff;
    margin-top: 2rem;
    padding: 1rem;
    text-align: center;
}