html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding, 60px);
}

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

.headers {
    background-color: #173583;
    padding: 20px 0;
    width: 100%;
    color: #F9FCFB;
}


h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.2rem
}

h2 {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
}

h3 {
    font-family: 'Montserrat', sans-serif;
}

.button {
    font-family: 'Montserrat', sans-serif;
}

.logo img {
    width: auto;
    height: 4em;
    display: inline-block;
    max-height: 100%;
}

.logo, .navbar {
    display: flex;
    align-items: center;
}

.navbar li {
    font-family: 'Montserrat';
    margin-right: 20px;
    color: #F9FCFB;

}

.navigation {
    width: 100%;
    padding: 7px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0037AE;
    position: fixed;
    z-index: 10;
    text-transform: uppercase;

}

.navigation ul {
    list-style-type: none;
    display: flex;
    Flex-direction: row;
}

.navbar li a {
    color: #F9FCFB;
    font-weight: bold;
}

.navbar li a, .button {
    text-decoration: none;
}

.navbar li a:hover, .navbar li a:active {
    color: #C84845;
}

#carat:hover, #carat:active {
    color: #C84845;
}


.nav-donate .donate-button {
    color: #0037AE;
    background-color: #F9FCFB;
    padding: 8px 14px;
    border-radius: 6px;
}



/* section 1  */

#section1 {
    background-image: url(homepageimg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: #F9FCFB;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#section1 h1 {
    margin: 0.5em 0;
    font-size: 4rem;
    letter-spacing: 5px;
}


#section1 h2 {
    letter-spacing: 3px;
    font-size: 2rem;
}

#section1 p {
    font-family: 'Montserrat';
    letter-spacing: 3px;
    line-height: 1.5;
    margin: auto;
    font-size: 1.5rem;
    max-width: 600px;
}

.button {
    padding: 15px 15px;
    border-radius: 6px;
    display: column;
    justify-content: center;
    /* This will center the buttons */
    margin-left: 30px;
    margin-right: 30px;
}

.homepage-buttons {
    margin-top: 50px;
    font-size: 20px;
}


#get-started {
    color: #F9FCFB;
    background-color: #C84845;
}

#learn-more {
    background-color: #B5C7E8;
    color: #0037AE;
}

/* section 2  */
#section2 {
    background-color: #D8ECEC;
    height: 100vh;
}

#section2 h2 {
    font-size: 30px;
    text-align: center;
    padding-top: 2em;
}

.search-section {
    text-align: center;
    padding-top: 1em;
    padding-bottom: 2em;
}

.search-section input[type="text"] {
    font-size: 1em;
    padding: 8px;
    margin-right: 5px;
    width: 30%;
    border: 2px solid #B5C7E8;
    ;
    border-radius: 7px;
    background-color: #0037AE;
    color: #F9FCFB
}

.search-section button {
    padding: 10px;
    background-color: #0037AE;
    border-color: #B5C7E8;
    border-radius: 7px;
}

.search-section .fa-magnifying-glass {
    color: gold
}

.search-section ::placeholder {
    font-style: italic;
    text-align: center;
    color: #F9FCFB
}

.search-section button:hover {
    background-color: #C84845;
}

.bill-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #F9FCFB;
    padding: 4em 0;
    margin: 0 auto;
    width: 60%;
    line-height: 2em;
    border-radius: 6px;
    height: auto;
}

.bills {
    list-style-position: inside;
}


.bills li a {
    font-family: 'Montserrat';
    color: black;
    font-size: 20px;
    font-weight: bold;
}

.bills li a:hover {
    color: #C84845;
    /* Change the color to whatever you like */
}

#see-all-button {
    padding: 15px 15px;
    margin-top: 30px;
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    background-color: #C84845;
    text-transform: uppercase;
    color: #F9FCFB;
    font-weight: bold;
    font-size: 20px;
}


