@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root{
    --Light-red-CTA-text: hsl(356, 100%, 66%);
    --Very-light-red-CTA-hover-background: hsl(355, 100%, 74%);
    --Very-dark-blue-headings: hsl(208, 49%, 24%);
    
    --White-text: hsl(0, 0%, 100%);
    --Grayish-blue-footer-text: hsl(240, 2%, 79%);
    --Very-dark-grayish-blue-body-copy: hsl(207, 13%, 34%);
    --Very-dark-black-blue-footer-background: hsl(240, 10%, 16%);

    /* Background gradient - Intro/CTA mobile nav: */

    --Very-light-red: hsl(13, 100%, 72%);
    --Light-red: hsl(353, 100%, 62%);
    
    /* Background gradient - body: */
    
    --Very-dark-gray-blue: hsl(237, 17%, 21%);
    --Very-dark-desaturated-blue: hsl(237, 23%, 32%);
}


*{
    font-size: 18px;
}

a{
    text-decoration: none;
}

h1{
    font-size: 2rem;
}


body{
    font-family: Overpass;
    text-align: center;
    margin: 0;
}

p{
    color: var(--Very-dark-desaturated-blue);
    font-size: 16px;
}

h1, h2{
    color: var(--Very-dark-blue-headings);
    font-weight: 300;
}

.desktopNav{
    display: none;
}

.mobileNav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 1rem;
    position: relative;
}

.mobileNav .navLinks{
    position: absolute;
    background-color: white;
    top: 7rem;
    align-items: center;
    /* border: 1px solid black; */
    width: 90%;
    border-radius: .7rem;
    padding-bottom: 2rem;
    box-shadow: 0px 10px 20px #ccc;
}

hr{
    width: 90%;
}

.buttonThree{
    background-image: linear-gradient(to right, var(--Very-light-red), var(--Light-red));
    padding: 1rem;
    border: none;
    outline: none;
    border-radius: 4rem;
    color: var(--White-text);
    margin-top: 1rem;
}

.mobileNav .navLinks .links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid black; */
}

.mobileNav .navLinks .faq{
    /* border: 1px solid black; */
    width: 100%;
}

.mobileNav .navLinks .faq.title p{
    color: black;
    border: 1px solid;
    width: 2.5rem;
}

.mobileNav .navLinks .faq a{
    color: #656f79;
}

.mobileNav .navLinks .faq .answer{
    display: none;
    background-color: #efeff1;
    width: 70%;
    border-radius: .4rem;
    margin: 0 auto;
    padding: 1rem;
}


.mobileNav .navLinks .links .faq.title{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
}

.mobileNav .navLinks .faq.title div{
    background-image: url(images/icon-arrow-dark.svg);
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid black;
    height: 1rem;
    width: 1rem;
}

.mobileNav .navLinks .faq.active .answer{
    display: block;
}

.hide{
    display: none;
}

.sectionOne{
    background-image: 
        url(images/bg-pattern-intro-desktop.svg), 
        linear-gradient(to right, var(--Very-light-red), var(--Light-red));
    background-size: 3000px, 100%; /* Image retains its size, gradient spans full width */
    background-repeat: no-repeat, no-repeat;
    background-position: -30rem -70rem, center; /* Position image and gradient */
    background-size: 800px;
    background-repeat: no-repeat;
    color: var(--White-text);
    border-bottom-left-radius: 7rem;
    height: 80vh;
    /* background-color: linear-gradient (to bottom, var(--Very-light-red), var(--Light-red)); */
}

.sectionOne h1{
    margin-top: 4rem;
    width: 90%;
    margin-left: 1rem;
    color: var(--White-text);
}

.sectionOne p{
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--White-text);
}

.buttons{
    margin-top: 2rem;
}

.buttonOne{
    padding: 1rem;
    background-color: white;
    border: none;
    outline: none;
    border-radius: 4rem;
    color: var(--Light-red-CTA-text);
    font-weight: 600;
}

.buttonOne:hover{
    background-color: rgba(255, 255, 255, 0.521);
    color: var(--White-text);
    cursor: pointer;
}

.buttonTwo{
    padding: 1rem;
    background-color: transparent;
    border: none;
    outline: none;
    border: 1px solid white;
    border-radius: 4rem;
    color: var(--White-text);
    font-weight: 600;
}

.buttonTwo:hover{
    background-color: white;
    color: var(--Light-red-CTA-text);
    cursor: pointer;
}

.sectionTwo{
    margin-top: 20vh;
}

.sectionTwo p{
    color: #5b5c5e;
}

.sectionTwo h2{
    font-size: 2rem;
}

.flex{
    display: flex;
    flex-direction: column-reverse;
}

