@import "https://fonts.googleapis.com/css?family=Lato:400,700";
@import 'mobilenav.css';

*{
    font-family: 'Lato', sans-serif;
}

body{
    margin: 0;
}

.flex-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: rgb(221, 221, 221);
}

/* ---------- HEADER -------- */

#navbar{
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: rgb(221, 221, 221);
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3);
}

.logo{
    padding: 15px;
    height: 7vh;
}

#header-img{
    height: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#nav-list{
    display: flex;
    width: 35vw;
    flex-direction: row;
    justify-content: space-around;
    font-weight: 400;
    color: black;
    list-style: none;
}

#nav-list a{
    text-decoration: none;
    color: black;
}

.mobile{
    display: none;
}

@media screen and (max-width: 600px){
    .desktop{
        display: none;
    }

    .mobile{
        display: flex;
    }
}

/* ---------- WELCOME -------- */

#welcome-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 100vh;
    background-size: cover;
    background-image: URL('images/yellow-wireframe-lg.jpg');
}

#me {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

#me h1, h4{
    margin: 5px;
}

@media screen and (max-width:650px){
    #welcome-section{
        background-image: URL('images/yellow-wireframe-sm.jpg');
        height: 50vh;
    }
}

/* ---------- ABOUT -------- */

#about{
    background-image: URL('images/mesh-lg.png');
    background-size: cover;
    color: white;
}

#about img{
    width: 60%;
    box-shadow: 0 8px 5px rgba(57, 63, 72, 0.3);
}

#languages{
    widtH: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 5rem;
    margin-top: 1rem;
}

@media screen and (max-width:650px){
    #about{
        background-image: URL('images/mesh-sm.png');
    }

    #about img{
        width: 90%;
    }

    #languages i:nth-child(2n) {
        flex-basis: 33%;
    }
}

/* ---------- PROJECTS -------- */

#projects{
    padding-bottom: 0;
}


#alexa{
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 70vh;
}

.project-tile{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 1rem;
    width: 50vw;
    background-size: cover;
    background-position: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

#pink{
    background-image: URL('images/alexa-pink.jpg');
}

#blue{
    background-image: URL('images/alexa-blue.jpg')
}

@media screen and (max-width: 650px){
    #alexa{
        flex-direction: column;
    }
    .project-tile{
        width: 100vw;
        height: 50vh;
    }
}

/* ---------- CONTACT -------- */

#contact {
    background-size: cover;
    background-image: URL('images/turquoise-lg.png');
}

#contact h1{
    color: black;
    font-size: 2rem;
    margin-top: 0;
}

@media screen and (max-width:650px){
    #contact{
        background-image: URL('images/turquoise-sm.png');
    }
}

/* ---------- FOOTER -------- */

footer{
    padding: 1rem 20px;
    background-color: rgb(221, 221, 221);
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 2.5rem;
    justify-content: space-between;
}

.info{
    font-weight: 800;
}

#love{
    color: red;
}

.social{
    text-align: right;
}

#social-list{
    display: flex;
    flex-direction: row;
    font-weight: 400;
}

#social-list li{
    list-style: none;
    padding: 5px;
}

#social-list a{
    text-decoration: none;
    color: black;
}

@media screen and (max-width: 600px){
    footer{
        flex-direction: column;
    }

    .info{
        text-align: center;
    }

    .social{
        text-align: center;
    }

    #social-list{
        margin-bottom: 0;
        padding: 0;
    }
}