#get-started:hover, #learn-more:hover, #see-all-button:hover {
    background-color: #73d1d1;
    color: #0037AE;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #section2 {
        padding: 10px; 
    }
    #section2 h2 {
        font-size: 1.3rem; 
        margin-bottom: 20px;
    }
    .search-section input[type="text"] {
        width: 80%; 
        margin-bottom: 20px; 
    }
    .bill-container {
        padding: 20px; 
        margin-bottom: 20px; 
    }
    .bills li {
        font-size: 0.8rem;
        line-height: 1.4; 
        margin-bottom: 10px; 
    }
    .bills li a {
        font-size: 0.8rem; 
    }
    #see-all-button {
        width: auto; 
        padding: 8px 10px;
        font-size: 0.8rem; 
        margin-top: 20px; 
    }
}


/* section 3 */
#section3 {
    background-color: #F9FCFB;
    height: auto;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#section3 p {
    font-family: 'Source Serif 4';
}

#section3 .how-to li {
    font-family: 'Montserrat';
    line-height: 3em;
    font-size: 15px;
}

ol.how-to {
    list-style-type: decimal;
    padding-left: 50px;
    padding-right: 50px;

}


ol.how-to li {
    text-align: center;
    padding: 15px 0;
    max-width: auto;
    margin: auto;
}


#privacy-notice {
    background-color: #0037AE;
    color: #F9FCFB;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    width: 70%;
}


#sign-up {
    background-color: #C84845;
    display: inline-block;
    color: black;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
}

@media screen and (max-width: 768px) {
    #section3 h2 {
        font-size: 1.5rem;
    }
    #section3 ol {
        padding: 0 20px; 
    }
}
/* section 5 */

#section5 {
    background-image: url(mountain.png);
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 50px 0;
    color: #F9FCFB
}

#section5 .updates-search {
    padding: 10px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
}

#section5 h2 {
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: bold;
}


#section5 h3 {
    font-weight: lighter;
    margin-bottom: 30px;
}

#section5 ::placeholder {
    font-family: 'Montserrat';
    color: #F9FCFB
}

#section5 input[type="email"] {
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px;
    margin-right: 10px;
    width: 300px;
    font-family: 'Montserrat';
}

#section5 button {
    background-color: #D8ECEC;
    padding: 10px;
    border-radius: 6px;
    border: none;
    color: #173583;
    font-family: 'Montserrat';
    cursor: pointer;

}

#section5 button:hover {
    background-color: #73d1d1;
    color: #0037AE;
}

#news-submit {
    font-weight: bold;
}


/* .space{
    background-color: #F9FCFB;
    height:50px;
    width:100%;

} */


@media screen and (max-width: 768px) {
    #section5 h2, #section5 h3 {
        font-size: 1.5rem;
    }
    #section5 input[type="email"] {
        width: 90%; /
    }
}


/* -------------------------------------------------------------------------- */
/*                          section 6 why calling works                        */
/* -------------------------------------------------------------------------- */

#section6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0037AE;
}

/* ----------------------------  section 6 block 1 --------------------------- */

.section-6-block-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 80vw;
    max-width: 1000px;
    text-align: center;
    color: #F9FCFB;
}

.section-6-block-1 p {
    max-width: 450px; 
    margin: 0 auto; 
    font-size: 1.125em;
}

.section-6-block-1 h2 {
    font-size: 2.5em;
    font-weight: 400;
    letter-spacing: 4px;
}


/* ---------------------------- section6-2 --------------------------- */

#section6-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F9FCFB;
}

.section-6-block-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    width: 80vw;
    max-width: 1000px;
    text-align: center;
    
}

.section-6-block-2 p {
    max-width: 500px; 
    margin: 0 auto; 
    font-size: 1.125em;
}

span {
    font-weight: bold;
}


.section-6-block-2 h2 {
    font-size: 2.5em;

}


/* ---------------------------- section6-3--------------------------- */
#section6-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    background-color: #0037AE;
    color: #F9FCFB;
}

#section6-3 h2 {
    font-size: 2em;
    
}

.testimonials {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2em; 
    max-width: 1350px;
}

#vox {
    text-align: left;
    max-width: 75%;
}

#nyt {
    align-self: flex-end;
    text-align: right;
    max-width: 75%;
}

