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

:root {
    --primary-color: darkblue;
    --primary-text-color: white;
    --secondary-color: #f0f0f0; /* optional */
}

body {
    height: 100%;
    width: 100%;
    font-family: Poppins;
}

/* utility classes */
.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* nav section */
nav {
    background-color: var(--primary-color);
    color: var(--primary-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.5px;
    position: fixed;
    width: 100%;
}

nav ul, nav h1 {
    margin: 10px;
}

nav ul {
    align-items: center;
    color: var(--primary-text-color);
    gap: 20px;
    list-style-type: none;
}

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

main #intro {
    background: url("images/watch-bg.png") no-repeat center center;
    background-size: cover;
    height: 40rem;
    display: grid;
}

main #intro .heading {
    color: var(--primary-text-color);
    justify-content: center;
    text-align: center;
    grid-column: 2;
    gap: 30px;
}

.feature {
    gap: 10px;
    margin-top: 40px;
}

.feature #features {
    padding: 10%;
    text-align: center;
    gap: 3em;
    justify-content: center;
    align-items: center;
}

.feature .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 10px;
}

.feature svg {
    height: 2em;
    width: 2em;
}

.feature #how-it-works {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.feature .sub-section-1 {
    padding: 10%;
    text-align: center;
}

.feature .sub-section-2 {
    padding: 10%;
    text-align: center;
    gap: 1.5rem;
}

.feature .step1 {
    align-items: center;
    gap: 15px;
}

#feature-img-1 {
    width: 20em;
}

#feature-img-2 {
    width: 20em;
    border: 1px solid black;
}

/* contact form section */
.contact-form {
    padding: 10%;
}

.contact-form div {
    display: flex;
    flex-direction: column;
}

.contact-form .contact-section-2 {
    gap: 2rem;
}

.contact-form .contact-section-2 input, .contact-form .contact-section-2 textarea, .contact-form .contact-section-2 label, .contact-form .contact-section-2 button {
    padding: 10px;
}

.contact-form .contact-section-2 button {
    border: 2px solid var(--primary-color);
    border-radius: 18px;
    color: var(--primary-color);
    background-color: var(--primary-text-color);
    font-weight: bold;
    width: 30%;
}

.contact-form h1 {
    margin-bottom: 20px;
}

/* footer section */
footer {
    display: flex;
    flex-direction: column;
    border-top: 2px solid black;
    padding: 10%;
    text-align: center;
    gap: 2rem;
}

footer .footer-items {
    width: 100%;
    gap: 10px;
    display: flex;
    align-items: center;
}

footer .footer-section-2 svg, .footer-section-3 svg {
    width: 40px;
    height: 40px;
}

/* */
@media (min-width: 768px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    nav ul {
        display: flex;
    }

    main #intro {
        grid-template-columns: 50% 50%;
    }

    main .feature {
        gap: 10px;
    }

    .feature {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .feature #features {
        padding: 10%;
        text-align: center;
    }

    .feature #how-it-works {
        border-left: 2px solid black;
    }

    .feature .sub-section-2 {
        padding: 10%;
        text-align: center;
    }

    .feature .sub-section-3 {
        padding: 10%;
        text-align: center;
    }

    .contact-form .contact-section-main {
        display: grid;
        grid-template-columns: 50% 50%;
        column-gap: 3rem;
    }

    footer div {
        width: calc(100% / 3);
    }

    footer {
        flex-direction: row;
    }

    footer .footer-items {
        width: 100%;
        gap: 10px;
        display: flex;
        align-items: center;
    }

    footer .footer-section-2 svg {
        width: 40px;
        height: 40px;
    }
}