:root {
    --red: #fd2f30;
    --dark-gray: #3e3e3e;
    --light-gray: #545354;
    --dark-white: #f1f1f5;
}

* {
    font-family: 'Poppins';
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-white);
}

.everything {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
}


.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 20px; */
    padding: 20px 25px 20px 20px;
    position: sticky;
    top: 0;
    background-color: white;
}

.brand {
    margin-left: 60px;
}

.brand-div {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 40px;
}

.brand-name {
    margin: 0 0 0 20px;
    font-weight: bold;
    font-size: 22px;
}


.brand-link {
    color: var(--red);
    text-decoration: none;
}

.nav-links {
    display: flex;
}

.nav-link {
    text-decoration: none;
    color: var(--light-gray);
}

.nav-item {
    list-style-type: none;
    padding: 0 10px;
    font-size: 18px;
    color: var(--dark-gray);
}

.phone-div-mobile {
    display: none;
}

#contact {
    margin-right: 50px;
}

.currently-selected {
    color: var(--red);
}

.main-text-item {
    color: var(--dark-gray);
    font-size: 44px;
    line-height: 1.2;
}

.first-page {
    margin: 60px 55px 40px 80px;
    display: flex;
    justify-content: space-between;

}

.main-buttons {
    margin-top: 100px;
}

.main-buttons-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
}

.store-badge-img {
    margin: 5px 0;
    max-width: 100%;
    height: auto;
}

/* second page */
/* features */

.second-page {
    padding: 90px 70px 130px 70px;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-heading {
    color: var(--red);
    margin: 10px;
}

.feature-text {
    color: var(--dark-gray);
    margin: 10px 10px 30px 10px;
}

.ready {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin: 80px 0 0 0;
}

.download {
    font-size: 20px;
    text-align: center;
}

#apple-second {
    margin-right: 20px;
}

.second-buttons {
    display: flex;
    justify-content: center;
}

/* footer */

.footer {
    background-color: black;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.footer-sticky {
    position: fixed;
    bottom: 0;
    max-width: 1000px;
    width: 100%;
}

.footer-text {
    color: white;
    font-size: 12px;
}

/* donate page */

.first-page-donate {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.donate-text {
    font-size: 18px;
    color: var(--dark-gray);
    margin: 50px 70px;
}

.donate-btn {
    width: 175px;
    height: 60px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    display: flex;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    color: white;
    background-color: var(--red);
    margin: 0 0 80px 0;
}

.underline {
    text-decoration: underline;
}

.contact-text {
    font-size: 18px;
    color: var(--dark-gray);
}

.contact-li {
    font-size: 18px;
    margin: 0 0 0 40px;
    color: var(--dark-gray);
}

.first-page-contact {
    display: flex;
    flex-direction: column;
    padding: 50px 70px;
    height: 100%;
}

.menu-icon {
    display: none;
}

/* media */

@media only screen and (max-width: 930px) {
    .first-page {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .main-text-item {
        font-size: 36px;
        text-align: center;
    }
    .main-buttons {
        display: none;
    }
    .store-badge-mobile {
        margin: 0 10px;
    }
    .main-buttons-mobile {
        display: flex;
        margin: 30px 0 0 0;
    }
    .phone-div-mobile {
        display: block;
        margin: 0 0 30px 0;
    }
    .phone-div {
        display: none;
    }
    .nav {
        padding: 20px 0;
    }
    .brand {
        margin-left: 20px;
    }
    #contact {
        margin-right: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .first-page {
        margin: 30px 20px;
    }
    
    .second-page {
        padding: 50px 20px 80px 20px;
    }
    
    .main-text-item {
        font-size: 32px;
    }
    
    .donate-text {
        margin: 30px 20px;
        font-size: 16px;
    }
    
    .first-page-contact {
        padding: 30px 20px;
    }
    
    .contact-text {
        font-size: 16px;
    }
    
    .contact-li {
        font-size: 16px;
        margin: 0 0 0 20px;
    }
    
    .feature-heading {
        font-size: 18px;
    }
    
    .feature-text {
        font-size: 16px;
    }
    
    .ready {
        font-size: 28px;
    }
    
    .download {
        font-size: 18px;
    }

    .second-buttons {
        flex-direction: column;
        align-items: center;
    }

    #apple-second {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* change to hamburger menu at 530px */
@media only screen and (max-width: 530px) {
    .nav-item {
        display: none;
    }
    .menu-icon {
        display: block;
        margin-right: 20px;
    }
    
    .brand-name {
        font-size: 18px;
        margin: 0 0 0 10px;
    }
    
    .brand-logo {
        width: 32px;
    }
}
