@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
*{
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, span{
    color: #242424;
    text-align: center;
    line-height: 1.25;
}

h1{
    font-size: 36px;
}

p{
    line-height: 1.5;
    font-size: 16px;
}

a{
    text-decoration: none;
    position: relative;
    transition: opacity 300ms ease;
}

i:hover{
    opacity: 0.7;
}

/* makes the underline effect when hovering a link */
.link__hover-effect:after{
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    bottom: -3px;
    right: 0;
    transition: all 300ms ease;
}

.link__hover-effect:hover:after{
    width: 100%;
    left: 0;
}

.link__hover-effect--white:after{
    background-color: #fff;
}

.link__hover-effect--black:after{
    background-color: #000;
}

li{
    list-style-type: none;
}

.flex{
    display: flex;
}

.flex-1{
    flex: 1;
}

.row{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 12px;
}

.container{
    padding: 50px 0;
}

.text--purple{
    color: #6030b1;
}


.section__title{
    margin-bottom: 20px;
}

/* NAVIGATION BAR */

nav{
    height: 100px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
}

.personal__logo{
    font-size: 30px;
    color: #6030b1;
    margin: 0 12px;
    font-weight: 1000;
}

.nav__link--list{
    display: flex;
}

.nav__link--anchor{
    margin: 0 12px;
    color: #242424;
    font-weight: 700;
}

/* makes the button look the way it does */
.nav__link--anchor-primary{
    background-color: #6030b1;
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
    transition: all 300ms ease;
}

.nav__link--anchor-primary:hover{
    background-color: #5d3eff;;
}

/* ABOUT ME */

#nav{
    display: flex;
    flex-direction: column;
    background-color: #48E4B3;
}

#home{
    min-height: 50vh;
    background-color: #4AB2B9;
    padding-top: 20px;
}

.home__statement--para{
    font-size: 30px;   
    font-weight: 600; 
}

.home__wrapper{
    display: flex;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.turtle__img--wrapper{
    padding: 0;
}

.turtle__img{
    width: 60%;
}

.home__statement{
    display: flex;
    align-items: center;
    width: 40%;
}


/* List of Charities*/
#charities{
    background-color: #157EB2;
}

.charity-list{
    padding-right: 20px;;
}

.charity__link{
    padding-top: 16px;
}

.charity__wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.charity--turtle__img{
    width: 60%;
    margin-left: 50px;
}

/* FOOTER */
footer{
    background-color: #242424;
}

.footer__social--list{
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: space-around;
    margin-bottom: 28px;
}

.footer__row{
    padding: 4% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer__logo--img{
    width: 70px;
    height: 70px;
}

.footer__social--link,
.footer__copyright{
    color: #fff;
}

.footer__logo--popper{
    color: #fff;
    position: absolute;
    right: 0;
    top: 30px;
    font-weight: 700;
    opacity: 0;
    transition: all 300ms ease;
}

.footer__anchor{
    margin-bottom: 20px;
    position: relative;
}

.footer__anchor:hover .footer__logo--popper{
    transform: translateX(60px);
    opacity: 1;
}

/* small phones, tablets, and large smartphones */
@media (max-width: 768px){
    nav{
        height: 68px;
    }

    h1{
        font-size: 28px;
    }

    .about-me__info--para{
        font-size: 18px;
        
    }
}

/* small phones */
@media (max-width: 480px){
    .nav__link:not(:last-child){
        display:none;
    }
}