.picture{
    /* border: 1px solid yellow; */
    width: 100%;
    height: 18rem;
    margin-left: -20px;
    padding: 0;
    background-image: url(images/illustration-editor-mobile.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.paragraph{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.paragraph p{
    font-size: 16px;
}

.sectionThree{
    background-color: #3c3f60;
    background-image: url(images/bg-pattern-circles.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: relative;
    color: var(--White-text);
    padding-top: 9rem;
    margin-top: 12rem;
    border-top-right-radius: 5rem;
    border-bottom-left-radius: 5rem;
    padding-bottom: 7rem;
}

.sectionThree .left{
    background-image: url(images/illustration-phones.svg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -10rem;
    width: 100%;
    height: 20rem;
    /* border: 1px solid; */
}

.right{
    padding: 1rem;
}

.right h1, .right p{
    color: var(--White-text);
}


.sectionFour{
    margin-top: 2rem;
}

.sectionFour .left{
    background-image: url(images/illustration-laptop-mobile.svg);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 23rem;
}

.sectionFour p{
    color: var(--Very-dark-desaturated-blue);
}

footer{
    background-color: var(--Very-dark-black-blue-footer-background);
    padding-left: 35%;
    padding-right: 35%;
    padding-top: 3rem;
    padding-bottom: 5rem;
    border-top-right-radius: 4rem;
    margin-top: 2.5rem;
}

.footerLinks{
    text-align: center;
    /* border: 1px solid; */
    padding-top: 3rem;
}

footer h3{
    color: var(--White-text);
    margin-top: 2rem;
}

footer a{
    text-decoration: none;
    color: var(--Grayish-blue-footer-text);
    line-height: 2.5rem;
}


@media (min-width: 800px){
    body{
        text-align: left;
        overflow-x: hidden;
    }

    .mobileNav{
        display: none;
    }
    .desktopNav{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2rem 5rem 0rem 5rem;
        .left{
            width: 40%;
        }
        /* border: 1px solid; */
    }
    .desktopNav a{
        color: var(--Grayish-blue-footer-text);
    }
    .desktopNav .left, .desktopNav .links{
        display: flex;
        justify-content: center;
        align-items: center;
        /* border: 1px solid; */
    }
    .desktopNav .left{
        justify-content: space-between;
    }
    .desktopNav .links{
        justify-content: space-between;
    }
    .title{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    span{
        background-image: url(images/icon-arrow-dark.svg);
        background-position: center;
        background-repeat: no-repeat;
        /* border: 1px solid; */
        width: 1rem;
        height: 1rem;
    }
    .faq{
        display: flex;
        flex-direction: column;
    }
    .title{
        cursor: pointer;
        /* border: 1px solid; */
    }
    .title p:hover{
        text-decoration: underline;
    }
    .answer{
        display: none;
        padding: 2rem;
        background-color: white;
        text-align: left;
        position: absolute;
        width: 5rem;
        margin-top: 4rem;
        border-radius: .3rem;
        box-shadow: 0px 10px 20px #cc6964;
        transition: display 1.4s ease;
    }
    .faq.active .answer{
        display: block;
    }
    .faq.active span{
        background-image: url(images/icon-arrow-light.svg);
        transform: rotate(180deg);
    }
    .answer a:hover{
        color: black;
        cursor: pointer;
    }

    .sectionOne {
        background-image: 
            url(images/bg-pattern-intro-desktop.svg), 
            linear-gradient(to right, var(--Very-light-red), var(--Light-red));
        background-size: 3000px, 100%; /* Image retains its size, gradient spans full width */
        background-repeat: no-repeat, no-repeat;
        background-position: -30rem -70rem, center; /* Position image and gradient */
        text-align: center;
        height: 70vh;
        padding-bottom: 3rem;
    }
    
    .sectionOne h1 {
        font-size: 3rem;
        margin-top: 3rem;
    }
    
    .buttonOne, .buttonTwo{
        font-size: 16px;
    }

    .sectionTwo .picture{
        margin-right: -5rem;
        height: 40rem;
        /* border: 1px solid; */
        width: 200%;
        background-image: url(images/illustration-editor-desktop.svg);
        margin-top: -5rem;
    }

    .sectionTwo .paragraph{
        /* border: 1px solid; */
        /* width: 30%; */
        margin-left: 4rem;
    }

    .sectionTwo h1{
        text-align: center;
        font-weight: 500;
    }

    .sectionTwo h2{
        font-size: 1.3rem;
        font-weight: 500;
    }

    .flex{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        /* border: 1px solid; */
        gap: 5.9rem;
    }

    .sectionThree{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 3rem;
        background-position-y: bottom;
        background-position-x: -10rem;
        background-size: 800px;
        height: 10vh;
        margin-top:5rem;
        
    }

    .sectionThree .left{
        position:relative;
        width: 40%;
        /* border: 1px solid; */
        top: -12rem;
        height: 29rem;

    }

    .sectionThree .right{
        width: 40%;
        /* border: 1px solid black; */
        margin-top: -5rem;
    }

    .sectionThree .right p{
        line-height: 1.3rem;
        font-size: 16px;
        color: var(--White-text);
        font-weight: 200;
    }

    .sectionFour{
        margin-top: 4rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        /* border: 1px solid green; */
        margin-left: -11rem;
    }

    .sectionFour .left{
        background-image: url(images/illustration-laptop-desktop.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-size: 700px;
        height: 40rem;
        /* border: 1px solid; */
    }

    .sectionFour .right{
        width: 100%;
        /* border: 1px dotted; */
    }

    .sectionFour .paragraph{
        width: 70%;
        /* border: 1px solid; */
    }

    .sectionFour h2{
        font-size: 1.4rem;
        font-weight: 700;
    }

    footer{
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 10rem;
        padding: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .footerLinks{
        margin-top: 0;
        text-align: left;
        padding-top: 0;
        /* border: 1px solid; */
    }

    .footerLinks a{
        font-size: 16px;
        line-height: 1.4rem;
    }

    .footerLinks a:hover{
        text-decoration: underline;
    }

    .footerLinks h3{
        margin-top: 0;
    }
    
    .theOne{
        color: white;
        /* border: 1px solid black; */
        font-weight: 600;
    }

}