#wpost {
    text-align: left;
    max-width: 75%;
}

.testimonial-logo {
    width: auto;
    height: 1.5em;
}

.testimonial-item a {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 950px) {

    .testimonials {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 30;
    }

    .testimonial-item {
        flex: 1;
        box-sizing: border-box;
        padding: 0 30;
    }

    #vox {
        text-align: center;
        max-width: 75%;
    }

    #nyt {

        text-align: center;
        max-width: 75%;
    }

    #wpost {
        text-align: center;
        max-width: 75%;
    }

}

/* -------------------------------------------------------------------------- */
/*                         section 4 tips                       */
/* -------------------------------------------------------------------------- */

#section4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3em;
    background-color: #F9FCFB;
} 


#section4 h2 {
    font-size: 2.5em;
    text-align: center;
}

.tip-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 80vw;
    padding-top: 1.5em;
}

.tips {
    padding: 1.5em;
    text-align: left;
}

aside {
    text-align: center;
}

.highlight {
    background-color: #b5ffff;
}

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

    .tip-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        width: 80vw;
        padding: 3em 0em;
    } 

}

/* -------------------------------------------------------------------------- */
/*                         section 7 who to call first                        */
/* -------------------------------------------------------------------------- */

#section7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #B5C7E8; 
    background-color: #D8ECEC;
    padding: 2em;
} 

#section7 h2 { 
    display: flex;
    font-size: 2em;
    padding: 0em 0em 1em 0em;
    text-align: left;
}

@media screen and (min-width: 1045px) {
    #section7 {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-around;
        align-items: center; 
    } 

    #section7 h2 { 
        font-size: 2em;
        padding-bottom: 4.5em;
        text-align: left;
    }

    #section7 p {
        padding-top: 2em;
        width: 50vw;
        text-align: left;
    } 

}
/* -------------------------------------------------------------------------- */
/*                              section 8 donate                              */
/* -------------------------------------------------------------------------- */

#section8 {
    padding: 2em 5em;
    background-color: rgb(200, 72, 69);
    color: #F9FCFB;
}

#section8 h1 {
    font-size: 4rem;
    letter-spacing: 5px;
    padding: 0em 0em 0.5em 0em;
}

#donate-today {
    position: relative;
    background-color: #b5ffff;
    border-radius: 0.3rem;
    padding: .75rem 1rem;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-width: 0;
    color: #333333;
    cursor: pointer;
    transition: all 200ms;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation; 
}

.donate-button {
    display: flex;
    justify-content: flex-end;
    padding: 0 1em;
}

#nonprofit-disclaimer {
    font-size: 0.6rem;
    max-width: 70%;
}

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

    .donate-paragraphs {
        max-width: 70%;
    }

    #paragraphs-button {
        display: flex;
        justify-content: space-between;
    }

    .donate-button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 3em;
    }

}

/* -------------------------------------------------------------------------- */
/*                                   footer                                   */
/* -------------------------------------------------------------------------- */

footer {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.07em
}

footer ul {
    list-style-type: none;
    Display: flex;
    Flex-direction: row;
    padding: 10;
}

footer li a {
    text-decoration: none;
    color: black;
}

.social-and-list2 {
    display: flex;
    justify-content: space-between;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

#left-list li {
    margin-right: 10;
}

#list3 li {
    margin-right: 10;
}

#social-list li {
    margin-right: 10;
    font-size: 1.6rem;
}

#social-list li a:active i {
    filter: brightness(0%);
}

#social-list li:nth-child(1) a i {
    color: rgb(29, 161, 242);
    /* Twitter */
}

#social-list li:nth-child(2) a i {
    color: rgb(234, 54, 97);
    /* Instagram */
}

#social-list li:nth-child(3) a i {
    color: rgb(44, 101, 245);
    /* Facebook */
}

#social-list li:nth-child(4) a i {
    color: rgb(140, 41, 255);
    /* GitHub */
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

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

    .social-and-left-list {
        display: flex;
        justify-content: space-between;
    }

}
