.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@media only screen and (min-width: 0px) { 
    :root {
        /* ### Primary */

        --SoftBlue: hsl(231, 69%, 60%);
        --SoftRed: hsl(0, 94%, 66%);
        
        /* ### Neutral */
        
        --GrayishBlue: hsl(229, 8%, 60%);
        --VeryDarkBlue: rgb(37, 43, 70);
    }
 
    @font-face {
        font-family: rubik;
        src: url(images/Rubik-Regular.ttf);
    }
  
    body {
        font-family: rubik, sans-serif;
        position: relative;
        margin: 0;
    }

    main>section:not(.hero, .features) {
        padding: 2rem;
    }

    section:not(.accordian__faqsection) {
        text-align: center;
    }

    h1 {
        font-size: 1.3rem;
    }

    p {
        font-size: .85rem;
        color: var(--GrayishBlue);
    }

    a {
        text-decoration: none;
    }
}

@media only screen and (min-width: 0px) { 


    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 2rem;
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: rgba(255,255,255,0.9);
    }

    .header__hamburger {
        border: none;
        background-color: inherit;
    }
    
    .hamburger__image {
        pointer-events: none;
    }

    .header__nav {
        display: none;
    }

    .sidebar {
       display: flex;
       flex-direction: column;
        position: fixed;
        height: 100%;
        width: 100%;
        background-color: rgba(37, 43, 70, 0.95);
        z-index: 1;
        padding: 2rem;
        transition: width 0.25s ease-in-out;
    }
    .sidebar__top {
        display: flex;
        justify-content: space-between;
    }

    .sr-only {
        clip: rect(0 0 0 0); 
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap; 
        width: 1px;
    }

    #sidebar__close {
        background: none;
        border: none;
    }

    .sidebar__nav ul {
        padding: 0;
    }

    .sidebar__nav li {
        border-top: solid 2px rgba(255, 255, 255, 0.1);
        color: white;
        list-style: none;
        font-size: 2rem;
        padding: 1rem;
    }

    .sidebar__login {
            background: none;
            border: white solid;
            width: 100%;
            color: white;
            padding: .5rem;
            border-radius: 5px;
    }

    .sidebar__social {
        display: flex;
        width: fit-content;
        align-items: center;
        gap: 3rem;
        margin: auto auto 1rem auto;
    }

    /* 
    
    */

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

    .hero__imagecontainer {
        background-color: white;
        position: relative;
        height: 20rem;
        display: flex;
        align-items: center;
    }

     .hero__backgroundshape {
        height: 100%;
        width: 100%;
        max-height: 11rem;
        max-width: 15rem;
        background: var(--SoftBlue);
        margin-left: auto;
        border-radius: 8rem 0rem 0rem 9rem;
    }

    .hero__image {
        position: absolute;
        top: 2rem;
        right: 0;
        width: 100%;
        max-width: 20rem;
    }

    .hero__text {
        font-size: 1.5rem;
    }

    .hero__text, .features__intro, .features__featurelist, .examplefeaturetab__text
    {
        padding: 0rem 2rem 2rem 2rem;
    }

    .hero__getit {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 8rem;
    }

    .hero__getit a {
        border-radius: 5px;
        padding: 8px;
        box-shadow: 1px 3px 5px 3px lightgray;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .getit__firefox {
        color: black;
    }

    .getit__chrome {
        color: white;
        background-color: var(--SoftBlue);
    }

    /* 
    
    */

    .features__featurelist {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .features__exampletabswitch {
     
        box-shadow: 0px 0px 2px 0px var(--GrayishBlue);
        background-color: white;
        height: 4rem;
        position: relative; 
        background-color: white;
        height: 3rem;
        border: none; 
        font-weight: 600;
    }
    .features__exampletabswitch.examplebutton__active:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 28%;
        width: 45%;
        height: 5px;
        background: linear-gradient(to left, var(--SoftRed), var(--SoftRed));
    }

    .features__exampletabswitch:hover {
        color: var(--SoftRed);
    }

 
    .features__exampletabswitch p{
        margin: 0;
        color: inherit;
        pointer-events: none;
    }

    .features__examplefeaturetab {
        display: none;
        margin-bottom: 2rem;
    }

    .example__active {
        display: block;
    }

    .examplefeaturetab__text>h1 {
        margin-top: 0;
    }

    .examplefeaturetab__imagecontainer {
        background-color: white;
        position: relative;
        height: 17rem;
        display: flex;
        align-items: center;
    }

    .example__backgroundshape {
        height: 100%;
        width: 100%;
        max-height: 11rem;
        max-width: 15rem;
        background: var(--SoftBlue);
        margin-right: auto;
        border-radius: 0rem 8rem 9rem 0rem;
    }

    .example__image {
        position: absolute;
        top: 1rem;
        left: 0;
        width: 100%;
        max-width: 18rem;
        margin-left: 1rem;
    }

    /* 
    
    */
 
    .download__extension {
        margin-bottom: 2rem;
    }
  

    .extension__downloadoption {
        box-shadow: 0px 0px 15px 0px lightgray;
        height: 20rem;
        margin-bottom: 3rem;
        padding-top: 2rem;

    }

    .extension__downloadoption img {
        margin: 0 auto;
    }

    .extension__downloadoption p {
        border-bottom: dotted 6px rgba(145, 148, 161, 0.2);
        padding-bottom: 2rem;
    }

    .extension__downloadoption button {
            color: white;
            background-color: var(--SoftBlue);
            height: 3rem;
            padding: 0 1.5rem;
            border-radius: 10px;
            border: none;
            margin-top: 1rem;
    }
    /* 
    
    */

    .faq {
        margin-bottom: 3rem;
    }

    .faq__intro {
        margin-bottom: 4rem;
    }

    .faq__accordian {
        margin-bottom: 3rem;
    }

    .faq__accordian p {
        color: black;
        word-spacing: 3px;
    }   

    .accordian__faqsection {
        text-align: initial;
        border-bottom: solid 2px rgba(145, 148, 161, .1);
        padding-bottom: 1rem;
        display: flex;
        flex-direction: column;
    } 

    .faqsection__question {
        background-color: white;
        border: none;
        text-align: left;
        align-items: center;
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
    }

    button.faqsection__question.active__question img {
        filter: hue-rotate(123deg) contrast(1.5);
        transform: rotate(180deg);
    }

    .faqsection__question img {
        pointer-events: none;
    }

    .faqsection__answer {
        height: 0;
        overflow: hidden;
        transition: height .5s ease-in-out;

    }

    .active__answer {
        height: 12rem;  
        max-height: 4000px; 
    }
    

    section.faq a {
        padding: .6rem;
        color: white;
        background-color: var(--SoftBlue);
        border-radius: 3px;
        font-size: .8rem;
        padding: .75rem 1.2rem;
    }

    /* 
    
    */

    .newsletter {
        background-color: var(--SoftBlue);
        color: white;
    }

    .newsletter p {
        color: white;
        letter-spacing: 3px;
        font-size: .7rem;
    }

    .newsletter h1 {
        font-weight: 500;
    }

    .newsletter form {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .newsletter input {
        border-radius: 5px;
        border: none;
    }

    #newsletter__email {
        width: 100%;
        height: 2.75rem;
        padding-left: 1rem;
        font-size: .8rem;
    }



    #newsletter__submit {
        height: 3rem;
        width: 100%;
        background-color: var(--SoftRed);
        margin-top: .5rem;
        color: white;
    }

    .newsletter__error {
        display: none;
        background-color: var(--SoftRed);
        position: relative;
        border-radius: 0px 0px 5px 5px;
    }

    .error__active {
        display: block;
        border: solid var(--SoftRed);
    }

    input.error__active {
        border-radius: 5px 5px 0px 0px;
        border: solid var(--SoftRed);

        

    }


    .newsletter__error p {
        color: white;
        margin: 0;
        font-size: .5rem;
    }

    .newsletter__error img {
        position: absolute;
        top: -35px;
        right: 15px;
    }

    /* 
    
    */

    .footer {
        background-color: var(--VeryDarkBlue);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0 3rem 0;
    }

    .footer ul {
        text-align: center;
        list-style: none;
        color: white;
        line-height: 2.5rem;
        padding: 0;
    }

    .footer__socials {
        display: flex;
        gap: 2rem;
    }
}

