@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');

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

    font-family: "Rubik", sans-serif;
    --muted: hsl(0, 0%, 50%);
}

header {
    padding: 2rem 5rem;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

h1, h2 {
    color: hsl(229, 31%, 21%);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.25rem;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.nav-link {
    text-decoration: none;
    color: #000;
}

.submit {
    padding: .3rem 1.3rem;
    color: #fff;
    background-color: hsl(0, 94%, 66%);
    border-radius: 3px;
    border: 2px solid hsl(0, 94%, 66%);
    outline: none;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 87vh;
}

.hero-text {
    width: 40%;
}

.hero-text h1 {
    font-size: 3rem;
}

.hero-text p {
    width: 70%;
}

.muted {
    margin: 1.5rem 0;
    color: var(--muted);
    line-height: 1.5;
}

.info-btn,
.btn-complement {
    padding: .65rem 1.2rem;
    border-radius: 4px;
    border: none;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
}

.info-btn {
    color: #fff;
    background-color: hsl(231, 69%, 60%);
    border: 2px solid hsl(231, 69%, 60%);
}

.btn-complement {
    margin-left: 1rem;
    border: 2px solid rgb(239, 239, 239);
}

.hero-img {
    position: relative;
    width: 40%;
}

.hero-img img {
    width: 100%;
}

.hero-img::after {
    content: "";
    height: 70%;
    width: 100%;
    z-index: -1;
    position: absolute;
    right: -25%;
    top: 8rem;
    border-radius: 35% 0 0 35%;
    background-color: hsl(231, 69%, 60%);
}

.features-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h2 {
    font-size: 2rem;
}

.features-container > p {
    width: min(90%, 600px);
    text-align: center;
    font-size: 1.2rem;
}

.features-list {
    display: flex;
    margin-bottom: 3rem;
    list-style: none;
}

.features-list li {
    padding: 1rem 1rem;
    font-size: 18px;
}

.features-list li:first-of-type {
    border-bottom: 2px solid hsl(0, 94%, 66%);
}

.features-list li + li {
    margin-left: 1.5rem;
}

.feature-brief {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    position: relative;
}

.feature-text,
.feature-img {
    width: 40%
}

.feature-img img {
    width: 80%;
}

.feature-img::before {
    content: "";
    background-color: hsl(231, 69%, 60%);
    width: 90%;
    height: 75%;
    position: absolute;
    top: 8rem;
    left: -25%;
    border-radius: 0 40% 40% 0;
    z-index: -1;
}

.fetaure-text p.muted {
    text-align: left;
}

.cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.cta-download {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem;
}

.down-card {
    width: 25%;
    display: inline-flex;
    flex-flow: column nowrap;
    align-items: center;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1),
                0 10px 8px -8px hsl(231, 64%, 82%);
    border-radius: 10px;
    padding: 2rem 0;
}

.down-card img[alt=""] {
    width: 100%;
}

.down-card button {
    margin-top: 1rem;
}

.down-card p {
    margin: 0 0 1rem 0;
    font-size: 13px;
}

.down-card h4 {
    margin-top: 1.5rem;
    color: hsl(229, 31%, 21%);
}

.down-card:nth-of-type(2) {
    transform: translateY(15%);
}

.down-card:nth-of-type(3) {
    transform: translateY(30%);
}

.faqs {
    margin: 0 auto;
    width: min(90%, 500px);
}

.faqs > p.muted {
    text-align: center;
    margin-bottom: 2rem;
}

.ques {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid gray;
    color: hsl(229, 31%, 21%);
}

.ans {
    margin-top: 0;
}

.faq:nth-of-type(4) {
    border-bottom: 1px solid gray;
}

.faqs button {
    margin: 2rem 0 2rem 50%;
    transform: translateX(-50%);
}

.contact {
    width: 100%;
    padding: 10vh 0;
    background-color: hsl(231, 69%, 60%);
    text-align: center;
    color: #fff;
    
}

.contact h5 {
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 400;
}

.contact h1 {
    margin: 2rem 0;
}

input {
    padding: 0 1rem;
    width: 300px;
    height: 1.7rem;
    transform: translateY(1px);
    border: none;
    outline: none;
    border-radius: 3px;
}

footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 5rem;
    background-color: hsl(0, 94%, 66%);
    color: #fff;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.footer-link {
    text-decoration: none;
    color: #fff;
}

.social-media {
    margin-left: auto;
}

.bottom {
    text-align: center;
    margin: 1rem;
}

.submit:hover {
    color: hsl(0, 94%, 66%);
    background-color: #fff;
}

.submit,
.info-btn {
    transition: transform 300ms ease;
}

.submit:active,
.info-btn:active {
    transform: translateY(5px);
}

.nav-link:hover {
    color: hsl(0, 94%, 66%);
}

.footer-link:hover {
    color: hsl(231, 69%, 60%);
}

.info-btn:hover {
    background-color: #fff;
    color: hsl(231, 69%, 60%);
}

.btn-complement:hover {
    border-color: var(--muted);
}

.social-media img:hover,
.features-list li:hover {
    cursor: pointer;
}

img.hidden:hover {
    cursor: pointer;
}

@media (max-width: 1100px) {

    .feature-img::before {
        top: 6rem;
    }

    .hero-img::after {
        top: 6rem;
    }
}

@media (max-width: 800px) {

    img.hidden {
        display: block;
    }

    .group {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 1rem;
        font-size: 16px;
    }

    .hero {
        flex-direction: column-reverse;
    }

    .hero > * {
        width: 80%;
    }

    .hero-img::after,
    .feature-img::before {
        display: none;
    }

    .hero-text p,
    .hero-text h1 {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        margin-top: 2rem;
        font-size: 2rem;
    }

    .hero-btn-container {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 1rem;
    }

    .btn-complement {
        margin-left: 0;
    }

    h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .features-container {
        margin-top: 1rem;
    }

    .features-container > p {
        font-size: 16px;
    }

    .features-list {
        flex-direction: column;
        text-align: center;
    }

    .features-list li + li {
        margin-left: 0;
    }

    .feature-brief {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-brief > * {
        width: 90%;
    }

    .feature-img,
    .feature-text {
        display: flex;
        justify-content: center;
    }

    .feature-text {
        flex-direction: column;
        text-align: center;
    }

    .feature-text .info-btn {
        display: none;
    }

    .cta > p.muted {
        width: 80%;
        text-align: center;
    }

    .cta {
        padding: 0 1rem;
    }

    .cta-download {
        flex-direction: column;
        align-items: center;
    }

    .down-card {
        width: 80%;
    }

    .down-card:nth-of-type(3),
    .down-card:nth-of-type(2) {
        transform: translateY(0);
    }

    .faqs {
        margin-top: 2rem;
    }

    header,
    footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .footer-links {
        margin: 1rem 0 1.5rem 0;
        font-size: 20px;
    }

    .footer-links,
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .social-media {
        margin: 0;
    }

    .contact {
        padding: 3rem 1rem;
    }

    input {
        width: 80%;
    }

    input + button {
        margin-top: 1rem;
        width: 80%;
    }
}

.hidden {
    display: none;
}