:root {
    /* Colors */
    --cyan: #66e2dc;
    --orange: #fa7453;
    --yellow: #ffb964;
    --white: #fcfaf9;
    --black: #191826;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "IBM Plex Sans", sans-serif;
    margin: 0;
    background-color: var(--white);
}

header {
    background-image: url('resources/assets/bg-main-mobile.png');
    background-repeat: no-repeat;
    background-position: 0rem -25rem;
    background-size: 200%;
    max-width: 100%;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    padding-bottom: 11rem;
}

.hero nav {
    padding: 3rem;
}

.hero .hero-img {
    display: none;
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    padding: 0rem 3rem 3rem;
}

.hero .hero-content h1 {
    max-width: 25rem;
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--black);
}

.hero .hero-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--black);
}

.premium {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url('resources/assets/bg-pattern-2.svg');
    background-repeat: no-repeat;
    width: 100%;
    background-color: var(--black);
}

.premium .phone-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium .phone-illustration img {
    width: 15em;
    margin-top: -10rem;
    padding-bottom: 3rem;
}

.premium .premium-content {
    padding: 3rem;
    background-color: var(--orange);
}

.premium .premium-content h1 {
    font-size: 2.7rem;
    color: var(--black);
    margin-bottom: 1.2rem;
}

.premium .premium-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 1.2rem;
}

.premium .premium-content .price {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 0.8rem;
}

.premium .premium-content .price p.price-month {
    color: var(--black);
    font-size: 2.2rem;
    font-weight: 700;
}

.premium .premium-content .price p {
    color: var(--black);
    font-size: 1.2rem;
}

.premium .premium-content .buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.premium .premium-content .buttons .ios-download {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background-color: var(--black);
    padding: 1.2rem;
    border-radius: 1rem;
    color: var(--white);
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.2s ease;
}

.premium .premium-content .buttons .ios-download:hover {
    background-color: var(--cyan);
    color: var(--black);
    cursor: pointer;
}

.premium .premium-content .buttons .ios-download:hover img {
    filter: brightness(0);
}

.premium .premium-content .buttons .android-download {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background-color: var(--white);
    padding: 1.2rem;
    border-radius: 1rem;
    color: var(--black);
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.2s ease;
}

.premium .premium-content .buttons .android-download:hover {
    background-color: var(--yellow);
    color: var(--black);
    cursor: pointer; 
}

footer {
    padding: 3rem;
}

footer img {
    margin-bottom: 1.5rem;
}

footer .footer-content {
    margin-bottom: 1.5rem;
}

footer .footer-content p {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--black);
}

footer .footer-content a {
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
}

footer .footer-nav {
    display: flex;
    gap: 1.2rem;
}

footer .footer-nav a:hover img {
    filter: brightness(0) saturate(100%) invert(49%) sepia(95%) saturate(2476%) hue-rotate(346deg) brightness(103%) contrast(97%);
}

@media only screen and (min-width: 768px) {
    header {
        background-image: url('resources/assets/bg-main-tablet.png');
        background-position: -7rem -10rem;
        background-size: 120%;
    }

    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero .hero-img {
        display: flex;
        position: absolute;
        right: 0;
        margin-top: -2rem;
        margin-right: -2rem;
    }

    .hero .hero-img img {
        width: 12rem;
    }

    .hero .hero-content h1 {
        font-size: 3rem;
        max-width: 25rem;
    }

    .hero .hero-content p {
        max-width: 30rem;
    }

    .premium {
        width: 90%;
        border-radius: 1rem;
        margin: 0 auto;
        height: 37rem;
        position: relative;
        background-position: top center;
    }

    .premium .phone-illustration {
        margin-left: -50%;
    }

    .premium .premium-content {
        position: absolute;
        border-radius: 1rem;
        width: 25rem;
        margin-top: 20%;
        margin-right: -25%;
    }

    footer {
        margin: 0 auto;
        padding-top: 7rem;
    }
}

@media only screen and (min-width: 1024px) {
    header {
        background-image: url('resources/assets/bg-main-desktop.png');
        background-position: -5rem -7rem;
        background-size: 125%;
        max-width: 1024px;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .hero .hero-img {
        top: 0;
        right: 0;
        margin-right: -1rem;
        margin-top: -1rem;
    }

    .hero .hero-content h1 {
        font-size: 3rem;
        max-width: 25rem;
    }

    .hero .hero-content p {
        max-width: 30rem;
    }

    .premium {
        background-position: top left;
    }

    footer {
        margin: 0 auto;
        padding-top: 7rem;
        max-width: 1024px;
    }
}