@media only screen and (min-width: 1000px) { 
    header {
        justify-content: space-around;
    }
    
    header>a {
        margin-right: 27rem;
    }

    .header__hamburger {
        display: none;
    }

    .header__nav {
        display: block;
    }

    .header__nav ul {
        display: flex;
        list-style: none;
        gap: 3rem;
    }

    .header__nav a {
        text-decoration: none;
    }

    .header__nav li:hover {
        color: var(--SoftRed);    
}



    .header__nav .nav__login {
            padding: .8rem 2rem;
            background-color: var(--SoftRed);
            color: white;
            border-radius: 5px;
    }

    .header__nav .nav__login:hover {
        background-color: white;
        color: var(--SoftRed);
        outline:solid var(--SoftRed);
    }

/*  */
    
    .hero {
        display: flex;
        flex-direction: row-reverse;
        margin-top: 9rem;
    }

    .hero__text {
        max-width: 30rem;
        margin: auto;
    }

    .hero__text h1, .hero__text p {
        text-align: left;
    }

    .hero__text h1 {
        font-size: 2.75rem;
    }

    .hero__text p {
        margin-bottom: 2rem;
        word-spacing: 2px;
    }

    .hero__imagecontainer {
        width: 50%;
        max-width: 40rem;
    }

    .hero__backgroundshape {
      
        max-height: 19rem;
        max-width: 30rem;
    }

    .hero__image {
        top: -3.5rem;
        right: 4rem;
        max-width: 32rem;
    }
        .getit__chrome:hover {
            outline: solid var(--SoftBlue);
            background-color: white;
            color: var(--SoftBlue);
        }

        .getit__firefox:hover {
            outline: black solid;
        }
    
/*  */

    .features__intro, .download__extension p {
            max-width: 30rem;
            margin: 1rem auto;
    }

    .features__featurelist {
        flex-direction: row;
        justify-content: center;
    }

    .features__exampletabswitch {
        width: 100%;
        max-width: 19rem;
    }

    .features__exampletabswitch:hover::after, .features__exampletabswitch.examplebutton__active:after {
        left: -2%;
        width: 100%;
    }

    .example__active {
        display: flex;
        margin-top: 4rem;
    }

    .examplefeaturetab__text {
        max-width: 30rem;
    }

    .examplefeaturetab__imagecontainer {
        width: 50%;
        max-width: 40rem;
    }

    .example__backgroundshape {
      
        max-height: 19rem;
        max-width: 30rem;
    }

    .example__image {
        top: -2.75rem;
        left: 6rem;
        max-width: 25rem;
    }

    #featureexample__two .example__image, #featureexample__three .example__image {
        max-width: 22rem;
    }
    /*  */
    .downloadoption__container {
            display: flex;
            gap: 5rem;
            justify-content: center;
    }

    .extension__downloadoption {
        height: 21rem;
        width: 17rem;

    }

    .extension__downloadoption button:hover {
        background-color: white;
        color: var(--SoftBlue);
        outline: solid var(--SoftBlue);
    }

    .firefox {
        margin-top: 2rem;
    }

    .opera{
        margin-top: 4rem;
    }
    /*  */

    .faqsection__question:hover {
        color: var(--SoftRed);
    }
    /*  */

    .faq {
        max-width: 35rem;
        margin: 3rem auto;
    }

    /*  */

    .newsletter form {
        max-width: 30rem;
        margin: 2rem auto;
    }
    /*  */

    .footer {
        padding: 0rem 4rem;
    }

    .footer, .footer__nav, .footer__navlist {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    .footer__nav {
        width: 100%;
    }
  
    .footer__nav a:hover {
        color: var(--SoftRed);
    }

    .social__svg path:hover {
        fill:#fa5757;
    }
}